Class UpdateTagTemplateRequest.Builder

public static final class UpdateTagTemplateRequest.Builder extends GeneratedMessageV3.Builder<UpdateTagTemplateRequest.Builder> implements UpdateTagTemplateRequestOrBuilder

Request message for UpdateTagTemplate.

Protobuf type google.cloud.datacatalog.v1.UpdateTagTemplateRequest

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateTagTemplateRequest build()
Returns
TypeDescription
UpdateTagTemplateRequest

buildPartial()

public UpdateTagTemplateRequest buildPartial()
Returns
TypeDescription
UpdateTagTemplateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTagTemplate()

public UpdateTagTemplateRequest.Builder clearTagTemplate()

Required. The template to update. The name field must be set.

.google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateTagTemplateRequest.Builder

clearUpdateMask()

public UpdateTagTemplateRequest.Builder clearUpdateMask()

Names of fields whose values to overwrite on a tag template. Currently, only display_name and is_publicly_readable can be overwritten. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. Note: Updating the is_publicly_readable field may require up to 12 hours to take effect in search results. Additionally, it also requires the tagTemplates.getIamPolicy and tagTemplates.setIamPolicy permissions.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateTagTemplateRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateTagTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateTagTemplateRequest

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTagTemplate()

public TagTemplate getTagTemplate()

Required. The template to update. The name field must be set.

.google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TagTemplate

The tagTemplate.

getTagTemplateBuilder()

public TagTemplate.Builder getTagTemplateBuilder()

Required. The template to update. The name field must be set.

.google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TagTemplate.Builder

getTagTemplateOrBuilder()

public TagTemplateOrBuilder getTagTemplateOrBuilder()

Required. The template to update. The name field must be set.

.google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TagTemplateOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Names of fields whose values to overwrite on a tag template. Currently, only display_name and is_publicly_readable can be overwritten. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. Note: Updating the is_publicly_readable field may require up to 12 hours to take effect in search results. Additionally, it also requires the tagTemplates.getIamPolicy and tagTemplates.setIamPolicy permissions.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Names of fields whose values to overwrite on a tag template. Currently, only display_name and is_publicly_readable can be overwritten. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. Note: Updating the is_publicly_readable field may require up to 12 hours to take effect in search results. Additionally, it also requires the tagTemplates.getIamPolicy and tagTemplates.setIamPolicy permissions.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Names of fields whose values to overwrite on a tag template. Currently, only display_name and is_publicly_readable can be overwritten. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. Note: Updating the is_publicly_readable field may require up to 12 hours to take effect in search results. Additionally, it also requires the tagTemplates.getIamPolicy and tagTemplates.setIamPolicy permissions.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasTagTemplate()

public boolean hasTagTemplate()

Required. The template to update. The name field must be set.

.google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the tagTemplate field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Names of fields whose values to overwrite on a tag template. Currently, only display_name and is_publicly_readable can be overwritten. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. Note: Updating the is_publicly_readable field may require up to 12 hours to take effect in search results. Additionally, it also requires the tagTemplates.getIamPolicy and tagTemplates.setIamPolicy permissions.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateTagTemplateRequest other)

public UpdateTagTemplateRequest.Builder mergeFrom(UpdateTagTemplateRequest other)
Parameter
NameDescription
otherUpdateTagTemplateRequest
Returns
TypeDescription
UpdateTagTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTagTemplate(TagTemplate value)

public UpdateTagTemplateRequest.Builder mergeTagTemplate(TagTemplate value)

Required. The template to update. The name field must be set.

.google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueTagTemplate
Returns
TypeDescription
UpdateTagTemplateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateTagTemplateRequest.Builder mergeUpdateMask(FieldMask value)

Names of fields whose values to overwrite on a tag template. Currently, only display_name and is_publicly_readable can be overwritten. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. Note: Updating the is_publicly_readable field may require up to 12 hours to take effect in search results. Additionally, it also requires the tagTemplates.getIamPolicy and tagTemplates.setIamPolicy permissions.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateTagTemplateRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTagTemplate(TagTemplate value)

public UpdateTagTemplateRequest.Builder setTagTemplate(TagTemplate value)

Required. The template to update. The name field must be set.

.google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueTagTemplate
Returns
TypeDescription
UpdateTagTemplateRequest.Builder

setTagTemplate(TagTemplate.Builder builderForValue)

public UpdateTagTemplateRequest.Builder setTagTemplate(TagTemplate.Builder builderForValue)

Required. The template to update. The name field must be set.

.google.cloud.datacatalog.v1.TagTemplate tag_template = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueTagTemplate.Builder
Returns
TypeDescription
UpdateTagTemplateRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateTagTemplateRequest.Builder setUpdateMask(FieldMask value)

Names of fields whose values to overwrite on a tag template. Currently, only display_name and is_publicly_readable can be overwritten. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. Note: Updating the is_publicly_readable field may require up to 12 hours to take effect in search results. Additionally, it also requires the tagTemplates.getIamPolicy and tagTemplates.setIamPolicy permissions.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateTagTemplateRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateTagTemplateRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Names of fields whose values to overwrite on a tag template. Currently, only display_name and is_publicly_readable can be overwritten. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. Note: Updating the is_publicly_readable field may require up to 12 hours to take effect in search results. Additionally, it also requires the tagTemplates.getIamPolicy and tagTemplates.setIamPolicy permissions.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateTagTemplateRequest.Builder