Class RenameTagTemplateFieldRequest (1.42.0)

public final class RenameTagTemplateFieldRequest extends GeneratedMessageV3 implements RenameTagTemplateFieldRequestOrBuilder

Request message for RenameTagTemplateField.

Protobuf type google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NEW_TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER

public static final int NEW_TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RenameTagTemplateFieldRequest getDefaultInstance()
Returns
TypeDescription
RenameTagTemplateFieldRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RenameTagTemplateFieldRequest.Builder newBuilder()
Returns
TypeDescription
RenameTagTemplateFieldRequest.Builder

newBuilder(RenameTagTemplateFieldRequest prototype)

public static RenameTagTemplateFieldRequest.Builder newBuilder(RenameTagTemplateFieldRequest prototype)
Parameter
NameDescription
prototypeRenameTagTemplateFieldRequest
Returns
TypeDescription
RenameTagTemplateFieldRequest.Builder

parseDelimitedFrom(InputStream input)

public static RenameTagTemplateFieldRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RenameTagTemplateFieldRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RenameTagTemplateFieldRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RenameTagTemplateFieldRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RenameTagTemplateFieldRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RenameTagTemplateFieldRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RenameTagTemplateFieldRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RenameTagTemplateFieldRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RenameTagTemplateFieldRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RenameTagTemplateFieldRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RenameTagTemplateFieldRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RenameTagTemplateFieldRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RenameTagTemplateFieldRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RenameTagTemplateFieldRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RenameTagTemplateFieldRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RenameTagTemplateFieldRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RenameTagTemplateFieldRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RenameTagTemplateFieldRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RenameTagTemplateFieldRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RenameTagTemplateFieldRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RenameTagTemplateFieldRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RenameTagTemplateFieldRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RenameTagTemplateFieldRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RenameTagTemplateFieldRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RenameTagTemplateFieldRequest> parser()
Returns
TypeDescription
Parser<RenameTagTemplateFieldRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RenameTagTemplateFieldRequest getDefaultInstanceForType()
Returns
TypeDescription
RenameTagTemplateFieldRequest

getName()

public String getName()

Required. The name of the tag template field.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the tag template field.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getNewTagTemplateFieldId()

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
TypeDescription
String

The newTagTemplateFieldId.

getNewTagTemplateFieldIdBytes()

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
TypeDescription
ByteString

The bytes for newTagTemplateFieldId.

getParserForType()

public Parser<RenameTagTemplateFieldRequest> getParserForType()
Returns
TypeDescription
Parser<RenameTagTemplateFieldRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RenameTagTemplateFieldRequest.Builder newBuilderForType()
Returns
TypeDescription
RenameTagTemplateFieldRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RenameTagTemplateFieldRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RenameTagTemplateFieldRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RenameTagTemplateFieldRequest.Builder toBuilder()
Returns
TypeDescription
RenameTagTemplateFieldRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException