public static final class RenameTagTemplateFieldRequest.Builder extends GeneratedMessageV3.Builder<RenameTagTemplateFieldRequest.Builder> implements RenameTagTemplateFieldRequestOrBuilder
Request message for
RenameTagTemplateField.
Protobuf type google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest
Methods
public RenameTagTemplateFieldRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RenameTagTemplateFieldRequest build()
Returns
public RenameTagTemplateFieldRequest buildPartial()
Returns
public RenameTagTemplateFieldRequest.Builder clear()
Returns
Overrides
public RenameTagTemplateFieldRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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) = { ... }
Returns
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];
Returns
public RenameTagTemplateFieldRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public RenameTagTemplateFieldRequest.Builder clone()
Returns
Overrides
public RenameTagTemplateFieldRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public RenameTagTemplateFieldRequest.Builder mergeFrom(RenameTagTemplateFieldRequest other)
Parameter
Returns
public RenameTagTemplateFieldRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public RenameTagTemplateFieldRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final RenameTagTemplateFieldRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public RenameTagTemplateFieldRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
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.
|
Returns
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.
|
Returns
public RenameTagTemplateFieldRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final RenameTagTemplateFieldRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides