Interface TaxonomyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Taxonomy
,Taxonomy.Builder
public interface TaxonomyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()
Required. User defined name of this taxonomy. It must: contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8. The taxonomy display name must be unique within an organization.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Required. User defined name of this taxonomy. It must: contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8. The taxonomy display name must be unique within an organization.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()
Optional. Description of this taxonomy. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of this taxonomy. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for description.
-
getPolicyTagCount
int getPolicyTagCount()
Output only. Number of policy tags contained in this taxonomy.
int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The policyTagCount.
-
hasTaxonomyTimestamps
boolean hasTaxonomyTimestamps()
Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
.google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the taxonomyTimestamps field is set.
-
getTaxonomyTimestamps
SystemTimestamps getTaxonomyTimestamps()
Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
.google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The taxonomyTimestamps.
-
getTaxonomyTimestampsOrBuilder
SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder()
Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
.google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getActivatedPolicyTypesList
List<Taxonomy.PolicyType> getActivatedPolicyTypesList()
Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- A list containing the activatedPolicyTypes.
-
getActivatedPolicyTypesCount
int getActivatedPolicyTypesCount()
Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The count of activatedPolicyTypes.
-
getActivatedPolicyTypes
Taxonomy.PolicyType getActivatedPolicyTypes(int index)
Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the element to return.- Returns:
- The activatedPolicyTypes at the given index.
-
getActivatedPolicyTypesValueList
List<Integer> getActivatedPolicyTypesValueList()
Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- A list containing the enum numeric values on the wire for activatedPolicyTypes.
-
getActivatedPolicyTypesValue
int getActivatedPolicyTypesValue(int index)
Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of activatedPolicyTypes at the given index.
-
hasService
boolean hasService()
Output only. Identity of the service which owns the Taxonomy. This field is only populated when the taxonomy is created by a Google Cloud service. Currently only 'DATAPLEX' is supported.
.google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the service field is set.
-
getService
Taxonomy.Service getService()
Output only. Identity of the service which owns the Taxonomy. This field is only populated when the taxonomy is created by a Google Cloud service. Currently only 'DATAPLEX' is supported.
.google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The service.
-
getServiceOrBuilder
Taxonomy.ServiceOrBuilder getServiceOrBuilder()
Output only. Identity of the service which owns the Taxonomy. This field is only populated when the taxonomy is created by a Google Cloud service. Currently only 'DATAPLEX' is supported.
.google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
-