Send feedback
Class CreateTagTemplateRequest.Builder
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.5.4 keyboard_arrow_down
public static final class CreateTagTemplateRequest . Builder extends GeneratedMessageV3 . Builder<CreateTagTemplateRequest . Builder > implements CreateTagTemplateRequestOrBuilder
Request message for
[CreateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplate].
Protobuf type google.cloud.datacatalog.v1.CreateTagTemplateRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTagTemplateRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public CreateTagTemplateRequest build ()
Returns
buildPartial()
public CreateTagTemplateRequest buildPartial ()
Returns
clear()
public CreateTagTemplateRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateTagTemplateRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTagTemplateRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearParent()
public CreateTagTemplateRequest . Builder clearParent ()
Required. The name of the project and the template location
[region](https://cloud.google.com/data-catalog/docs/concepts/regions).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearTagTemplate()
public CreateTagTemplateRequest . Builder clearTagTemplate ()
Required. The tag template to create.
.google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearTagTemplateId()
public CreateTagTemplateRequest . Builder clearTagTemplateId ()
Required. The ID of the tag template to create.
The ID must contain only lowercase letters (a-z), numbers (0-9),
or underscores (_), and must start with a letter or underscore.
The maximum size is 64 bytes when encoded in UTF-8.
string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateTagTemplateRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public CreateTagTemplateRequest getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getParent()
public String getParent ()
Required. The name of the project and the template location
[region](https://cloud.google.com/data-catalog/docs/concepts/regions).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type Description String The parent.
getParentBytes()
public ByteString getParentBytes ()
Required. The name of the project and the template location
[region](https://cloud.google.com/data-catalog/docs/concepts/regions).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getTagTemplate()
public TagTemplate getTagTemplate ()
Required. The tag template to create.
.google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getTagTemplateBuilder()
public TagTemplate . Builder getTagTemplateBuilder ()
Required. The tag template to create.
.google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getTagTemplateId()
public String getTagTemplateId ()
Required. The ID of the tag template to create.
The ID must contain only lowercase letters (a-z), numbers (0-9),
or underscores (_), and must start with a letter or underscore.
The maximum size is 64 bytes when encoded in UTF-8.
string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description String The tagTemplateId.
getTagTemplateIdBytes()
public ByteString getTagTemplateIdBytes ()
Required. The ID of the tag template to create.
The ID must contain only lowercase letters (a-z), numbers (0-9),
or underscores (_), and must start with a letter or underscore.
The maximum size is 64 bytes when encoded in UTF-8.
string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description ByteString The bytes for tagTemplateId.
getTagTemplateOrBuilder()
public TagTemplateOrBuilder getTagTemplateOrBuilder ()
Required. The tag template to create.
.google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasTagTemplate()
public boolean hasTagTemplate ()
Required. The tag template to create.
.google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the tagTemplate field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(CreateTagTemplateRequest other)
public CreateTagTemplateRequest . Builder mergeFrom ( CreateTagTemplateRequest other )
Parameter
Returns
public CreateTagTemplateRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateTagTemplateRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeTagTemplate(TagTemplate value)
public CreateTagTemplateRequest . Builder mergeTagTemplate ( TagTemplate value )
Required. The tag template to create.
.google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagTemplateRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTagTemplateRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setParent(String value)
public CreateTagTemplateRequest . Builder setParent ( String value )
Required. The name of the project and the template location
[region](https://cloud.google.com/data-catalog/docs/concepts/regions).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name Description value String
The parent to set.
Returns
setParentBytes(ByteString value)
public CreateTagTemplateRequest . Builder setParentBytes ( ByteString value )
Required. The name of the project and the template location
[region](https://cloud.google.com/data-catalog/docs/concepts/regions).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name Description value ByteString
The bytes for parent to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTagTemplateRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setTagTemplate(TagTemplate value)
public CreateTagTemplateRequest . Builder setTagTemplate ( TagTemplate value )
Required. The tag template to create.
.google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setTagTemplate(TagTemplate.Builder builderForValue)
public CreateTagTemplateRequest . Builder setTagTemplate ( TagTemplate . Builder builderForValue )
Required. The tag template to create.
.google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setTagTemplateId(String value)
public CreateTagTemplateRequest . Builder setTagTemplateId ( String value )
Required. The ID of the tag template to create.
The ID must contain only lowercase letters (a-z), numbers (0-9),
or underscores (_), and must start with a letter or underscore.
The maximum size is 64 bytes when encoded in UTF-8.
string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name Description value String
The tagTemplateId to set.
Returns
setTagTemplateIdBytes(ByteString value)
public CreateTagTemplateRequest . Builder setTagTemplateIdBytes ( ByteString value )
Required. The ID of the tag template to create.
The ID must contain only lowercase letters (a-z), numbers (0-9),
or underscores (_), and must start with a letter or underscore.
The maximum size is 64 bytes when encoded in UTF-8.
string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name Description value ByteString
The bytes for tagTemplateId to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagTemplateRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]