Class UpdateTagTemplateFieldRequest.Builder (1.49.0)

public static final class UpdateTagTemplateFieldRequest.Builder extends GeneratedMessageV3.Builder<UpdateTagTemplateFieldRequest.Builder> implements UpdateTagTemplateFieldRequestOrBuilder

Request message for UpdateTagTemplateField.

Protobuf type google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateTagTemplateFieldRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder
Overrides

build()

public UpdateTagTemplateFieldRequest build()
Returns
Type Description
UpdateTagTemplateFieldRequest

buildPartial()

public UpdateTagTemplateFieldRequest buildPartial()
Returns
Type Description
UpdateTagTemplateFieldRequest

clear()

public UpdateTagTemplateFieldRequest.Builder clear()
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateTagTemplateFieldRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder
Overrides

clearName()

public UpdateTagTemplateFieldRequest.Builder clearName()

Required. The name of the tag template field.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
UpdateTagTemplateFieldRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateTagTemplateFieldRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder
Overrides

clearTagTemplateField()

public UpdateTagTemplateFieldRequest.Builder clearTagTemplateField()

Required. The template to update.

.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateTagTemplateFieldRequest.Builder

clearUpdateMask()

public UpdateTagTemplateFieldRequest.Builder clearUpdateMask()

Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:

  • display_name
  • type.enum_type
  • is_required

    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 with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed.

    Additionally, updating a template field from optional to required is not allowed.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateTagTemplateFieldRequest.Builder

clone()

public UpdateTagTemplateFieldRequest.Builder clone()
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateTagTemplateFieldRequest getDefaultInstanceForType()
Returns
Type Description
UpdateTagTemplateFieldRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The name of the tag template field.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the tag template field.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getTagTemplateField()

public TagTemplateField getTagTemplateField()

Required. The template to update.

.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TagTemplateField

The tagTemplateField.

getTagTemplateFieldBuilder()

public TagTemplateField.Builder getTagTemplateFieldBuilder()

Required. The template to update.

.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TagTemplateField.Builder

getTagTemplateFieldOrBuilder()

public TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder()

Required. The template to update.

.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TagTemplateFieldOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:

  • display_name
  • type.enum_type
  • is_required

    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 with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed.

    Additionally, updating a template field from optional to required is not allowed.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:

  • display_name
  • type.enum_type
  • is_required

    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 with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed.

    Additionally, updating a template field from optional to required is not allowed.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:

  • display_name
  • type.enum_type
  • is_required

    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 with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed.

    Additionally, updating a template field from optional to required is not allowed.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasTagTemplateField()

public boolean hasTagTemplateField()

Required. The template to update.

.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tagTemplateField field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:

  • display_name
  • type.enum_type
  • is_required

    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 with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed.

    Additionally, updating a template field from optional to required is not allowed.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateTagTemplateFieldRequest other)

public UpdateTagTemplateFieldRequest.Builder mergeFrom(UpdateTagTemplateFieldRequest other)
Parameter
Name Description
other UpdateTagTemplateFieldRequest
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateTagTemplateFieldRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateTagTemplateFieldRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder
Overrides

mergeTagTemplateField(TagTemplateField value)

public UpdateTagTemplateFieldRequest.Builder mergeTagTemplateField(TagTemplateField value)

Required. The template to update.

.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TagTemplateField
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTagTemplateFieldRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateTagTemplateFieldRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:

  • display_name
  • type.enum_type
  • is_required

    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 with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed.

    Additionally, updating a template field from optional to required is not allowed.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateTagTemplateFieldRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder
Overrides

setName(String value)

public UpdateTagTemplateFieldRequest.Builder setName(String value)

Required. The name of the tag template field.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
UpdateTagTemplateFieldRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateTagTemplateFieldRequest.Builder setNameBytes(ByteString value)

Required. The name of the tag template field.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
UpdateTagTemplateFieldRequest.Builder

This builder for chaining.

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

public UpdateTagTemplateFieldRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder
Overrides

setTagTemplateField(TagTemplateField value)

public UpdateTagTemplateFieldRequest.Builder setTagTemplateField(TagTemplateField value)

Required. The template to update.

.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TagTemplateField
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder

setTagTemplateField(TagTemplateField.Builder builderForValue)

public UpdateTagTemplateFieldRequest.Builder setTagTemplateField(TagTemplateField.Builder builderForValue)

Required. The template to update.

.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TagTemplateField.Builder
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTagTemplateFieldRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateTagTemplateFieldRequest.Builder setUpdateMask(FieldMask value)

Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:

  • display_name
  • type.enum_type
  • is_required

    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 with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed.

    Additionally, updating a template field from optional to required is not allowed.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateTagTemplateFieldRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:

  • display_name
  • type.enum_type
  • is_required

    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 with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed.

    Additionally, updating a template field from optional to required is not allowed.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateTagTemplateFieldRequest.Builder