Class ListPhraseMatchersResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder>
-
- com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.Builder
-
- All Implemented Interfaces:
ListPhraseMatchersResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListPhraseMatchersResponse
public static final class ListPhraseMatchersResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder> implements ListPhraseMatchersResponseOrBuilder
The response of listing phrase matchers.
Protobuf typegoogle.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPhraseMatchersResponse.Builder
addAllPhraseMatchers(Iterable<? extends PhraseMatcher> values)
The phrase matchers that match the request.ListPhraseMatchersResponse.Builder
addPhraseMatchers(int index, PhraseMatcher value)
The phrase matchers that match the request.ListPhraseMatchersResponse.Builder
addPhraseMatchers(int index, PhraseMatcher.Builder builderForValue)
The phrase matchers that match the request.ListPhraseMatchersResponse.Builder
addPhraseMatchers(PhraseMatcher value)
The phrase matchers that match the request.ListPhraseMatchersResponse.Builder
addPhraseMatchers(PhraseMatcher.Builder builderForValue)
The phrase matchers that match the request.PhraseMatcher.Builder
addPhraseMatchersBuilder()
The phrase matchers that match the request.PhraseMatcher.Builder
addPhraseMatchersBuilder(int index)
The phrase matchers that match the request.ListPhraseMatchersResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListPhraseMatchersResponse
build()
ListPhraseMatchersResponse
buildPartial()
ListPhraseMatchersResponse.Builder
clear()
ListPhraseMatchersResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListPhraseMatchersResponse.Builder
clearNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.ListPhraseMatchersResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListPhraseMatchersResponse.Builder
clearPhraseMatchers()
The phrase matchers that match the request.ListPhraseMatchersResponse.Builder
clone()
ListPhraseMatchersResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token, which can be sent as `page_token` to retrieve the next page.PhraseMatcher
getPhraseMatchers(int index)
The phrase matchers that match the request.PhraseMatcher.Builder
getPhraseMatchersBuilder(int index)
The phrase matchers that match the request.List<PhraseMatcher.Builder>
getPhraseMatchersBuilderList()
The phrase matchers that match the request.int
getPhraseMatchersCount()
The phrase matchers that match the request.List<PhraseMatcher>
getPhraseMatchersList()
The phrase matchers that match the request.PhraseMatcherOrBuilder
getPhraseMatchersOrBuilder(int index)
The phrase matchers that match the request.List<? extends PhraseMatcherOrBuilder>
getPhraseMatchersOrBuilderList()
The phrase matchers that match the request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListPhraseMatchersResponse.Builder
mergeFrom(ListPhraseMatchersResponse other)
ListPhraseMatchersResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListPhraseMatchersResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListPhraseMatchersResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListPhraseMatchersResponse.Builder
removePhraseMatchers(int index)
The phrase matchers that match the request.ListPhraseMatchersResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListPhraseMatchersResponse.Builder
setNextPageToken(String value)
A token, which can be sent as `page_token` to retrieve the next page.ListPhraseMatchersResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token` to retrieve the next page.ListPhraseMatchersResponse.Builder
setPhraseMatchers(int index, PhraseMatcher value)
The phrase matchers that match the request.ListPhraseMatchersResponse.Builder
setPhraseMatchers(int index, PhraseMatcher.Builder builderForValue)
The phrase matchers that match the request.ListPhraseMatchersResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListPhraseMatchersResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder>
-
clear
public ListPhraseMatchersResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder>
-
getDefaultInstanceForType
public ListPhraseMatchersResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListPhraseMatchersResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListPhraseMatchersResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListPhraseMatchersResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder>
-
setField
public ListPhraseMatchersResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder>
-
clearField
public ListPhraseMatchersResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder>
-
clearOneof
public ListPhraseMatchersResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder>
-
setRepeatedField
public ListPhraseMatchersResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder>
-
addRepeatedField
public ListPhraseMatchersResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder>
-
mergeFrom
public ListPhraseMatchersResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListPhraseMatchersResponse.Builder>
-
mergeFrom
public ListPhraseMatchersResponse.Builder mergeFrom(ListPhraseMatchersResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder>
-
mergeFrom
public ListPhraseMatchersResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListPhraseMatchersResponse.Builder>
- Throws:
IOException
-
getPhraseMatchersList
public List<PhraseMatcher> getPhraseMatchersList()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
- Specified by:
getPhraseMatchersList
in interfaceListPhraseMatchersResponseOrBuilder
-
getPhraseMatchersCount
public int getPhraseMatchersCount()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
- Specified by:
getPhraseMatchersCount
in interfaceListPhraseMatchersResponseOrBuilder
-
getPhraseMatchers
public PhraseMatcher getPhraseMatchers(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
- Specified by:
getPhraseMatchers
in interfaceListPhraseMatchersResponseOrBuilder
-
setPhraseMatchers
public ListPhraseMatchersResponse.Builder setPhraseMatchers(int index, PhraseMatcher value)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
-
setPhraseMatchers
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;
-
addPhraseMatchers
public ListPhraseMatchersResponse.Builder addPhraseMatchers(PhraseMatcher value)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
-
addPhraseMatchers
public ListPhraseMatchersResponse.Builder addPhraseMatchers(int index, PhraseMatcher value)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
-
addPhraseMatchers
public ListPhraseMatchersResponse.Builder addPhraseMatchers(PhraseMatcher.Builder builderForValue)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
-
addPhraseMatchers
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;
-
addAllPhraseMatchers
public ListPhraseMatchersResponse.Builder addAllPhraseMatchers(Iterable<? extends PhraseMatcher> values)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
-
clearPhraseMatchers
public ListPhraseMatchersResponse.Builder clearPhraseMatchers()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
-
removePhraseMatchers
public ListPhraseMatchersResponse.Builder removePhraseMatchers(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
-
getPhraseMatchersBuilder
public PhraseMatcher.Builder getPhraseMatchersBuilder(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
-
getPhraseMatchersOrBuilder
public PhraseMatcherOrBuilder getPhraseMatchersOrBuilder(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
- Specified by:
getPhraseMatchersOrBuilder
in interfaceListPhraseMatchersResponseOrBuilder
-
getPhraseMatchersOrBuilderList
public List<? extends PhraseMatcherOrBuilder> getPhraseMatchersOrBuilderList()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
- Specified by:
getPhraseMatchersOrBuilderList
in interfaceListPhraseMatchersResponseOrBuilder
-
addPhraseMatchersBuilder
public PhraseMatcher.Builder addPhraseMatchersBuilder()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
-
addPhraseMatchersBuilder
public PhraseMatcher.Builder addPhraseMatchersBuilder(int index)
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
-
getPhraseMatchersBuilderList
public List<PhraseMatcher.Builder> getPhraseMatchersBuilderList()
The phrase matchers that match the request.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1;
-
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;
- Specified by:
getNextPageToken
in interfaceListPhraseMatchersResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;
- Specified by:
getNextPageTokenBytes
in interfaceListPhraseMatchersResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListPhraseMatchersResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListPhraseMatchersResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder>
-
mergeUnknownFields
public final ListPhraseMatchersResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPhraseMatchersResponse.Builder>
-
-