Send feedback
Class CreateTagTemplateFieldRequest.Builder
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.5.4 keyboard_arrow_down
public static final class CreateTagTemplateFieldRequest . Builder extends GeneratedMessageV3 . Builder<CreateTagTemplateFieldRequest . Builder > implements CreateTagTemplateFieldRequestOrBuilder
Request message for
[CreateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateField].
Protobuf type google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTagTemplateFieldRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public CreateTagTemplateFieldRequest build ()
Returns
buildPartial()
public CreateTagTemplateFieldRequest buildPartial ()
Returns
clear()
public CreateTagTemplateFieldRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateTagTemplateFieldRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTagTemplateFieldRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearParent()
public CreateTagTemplateFieldRequest . 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
clearTagTemplateField()
public CreateTagTemplateFieldRequest . Builder clearTagTemplateField ()
Required. The tag template field to create.
.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearTagTemplateFieldId()
public CreateTagTemplateFieldRequest . Builder clearTagTemplateFieldId ()
Required. The ID of the tag template field to create.
Note: Adding a required field to an existing template is *not* allowed.
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
clone()
public CreateTagTemplateFieldRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public CreateTagTemplateFieldRequest 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
getTagTemplateField()
public TagTemplateField getTagTemplateField ()
Required. The tag template field to create.
.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getTagTemplateFieldBuilder()
public TagTemplateField . Builder getTagTemplateFieldBuilder ()
Required. The tag template field to create.
.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getTagTemplateFieldId()
public String getTagTemplateFieldId ()
Required. The ID of the tag template field to create.
Note: Adding a required field to an existing template is *not* allowed.
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
Type Description String The tagTemplateFieldId.
getTagTemplateFieldIdBytes()
public ByteString getTagTemplateFieldIdBytes ()
Required. The ID of the tag template field to create.
Note: Adding a required field to an existing template is *not* allowed.
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
Type Description ByteString The bytes for tagTemplateFieldId.
getTagTemplateFieldOrBuilder()
public TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder ()
Required. The tag template field to create.
.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
hasTagTemplateField()
public boolean hasTagTemplateField ()
Required. The tag template field to create.
.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the tagTemplateField field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(CreateTagTemplateFieldRequest other)
public CreateTagTemplateFieldRequest . Builder mergeFrom ( CreateTagTemplateFieldRequest other )
Parameter
Returns
public CreateTagTemplateFieldRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateTagTemplateFieldRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeTagTemplateField(TagTemplateField value)
public CreateTagTemplateFieldRequest . Builder mergeTagTemplateField ( TagTemplateField value )
Required. The tag template field to create.
.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagTemplateFieldRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTagTemplateFieldRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setParent(String value)
public CreateTagTemplateFieldRequest . 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 CreateTagTemplateFieldRequest . 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 CreateTagTemplateFieldRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setTagTemplateField(TagTemplateField value)
public CreateTagTemplateFieldRequest . Builder setTagTemplateField ( TagTemplateField value )
Required. The tag template field to create.
.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setTagTemplateField(TagTemplateField.Builder builderForValue)
public CreateTagTemplateFieldRequest . Builder setTagTemplateField ( TagTemplateField . Builder builderForValue )
Required. The tag template field to create.
.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setTagTemplateFieldId(String value)
public CreateTagTemplateFieldRequest . Builder setTagTemplateFieldId ( String value )
Required. The ID of the tag template field to create.
Note: Adding a required field to an existing template is *not* allowed.
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
Name Description value String
The tagTemplateFieldId to set.
Returns
setTagTemplateFieldIdBytes(ByteString value)
public CreateTagTemplateFieldRequest . Builder setTagTemplateFieldIdBytes ( ByteString value )
Required. The ID of the tag template field to create.
Note: Adding a required field to an existing template is *not* allowed.
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
Name Description value ByteString
The bytes for tagTemplateFieldId to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagTemplateFieldRequest . 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 2024-11-19 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 2024-11-19 UTC."],[],[]]