Class EntityTypeBatch.Builder (4.17.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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>
Returns
Type Description
EntityTypeBatch.Builder

addEntityTypes(EntityType value)

public EntityTypeBatch.Builder addEntityTypes(EntityType value)

A collection of entity types.

repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;

Parameter
Name Description
value EntityType
Returns
Type Description
EntityTypeBatch.Builder

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;

Parameter
Name Description
builderForValue EntityType.Builder
Returns
Type Description
EntityTypeBatch.Builder

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;

Parameters
Name Description
index int
value EntityType
Returns
Type Description
EntityTypeBatch.Builder

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;

Parameters
Name Description
index int
builderForValue EntityType.Builder
Returns
Type Description
EntityTypeBatch.Builder

addEntityTypesBuilder()

public EntityType.Builder addEntityTypesBuilder()

A collection of entity types.

repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;

Returns
Type Description
EntityType.Builder

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
Returns
Type Description
EntityType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntityTypeBatch build()
Returns
Type Description
EntityTypeBatch

buildPartial()

public EntityTypeBatch buildPartial()
Returns
Type Description
EntityTypeBatch

clear()

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

clearEntityTypes()

public EntityTypeBatch.Builder clearEntityTypes()

A collection of entity types.

repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;

Returns
Type Description
EntityTypeBatch.Builder

clearField(Descriptors.FieldDescriptor field)

public EntityTypeBatch.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EntityTypeBatch.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EntityTypeBatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EntityTypeBatch.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public EntityTypeBatch getDefaultInstanceForType()
Returns
Type Description
EntityTypeBatch

getDescriptorForType()

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

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
Returns
Type Description
EntityType.Builder

getEntityTypesBuilderList()

public List<EntityType.Builder> getEntityTypesBuilderList()

A collection of entity types.

repeated .google.cloud.dialogflow.v2beta1.EntityType entity_types = 1;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<EntityType>

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
Returns
Type Description
EntityTypeOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EntityTypeBatch other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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;

Parameters
Name Description
index int
value EntityType
Returns
Type Description
EntityTypeBatch.Builder

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;

Parameters
Name Description
index int
builderForValue EntityType.Builder
Returns
Type Description
EntityTypeBatch.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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