Class CreateTagTemplateRequest.Builder (1.8.3)

public static final class CreateTagTemplateRequest.Builder extends GeneratedMessageV3.Builder<CreateTagTemplateRequest.Builder> implements CreateTagTemplateRequestOrBuilder

Request message for CreateTagTemplate.

Protobuf type google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateTagTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateTagTemplateRequest.Builder
Overrides

build()

public CreateTagTemplateRequest build()
Returns
TypeDescription
CreateTagTemplateRequest

buildPartial()

public CreateTagTemplateRequest buildPartial()
Returns
TypeDescription
CreateTagTemplateRequest

clear()

public CreateTagTemplateRequest.Builder clear()
Returns
TypeDescription
CreateTagTemplateRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateTagTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateTagTemplateRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateTagTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateTagTemplateRequest.Builder
Overrides

clearParent()

public CreateTagTemplateRequest.Builder clearParent()

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
CreateTagTemplateRequest.Builder

This builder for chaining.

clearTagTemplate()

public CreateTagTemplateRequest.Builder clearTagTemplate()

Required. The tag template to create.

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

Returns
TypeDescription
CreateTagTemplateRequest.Builder

clearTagTemplateId()

public CreateTagTemplateRequest.Builder clearTagTemplateId()

Required. The id of the tag template to create.

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

Returns
TypeDescription
CreateTagTemplateRequest.Builder

This builder for chaining.

clone()

public CreateTagTemplateRequest.Builder clone()
Returns
TypeDescription
CreateTagTemplateRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateTagTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTagTemplateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

getTagTemplateBuilder()

public TagTemplate.Builder getTagTemplateBuilder()

Required. The tag template to create.

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

Returns
TypeDescription
TagTemplate.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateTagTemplateRequest other)

public CreateTagTemplateRequest.Builder mergeFrom(CreateTagTemplateRequest other)
Parameter
NameDescription
otherCreateTagTemplateRequest
Returns
TypeDescription
CreateTagTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateTagTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTagTemplateRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateTagTemplateRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateTagTemplateRequest.Builder
Overrides

mergeTagTemplate(TagTemplate value)

public CreateTagTemplateRequest.Builder mergeTagTemplate(TagTemplate value)

Required. The tag template to create.

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

Parameter
NameDescription
valueTagTemplate
Returns
TypeDescription
CreateTagTemplateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateTagTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateTagTemplateRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateTagTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateTagTemplateRequest.Builder
Overrides

setParent(String value)

public CreateTagTemplateRequest.Builder setParent(String value)

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) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateTagTemplateRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateTagTemplateRequest.Builder setParentBytes(ByteString value)

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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateTagTemplateRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateTagTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateTagTemplateRequest.Builder
Overrides

setTagTemplate(TagTemplate value)

public CreateTagTemplateRequest.Builder setTagTemplate(TagTemplate value)

Required. The tag template to create.

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

Parameter
NameDescription
valueTagTemplate
Returns
TypeDescription
CreateTagTemplateRequest.Builder

setTagTemplate(TagTemplate.Builder builderForValue)

public CreateTagTemplateRequest.Builder setTagTemplate(TagTemplate.Builder builderForValue)

Required. The tag template to create.

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

Parameter
NameDescription
builderForValueTagTemplate.Builder
Returns
TypeDescription
CreateTagTemplateRequest.Builder

setTagTemplateId(String value)

public CreateTagTemplateRequest.Builder setTagTemplateId(String value)

Required. The id of the tag template to create.

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

Parameter
NameDescription
valueString

The tagTemplateId to set.

Returns
TypeDescription
CreateTagTemplateRequest.Builder

This builder for chaining.

setTagTemplateIdBytes(ByteString value)

public CreateTagTemplateRequest.Builder setTagTemplateIdBytes(ByteString value)

Required. The id of the tag template to create.

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

Parameter
NameDescription
valueByteString

The bytes for tagTemplateId to set.

Returns
TypeDescription
CreateTagTemplateRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateTagTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateTagTemplateRequest.Builder
Overrides