Class CreateTagTemplateRequest (1.11.0)

public final class CreateTagTemplateRequest extends GeneratedMessageV3 implements CreateTagTemplateRequestOrBuilder

Request message for CreateTagTemplate.

Protobuf type google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

TAG_TEMPLATE_FIELD_NUMBER

public static final int TAG_TEMPLATE_FIELD_NUMBER
Field Value
TypeDescription
int

TAG_TEMPLATE_ID_FIELD_NUMBER

public static final int TAG_TEMPLATE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateTagTemplateRequest getDefaultInstance()
Returns
TypeDescription
CreateTagTemplateRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateTagTemplateRequest prototype)

public static CreateTagTemplateRequest.Builder newBuilder(CreateTagTemplateRequest prototype)
Parameter
NameDescription
prototypeCreateTagTemplateRequest
Returns
TypeDescription
CreateTagTemplateRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateTagTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTagTemplateRequest

getParent()

public String getParent()

Required. The name of the project and the template location <a href="https://cloud.google.com/data-catalog/docs/concepts/regions. Example:

  • projects/{project_id}/locations/us-central1

string parent = 1 [(.google.api.field_behavior">region = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the project and the template location <a href="https://cloud.google.com/data-catalog/docs/concepts/regions. Example:

  • projects/{project_id}/locations/us-central1

string parent = 1 [(.google.api.field_behavior">region = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTagTemplate()

public TagTemplate getTagTemplate()

Required. The tag template to create.

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

Returns
TypeDescription
TagTemplate

The tagTemplate.

getTagTemplateId()

public String getTagTemplateId()

Required. The id of the tag template to create.

string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The tagTemplateId.

getTagTemplateIdBytes()

public ByteString getTagTemplateIdBytes()

Required. The id of the tag template to create.

string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for tagTemplateId.

getTagTemplateOrBuilder()

public TagTemplateOrBuilder getTagTemplateOrBuilder()

Required. The tag template to create.

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

Returns
TypeDescription
TagTemplateOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasTagTemplate()

public boolean hasTagTemplate()

Required. The tag template to create.

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

Returns
TypeDescription
boolean

Whether the tagTemplate 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 CreateTagTemplateRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateTagTemplateRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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