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
Returns
Overrides
build()
public UpdateTagTemplateRequest build()
Returns
buildPartial()
public UpdateTagTemplateRequest buildPartial()
Returns
clear()
public UpdateTagTemplateRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateTagTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateTagTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public UpdateTagTemplateRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateTagTemplateRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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
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
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
Type | Description |
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
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateTagTemplateRequest other)
public UpdateTagTemplateRequest.Builder mergeFrom(UpdateTagTemplateRequest other)
Parameter
Returns
public UpdateTagTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateTagTemplateRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTagTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateTagTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateTagTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTagTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Name | Description |
builderForValue | Builder
|
Returns