Class CreateTagTemplateFieldRequest (1.6.2)

public final class CreateTagTemplateFieldRequest extends GeneratedMessageV3 implements CreateTagTemplateFieldRequestOrBuilder

Request message for CreateTagTemplateField.

Protobuf type google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest

Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

TAG_TEMPLATE_FIELD_FIELD_NUMBER

public static final int TAG_TEMPLATE_FIELD_FIELD_NUMBER
Field Value
TypeDescription
int

TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER

public static final int TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

public static CreateTagTemplateFieldRequest getDefaultInstance()
Returns
TypeDescription
CreateTagTemplateFieldRequest

getDefaultInstanceForType()

public CreateTagTemplateFieldRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTagTemplateFieldRequest

getDescriptor()

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

getParent()

public String getParent()

Required. The name of the project and the template location region. Example:

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

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the project and the template location region. Example:

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

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

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTagTemplateField()

public TagTemplateField getTagTemplateField()

Required. The tag template field to create.

.google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TagTemplateField

The tagTemplateField.

getTagTemplateFieldId()

public String getTagTemplateFieldId()

Required. The ID of the tag template field to create. Field ids can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template.

string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The tagTemplateFieldId.

getTagTemplateFieldIdBytes()

public ByteString getTagTemplateFieldIdBytes()

Required. The ID of the tag template field to create. Field ids can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template.

string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for tagTemplateFieldId.

getTagTemplateFieldOrBuilder()

public TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder()

Required. The tag template field to create.

.google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TagTemplateFieldOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasTagTemplateField()

public boolean hasTagTemplateField()

Required. The tag template field to create.

.google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the tagTemplateField 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

newBuilder()

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

newBuilder(CreateTagTemplateFieldRequest prototype)

public static CreateTagTemplateFieldRequest.Builder newBuilder(CreateTagTemplateFieldRequest prototype)
Parameter
NameDescription
prototypeCreateTagTemplateFieldRequest
Returns
TypeDescription
CreateTagTemplateFieldRequest.Builder

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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