Class ReconcileTagsRequest.Builder (1.47.0)

public static final class ReconcileTagsRequest.Builder extends GeneratedMessageV3.Builder<ReconcileTagsRequest.Builder> implements ReconcileTagsRequestOrBuilder

Request message for ReconcileTags.

Protobuf type google.cloud.datacatalog.v1.ReconcileTagsRequest

Static Methods

getDescriptor()

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

Methods

addAllTags(Iterable<? extends Tag> values)

public ReconcileTagsRequest.Builder addAllTags(Iterable<? extends Tag> values)

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.datacatalog.v1.Tag>
Returns
TypeDescription
ReconcileTagsRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTags(Tag value)

public ReconcileTagsRequest.Builder addTags(Tag value)

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Parameter
NameDescription
valueTag
Returns
TypeDescription
ReconcileTagsRequest.Builder

addTags(Tag.Builder builderForValue)

public ReconcileTagsRequest.Builder addTags(Tag.Builder builderForValue)

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Parameter
NameDescription
builderForValueTag.Builder
Returns
TypeDescription
ReconcileTagsRequest.Builder

addTags(int index, Tag value)

public ReconcileTagsRequest.Builder addTags(int index, Tag value)

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Parameters
NameDescription
indexint
valueTag
Returns
TypeDescription
ReconcileTagsRequest.Builder

addTags(int index, Tag.Builder builderForValue)

public ReconcileTagsRequest.Builder addTags(int index, Tag.Builder builderForValue)

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Parameters
NameDescription
indexint
builderForValueTag.Builder
Returns
TypeDescription
ReconcileTagsRequest.Builder

addTagsBuilder()

public Tag.Builder addTagsBuilder()

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Returns
TypeDescription
Tag.Builder

addTagsBuilder(int index)

public Tag.Builder addTagsBuilder(int index)

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Tag.Builder

build()

public ReconcileTagsRequest build()
Returns
TypeDescription
ReconcileTagsRequest

buildPartial()

public ReconcileTagsRequest buildPartial()
Returns
TypeDescription
ReconcileTagsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearForceDeleteMissing()

public ReconcileTagsRequest.Builder clearForceDeleteMissing()

If set to true, deletes entry tags related to a tag template not listed in the tags source from an entry. If set to false, unlisted tags are retained.

bool force_delete_missing = 3;

Returns
TypeDescription
ReconcileTagsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ReconcileTagsRequest.Builder clearParent()

Required. Name of Entry to be tagged.

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

Returns
TypeDescription
ReconcileTagsRequest.Builder

This builder for chaining.

clearTagTemplate()

public ReconcileTagsRequest.Builder clearTagTemplate()

Required. The name of the tag template, which is used for reconciliation.

string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ReconcileTagsRequest.Builder

This builder for chaining.

clearTags()

public ReconcileTagsRequest.Builder clearTags()

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Returns
TypeDescription
ReconcileTagsRequest.Builder

clone()

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

getDefaultInstanceForType()

public ReconcileTagsRequest getDefaultInstanceForType()
Returns
TypeDescription
ReconcileTagsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getForceDeleteMissing()

public boolean getForceDeleteMissing()

If set to true, deletes entry tags related to a tag template not listed in the tags source from an entry. If set to false, unlisted tags are retained.

bool force_delete_missing = 3;

Returns
TypeDescription
boolean

The forceDeleteMissing.

getParent()

public String getParent()

Required. Name of Entry to be tagged.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Name of Entry to be tagged.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getTagTemplate()

public String getTagTemplate()

Required. The name of the tag template, which is used for reconciliation.

string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The tagTemplate.

getTagTemplateBytes()

public ByteString getTagTemplateBytes()

Required. The name of the tag template, which is used for reconciliation.

string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for tagTemplate.

getTags(int index)

public Tag getTags(int index)

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Tag

getTagsBuilder(int index)

public Tag.Builder getTagsBuilder(int index)

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Tag.Builder

getTagsBuilderList()

public List<Tag.Builder> getTagsBuilderList()

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Returns
TypeDescription
List<Builder>

getTagsCount()

public int getTagsCount()

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Returns
TypeDescription
int

getTagsList()

public List<Tag> getTagsList()

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Returns
TypeDescription
List<Tag>

getTagsOrBuilder(int index)

public TagOrBuilder getTagsOrBuilder(int index)

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
TagOrBuilder

getTagsOrBuilderList()

public List<? extends TagOrBuilder> getTagsOrBuilderList()

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Returns
TypeDescription
List<? extends com.google.cloud.datacatalog.v1.TagOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReconcileTagsRequest other)

public ReconcileTagsRequest.Builder mergeFrom(ReconcileTagsRequest other)
Parameter
NameDescription
otherReconcileTagsRequest
Returns
TypeDescription
ReconcileTagsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTags(int index)

public ReconcileTagsRequest.Builder removeTags(int index)

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReconcileTagsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setForceDeleteMissing(boolean value)

public ReconcileTagsRequest.Builder setForceDeleteMissing(boolean value)

If set to true, deletes entry tags related to a tag template not listed in the tags source from an entry. If set to false, unlisted tags are retained.

bool force_delete_missing = 3;

Parameter
NameDescription
valueboolean

The forceDeleteMissing to set.

Returns
TypeDescription
ReconcileTagsRequest.Builder

This builder for chaining.

setParent(String value)

public ReconcileTagsRequest.Builder setParent(String value)

Required. Name of Entry to be tagged.

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ReconcileTagsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ReconcileTagsRequest.Builder setParentBytes(ByteString value)

Required. Name of Entry to be tagged.

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ReconcileTagsRequest.Builder

This builder for chaining.

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

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

setTagTemplate(String value)

public ReconcileTagsRequest.Builder setTagTemplate(String value)

Required. The name of the tag template, which is used for reconciliation.

string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The tagTemplate to set.

Returns
TypeDescription
ReconcileTagsRequest.Builder

This builder for chaining.

setTagTemplateBytes(ByteString value)

public ReconcileTagsRequest.Builder setTagTemplateBytes(ByteString value)

Required. The name of the tag template, which is used for reconciliation.

string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for tagTemplate to set.

Returns
TypeDescription
ReconcileTagsRequest.Builder

This builder for chaining.

setTags(int index, Tag value)

public ReconcileTagsRequest.Builder setTags(int index, Tag value)

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Parameters
NameDescription
indexint
valueTag
Returns
TypeDescription
ReconcileTagsRequest.Builder

setTags(int index, Tag.Builder builderForValue)

public ReconcileTagsRequest.Builder setTags(int index, Tag.Builder builderForValue)

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

repeated .google.cloud.datacatalog.v1.Tag tags = 4;

Parameters
NameDescription
indexint
builderForValueTag.Builder
Returns
TypeDescription
ReconcileTagsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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