Class PhraseMatchData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder>
-
- com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder
-
- All Implemented Interfaces:
PhraseMatchDataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PhraseMatchData
public static final class PhraseMatchData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder> implements PhraseMatchDataOrBuilder
The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match.
Protobuf typegoogle.cloud.contactcenterinsights.v1.PhraseMatchData
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PhraseMatchData.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PhraseMatchDatabuild()PhraseMatchDatabuildPartial()PhraseMatchData.Builderclear()PhraseMatchData.BuilderclearDisplayName()The human-readable name of the phrase matcher.PhraseMatchData.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PhraseMatchData.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PhraseMatchData.BuilderclearPhraseMatcher()The unique identifier (the resource name) of the phrase matcher.PhraseMatchData.Builderclone()PhraseMatchDatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()The human-readable name of the phrase matcher.com.google.protobuf.ByteStringgetDisplayNameBytes()The human-readable name of the phrase matcher.StringgetPhraseMatcher()The unique identifier (the resource name) of the phrase matcher.com.google.protobuf.ByteStringgetPhraseMatcherBytes()The unique identifier (the resource name) of the phrase matcher.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PhraseMatchData.BuildermergeFrom(PhraseMatchData other)PhraseMatchData.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PhraseMatchData.BuildermergeFrom(com.google.protobuf.Message other)PhraseMatchData.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PhraseMatchData.BuildersetDisplayName(String value)The human-readable name of the phrase matcher.PhraseMatchData.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)The human-readable name of the phrase matcher.PhraseMatchData.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PhraseMatchData.BuildersetPhraseMatcher(String value)The unique identifier (the resource name) of the phrase matcher.PhraseMatchData.BuildersetPhraseMatcherBytes(com.google.protobuf.ByteString value)The unique identifier (the resource name) of the phrase matcher.PhraseMatchData.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PhraseMatchData.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder>
-
clear
public PhraseMatchData.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder>
-
getDefaultInstanceForType
public PhraseMatchData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PhraseMatchData build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PhraseMatchData buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PhraseMatchData.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder>
-
setField
public PhraseMatchData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder>
-
clearField
public PhraseMatchData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder>
-
clearOneof
public PhraseMatchData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder>
-
setRepeatedField
public PhraseMatchData.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder>
-
addRepeatedField
public PhraseMatchData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder>
-
mergeFrom
public PhraseMatchData.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PhraseMatchData.Builder>
-
mergeFrom
public PhraseMatchData.Builder mergeFrom(PhraseMatchData other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder>
-
mergeFrom
public PhraseMatchData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PhraseMatchData.Builder>- Throws:
IOException
-
getPhraseMatcher
public String getPhraseMatcher()
The unique identifier (the resource name) of the phrase matcher.
string phrase_matcher = 1;- Specified by:
getPhraseMatcherin interfacePhraseMatchDataOrBuilder- Returns:
- The phraseMatcher.
-
getPhraseMatcherBytes
public com.google.protobuf.ByteString getPhraseMatcherBytes()
The unique identifier (the resource name) of the phrase matcher.
string phrase_matcher = 1;- Specified by:
getPhraseMatcherBytesin interfacePhraseMatchDataOrBuilder- Returns:
- The bytes for phraseMatcher.
-
setPhraseMatcher
public PhraseMatchData.Builder setPhraseMatcher(String value)
The unique identifier (the resource name) of the phrase matcher.
string phrase_matcher = 1;- Parameters:
value- The phraseMatcher to set.- Returns:
- This builder for chaining.
-
clearPhraseMatcher
public PhraseMatchData.Builder clearPhraseMatcher()
The unique identifier (the resource name) of the phrase matcher.
string phrase_matcher = 1;- Returns:
- This builder for chaining.
-
setPhraseMatcherBytes
public PhraseMatchData.Builder setPhraseMatcherBytes(com.google.protobuf.ByteString value)
The unique identifier (the resource name) of the phrase matcher.
string phrase_matcher = 1;- Parameters:
value- The bytes for phraseMatcher to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
The human-readable name of the phrase matcher.
string display_name = 2;- Specified by:
getDisplayNamein interfacePhraseMatchDataOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The human-readable name of the phrase matcher.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfacePhraseMatchDataOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public PhraseMatchData.Builder setDisplayName(String value)
The human-readable name of the phrase matcher.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public PhraseMatchData.Builder clearDisplayName()
The human-readable name of the phrase matcher.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public PhraseMatchData.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The human-readable name of the phrase matcher.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PhraseMatchData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder>
-
mergeUnknownFields
public final PhraseMatchData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchData.Builder>
-
-