Class ReconcileTagsRequest (1.51.0)

public final class ReconcileTagsRequest extends GeneratedMessageV3 implements ReconcileTagsRequestOrBuilder

Request message for ReconcileTags.

Protobuf type google.cloud.datacatalog.v1.ReconcileTagsRequest

Static Fields

FORCE_DELETE_MISSING_FIELD_NUMBER

public static final int FORCE_DELETE_MISSING_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
Type Description
int

TAG_TEMPLATE_FIELD_NUMBER

public static final int TAG_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReconcileTagsRequest getDefaultInstance()
Returns
Type Description
ReconcileTagsRequest

getDescriptor()

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

newBuilder()

public static ReconcileTagsRequest.Builder newBuilder()
Returns
Type Description
ReconcileTagsRequest.Builder

newBuilder(ReconcileTagsRequest prototype)

public static ReconcileTagsRequest.Builder newBuilder(ReconcileTagsRequest prototype)
Parameter
Name Description
prototype ReconcileTagsRequest
Returns
Type Description
ReconcileTagsRequest.Builder

parseDelimitedFrom(InputStream input)

public static ReconcileTagsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReconcileTagsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReconcileTagsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconcileTagsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReconcileTagsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReconcileTagsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReconcileTagsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconcileTagsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReconcileTagsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReconcileTagsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReconcileTagsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconcileTagsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReconcileTagsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReconcileTagsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReconcileTagsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconcileTagsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReconcileTagsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReconcileTagsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReconcileTagsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconcileTagsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReconcileTagsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReconcileTagsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReconcileTagsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconcileTagsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReconcileTagsRequest> parser()
Returns
Type Description
Parser<ReconcileTagsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ReconcileTagsRequest getDefaultInstanceForType()
Returns
Type Description
ReconcileTagsRequest

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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<ReconcileTagsRequest> getParserForType()
Returns
Type Description
Parser<ReconcileTagsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Tag

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.datacatalog.v1.TagOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReconcileTagsRequest.Builder newBuilderForType()
Returns
Type Description
ReconcileTagsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReconcileTagsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReconcileTagsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReconcileTagsRequest.Builder toBuilder()
Returns
Type Description
ReconcileTagsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException