Class ListPhraseMatchersResponse.Builder (2.45.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.PhraseMatcher>
Returns
Type Description
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
Name Description
value PhraseMatcher
Returns
Type Description
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
Name Description
builderForValue PhraseMatcher.Builder
Returns
Type Description
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
Name Description
index int
value PhraseMatcher
Returns
Type Description
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
Name Description
index int
builderForValue PhraseMatcher.Builder
Returns
Type Description
ListPhraseMatchersResponse.Builder

addPhraseMatchersBuilder()

public PhraseMatcher.Builder addPhraseMatchersBuilder()

The phrase matchers that match the request.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
PhraseMatcher.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPhraseMatchersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPhraseMatchersResponse.Builder
Overrides

build()

public ListPhraseMatchersResponse build()
Returns
Type Description
ListPhraseMatchersResponse

buildPartial()

public ListPhraseMatchersResponse buildPartial()
Returns
Type Description
ListPhraseMatchersResponse

clear()

public ListPhraseMatchersResponse.Builder clear()
Returns
Type Description
ListPhraseMatchersResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListPhraseMatchersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListPhraseMatchersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPhraseMatchersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
ListPhraseMatchersResponse.Builder

clone()

public ListPhraseMatchersResponse.Builder clone()
Returns
Type Description
ListPhraseMatchersResponse.Builder
Overrides

getDefaultInstanceForType()

public ListPhraseMatchersResponse getDefaultInstanceForType()
Returns
Type Description
ListPhraseMatchersResponse

getDescriptorForType()

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

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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<Builder>

getPhraseMatchersCount()

public int getPhraseMatchersCount()

The phrase matchers that match the request.

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

Returns
Type Description
int

getPhraseMatchersList()

public List<PhraseMatcher> getPhraseMatchersList()

The phrase matchers that match the request.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
PhraseMatcherOrBuilder

getPhraseMatchersOrBuilderList()

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPhraseMatchersResponse other)

public ListPhraseMatchersResponse.Builder mergeFrom(ListPhraseMatchersResponse other)
Parameter
Name Description
other ListPhraseMatchersResponse
Returns
Type Description
ListPhraseMatchersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListPhraseMatchersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListPhraseMatchersResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListPhraseMatchersResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListPhraseMatchersResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPhraseMatchersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ListPhraseMatchersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPhraseMatchersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
index int
value PhraseMatcher
Returns
Type Description
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
Name Description
index int
builderForValue PhraseMatcher.Builder
Returns
Type Description
ListPhraseMatchersResponse.Builder

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

public ListPhraseMatchersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListPhraseMatchersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPhraseMatchersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPhraseMatchersResponse.Builder
Overrides