Class EntityTypeBatch.Builder (4.89.0)

public static final class EntityTypeBatch.Builder extends GeneratedMessage.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

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

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 GeneratedMessage.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

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