public static final class EntityType.Entity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Entity.Builder> implements EntityType.EntityOrBuilder
Optional. Represents an entity.Protobuf type
google.cloud.dialogflow.v2beta1.EntityType.Entity| Modifier and Type | Method and Description |
|---|---|
EntityType.Entity.Builder |
addAllSynonyms(Iterable<String> values)
Required.
|
EntityType.Entity.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EntityType.Entity.Builder |
addSynonyms(String value)
Required.
|
EntityType.Entity.Builder |
addSynonymsBytes(com.google.protobuf.ByteString value)
Required.
|
EntityType.Entity |
build() |
EntityType.Entity |
buildPartial() |
EntityType.Entity.Builder |
clear() |
EntityType.Entity.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EntityType.Entity.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EntityType.Entity.Builder |
clearSynonyms()
Required.
|
EntityType.Entity.Builder |
clearValue()
Required.
|
EntityType.Entity.Builder |
clone() |
EntityType.Entity |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getSynonyms(int index)
Required.
|
com.google.protobuf.ByteString |
getSynonymsBytes(int index)
Required.
|
int |
getSynonymsCount()
Required.
|
com.google.protobuf.ProtocolStringList |
getSynonymsList()
Required.
|
String |
getValue()
Required.
|
com.google.protobuf.ByteString |
getValueBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EntityType.Entity.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EntityType.Entity.Builder |
mergeFrom(EntityType.Entity other) |
EntityType.Entity.Builder |
mergeFrom(com.google.protobuf.Message other) |
EntityType.Entity.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EntityType.Entity.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EntityType.Entity.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
EntityType.Entity.Builder |
setSynonyms(int index,
String value)
Required.
|
EntityType.Entity.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EntityType.Entity.Builder |
setValue(String value)
Required.
|
EntityType.Entity.Builder |
setValueBytes(com.google.protobuf.ByteString value)
Required.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Entity.Builder>public EntityType.Entity.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Entity.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Entity.Builder>public EntityType.Entity getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EntityType.Entity build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EntityType.Entity buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EntityType.Entity.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Entity.Builder>public EntityType.Entity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Entity.Builder>public EntityType.Entity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Entity.Builder>public EntityType.Entity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Entity.Builder>public EntityType.Entity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Entity.Builder>public EntityType.Entity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Entity.Builder>public EntityType.Entity.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EntityType.Entity.Builder>public EntityType.Entity.Builder mergeFrom(EntityType.Entity other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Entity.Builder>public EntityType.Entity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EntityType.Entity.Builder>IOExceptionpublic String getValue()
Required. For `KIND_MAP` entity types: A canonical name to be used in place of synonyms. For `KIND_LIST` entity types: A string that can contain references to other entity types (with or without aliases).
string value = 1;getValue in interface EntityType.EntityOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
Required. For `KIND_MAP` entity types: A canonical name to be used in place of synonyms. For `KIND_LIST` entity types: A string that can contain references to other entity types (with or without aliases).
string value = 1;getValueBytes in interface EntityType.EntityOrBuilderpublic EntityType.Entity.Builder setValue(String value)
Required. For `KIND_MAP` entity types: A canonical name to be used in place of synonyms. For `KIND_LIST` entity types: A string that can contain references to other entity types (with or without aliases).
string value = 1;public EntityType.Entity.Builder clearValue()
Required. For `KIND_MAP` entity types: A canonical name to be used in place of synonyms. For `KIND_LIST` entity types: A string that can contain references to other entity types (with or without aliases).
string value = 1;public EntityType.Entity.Builder setValueBytes(com.google.protobuf.ByteString value)
Required. For `KIND_MAP` entity types: A canonical name to be used in place of synonyms. For `KIND_LIST` entity types: A string that can contain references to other entity types (with or without aliases).
string value = 1;public com.google.protobuf.ProtocolStringList getSynonymsList()
Required. A collection of synonyms. For `KIND_LIST` entity types this must contain exactly one synonym equal to `value`.
repeated string synonyms = 2;getSynonymsList in interface EntityType.EntityOrBuilderpublic int getSynonymsCount()
Required. A collection of synonyms. For `KIND_LIST` entity types this must contain exactly one synonym equal to `value`.
repeated string synonyms = 2;getSynonymsCount in interface EntityType.EntityOrBuilderpublic String getSynonyms(int index)
Required. A collection of synonyms. For `KIND_LIST` entity types this must contain exactly one synonym equal to `value`.
repeated string synonyms = 2;getSynonyms in interface EntityType.EntityOrBuilderpublic com.google.protobuf.ByteString getSynonymsBytes(int index)
Required. A collection of synonyms. For `KIND_LIST` entity types this must contain exactly one synonym equal to `value`.
repeated string synonyms = 2;getSynonymsBytes in interface EntityType.EntityOrBuilderpublic EntityType.Entity.Builder setSynonyms(int index, String value)
Required. A collection of synonyms. For `KIND_LIST` entity types this must contain exactly one synonym equal to `value`.
repeated string synonyms = 2;public EntityType.Entity.Builder addSynonyms(String value)
Required. A collection of synonyms. For `KIND_LIST` entity types this must contain exactly one synonym equal to `value`.
repeated string synonyms = 2;public EntityType.Entity.Builder addAllSynonyms(Iterable<String> values)
Required. A collection of synonyms. For `KIND_LIST` entity types this must contain exactly one synonym equal to `value`.
repeated string synonyms = 2;public EntityType.Entity.Builder clearSynonyms()
Required. A collection of synonyms. For `KIND_LIST` entity types this must contain exactly one synonym equal to `value`.
repeated string synonyms = 2;public EntityType.Entity.Builder addSynonymsBytes(com.google.protobuf.ByteString value)
Required. A collection of synonyms. For `KIND_LIST` entity types this must contain exactly one synonym equal to `value`.
repeated string synonyms = 2;public final EntityType.Entity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Entity.Builder>public final EntityType.Entity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Entity.Builder>Copyright © 2019 Google LLC. All rights reserved.