public static final class RenameTagTemplateFieldEnumValueRequest.Builder extends GeneratedMessageV3.Builder<RenameTagTemplateFieldEnumValueRequest.Builder> implements RenameTagTemplateFieldEnumValueRequestOrBuilder
Request message for
RenameTagTemplateFieldEnumValue.
Protobuf type google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public RenameTagTemplateFieldEnumValueRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RenameTagTemplateFieldEnumValueRequest build()
public RenameTagTemplateFieldEnumValueRequest buildPartial()
public RenameTagTemplateFieldEnumValueRequest.Builder clear()
Overrides
public RenameTagTemplateFieldEnumValueRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RenameTagTemplateFieldEnumValueRequest.Builder clearName()
Required. The name of the enum field value. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public RenameTagTemplateFieldEnumValueRequest.Builder clearNewEnumValueDisplayName()
Required. The new display name of the enum value. For example,
my_new_enum_value
.
string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
public RenameTagTemplateFieldEnumValueRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RenameTagTemplateFieldEnumValueRequest.Builder clone()
Overrides
public RenameTagTemplateFieldEnumValueRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
Required. The name of the enum field value. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Required. The name of the enum field value. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public String getNewEnumValueDisplayName()
Required. The new display name of the enum value. For example,
my_new_enum_value
.
string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The newEnumValueDisplayName.
|
public ByteString getNewEnumValueDisplayNameBytes()
Required. The new display name of the enum value. For example,
my_new_enum_value
.
string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for newEnumValueDisplayName.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RenameTagTemplateFieldEnumValueRequest.Builder mergeFrom(RenameTagTemplateFieldEnumValueRequest other)
public RenameTagTemplateFieldEnumValueRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RenameTagTemplateFieldEnumValueRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final RenameTagTemplateFieldEnumValueRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RenameTagTemplateFieldEnumValueRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RenameTagTemplateFieldEnumValueRequest.Builder setName(String value)
Required. The name of the enum field value. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The name to set.
|
public RenameTagTemplateFieldEnumValueRequest.Builder setNameBytes(ByteString value)
Required. The name of the enum field value. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
public RenameTagTemplateFieldEnumValueRequest.Builder setNewEnumValueDisplayName(String value)
Required. The new display name of the enum value. For example,
my_new_enum_value
.
string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The newEnumValueDisplayName to set.
|
public RenameTagTemplateFieldEnumValueRequest.Builder setNewEnumValueDisplayNameBytes(ByteString value)
Required. The new display name of the enum value. For example,
my_new_enum_value
.
string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for newEnumValueDisplayName to set.
|
public RenameTagTemplateFieldEnumValueRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RenameTagTemplateFieldEnumValueRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides