Class UpdateTagTemplateRequest (1.37.0)

public final class UpdateTagTemplateRequest extends GeneratedMessageV3 implements UpdateTagTemplateRequestOrBuilder

Request message for UpdateTagTemplate.

Protobuf type google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest

Static Fields

TAG_TEMPLATE_FIELD_NUMBER

public static final int TAG_TEMPLATE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateTagTemplateRequest getDefaultInstance()
Returns
TypeDescription
UpdateTagTemplateRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateTagTemplateRequest prototype)

public static UpdateTagTemplateRequest.Builder newBuilder(UpdateTagTemplateRequest prototype)
Parameter
NameDescription
prototypeUpdateTagTemplateRequest
Returns
TypeDescription
UpdateTagTemplateRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateTagTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateTagTemplateRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTagTemplate()

public TagTemplate getTagTemplate()

Required. The template to update. The "name" field must be set.

.google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TagTemplate

The tagTemplate.

getTagTemplateOrBuilder()

public TagTemplateOrBuilder getTagTemplateOrBuilder()

Required. The template to update. The "name" field must be set.

.google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TagTemplateOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Names of fields whose values to overwrite on a tag template. Currently, only display_name can be overwritten.

In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Names of fields whose values to overwrite on a tag template. Currently, only display_name can be overwritten.

In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasTagTemplate()

public boolean hasTagTemplate()

Required. The template to update. The "name" field must be set.

.google.cloud.datacatalog.v1beta1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the tagTemplate field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Names of fields whose values to overwrite on a tag template. Currently, only display_name can be overwritten.

In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

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 UpdateTagTemplateRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateTagTemplateRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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