public static final class SerializedTaxonomy.Builder extends GeneratedMessageV3.Builder<SerializedTaxonomy.Builder> implements SerializedTaxonomyOrBuilder
Message capturing a taxonomy and its policy tag hierarchy as a nested proto.
Used for taxonomy import/export and mutation.
Protobuf type google.cloud.datacatalog.v1beta1.SerializedTaxonomy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
public SerializedTaxonomy.Builder addAllPolicyTags(Iterable<? extends SerializedPolicyTag> values)
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag>
|
public SerializedTaxonomy.Builder addPolicyTags(SerializedPolicyTag value)
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
public SerializedTaxonomy.Builder addPolicyTags(SerializedPolicyTag.Builder builderForValue)
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
public SerializedTaxonomy.Builder addPolicyTags(int index, SerializedPolicyTag value)
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
public SerializedTaxonomy.Builder addPolicyTags(int index, SerializedPolicyTag.Builder builderForValue)
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
public SerializedPolicyTag.Builder addPolicyTagsBuilder()
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
public SerializedPolicyTag.Builder addPolicyTagsBuilder(int index)
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SerializedTaxonomy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SerializedTaxonomy build()
buildPartial()
public SerializedTaxonomy buildPartial()
clear()
public SerializedTaxonomy.Builder clear()
Overrides
clearDescription()
public SerializedTaxonomy.Builder clearDescription()
Description of the serialized taxonomy. The length of the
description is limited to 2000 bytes when encoded in UTF-8. If not set,
defaults to an empty description.
string description = 2;
clearDisplayName()
public SerializedTaxonomy.Builder clearDisplayName()
Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public SerializedTaxonomy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SerializedTaxonomy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public SerializedTaxonomy.Builder clearPolicyTags()
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
clone()
public SerializedTaxonomy.Builder clone()
Overrides
getDefaultInstanceForType()
public SerializedTaxonomy getDefaultInstanceForType()
getDescription()
public String getDescription()
Description of the serialized taxonomy. The length of the
description is limited to 2000 bytes when encoded in UTF-8. If not set,
defaults to an empty description.
string description = 2;
Returns |
---|
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the serialized taxonomy. The length of the
description is limited to 2000 bytes when encoded in UTF-8. If not set,
defaults to an empty description.
string description = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDisplayName()
public String getDisplayName()
Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
public SerializedPolicyTag getPolicyTags(int index)
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
Parameter |
---|
Name | Description |
index | int
|
public SerializedPolicyTag.Builder getPolicyTagsBuilder(int index)
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
Parameter |
---|
Name | Description |
index | int
|
public List<SerializedPolicyTag.Builder> getPolicyTagsBuilderList()
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
public int getPolicyTagsCount()
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
Returns |
---|
Type | Description |
int | |
public List<SerializedPolicyTag> getPolicyTagsList()
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
public SerializedPolicyTagOrBuilder getPolicyTagsOrBuilder(int index)
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends SerializedPolicyTagOrBuilder> getPolicyTagsOrBuilderList()
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SerializedTaxonomy other)
public SerializedTaxonomy.Builder mergeFrom(SerializedTaxonomy other)
public SerializedTaxonomy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SerializedTaxonomy.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SerializedTaxonomy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public SerializedTaxonomy.Builder removePolicyTags(int index)
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
Parameter |
---|
Name | Description |
index | int
|
setDescription(String value)
public SerializedTaxonomy.Builder setDescription(String value)
Description of the serialized taxonomy. The length of the
description is limited to 2000 bytes when encoded in UTF-8. If not set,
defaults to an empty description.
string description = 2;
Parameter |
---|
Name | Description |
value | String
The description to set.
|
setDescriptionBytes(ByteString value)
public SerializedTaxonomy.Builder setDescriptionBytes(ByteString value)
Description of the serialized taxonomy. The length of the
description is limited to 2000 bytes when encoded in UTF-8. If not set,
defaults to an empty description.
string description = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for description to set.
|
setDisplayName(String value)
public SerializedTaxonomy.Builder setDisplayName(String value)
Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The displayName to set.
|
setDisplayNameBytes(ByteString value)
public SerializedTaxonomy.Builder setDisplayNameBytes(ByteString value)
Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for displayName to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SerializedTaxonomy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SerializedTaxonomy.Builder setPolicyTags(int index, SerializedPolicyTag value)
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
public SerializedTaxonomy.Builder setPolicyTags(int index, SerializedPolicyTag.Builder builderForValue)
Top level policy tags associated with the taxonomy if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag policy_tags = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SerializedTaxonomy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SerializedTaxonomy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides