Package com.google.cloud.datacatalog.v1
Class ReconcileTagsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReconcileTagsRequest.Builder>
com.google.cloud.datacatalog.v1.ReconcileTagsRequest.Builder
- All Implemented Interfaces:
ReconcileTagsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReconcileTagsRequest
public static final class ReconcileTagsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReconcileTagsRequest.Builder>
implements ReconcileTagsRequestOrBuilder
Request message for [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags].Protobuf type
google.cloud.datacatalog.v1.ReconcileTagsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags(Iterable<? extends Tag> values) A list of tags to apply to an entry.A list of tags to apply to an entry.addTags(int index, Tag.Builder builderForValue) A list of tags to apply to an entry.A list of tags to apply to an entry.addTags(Tag.Builder builderForValue) A list of tags to apply to an entry.A list of tags to apply to an entry.addTagsBuilder(int index) A list of tags to apply to an entry.build()clear()If set to `true`, deletes entry tags related to a tag template not listed in the tags source from an entry.Required.A list of tags to apply to an entry.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf set to `true`, deletes entry tags related to a tag template not listed in the tags source from an entry.Required.com.google.protobuf.ByteStringRequired.getTags(int index) A list of tags to apply to an entry.getTagsBuilder(int index) A list of tags to apply to an entry.A list of tags to apply to an entry.intA list of tags to apply to an entry.A list of tags to apply to an entry.getTagsOrBuilder(int index) A list of tags to apply to an entry.List<? extends TagOrBuilder>A list of tags to apply to an entry.Required.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ReconcileTagsRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeTags(int index) A list of tags to apply to an entry.setForceDeleteMissing(boolean value) If set to `true`, deletes entry tags related to a tag template not listed in the tags source from an entry.Required.setParentBytes(com.google.protobuf.ByteString value) Required.A list of tags to apply to an entry.setTags(int index, Tag.Builder builderForValue) A list of tags to apply to an entry.setTagTemplate(String value) Required.setTagTemplateBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReconcileTagsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReconcileTagsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReconcileTagsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReconcileTagsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReconcileTagsRequest.Builder>
-
mergeFrom
public ReconcileTagsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReconcileTagsRequest.Builder>- Throws:
IOException
-
getParent
Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceReconcileTagsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceReconcileTagsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getTagTemplatein interfaceReconcileTagsRequestOrBuilder- Returns:
- The tagTemplate.
-
getTagTemplateBytes
public com.google.protobuf.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) = { ... }- Specified by:
getTagTemplateBytesin interfaceReconcileTagsRequestOrBuilder- Returns:
- The bytes for tagTemplate.
-
setTagTemplate
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) = { ... }- Parameters:
value- The tagTemplate to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setTagTemplateBytes
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) = { ... }- Parameters:
value- The bytes for tagTemplate to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getForceDeleteMissingin interfaceReconcileTagsRequestOrBuilder- Returns:
- The forceDeleteMissing.
-
setForceDeleteMissing
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;- Parameters:
value- The forceDeleteMissing to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getTagsListin interfaceReconcileTagsRequestOrBuilder
-
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;- Specified by:
getTagsCountin interfaceReconcileTagsRequestOrBuilder
-
getTags
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;- Specified by:
getTagsin interfaceReconcileTagsRequestOrBuilder
-
setTags
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; -
setTags
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; -
addTags
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; -
addTags
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; -
addTags
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; -
addTags
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; -
addAllTags
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; -
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; -
removeTags
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; -
getTagsBuilder
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; -
getTagsOrBuilder
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;- Specified by:
getTagsOrBuilderin interfaceReconcileTagsRequestOrBuilder
-
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;- Specified by:
getTagsOrBuilderListin interfaceReconcileTagsRequestOrBuilder
-
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; -
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; -
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;
-