Class CreateTagTemplateFieldRequest.Builder (1.30.0)

public static final class CreateTagTemplateFieldRequest.Builder extends GeneratedMessageV3.Builder<CreateTagTemplateFieldRequest.Builder> implements CreateTagTemplateFieldRequestOrBuilder

Request message for CreateTagTemplateField.

Protobuf type google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTagTemplateFieldRequest build()
Returns
TypeDescription
CreateTagTemplateFieldRequest

buildPartial()

public CreateTagTemplateFieldRequest buildPartial()
Returns
TypeDescription
CreateTagTemplateFieldRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateTagTemplateFieldRequest.Builder clearParent()

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

This builder for chaining.

clearTagTemplateField()

public CreateTagTemplateFieldRequest.Builder clearTagTemplateField()

Required. The tag template field to create.

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

Returns
TypeDescription
CreateTagTemplateFieldRequest.Builder

clearTagTemplateFieldId()

public CreateTagTemplateFieldRequest.Builder clearTagTemplateFieldId()

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateTagTemplateFieldRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTagTemplateFieldRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

getTagTemplateFieldBuilder()

public TagTemplateField.Builder getTagTemplateFieldBuilder()

Required. The tag template field to create.

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

Returns
TypeDescription
TagTemplateField.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateTagTemplateFieldRequest other)

public CreateTagTemplateFieldRequest.Builder mergeFrom(CreateTagTemplateFieldRequest other)
Parameter
NameDescription
otherCreateTagTemplateFieldRequest
Returns
TypeDescription
CreateTagTemplateFieldRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTagTemplateField(TagTemplateField value)

public CreateTagTemplateFieldRequest.Builder mergeTagTemplateField(TagTemplateField value)

Required. The tag template field to create.

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

Parameter
NameDescription
valueTagTemplateField
Returns
TypeDescription
CreateTagTemplateFieldRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateTagTemplateFieldRequest.Builder setParent(String value)

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateTagTemplateFieldRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateTagTemplateFieldRequest.Builder setParentBytes(ByteString value)

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateTagTemplateFieldRequest.Builder

This builder for chaining.

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

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

setTagTemplateField(TagTemplateField value)

public CreateTagTemplateFieldRequest.Builder setTagTemplateField(TagTemplateField value)

Required. The tag template field to create.

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

Parameter
NameDescription
valueTagTemplateField
Returns
TypeDescription
CreateTagTemplateFieldRequest.Builder

setTagTemplateField(TagTemplateField.Builder builderForValue)

public CreateTagTemplateFieldRequest.Builder setTagTemplateField(TagTemplateField.Builder builderForValue)

Required. The tag template field to create.

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

Parameter
NameDescription
builderForValueTagTemplateField.Builder
Returns
TypeDescription
CreateTagTemplateFieldRequest.Builder

setTagTemplateFieldId(String value)

public CreateTagTemplateFieldRequest.Builder setTagTemplateFieldId(String value)

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];

Parameter
NameDescription
valueString

The tagTemplateFieldId to set.

Returns
TypeDescription
CreateTagTemplateFieldRequest.Builder

This builder for chaining.

setTagTemplateFieldIdBytes(ByteString value)

public CreateTagTemplateFieldRequest.Builder setTagTemplateFieldIdBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for tagTemplateFieldId to set.

Returns
TypeDescription
CreateTagTemplateFieldRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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