- 1.59.0 (latest)
- 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 final class SerializedTaxonomy extends GeneratedMessageV3 implements SerializedTaxonomyOrBuilder
A 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SerializedTaxonomyImplements
SerializedTaxonomyOrBuilderFields
ACTIVATED_POLICY_TYPES_FIELD_NUMBER
public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER
Type | Description |
int |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Type | Description |
int |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Type | Description |
int |
POLICY_TAGS_FIELD_NUMBER
public static final int POLICY_TAGS_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
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 | int The 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 | int The 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. |
getDefaultInstance()
public static SerializedTaxonomy getDefaultInstance()
Type | Description |
SerializedTaxonomy |
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 |
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. |
getParserForType()
public Parser<SerializedTaxonomy> getParserForType()
Type | Description |
Parser<SerializedTaxonomy> |
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 |
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> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static SerializedTaxonomy.Builder newBuilder()
Type | Description |
SerializedTaxonomy.Builder |
newBuilder(SerializedTaxonomy prototype)
public static SerializedTaxonomy.Builder newBuilder(SerializedTaxonomy prototype)
Name | Description |
prototype | SerializedTaxonomy |
Type | Description |
SerializedTaxonomy.Builder |
newBuilderForType()
public SerializedTaxonomy.Builder newBuilderForType()
Type | Description |
SerializedTaxonomy.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SerializedTaxonomy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
SerializedTaxonomy.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static SerializedTaxonomy parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
SerializedTaxonomy |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SerializedTaxonomy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SerializedTaxonomy |
Type | Description |
IOException |
parseFrom(byte[] data)
public static SerializedTaxonomy parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
SerializedTaxonomy |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SerializedTaxonomy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SerializedTaxonomy |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static SerializedTaxonomy parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
SerializedTaxonomy |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SerializedTaxonomy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SerializedTaxonomy |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static SerializedTaxonomy parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
SerializedTaxonomy |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SerializedTaxonomy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SerializedTaxonomy |
Type | Description |
IOException |
parseFrom(InputStream input)
public static SerializedTaxonomy parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
SerializedTaxonomy |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SerializedTaxonomy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SerializedTaxonomy |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static SerializedTaxonomy parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
SerializedTaxonomy |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SerializedTaxonomy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SerializedTaxonomy |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<SerializedTaxonomy> parser()
Type | Description |
Parser<SerializedTaxonomy> |
toBuilder()
public SerializedTaxonomy.Builder toBuilder()
Type | Description |
SerializedTaxonomy.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |