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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
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>
|
public ListPhraseMatchersResponse.Builder addPhraseMatchers(PhraseMatcher value)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
public ListPhraseMatchersResponse.Builder addPhraseMatchers(PhraseMatcher.Builder builderForValue)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
public ListPhraseMatchersResponse.Builder addPhraseMatchers(int index, PhraseMatcher value)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
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;
public PhraseMatcher.Builder addPhraseMatchersBuilder()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
public PhraseMatcher.Builder addPhraseMatchersBuilder(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListPhraseMatchersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListPhraseMatchersResponse build()
public ListPhraseMatchersResponse buildPartial()
public ListPhraseMatchersResponse.Builder clear()
Overrides
public ListPhraseMatchersResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListPhraseMatchersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListPhraseMatchersResponse.Builder clearPhraseMatchers()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
public ListPhraseMatchersResponse.Builder clone()
Overrides
public ListPhraseMatchersResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
public PhraseMatcher.Builder getPhraseMatchersBuilder(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<PhraseMatcher.Builder> getPhraseMatchersBuilderList()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
public int getPhraseMatchersCount()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Returns |
---|
Type | Description |
int | |
public List<PhraseMatcher> getPhraseMatchersList()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
public PhraseMatcherOrBuilder getPhraseMatchersOrBuilder(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
public final boolean isInitialized()
Overrides
public ListPhraseMatchersResponse.Builder mergeFrom(ListPhraseMatchersResponse other)
public ListPhraseMatchersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListPhraseMatchersResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ListPhraseMatchersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListPhraseMatchersResponse.Builder removePhraseMatchers(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListPhraseMatchersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListPhraseMatchersResponse.Builder setPhraseMatchers(int index, PhraseMatcher value)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
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;
public ListPhraseMatchersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListPhraseMatchersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides