Class BatchUpdateEntityTypesResponse.Builder (4.7.5)

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

The response message for EntityTypes.BatchUpdateEntityTypes.

Protobuf type google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v2.EntityType entity_types = 1;

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

addEntityTypes(EntityType value)

public BatchUpdateEntityTypesResponse.Builder addEntityTypes(EntityType value)

The collection of updated or created entity types.

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

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

Parameter
NameDescription
builderForValueEntityType.Builder
Returns
TypeDescription
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.v2.EntityType entity_types = 1;

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

Parameters
NameDescription
indexint
builderForValueEntityType.Builder
Returns
TypeDescription
BatchUpdateEntityTypesResponse.Builder

addEntityTypesBuilder()

public EntityType.Builder addEntityTypesBuilder()

The collection of updated or created entity types.

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

Returns
TypeDescription
EntityType.Builder

addEntityTypesBuilder(int index)

public EntityType.Builder addEntityTypesBuilder(int index)

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

build()

public BatchUpdateEntityTypesResponse build()
Returns
TypeDescription
BatchUpdateEntityTypesResponse

buildPartial()

public BatchUpdateEntityTypesResponse buildPartial()
Returns
TypeDescription
BatchUpdateEntityTypesResponse

clear()

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

clearEntityTypes()

public BatchUpdateEntityTypesResponse.Builder clearEntityTypes()

The collection of updated or created entity types.

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

Returns
TypeDescription
BatchUpdateEntityTypesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchUpdateEntityTypesResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchUpdateEntityTypesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntityTypes(int index)

public EntityType getEntityTypes(int index)

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

The collection of updated or created entity types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityType.Builder

getEntityTypesBuilderList()

public List<EntityType.Builder> getEntityTypesBuilderList()

The collection of updated or created entity types.

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

Returns
TypeDescription
List<Builder>

getEntityTypesCount()

public int getEntityTypesCount()

The collection of updated or created entity types.

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

Returns
TypeDescription
int

getEntityTypesList()

public List<EntityType> getEntityTypesList()

The collection of updated or created entity types.

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

Returns
TypeDescription
List<EntityType>

getEntityTypesOrBuilder(int index)

public EntityTypeOrBuilder getEntityTypesOrBuilder(int index)

The collection of updated or created entity types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityTypeOrBuilder

getEntityTypesOrBuilderList()

public List<? extends EntityTypeOrBuilder> getEntityTypesOrBuilderList()

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

public BatchUpdateEntityTypesResponse.Builder mergeFrom(BatchUpdateEntityTypesResponse other)
Parameter
NameDescription
otherBatchUpdateEntityTypesResponse
Returns
TypeDescription
BatchUpdateEntityTypesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntityTypes(int index)

public BatchUpdateEntityTypesResponse.Builder removeEntityTypes(int index)

The collection of updated or created entity types.

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

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

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

Parameters
NameDescription
indexint
builderForValueEntityType.Builder
Returns
TypeDescription
BatchUpdateEntityTypesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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