public static final class EntityTypeBatch.Builder extends GeneratedMessageV3.Builder<EntityTypeBatch.Builder> implements EntityTypeBatchOrBuilder
This message is a wrapper around a collection of entity types.
Protobuf type google.cloud.dialogflow.v2beta1.EntityTypeBatch
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllEntityTypes(Iterable<? extends EntityType> values)
public EntityTypeBatch.Builder addAllEntityTypes(Iterable<? extends EntityType> values)
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.EntityType>
|
addEntityTypes(EntityType value)
public EntityTypeBatch.Builder addEntityTypes(EntityType value)
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
addEntityTypes(EntityType.Builder builderForValue)
public EntityTypeBatch.Builder addEntityTypes(EntityType.Builder builderForValue)
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
addEntityTypes(int index, EntityType value)
public EntityTypeBatch.Builder addEntityTypes(int index, EntityType value)
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
addEntityTypes(int index, EntityType.Builder builderForValue)
public EntityTypeBatch.Builder addEntityTypes(int index, EntityType.Builder builderForValue)
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
addEntityTypesBuilder()
public EntityType.Builder addEntityTypesBuilder()
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
addEntityTypesBuilder(int index)
public EntityType.Builder addEntityTypesBuilder(int index)
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EntityTypeBatch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EntityTypeBatch build()
buildPartial()
public EntityTypeBatch buildPartial()
clear()
public EntityTypeBatch.Builder clear()
Overrides
clearEntityTypes()
public EntityTypeBatch.Builder clearEntityTypes()
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
clearField(Descriptors.FieldDescriptor field)
public EntityTypeBatch.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EntityTypeBatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public EntityTypeBatch.Builder clone()
Overrides
getDefaultInstanceForType()
public EntityTypeBatch getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEntityTypes(int index)
public EntityType getEntityTypes(int index)
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
Parameter |
Name |
Description |
index |
int
|
getEntityTypesBuilder(int index)
public EntityType.Builder getEntityTypesBuilder(int index)
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
Parameter |
Name |
Description |
index |
int
|
getEntityTypesBuilderList()
public List<EntityType.Builder> getEntityTypesBuilderList()
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
getEntityTypesCount()
public int getEntityTypesCount()
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
Returns |
Type |
Description |
int |
|
getEntityTypesList()
public List<EntityType> getEntityTypesList()
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
getEntityTypesOrBuilder(int index)
public EntityTypeOrBuilder getEntityTypesOrBuilder(int index)
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
Parameter |
Name |
Description |
index |
int
|
getEntityTypesOrBuilderList()
public List<? extends EntityTypeOrBuilder> getEntityTypesOrBuilderList()
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.EntityTypeOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EntityTypeBatch other)
public EntityTypeBatch.Builder mergeFrom(EntityTypeBatch other)
public EntityTypeBatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EntityTypeBatch.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EntityTypeBatch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeEntityTypes(int index)
public EntityTypeBatch.Builder removeEntityTypes(int index)
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
Parameter |
Name |
Description |
index |
int
|
setEntityTypes(int index, EntityType value)
public EntityTypeBatch.Builder setEntityTypes(int index, EntityType value)
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
setEntityTypes(int index, EntityType.Builder builderForValue)
public EntityTypeBatch.Builder setEntityTypes(int index, EntityType.Builder builderForValue)
A collection of entity types.
repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public EntityTypeBatch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EntityTypeBatch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EntityTypeBatch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides