public static final class RenameTagTemplateFieldRequest.Builder extends GeneratedMessageV3.Builder<RenameTagTemplateFieldRequest.Builder> implements RenameTagTemplateFieldRequestOrBuilder
Request message for
RenameTagTemplateField.
Protobuf type google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest
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 RenameTagTemplateFieldRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RenameTagTemplateFieldRequest build()
public RenameTagTemplateFieldRequest buildPartial()
public RenameTagTemplateFieldRequest.Builder clear()
Overrides
public RenameTagTemplateFieldRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RenameTagTemplateFieldRequest.Builder clearName()
Required. The name of the tag template. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public RenameTagTemplateFieldRequest.Builder clearNewTagTemplateFieldId()
Required. The new ID of this tag template field. For example,
my_new_field
.
string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
public RenameTagTemplateFieldRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RenameTagTemplateFieldRequest.Builder clone()
Overrides
public RenameTagTemplateFieldRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
Required. The name of the tag template. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
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 tag template. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public String getNewTagTemplateFieldId()
Required. The new ID of this tag template field. For example,
my_new_field
.
string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The newTagTemplateFieldId.
|
public ByteString getNewTagTemplateFieldIdBytes()
Required. The new ID of this tag template field. For example,
my_new_field
.
string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for newTagTemplateFieldId.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RenameTagTemplateFieldRequest.Builder mergeFrom(RenameTagTemplateFieldRequest other)
public RenameTagTemplateFieldRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RenameTagTemplateFieldRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final RenameTagTemplateFieldRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RenameTagTemplateFieldRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RenameTagTemplateFieldRequest.Builder setName(String value)
Required. The name of the tag template. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The name to set.
|
public RenameTagTemplateFieldRequest.Builder setNameBytes(ByteString value)
Required. The name of the tag template. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
public RenameTagTemplateFieldRequest.Builder setNewTagTemplateFieldId(String value)
Required. The new ID of this tag template field. For example,
my_new_field
.
string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The newTagTemplateFieldId to set.
|
public RenameTagTemplateFieldRequest.Builder setNewTagTemplateFieldIdBytes(ByteString value)
Required. The new ID of this tag template field. For example,
my_new_field
.
string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for newTagTemplateFieldId to set.
|
public RenameTagTemplateFieldRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RenameTagTemplateFieldRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides