public static final class UpdateEntityTypeRequest.Builder extends GeneratedMessageV3.Builder<UpdateEntityTypeRequest.Builder> implements UpdateEntityTypeRequestOrBuilder
The request message for EntityTypes.UpdateEntityType.
Protobuf type google.cloud.dialogflow.cx.v3.UpdateEntityTypeRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateEntityTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateEntityTypeRequest build()
Returns
buildPartial()
public UpdateEntityTypeRequest buildPartial()
Returns
clear()
public UpdateEntityTypeRequest.Builder clear()
Returns
Overrides
clearEntityType()
public UpdateEntityTypeRequest.Builder clearEntityType()
Required. The entity type to update.
.google.cloud.dialogflow.cx.v3.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateEntityTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLanguageCode()
public UpdateEntityTypeRequest.Builder clearLanguageCode()
The language of the following fields in entity_type
:
EntityType.entities.value
EntityType.entities.synonyms
EntityType.excluded_phrases.value
If not specified, the agent's default language is used.
Many
languages
are supported.
Note: languages must be enabled in the agent before they can be used.
string language_code = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateEntityTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateEntityTypeRequest.Builder clearUpdateMask()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
clone()
public UpdateEntityTypeRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateEntityTypeRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEntityType()
public EntityType getEntityType()
Required. The entity type to update.
.google.cloud.dialogflow.cx.v3.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getEntityTypeBuilder()
public EntityType.Builder getEntityTypeBuilder()
Required. The entity type to update.
.google.cloud.dialogflow.cx.v3.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getEntityTypeOrBuilder()
public EntityTypeOrBuilder getEntityTypeOrBuilder()
Required. The entity type to update.
.google.cloud.dialogflow.cx.v3.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getLanguageCode()
public String getLanguageCode()
The language of the following fields in entity_type
:
EntityType.entities.value
EntityType.entities.synonyms
EntityType.excluded_phrases.value
If not specified, the agent's default language is used.
Many
languages
are supported.
Note: languages must be enabled in the agent before they can be used.
string language_code = 2;
Returns
Type | Description |
String | The languageCode.
|
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
The language of the following fields in entity_type
:
EntityType.entities.value
EntityType.entities.synonyms
EntityType.excluded_phrases.value
If not specified, the agent's default language is used.
Many
languages
are supported.
Note: languages must be enabled in the agent before they can be used.
string language_code = 2;
Returns
Type | Description |
ByteString | The bytes for languageCode.
|
getUpdateMask()
public FieldMask getUpdateMask()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
hasEntityType()
public boolean hasEntityType()
Required. The entity type to update.
.google.cloud.dialogflow.cx.v3.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the entityType field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEntityType(EntityType value)
public UpdateEntityTypeRequest.Builder mergeEntityType(EntityType value)
Required. The entity type to update.
.google.cloud.dialogflow.cx.v3.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateEntityTypeRequest other)
public UpdateEntityTypeRequest.Builder mergeFrom(UpdateEntityTypeRequest other)
Parameter
Returns
public UpdateEntityTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateEntityTypeRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateEntityTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateEntityTypeRequest.Builder mergeUpdateMask(FieldMask value)
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
setEntityType(EntityType value)
public UpdateEntityTypeRequest.Builder setEntityType(EntityType value)
Required. The entity type to update.
.google.cloud.dialogflow.cx.v3.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setEntityType(EntityType.Builder builderForValue)
public UpdateEntityTypeRequest.Builder setEntityType(EntityType.Builder builderForValue)
Required. The entity type to update.
.google.cloud.dialogflow.cx.v3.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateEntityTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLanguageCode(String value)
public UpdateEntityTypeRequest.Builder setLanguageCode(String value)
The language of the following fields in entity_type
:
EntityType.entities.value
EntityType.entities.synonyms
EntityType.excluded_phrases.value
If not specified, the agent's default language is used.
Many
languages
are supported.
Note: languages must be enabled in the agent before they can be used.
string language_code = 2;
Parameter
Name | Description |
value | String
The languageCode to set.
|
Returns
setLanguageCodeBytes(ByteString value)
public UpdateEntityTypeRequest.Builder setLanguageCodeBytes(ByteString value)
The language of the following fields in entity_type
:
EntityType.entities.value
EntityType.entities.synonyms
EntityType.excluded_phrases.value
If not specified, the agent's default language is used.
Many
languages
are supported.
Note: languages must be enabled in the agent before they can be used.
string language_code = 2;
Parameter
Name | Description |
value | ByteString
The bytes for languageCode to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateEntityTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateEntityTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateEntityTypeRequest.Builder setUpdateMask(FieldMask value)
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateEntityTypeRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns