Class BatchUpdateEntityTypesRequest.Builder (4.47.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchUpdateEntityTypesRequest build()
Returns
TypeDescription
BatchUpdateEntityTypesRequest

buildPartial()

public BatchUpdateEntityTypesRequest buildPartial()
Returns
TypeDescription
BatchUpdateEntityTypesRequest

clear()

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

clearEntityTypeBatch()

public BatchUpdateEntityTypesRequest.Builder clearEntityTypeBatch()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BatchUpdateEntityTypesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BatchUpdateEntityTypesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BatchUpdateEntityTypesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchUpdateEntityTypesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BatchUpdateEntityTypesRequest.Builder

clone()

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

getDefaultInstanceForType()

public BatchUpdateEntityTypesRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchUpdateEntityTypesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntityTypeBatchCase()

public BatchUpdateEntityTypesRequest.EntityTypeBatchCase getEntityTypeBatchCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueEntityTypeBatch
Returns
TypeDescription
BatchUpdateEntityTypesRequest.Builder

mergeFrom(BatchUpdateEntityTypesRequest other)

public BatchUpdateEntityTypesRequest.Builder mergeFrom(BatchUpdateEntityTypesRequest other)
Parameter
NameDescription
otherBatchUpdateEntityTypesRequest
Returns
TypeDescription
BatchUpdateEntityTypesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateEntityTypesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueEntityTypeBatch
Returns
TypeDescription
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
NameDescription
builderForValueEntityTypeBatch.Builder
Returns
TypeDescription
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
NameDescription
valueString

The entityTypeBatchUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for entityTypeBatchUri to set.

Returns
TypeDescription
BatchUpdateEntityTypesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateEntityTypesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchUpdateEntityTypesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateEntityTypesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
BatchUpdateEntityTypesRequest.Builder