public static final class ListPhraseMatchersResponse.Builder extends GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder> implements ListPhraseMatchersResponseOrBuilder
The response of listing phrase matchers.
Protobuf type google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ListPhraseMatchersResponse.Builder addAllPhraseMatchers(Iterable<? extends PhraseMatcher> values)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.contactcenterinsights.v1.PhraseMatcher>
|
Returns
public ListPhraseMatchersResponse.Builder addPhraseMatchers(PhraseMatcher value)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameter
Returns
public ListPhraseMatchersResponse.Builder addPhraseMatchers(PhraseMatcher.Builder builderForValue)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameter
Returns
public ListPhraseMatchersResponse.Builder addPhraseMatchers(int index, PhraseMatcher value)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameters
Returns
public ListPhraseMatchersResponse.Builder addPhraseMatchers(int index, PhraseMatcher.Builder builderForValue)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameters
Returns
public PhraseMatcher.Builder addPhraseMatchersBuilder()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Returns
public PhraseMatcher.Builder addPhraseMatchersBuilder(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameter
Returns
public ListPhraseMatchersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListPhraseMatchersResponse build()
Returns
public ListPhraseMatchersResponse buildPartial()
Returns
public ListPhraseMatchersResponse.Builder clear()
Returns
Overrides
public ListPhraseMatchersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListPhraseMatchersResponse.Builder clearNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
public ListPhraseMatchersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListPhraseMatchersResponse.Builder clearPhraseMatchers()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Returns
public ListPhraseMatchersResponse.Builder clone()
Returns
Overrides
public ListPhraseMatchersResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
public PhraseMatcher getPhraseMatchers(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameter
Returns
public PhraseMatcher.Builder getPhraseMatchersBuilder(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameter
Returns
public List<PhraseMatcher.Builder> getPhraseMatchersBuilderList()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Returns
public int getPhraseMatchersCount()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Returns
public List<PhraseMatcher> getPhraseMatchersList()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Returns
public PhraseMatcherOrBuilder getPhraseMatchersOrBuilder(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameter
Returns
public List<? extends PhraseMatcherOrBuilder> getPhraseMatchersOrBuilderList()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Returns
Type | Description |
List<? extends com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListPhraseMatchersResponse.Builder mergeFrom(ListPhraseMatchersResponse other)
Parameter
Returns
public ListPhraseMatchersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListPhraseMatchersResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListPhraseMatchersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListPhraseMatchersResponse.Builder removePhraseMatchers(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameter
Returns
public ListPhraseMatchersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListPhraseMatchersResponse.Builder setNextPageToken(String value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListPhraseMatchersResponse.Builder setNextPageTokenBytes(ByteString value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ListPhraseMatchersResponse.Builder setPhraseMatchers(int index, PhraseMatcher value)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameters
Returns
public ListPhraseMatchersResponse.Builder setPhraseMatchers(int index, PhraseMatcher.Builder builderForValue)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameters
Returns
public ListPhraseMatchersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListPhraseMatchersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides