public static final class UpdateEntityTypeRequest.Builder extends GeneratedMessageV3.Builder<UpdateEntityTypeRequest.Builder> implements UpdateEntityTypeRequestOrBuilder
The request message for
EntityTypes.UpdateEntityType.
Protobuf type google.cloud.dialogflow.v2.UpdateEntityTypeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateEntityTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateEntityTypeRequest build()
buildPartial()
public UpdateEntityTypeRequest buildPartial()
clear()
public UpdateEntityTypeRequest.Builder clear()
Overrides
clearEntityType()
public UpdateEntityTypeRequest.Builder clearEntityType()
Required. The entity type to update.
.google.cloud.dialogflow.v2.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateEntityTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateEntityTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateEntityTypeRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateEntityTypeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEntityType()
public EntityType getEntityType()
Required. The entity type to update.
.google.cloud.dialogflow.v2.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.v2.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
getEntityTypeOrBuilder()
public EntityTypeOrBuilder getEntityTypeOrBuilder()
Required. The entity type to update.
.google.cloud.dialogflow.v2.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
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 |
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 = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
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 |
Type |
Description |
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];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
hasEntityType()
public boolean hasEntityType()
Required. The entity type to update.
.google.cloud.dialogflow.v2.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
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 |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEntityType(EntityType value)
public UpdateEntityTypeRequest.Builder mergeEntityType(EntityType value)
Required. The entity type to update.
.google.cloud.dialogflow.v2.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(UpdateEntityTypeRequest other)
public UpdateEntityTypeRequest.Builder mergeFrom(UpdateEntityTypeRequest other)
public UpdateEntityTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateEntityTypeRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateEntityTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setEntityType(EntityType value)
public UpdateEntityTypeRequest.Builder setEntityType(EntityType value)
Required. The entity type to update.
.google.cloud.dialogflow.v2.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
setEntityType(EntityType.Builder builderForValue)
public UpdateEntityTypeRequest.Builder setEntityType(EntityType.Builder builderForValue)
Required. The entity type to update.
.google.cloud.dialogflow.v2.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateEntityTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
Name |
Description |
value |
String
The languageCode to set.
|
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 |
Name |
Description |
value |
ByteString
The bytes for languageCode to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateEntityTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateEntityTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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 |
Name |
Description |
builderForValue |
Builder
|