Class UpdateEntityTypeRequest.Builder (4.6.0)

public static final class UpdateEntityTypeRequest.Builder extends GeneratedMessageV3.Builder<UpdateEntityTypeRequest.Builder> implements UpdateEntityTypeRequestOrBuilder

The request message for EntityTypes.UpdateEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateEntityTypeRequest build()
Returns
TypeDescription
UpdateEntityTypeRequest

buildPartial()

public UpdateEntityTypeRequest buildPartial()
Returns
TypeDescription
UpdateEntityTypeRequest

clear()

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

clearEntityType()

public UpdateEntityTypeRequest.Builder clearEntityType()

Required. The entity type to update.

.google.cloud.dialogflow.v2beta1.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateEntityTypeRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLanguageCode()

public UpdateEntityTypeRequest.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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
UpdateEntityTypeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateEntityTypeRequest.Builder clearUpdateMask()

Optional. The mask to control which fields get updated.

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

Returns
TypeDescription
UpdateEntityTypeRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateEntityTypeRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateEntityTypeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntityType()

public EntityType getEntityType()

Required. The entity type to update.

.google.cloud.dialogflow.v2beta1.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EntityType

The entityType.

getEntityTypeBuilder()

public EntityType.Builder getEntityTypeBuilder()

Required. The entity type to update.

.google.cloud.dialogflow.v2beta1.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EntityType.Builder

getEntityTypeOrBuilder()

public EntityTypeOrBuilder getEntityTypeOrBuilder()

Required. The entity type to update.

.google.cloud.dialogflow.v2beta1.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EntityTypeOrBuilder

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 = 2 [(.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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for languageCode.

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3 [(.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 = 3 [(.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FieldMaskOrBuilder

hasEntityType()

public boolean hasEntityType()

Required. The entity type to update.

.google.cloud.dialogflow.v2beta1.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the entityType field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3 [(.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

mergeEntityType(EntityType value)

public UpdateEntityTypeRequest.Builder mergeEntityType(EntityType value)

Required. The entity type to update.

.google.cloud.dialogflow.v2beta1.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueEntityType
Returns
TypeDescription
UpdateEntityTypeRequest.Builder

mergeFrom(UpdateEntityTypeRequest other)

public UpdateEntityTypeRequest.Builder mergeFrom(UpdateEntityTypeRequest other)
Parameter
NameDescription
otherUpdateEntityTypeRequest
Returns
TypeDescription
UpdateEntityTypeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateEntityTypeRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The mask to control which fields get updated.

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

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateEntityTypeRequest.Builder

setEntityType(EntityType value)

public UpdateEntityTypeRequest.Builder setEntityType(EntityType value)

Required. The entity type to update.

.google.cloud.dialogflow.v2beta1.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueEntityType
Returns
TypeDescription
UpdateEntityTypeRequest.Builder

setEntityType(EntityType.Builder builderForValue)

public UpdateEntityTypeRequest.Builder setEntityType(EntityType.Builder builderForValue)

Required. The entity type to update.

.google.cloud.dialogflow.v2beta1.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueEntityType.Builder
Returns
TypeDescription
UpdateEntityTypeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLanguageCode(String value)

public UpdateEntityTypeRequest.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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
UpdateEntityTypeRequest.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public UpdateEntityTypeRequest.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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
UpdateEntityTypeRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateEntityTypeRequest.Builder setUpdateMask(FieldMask value)

Optional. The mask to control which fields get updated.

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

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateEntityTypeRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateEntityTypeRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The mask to control which fields get updated.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateEntityTypeRequest.Builder