Class ReconcileTagsRequest (1.47.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
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
TypeDescription
int

TAG_TEMPLATE_FIELD_NUMBER

public static final int TAG_TEMPLATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReconcileTagsRequest getDefaultInstance()
Returns
TypeDescription
ReconcileTagsRequest

getDescriptor()

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

newBuilder()

public static ReconcileTagsRequest.Builder newBuilder()
Returns
TypeDescription
ReconcileTagsRequest.Builder

newBuilder(ReconcileTagsRequest prototype)

public static ReconcileTagsRequest.Builder newBuilder(ReconcileTagsRequest prototype)
Parameter
NameDescription
prototypeReconcileTagsRequest
Returns
TypeDescription
ReconcileTagsRequest.Builder

parseDelimitedFrom(InputStream input)

public static ReconcileTagsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReconcileTagsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReconcileTagsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReconcileTagsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReconcileTagsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReconcileTagsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReconcileTagsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReconcileTagsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReconcileTagsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReconcileTagsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReconcileTagsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReconcileTagsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReconcileTagsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReconcileTagsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReconcileTagsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReconcileTagsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReconcileTagsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReconcileTagsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReconcileTagsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReconcileTagsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReconcileTagsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReconcileTagsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReconcileTagsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReconcileTagsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReconcileTagsRequest> parser()
Returns
TypeDescription
Parser<ReconcileTagsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ReconcileTagsRequest getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

public Parser<ReconcileTagsRequest> getParserForType()
Returns
TypeDescription
Parser<ReconcileTagsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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

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>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReconcileTagsRequest.Builder newBuilderForType()
Returns
TypeDescription
ReconcileTagsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReconcileTagsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReconcileTagsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReconcileTagsRequest.Builder toBuilder()
Returns
TypeDescription
ReconcileTagsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException