Class UpdateTagTemplateFieldRequest.Builder (1.6.2)

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

Request message for UpdateTagTemplateField.

Protobuf type google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateTagTemplateFieldRequest build()
Returns
TypeDescription
UpdateTagTemplateFieldRequest

buildPartial()

public UpdateTagTemplateFieldRequest buildPartial()
Returns
TypeDescription
UpdateTagTemplateFieldRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public UpdateTagTemplateFieldRequest.Builder clearName()

Required. The name of the tag template field. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}

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

Returns
TypeDescription
UpdateTagTemplateFieldRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTagTemplateField()

public UpdateTagTemplateFieldRequest.Builder clearTagTemplateField()

Required. The template to update.

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

Returns
TypeDescription
UpdateTagTemplateFieldRequest.Builder

clearUpdateMask()

public UpdateTagTemplateFieldRequest.Builder clearUpdateMask()

Optional. The field mask specifies the parts of the template to be updated. Allowed fields:

  • display_name
  • type.enum_type
  • is_required If update_mask is not set or empty, all of the allowed fields above will be updated. When updating an enum type, the provided values will be merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted nor renamed. Updating a template field from optional to required is NOT allowed.

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

Returns
TypeDescription
UpdateTagTemplateFieldRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateTagTemplateFieldRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateTagTemplateFieldRequest

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the tag template field. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the tag template field. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}

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

Returns
TypeDescription
ByteString

The bytes for name.

getTagTemplateField()

public TagTemplateField getTagTemplateField()

Required. The template to update.

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

Returns
TypeDescription
TagTemplateField

The tagTemplateField.

getTagTemplateFieldBuilder()

public TagTemplateField.Builder getTagTemplateFieldBuilder()

Required. The template to update.

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

Returns
TypeDescription
TagTemplateField.Builder

getTagTemplateFieldOrBuilder()

public TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder()

Required. The template to update.

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

Returns
TypeDescription
TagTemplateFieldOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The field mask specifies the parts of the template to be updated. Allowed fields:

  • display_name
  • type.enum_type
  • is_required If update_mask is not set or empty, all of the allowed fields above will be updated. When updating an enum type, the provided values will be merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted nor renamed. Updating a template field from optional to required is NOT allowed.

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

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The field mask specifies the parts of the template to be updated. Allowed fields:

  • display_name
  • type.enum_type
  • is_required If update_mask is not set or empty, all of the allowed fields above will be updated. When updating an enum type, the provided values will be merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted nor renamed. Updating a template field from optional to required is NOT allowed.

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

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The field mask specifies the parts of the template to be updated. Allowed fields:

  • display_name
  • type.enum_type
  • is_required If update_mask is not set or empty, all of the allowed fields above will be updated. When updating an enum type, the provided values will be merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted nor renamed. Updating a template field from optional to required is NOT allowed.

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

Returns
TypeDescription
FieldMaskOrBuilder

hasTagTemplateField()

public boolean hasTagTemplateField()

Required. The template to update.

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

Returns
TypeDescription
boolean

Whether the tagTemplateField field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The field mask specifies the parts of the template to be updated. Allowed fields:

  • display_name
  • type.enum_type
  • is_required If update_mask is not set or empty, all of the allowed fields above will be updated. When updating an enum type, the provided values will be merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted nor renamed. Updating a template field from optional to required is NOT allowed.

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

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(UpdateTagTemplateFieldRequest other)

public UpdateTagTemplateFieldRequest.Builder mergeFrom(UpdateTagTemplateFieldRequest other)
Parameter
NameDescription
otherUpdateTagTemplateFieldRequest
Returns
TypeDescription
UpdateTagTemplateFieldRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTagTemplateField(TagTemplateField value)

public UpdateTagTemplateFieldRequest.Builder mergeTagTemplateField(TagTemplateField value)

Required. The template to update.

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

Parameter
NameDescription
valueTagTemplateField
Returns
TypeDescription
UpdateTagTemplateFieldRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateTagTemplateFieldRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The field mask specifies the parts of the template to be updated. Allowed fields:

  • display_name
  • type.enum_type
  • is_required If update_mask is not set or empty, all of the allowed fields above will be updated. When updating an enum type, the provided values will be merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted nor renamed. Updating a template field from optional to required is NOT allowed.

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

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateTagTemplateFieldRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public UpdateTagTemplateFieldRequest.Builder setName(String value)

Required. The name of the tag template field. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
UpdateTagTemplateFieldRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateTagTemplateFieldRequest.Builder setNameBytes(ByteString value)

Required. The name of the tag template field. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateTagTemplateFieldRequest.Builder
Overrides

setTagTemplateField(TagTemplateField value)

public UpdateTagTemplateFieldRequest.Builder setTagTemplateField(TagTemplateField value)

Required. The template to update.

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

Parameter
NameDescription
valueTagTemplateField
Returns
TypeDescription
UpdateTagTemplateFieldRequest.Builder

setTagTemplateField(TagTemplateField.Builder builderForValue)

public UpdateTagTemplateFieldRequest.Builder setTagTemplateField(TagTemplateField.Builder builderForValue)

Required. The template to update.

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

Parameter
NameDescription
builderForValueTagTemplateField.Builder
Returns
TypeDescription
UpdateTagTemplateFieldRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateTagTemplateFieldRequest.Builder setUpdateMask(FieldMask value)

Optional. The field mask specifies the parts of the template to be updated. Allowed fields:

  • display_name
  • type.enum_type
  • is_required If update_mask is not set or empty, all of the allowed fields above will be updated. When updating an enum type, the provided values will be merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted nor renamed. Updating a template field from optional to required is NOT allowed.

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

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateTagTemplateFieldRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateTagTemplateFieldRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The field mask specifies the parts of the template to be updated. Allowed fields:

  • display_name
  • type.enum_type
  • is_required If update_mask is not set or empty, all of the allowed fields above will be updated. When updating an enum type, the provided values will be merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted nor renamed. Updating a template field from optional to required is NOT allowed.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateTagTemplateFieldRequest.Builder