- 1.82.0 (latest)
- 1.81.0
- 1.80.0
- 1.79.0
- 1.78.0
- 1.76.0
- 1.74.0
- 1.73.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.5
- 1.8.4
- 1.7.2
- 1.6.2
- 1.5.4
public static final class SerializedTaxonomy.Builder extends GeneratedMessageV3.Builder<SerializedTaxonomy.Builder> implements SerializedTaxonomyOrBuilderA nested protocol buffer that represents a taxonomy and the hierarchy of its policy tags. Used for taxonomy replacement, import, and export.
Protobuf type google.cloud.datacatalog.v1.SerializedTaxonomy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SerializedTaxonomy.BuilderImplements
SerializedTaxonomyOrBuilderMethods
addActivatedPolicyTypes(Taxonomy.PolicyType value)
public SerializedTaxonomy.Builder addActivatedPolicyTypes(Taxonomy.PolicyType value)A list of policy types that are activated per taxonomy.
repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4;
| Name | Description |
| value | Taxonomy.PolicyTypeThe activatedPolicyTypes to add. |
| Type | Description |
| SerializedTaxonomy.Builder | This builder for chaining. |
addActivatedPolicyTypesValue(int value)
public SerializedTaxonomy.Builder addActivatedPolicyTypesValue(int value)A list of policy types that are activated per taxonomy.
repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4;
| Name | Description |
| value | intThe enum numeric value on the wire for activatedPolicyTypes to add. |
| Type | Description |
| SerializedTaxonomy.Builder | This builder for chaining. |
addAllActivatedPolicyTypes(Iterable<? extends Taxonomy.PolicyType> values)
public SerializedTaxonomy.Builder addAllActivatedPolicyTypes(Iterable<? extends Taxonomy.PolicyType> values)A list of policy types that are activated per taxonomy.
repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4;
| Name | Description |
| values | Iterable<? extends com.google.cloud.datacatalog.v1.Taxonomy.PolicyType>The activatedPolicyTypes to add. |
| Type | Description |
| SerializedTaxonomy.Builder | This builder for chaining. |
addAllActivatedPolicyTypesValue(Iterable<Integer> values)
public SerializedTaxonomy.Builder addAllActivatedPolicyTypesValue(Iterable<Integer> values)A list of policy types that are activated per taxonomy.
repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4;
| Name | Description |
| values | Iterable<Integer>The enum numeric values on the wire for activatedPolicyTypes to add. |
| Type | Description |
| SerializedTaxonomy.Builder | This builder for chaining. |
addAllPolicyTags(Iterable<? extends SerializedPolicyTag> values)
public SerializedTaxonomy.Builder addAllPolicyTags(Iterable<? extends SerializedPolicyTag> values)Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Name | Description |
| values | Iterable<? extends com.google.cloud.datacatalog.v1.SerializedPolicyTag> |
| Type | Description |
| SerializedTaxonomy.Builder |
addPolicyTags(SerializedPolicyTag value)
public SerializedTaxonomy.Builder addPolicyTags(SerializedPolicyTag value)Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Name | Description |
| value | SerializedPolicyTag |
| Type | Description |
| SerializedTaxonomy.Builder |
addPolicyTags(SerializedPolicyTag.Builder builderForValue)
public SerializedTaxonomy.Builder addPolicyTags(SerializedPolicyTag.Builder builderForValue)Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Name | Description |
| builderForValue | SerializedPolicyTag.Builder |
| Type | Description |
| SerializedTaxonomy.Builder |
addPolicyTags(int index, SerializedPolicyTag value)
public SerializedTaxonomy.Builder addPolicyTags(int index, SerializedPolicyTag value)Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Name | Description |
| index | int |
| value | SerializedPolicyTag |
| Type | Description |
| SerializedTaxonomy.Builder |
addPolicyTags(int index, SerializedPolicyTag.Builder builderForValue)
public SerializedTaxonomy.Builder addPolicyTags(int index, SerializedPolicyTag.Builder builderForValue)Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Name | Description |
| index | int |
| builderForValue | SerializedPolicyTag.Builder |
| Type | Description |
| SerializedTaxonomy.Builder |
addPolicyTagsBuilder()
public SerializedPolicyTag.Builder addPolicyTagsBuilder()Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Type | Description |
| SerializedPolicyTag.Builder |
addPolicyTagsBuilder(int index)
public SerializedPolicyTag.Builder addPolicyTagsBuilder(int index)Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Name | Description |
| index | int |
| Type | Description |
| SerializedPolicyTag.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SerializedTaxonomy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| SerializedTaxonomy.Builder |
build()
public SerializedTaxonomy build()| Type | Description |
| SerializedTaxonomy |
buildPartial()
public SerializedTaxonomy buildPartial()| Type | Description |
| SerializedTaxonomy |
clear()
public SerializedTaxonomy.Builder clear()| Type | Description |
| SerializedTaxonomy.Builder |
clearActivatedPolicyTypes()
public SerializedTaxonomy.Builder clearActivatedPolicyTypes()A list of policy types that are activated per taxonomy.
repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4;
| Type | Description |
| SerializedTaxonomy.Builder | This builder for chaining. |
clearDescription()
public SerializedTaxonomy.Builder clearDescription()Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
string description = 2;
| Type | Description |
| SerializedTaxonomy.Builder | This builder for chaining. |
clearDisplayName()
public SerializedTaxonomy.Builder clearDisplayName()Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| SerializedTaxonomy.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SerializedTaxonomy.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| SerializedTaxonomy.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SerializedTaxonomy.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| SerializedTaxonomy.Builder |
clearPolicyTags()
public SerializedTaxonomy.Builder clearPolicyTags()Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Type | Description |
| SerializedTaxonomy.Builder |
clone()
public SerializedTaxonomy.Builder clone()| Type | Description |
| SerializedTaxonomy.Builder |
getActivatedPolicyTypes(int index)
public Taxonomy.PolicyType getActivatedPolicyTypes(int index)A list of policy types that are activated per taxonomy.
repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| Taxonomy.PolicyType | The activatedPolicyTypes at the given index. |
getActivatedPolicyTypesCount()
public int getActivatedPolicyTypesCount()A list of policy types that are activated per taxonomy.
repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4;
| Type | Description |
| int | The count of activatedPolicyTypes. |
getActivatedPolicyTypesList()
public List<Taxonomy.PolicyType> getActivatedPolicyTypesList()A list of policy types that are activated per taxonomy.
repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4;
| Type | Description |
| List<PolicyType> | A list containing the activatedPolicyTypes. |
getActivatedPolicyTypesValue(int index)
public int getActivatedPolicyTypesValue(int index)A list of policy types that are activated per taxonomy.
repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| int | The enum numeric value on the wire of activatedPolicyTypes at the given index. |
getActivatedPolicyTypesValueList()
public List<Integer> getActivatedPolicyTypesValueList()A list of policy types that are activated per taxonomy.
repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4;
| Type | Description |
| List<Integer> | A list containing the enum numeric values on the wire for activatedPolicyTypes. |
getDefaultInstanceForType()
public SerializedTaxonomy getDefaultInstanceForType()| Type | Description |
| SerializedTaxonomy |
getDescription()
public String getDescription()Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
string description = 2;
| Type | Description |
| String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
string description = 2;
| Type | Description |
| ByteString | The bytes for description. |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getDisplayName()
public String getDisplayName()Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for displayName. |
getPolicyTags(int index)
public SerializedPolicyTag getPolicyTags(int index)Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Name | Description |
| index | int |
| Type | Description |
| SerializedPolicyTag |
getPolicyTagsBuilder(int index)
public SerializedPolicyTag.Builder getPolicyTagsBuilder(int index)Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Name | Description |
| index | int |
| Type | Description |
| SerializedPolicyTag.Builder |
getPolicyTagsBuilderList()
public List<SerializedPolicyTag.Builder> getPolicyTagsBuilderList()Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Type | Description |
| List<Builder> |
getPolicyTagsCount()
public int getPolicyTagsCount()Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Type | Description |
| int |
getPolicyTagsList()
public List<SerializedPolicyTag> getPolicyTagsList()Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Type | Description |
| List<SerializedPolicyTag> |
getPolicyTagsOrBuilder(int index)
public SerializedPolicyTagOrBuilder getPolicyTagsOrBuilder(int index)Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Name | Description |
| index | int |
| Type | Description |
| SerializedPolicyTagOrBuilder |
getPolicyTagsOrBuilderList()
public List<? extends SerializedPolicyTagOrBuilder> getPolicyTagsOrBuilderList()Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Type | Description |
| List<? extends com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(SerializedTaxonomy other)
public SerializedTaxonomy.Builder mergeFrom(SerializedTaxonomy other)| Name | Description |
| other | SerializedTaxonomy |
| Type | Description |
| SerializedTaxonomy.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SerializedTaxonomy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| SerializedTaxonomy.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public SerializedTaxonomy.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| SerializedTaxonomy.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SerializedTaxonomy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| SerializedTaxonomy.Builder |
removePolicyTags(int index)
public SerializedTaxonomy.Builder removePolicyTags(int index)Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Name | Description |
| index | int |
| Type | Description |
| SerializedTaxonomy.Builder |
setActivatedPolicyTypes(int index, Taxonomy.PolicyType value)
public SerializedTaxonomy.Builder setActivatedPolicyTypes(int index, Taxonomy.PolicyType value)A list of policy types that are activated per taxonomy.
repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4;
| Name | Description |
| index | intThe index to set the value at. |
| value | Taxonomy.PolicyTypeThe activatedPolicyTypes to set. |
| Type | Description |
| SerializedTaxonomy.Builder | This builder for chaining. |
setActivatedPolicyTypesValue(int index, int value)
public SerializedTaxonomy.Builder setActivatedPolicyTypesValue(int index, int value)A list of policy types that are activated per taxonomy.
repeated .google.cloud.datacatalog.v1.Taxonomy.PolicyType activated_policy_types = 4;
| Name | Description |
| index | intThe index of the value to return. |
| value | int |
| Type | Description |
| SerializedTaxonomy.Builder | The enum numeric value on the wire of activatedPolicyTypes at the given index. |
setDescription(String value)
public SerializedTaxonomy.Builder setDescription(String value)Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
string description = 2;
| Name | Description |
| value | StringThe description to set. |
| Type | Description |
| SerializedTaxonomy.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public SerializedTaxonomy.Builder setDescriptionBytes(ByteString value)Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
string description = 2;
| Name | Description |
| value | ByteStringThe bytes for description to set. |
| Type | Description |
| SerializedTaxonomy.Builder | This builder for chaining. |
setDisplayName(String value)
public SerializedTaxonomy.Builder setDisplayName(String value)Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | StringThe displayName to set. |
| Type | Description |
| SerializedTaxonomy.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public SerializedTaxonomy.Builder setDisplayNameBytes(ByteString value)Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ByteStringThe bytes for displayName to set. |
| Type | Description |
| SerializedTaxonomy.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SerializedTaxonomy.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| SerializedTaxonomy.Builder |
setPolicyTags(int index, SerializedPolicyTag value)
public SerializedTaxonomy.Builder setPolicyTags(int index, SerializedPolicyTag value)Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Name | Description |
| index | int |
| value | SerializedPolicyTag |
| Type | Description |
| SerializedTaxonomy.Builder |
setPolicyTags(int index, SerializedPolicyTag.Builder builderForValue)
public SerializedTaxonomy.Builder setPolicyTags(int index, SerializedPolicyTag.Builder builderForValue)Top level policy tags associated with the taxonomy, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag policy_tags = 3;
| Name | Description |
| index | int |
| builderForValue | SerializedPolicyTag.Builder |
| Type | Description |
| SerializedTaxonomy.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SerializedTaxonomy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| SerializedTaxonomy.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SerializedTaxonomy.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| SerializedTaxonomy.Builder |