public static final class CreateTagTemplateRequest.Builder extends GeneratedMessage.Builder<CreateTagTemplateRequest.Builder> implements CreateTagTemplateRequestOrBuilderRequest message for CreateTagTemplate.
Protobuf type google.cloud.datacatalog.v1.CreateTagTemplateRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateTagTemplateRequest.BuilderImplements
CreateTagTemplateRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateTagTemplateRequest build()| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest |
|
buildPartial()
public CreateTagTemplateRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest |
|
clear()
public CreateTagTemplateRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest.Builder |
|
clearParent()
public CreateTagTemplateRequest.Builder clearParent()Required. The name of the project and the template location region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
CreateTagTemplateRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
CreateTagTemplateRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateTagTemplateRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The name of the project and the template location region.
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.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getTagTemplate()
public TagTemplate getTagTemplate()Required. The tag template to create.
.google.cloud.datacatalog.v1.TagTemplate tag_template = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TagTemplate |
The tagTemplate. |
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 | |
|---|---|
| Type | Description |
TagTemplate.Builder |
|
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 | |
|---|---|
| Type | Description |
TagTemplateOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateTagTemplateRequest other)
public CreateTagTemplateRequest.Builder mergeFrom(CreateTagTemplateRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateTagTemplateRequest |
| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateTagTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateTagTemplateRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
TagTemplate |
| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest.Builder |
|
setParent(String value)
public CreateTagTemplateRequest.Builder setParent(String value)Required. The name of the project and the template location region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
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 region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
value |
TagTemplate |
| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
TagTemplate.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest.Builder |
|
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 |
StringThe tagTemplateId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for tagTemplateId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateTagTemplateRequest.Builder |
This builder for chaining. |