public static final class UpdateEntityTypeRequest.Builder extends GeneratedMessage.Builder<UpdateEntityTypeRequest.Builder> implements UpdateEntityTypeRequestOrBuilderThe request message for EntityTypes.UpdateEntityType.
Protobuf type google.cloud.dialogflow.cx.v3.UpdateEntityTypeRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateEntityTypeRequest.BuilderImplements
UpdateEntityTypeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateEntityTypeRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest |
|
buildPartial()
public UpdateEntityTypeRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest |
|
clear()
public UpdateEntityTypeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
|
clearLanguageCode()
public UpdateEntityTypeRequest.Builder clearLanguageCode() The language of the following fields in entity_type:
EntityType.entities.valueEntityType.entities.synonymsEntityType.excluded_phrases.valueIf 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 |
UpdateEntityTypeRequest.Builder |
This builder for chaining. |
clearUpdateMask()
public UpdateEntityTypeRequest.Builder clearUpdateMask()The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
|
getDefaultInstanceForType()
public UpdateEntityTypeRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
EntityType |
The entityType. |
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 | |
|---|---|
| Type | Description |
EntityType.Builder |
|
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 | |
|---|---|
| Type | Description |
EntityTypeOrBuilder |
|
getLanguageCode()
public String getLanguageCode() The language of the following fields in entity_type:
EntityType.entities.valueEntityType.entities.synonymsEntityType.excluded_phrases.valueIf 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.valueEntityType.entities.synonymsEntityType.excluded_phrases.valueIf 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 | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 | |
|---|---|
| Name | Description |
value |
EntityType |
| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
|
mergeFrom(UpdateEntityTypeRequest other)
public UpdateEntityTypeRequest.Builder mergeFrom(UpdateEntityTypeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateEntityTypeRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateEntityTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateEntityTypeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateEntityTypeRequest.Builder mergeUpdateMask(FieldMask value)The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
EntityType |
| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
EntityType.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
|
setLanguageCode(String value)
public UpdateEntityTypeRequest.Builder setLanguageCode(String value) The language of the following fields in entity_type:
EntityType.entities.valueEntityType.entities.synonymsEntityType.excluded_phrases.valueIf 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 |
StringThe languageCode to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public UpdateEntityTypeRequest.Builder setLanguageCodeBytes(ByteString value) The language of the following fields in entity_type:
EntityType.entities.valueEntityType.entities.synonymsEntityType.excluded_phrases.valueIf 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 |
ByteStringThe bytes for languageCode to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
This builder for chaining. |
setUpdateMask(FieldMask value)
public UpdateEntityTypeRequest.Builder setUpdateMask(FieldMask value)The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateEntityTypeRequest.Builder |
|