Class BatchUpdateEntityTypesRequest.Builder (4.33.0)

public static final class BatchUpdateEntityTypesRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder> implements BatchUpdateEntityTypesRequestOrBuilder

The request message for EntityTypes.BatchUpdateEntityTypes.

Protobuf type google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchUpdateEntityTypesRequest build()
Returns
Type Description
BatchUpdateEntityTypesRequest

buildPartial()

public BatchUpdateEntityTypesRequest buildPartial()
Returns
Type Description
BatchUpdateEntityTypesRequest

clear()

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

clearEntityTypeBatch()

public BatchUpdateEntityTypesRequest.Builder clearEntityTypeBatch()
Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

clearEntityTypeBatchInline()

public BatchUpdateEntityTypesRequest.Builder clearEntityTypeBatchInline()

The collection of entity types to update or create.

.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;

Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

clearEntityTypeBatchUri()

public BatchUpdateEntityTypesRequest.Builder clearEntityTypeBatchUri()

The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with "gs://".

string entity_type_batch_uri = 2;

Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLanguageCode()

public BatchUpdateEntityTypesRequest.Builder clearLanguageCode()

Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.

string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public BatchUpdateEntityTypesRequest.Builder clearParent()

Required. The name of the agent to update or create entity types in. Format: projects/<Project ID>/agent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

This builder for chaining.

clearUpdateMask()

public BatchUpdateEntityTypesRequest.Builder clearUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

clone()

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

getDefaultInstanceForType()

public BatchUpdateEntityTypesRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateEntityTypesRequest

getDescriptorForType()

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

getEntityTypeBatchCase()

public BatchUpdateEntityTypesRequest.EntityTypeBatchCase getEntityTypeBatchCase()
Returns
Type Description
BatchUpdateEntityTypesRequest.EntityTypeBatchCase

getEntityTypeBatchInline()

public EntityTypeBatch getEntityTypeBatchInline()

The collection of entity types to update or create.

.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;

Returns
Type Description
EntityTypeBatch

The entityTypeBatchInline.

getEntityTypeBatchInlineBuilder()

public EntityTypeBatch.Builder getEntityTypeBatchInlineBuilder()

The collection of entity types to update or create.

.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;

Returns
Type Description
EntityTypeBatch.Builder

getEntityTypeBatchInlineOrBuilder()

public EntityTypeBatchOrBuilder getEntityTypeBatchInlineOrBuilder()

The collection of entity types to update or create.

.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;

Returns
Type Description
EntityTypeBatchOrBuilder

getEntityTypeBatchUri()

public String getEntityTypeBatchUri()

The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with "gs://".

string entity_type_batch_uri = 2;

Returns
Type Description
String

The entityTypeBatchUri.

getEntityTypeBatchUriBytes()

public ByteString getEntityTypeBatchUriBytes()

The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with "gs://".

string entity_type_batch_uri = 2;

Returns
Type Description
ByteString

The bytes for entityTypeBatchUri.

getLanguageCode()

public String getLanguageCode()

Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.

string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.

string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for languageCode.

getParent()

public String getParent()

Required. The name of the agent to update or create entity types in. Format: projects/<Project ID>/agent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the agent to update or create entity types in. Format: projects/<Project ID>/agent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasEntityTypeBatchInline()

public boolean hasEntityTypeBatchInline()

The collection of entity types to update or create.

.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;

Returns
Type Description
boolean

Whether the entityTypeBatchInline field is set.

hasEntityTypeBatchUri()

public boolean hasEntityTypeBatchUri()

The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with "gs://".

string entity_type_batch_uri = 2;

Returns
Type Description
boolean

Whether the entityTypeBatchUri field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEntityTypeBatchInline(EntityTypeBatch value)

public BatchUpdateEntityTypesRequest.Builder mergeEntityTypeBatchInline(EntityTypeBatch value)

The collection of entity types to update or create.

.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;

Parameter
Name Description
value EntityTypeBatch
Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

mergeFrom(BatchUpdateEntityTypesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public BatchUpdateEntityTypesRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

setEntityTypeBatchInline(EntityTypeBatch value)

public BatchUpdateEntityTypesRequest.Builder setEntityTypeBatchInline(EntityTypeBatch value)

The collection of entity types to update or create.

.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;

Parameter
Name Description
value EntityTypeBatch
Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

setEntityTypeBatchInline(EntityTypeBatch.Builder builderForValue)

public BatchUpdateEntityTypesRequest.Builder setEntityTypeBatchInline(EntityTypeBatch.Builder builderForValue)

The collection of entity types to update or create.

.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;

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

setEntityTypeBatchUri(String value)

public BatchUpdateEntityTypesRequest.Builder setEntityTypeBatchUri(String value)

The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with "gs://".

string entity_type_batch_uri = 2;

Parameter
Name Description
value String

The entityTypeBatchUri to set.

Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

This builder for chaining.

setEntityTypeBatchUriBytes(ByteString value)

public BatchUpdateEntityTypesRequest.Builder setEntityTypeBatchUriBytes(ByteString value)

The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with "gs://".

string entity_type_batch_uri = 2;

Parameter
Name Description
value ByteString

The bytes for entityTypeBatchUri to set.

Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLanguageCode(String value)

public BatchUpdateEntityTypesRequest.Builder setLanguageCode(String value)

Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.

string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public BatchUpdateEntityTypesRequest.Builder setLanguageCodeBytes(ByteString value)

Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.

string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

This builder for chaining.

setParent(String value)

public BatchUpdateEntityTypesRequest.Builder setParent(String value)

Required. The name of the agent to update or create entity types in. Format: projects/<Project ID>/agent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchUpdateEntityTypesRequest.Builder setParentBytes(ByteString value)

Required. The name of the agent to update or create entity types in. Format: projects/<Project ID>/agent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public BatchUpdateEntityTypesRequest.Builder setUpdateMask(FieldMask value)

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
BatchUpdateEntityTypesRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public BatchUpdateEntityTypesRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BatchUpdateEntityTypesRequest.Builder