Class BatchUpdateEntityTypesResponse.Builder (4.25.0)

public static final class BatchUpdateEntityTypesResponse.Builder extends GeneratedMessageV3.Builder<BatchUpdateEntityTypesResponse.Builder> implements BatchUpdateEntityTypesResponseOrBuilder

The response message for EntityTypes.BatchUpdateEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse

Static Methods

getDescriptor()

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

Methods

addAllEntityTypes(Iterable<? extends EntityType> values)

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

The collection of updated or created 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
BatchUpdateEntityTypesResponse.Builder

addEntityTypes(EntityType value)

public BatchUpdateEntityTypesResponse.Builder addEntityTypes(EntityType value)

The collection of updated or created entity types.

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

Parameter
Name Description
value EntityType
Returns
Type Description
BatchUpdateEntityTypesResponse.Builder

addEntityTypes(EntityType.Builder builderForValue)

public BatchUpdateEntityTypesResponse.Builder addEntityTypes(EntityType.Builder builderForValue)

The collection of updated or created entity types.

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

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

addEntityTypes(int index, EntityType value)

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

The collection of updated or created entity types.

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

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

addEntityTypes(int index, EntityType.Builder builderForValue)

public BatchUpdateEntityTypesResponse.Builder addEntityTypes(int index, EntityType.Builder builderForValue)

The collection of updated or created entity types.

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

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

addEntityTypesBuilder()

public EntityType.Builder addEntityTypesBuilder()

The collection of updated or created 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)

The collection of updated or created 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 BatchUpdateEntityTypesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchUpdateEntityTypesResponse.Builder
Overrides

build()

public BatchUpdateEntityTypesResponse build()
Returns
Type Description
BatchUpdateEntityTypesResponse

buildPartial()

public BatchUpdateEntityTypesResponse buildPartial()
Returns
Type Description
BatchUpdateEntityTypesResponse

clear()

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

clearEntityTypes()

public BatchUpdateEntityTypesResponse.Builder clearEntityTypes()

The collection of updated or created entity types.

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

Returns
Type Description
BatchUpdateEntityTypesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchUpdateEntityTypesResponse getDefaultInstanceForType()
Returns
Type Description
BatchUpdateEntityTypesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEntityTypes(int index)

public EntityType getEntityTypes(int index)

The collection of updated or created 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)

The collection of updated or created 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()

The collection of updated or created entity types.

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

Returns
Type Description
List<Builder>

getEntityTypesCount()

public int getEntityTypesCount()

The collection of updated or created entity types.

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

Returns
Type Description
int

getEntityTypesList()

public List<EntityType> getEntityTypesList()

The collection of updated or created entity types.

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

Returns
Type Description
List<EntityType>

getEntityTypesOrBuilder(int index)

public EntityTypeOrBuilder getEntityTypesOrBuilder(int index)

The collection of updated or created 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()

The collection of updated or created 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(BatchUpdateEntityTypesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateEntityTypesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchUpdateEntityTypesResponse.Builder
Overrides

removeEntityTypes(int index)

public BatchUpdateEntityTypesResponse.Builder removeEntityTypes(int index)

The collection of updated or created entity types.

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

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateEntityTypesResponse.Builder

setEntityTypes(int index, EntityType value)

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

The collection of updated or created entity types.

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

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

setEntityTypes(int index, EntityType.Builder builderForValue)

public BatchUpdateEntityTypesResponse.Builder setEntityTypes(int index, EntityType.Builder builderForValue)

The collection of updated or created entity types.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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