Class EntityTypeBatch.Builder (4.7.3)

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.v2.EntityTypeBatch

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllEntityTypes(Iterable<? extends EntityType> values)

public EntityTypeBatch.Builder addAllEntityTypes(Iterable<? extends EntityType> values)

A collection of entity types.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2.EntityType>
Returns
TypeDescription
EntityTypeBatch.Builder

addEntityTypes(EntityType value)

public EntityTypeBatch.Builder addEntityTypes(EntityType value)

A collection of entity types.

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

Parameter
NameDescription
valueEntityType
Returns
TypeDescription
EntityTypeBatch.Builder

addEntityTypes(EntityType.Builder builderForValue)

public EntityTypeBatch.Builder addEntityTypes(EntityType.Builder builderForValue)

A collection of entity types.

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

Parameter
NameDescription
builderForValueEntityType.Builder
Returns
TypeDescription
EntityTypeBatch.Builder

addEntityTypes(int index, EntityType value)

public EntityTypeBatch.Builder addEntityTypes(int index, EntityType value)

A collection of entity types.

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

Parameters
NameDescription
indexint
valueEntityType
Returns
TypeDescription
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.v2.EntityType entity_types = 1;

Parameters
NameDescription
indexint
builderForValueEntityType.Builder
Returns
TypeDescription
EntityTypeBatch.Builder

addEntityTypesBuilder()

public EntityType.Builder addEntityTypesBuilder()

A collection of entity types.

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

Returns
TypeDescription
EntityType.Builder

addEntityTypesBuilder(int index)

public EntityType.Builder addEntityTypesBuilder(int index)

A collection of entity types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EntityTypeBatch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EntityTypeBatch.Builder
Overrides

build()

public EntityTypeBatch build()
Returns
TypeDescription
EntityTypeBatch

buildPartial()

public EntityTypeBatch buildPartial()
Returns
TypeDescription
EntityTypeBatch

clear()

public EntityTypeBatch.Builder clear()
Returns
TypeDescription
EntityTypeBatch.Builder
Overrides

clearEntityTypes()

public EntityTypeBatch.Builder clearEntityTypes()

A collection of entity types.

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

Returns
TypeDescription
EntityTypeBatch.Builder

clearField(Descriptors.FieldDescriptor field)

public EntityTypeBatch.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EntityTypeBatch.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EntityTypeBatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EntityTypeBatch.Builder
Overrides

clone()

public EntityTypeBatch.Builder clone()
Returns
TypeDescription
EntityTypeBatch.Builder
Overrides

getDefaultInstanceForType()

public EntityTypeBatch getDefaultInstanceForType()
Returns
TypeDescription
EntityTypeBatch

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntityTypes(int index)

public EntityType getEntityTypes(int index)

A collection of entity types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityType

getEntityTypesBuilder(int index)

public EntityType.Builder getEntityTypesBuilder(int index)

A collection of entity types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityType.Builder

getEntityTypesBuilderList()

public List<EntityType.Builder> getEntityTypesBuilderList()

A collection of entity types.

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

Returns
TypeDescription
List<Builder>

getEntityTypesCount()

public int getEntityTypesCount()

A collection of entity types.

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

Returns
TypeDescription
int

getEntityTypesList()

public List<EntityType> getEntityTypesList()

A collection of entity types.

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

Returns
TypeDescription
List<EntityType>

getEntityTypesOrBuilder(int index)

public EntityTypeOrBuilder getEntityTypesOrBuilder(int index)

A collection of entity types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityTypeOrBuilder

getEntityTypesOrBuilderList()

public List<? extends EntityTypeOrBuilder> getEntityTypesOrBuilderList()

A collection of entity types.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.EntityTypeOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EntityTypeBatch other)

public EntityTypeBatch.Builder mergeFrom(EntityTypeBatch other)
Parameter
NameDescription
otherEntityTypeBatch
Returns
TypeDescription
EntityTypeBatch.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EntityTypeBatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityTypeBatch.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EntityTypeBatch.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EntityTypeBatch.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntityTypeBatch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EntityTypeBatch.Builder
Overrides

removeEntityTypes(int index)

public EntityTypeBatch.Builder removeEntityTypes(int index)

A collection of entity types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityTypeBatch.Builder

setEntityTypes(int index, EntityType value)

public EntityTypeBatch.Builder setEntityTypes(int index, EntityType value)

A collection of entity types.

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

Parameters
NameDescription
indexint
valueEntityType
Returns
TypeDescription
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.v2.EntityType entity_types = 1;

Parameters
NameDescription
indexint
builderForValueEntityType.Builder
Returns
TypeDescription
EntityTypeBatch.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EntityTypeBatch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EntityTypeBatch.Builder
Overrides

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

public EntityTypeBatch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EntityTypeBatch.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EntityTypeBatch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EntityTypeBatch.Builder
Overrides