Class ListPhraseMatchersResponse.Builder (2.30.0)

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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllPhraseMatchers(Iterable<? extends PhraseMatcher> values)

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
NameDescription
valuesIterable<? extends com.google.cloud.contactcenterinsights.v1.PhraseMatcher>
Returns
TypeDescription
ListPhraseMatchersResponse.Builder

addPhraseMatchers(PhraseMatcher value)

public ListPhraseMatchersResponse.Builder addPhraseMatchers(PhraseMatcher value)

The phrase matchers that match the request.

repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;

Parameter
NameDescription
valuePhraseMatcher
Returns
TypeDescription
ListPhraseMatchersResponse.Builder

addPhraseMatchers(PhraseMatcher.Builder builderForValue)

public ListPhraseMatchersResponse.Builder addPhraseMatchers(PhraseMatcher.Builder builderForValue)

The phrase matchers that match the request.

repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;

Parameter
NameDescription
builderForValuePhraseMatcher.Builder
Returns
TypeDescription
ListPhraseMatchersResponse.Builder

addPhraseMatchers(int index, PhraseMatcher value)

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
NameDescription
indexint
valuePhraseMatcher
Returns
TypeDescription
ListPhraseMatchersResponse.Builder

addPhraseMatchers(int index, PhraseMatcher.Builder builderForValue)

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
NameDescription
indexint
builderForValuePhraseMatcher.Builder
Returns
TypeDescription
ListPhraseMatchersResponse.Builder

addPhraseMatchersBuilder()

public PhraseMatcher.Builder addPhraseMatchersBuilder()

The phrase matchers that match the request.

repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;

Returns
TypeDescription
PhraseMatcher.Builder

addPhraseMatchersBuilder(int index)

public PhraseMatcher.Builder addPhraseMatchersBuilder(int index)

The phrase matchers that match the request.

repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PhraseMatcher.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPhraseMatchersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListPhraseMatchersResponse.Builder
Overrides

build()

public ListPhraseMatchersResponse build()
Returns
TypeDescription
ListPhraseMatchersResponse

buildPartial()

public ListPhraseMatchersResponse buildPartial()
Returns
TypeDescription
ListPhraseMatchersResponse

clear()

public ListPhraseMatchersResponse.Builder clear()
Returns
TypeDescription
ListPhraseMatchersResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListPhraseMatchersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListPhraseMatchersResponse.Builder
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
TypeDescription
ListPhraseMatchersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPhraseMatchersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListPhraseMatchersResponse.Builder
Overrides

clearPhraseMatchers()

public ListPhraseMatchersResponse.Builder clearPhraseMatchers()

The phrase matchers that match the request.

repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;

Returns
TypeDescription
ListPhraseMatchersResponse.Builder

clone()

public ListPhraseMatchersResponse.Builder clone()
Returns
TypeDescription
ListPhraseMatchersResponse.Builder
Overrides

getDefaultInstanceForType()

public ListPhraseMatchersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPhraseMatchersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getPhraseMatchers(int index)

public PhraseMatcher getPhraseMatchers(int index)

The phrase matchers that match the request.

repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PhraseMatcher

getPhraseMatchersBuilder(int index)

public PhraseMatcher.Builder getPhraseMatchersBuilder(int index)

The phrase matchers that match the request.

repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PhraseMatcher.Builder

getPhraseMatchersBuilderList()

public List<PhraseMatcher.Builder> getPhraseMatchersBuilderList()

The phrase matchers that match the request.

repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;

Returns
TypeDescription
List<Builder>

getPhraseMatchersCount()

public int getPhraseMatchersCount()

The phrase matchers that match the request.

repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;

Returns
TypeDescription
int

getPhraseMatchersList()

public List<PhraseMatcher> getPhraseMatchersList()

The phrase matchers that match the request.

repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;

Returns
TypeDescription
List<PhraseMatcher>

getPhraseMatchersOrBuilder(int index)

public PhraseMatcherOrBuilder getPhraseMatchersOrBuilder(int index)

The phrase matchers that match the request.

repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PhraseMatcherOrBuilder

getPhraseMatchersOrBuilderList()

public List<? extends PhraseMatcherOrBuilder> getPhraseMatchersOrBuilderList()

The phrase matchers that match the request.

repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;

Returns
TypeDescription
List<? extends com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPhraseMatchersResponse other)

public ListPhraseMatchersResponse.Builder mergeFrom(ListPhraseMatchersResponse other)
Parameter
NameDescription
otherListPhraseMatchersResponse
Returns
TypeDescription
ListPhraseMatchersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListPhraseMatchersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPhraseMatchersResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListPhraseMatchersResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListPhraseMatchersResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPhraseMatchersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListPhraseMatchersResponse.Builder
Overrides

removePhraseMatchers(int index)

public ListPhraseMatchersResponse.Builder removePhraseMatchers(int index)

The phrase matchers that match the request.

repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListPhraseMatchersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPhraseMatchersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListPhraseMatchersResponse.Builder
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListPhraseMatchersResponse.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListPhraseMatchersResponse.Builder

This builder for chaining.

setPhraseMatchers(int index, PhraseMatcher value)

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
NameDescription
indexint
valuePhraseMatcher
Returns
TypeDescription
ListPhraseMatchersResponse.Builder

setPhraseMatchers(int index, PhraseMatcher.Builder builderForValue)

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
NameDescription
indexint
builderForValuePhraseMatcher.Builder
Returns
TypeDescription
ListPhraseMatchersResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListPhraseMatchersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListPhraseMatchersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPhraseMatchersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListPhraseMatchersResponse.Builder
Overrides