- 1.84.0 (latest)
 - 1.82.0
 - 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 Taxonomy.Builder extends GeneratedMessageV3.Builder<Taxonomy.Builder> implements TaxonomyOrBuilderA taxonomy is a collection of policy tags that classify data along a common axis. For instance a data sensitivity taxonomy could contain policy tags denoting PII such as age, zipcode, and SSN. A data origin taxonomy could contain policy tags to distinguish user data, employee data, partner data, public data.
 Protobuf type google.cloud.datacatalog.v1beta1.Taxonomy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Taxonomy.BuilderImplements
TaxonomyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addActivatedPolicyTypes(Taxonomy.PolicyType value)
public Taxonomy.Builder addActivatedPolicyTypes(Taxonomy.PolicyType value)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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Taxonomy.PolicyTypeThe activatedPolicyTypes to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
addActivatedPolicyTypesValue(int value)
public Taxonomy.Builder addActivatedPolicyTypesValue(int value)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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for activatedPolicyTypes to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
addAllActivatedPolicyTypes(Iterable<? extends Taxonomy.PolicyType> values)
public Taxonomy.Builder addAllActivatedPolicyTypes(Iterable<? extends Taxonomy.PolicyType> values)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];
 
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>The activatedPolicyTypes to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
addAllActivatedPolicyTypesValue(Iterable<Integer> values)
public Taxonomy.Builder addAllActivatedPolicyTypesValue(Iterable<Integer> values)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];
 
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<Integer>The enum numeric values on the wire for activatedPolicyTypes to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Taxonomy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
build()
public Taxonomy build()| Returns | |
|---|---|
| Type | Description | 
Taxonomy | 
        |
buildPartial()
public Taxonomy buildPartial()| Returns | |
|---|---|
| Type | Description | 
Taxonomy | 
        |
clear()
public Taxonomy.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
clearActivatedPolicyTypes()
public Taxonomy.Builder clearActivatedPolicyTypes()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 | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
clearDescription()
public Taxonomy.Builder clearDescription()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 | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
clearDisplayName()
public Taxonomy.Builder clearDisplayName()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 | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public Taxonomy.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
clearName()
public Taxonomy.Builder clearName()Identifier. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Taxonomy.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
clearPolicyTagCount()
public Taxonomy.Builder clearPolicyTagCount()Output only. Number of policy tags contained in this taxonomy.
 int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
clearService()
public Taxonomy.Builder clearService()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 | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
clearTaxonomyTimestamps()
public Taxonomy.Builder clearTaxonomyTimestamps()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 | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
clone()
public Taxonomy.Builder clone()| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
getActivatedPolicyTypes(int index)
public 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];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the element to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.PolicyType | 
        The activatedPolicyTypes at the given index.  | 
      
getActivatedPolicyTypesCount()
public 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 | |
|---|---|
| Type | Description | 
int | 
        The count of activatedPolicyTypes.  | 
      
getActivatedPolicyTypesList()
public 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 | |
|---|---|
| Type | Description | 
List<PolicyType> | 
        A list containing the activatedPolicyTypes.  | 
      
getActivatedPolicyTypesValue(int index)
public 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];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the value to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire of activatedPolicyTypes at the given index.  | 
      
getActivatedPolicyTypesValueList()
public 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 | |
|---|---|
| Type | Description | 
List<Integer> | 
        A list containing the enum numeric values on the wire for activatedPolicyTypes.  | 
      
getDefaultInstanceForType()
public Taxonomy getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Taxonomy | 
        |
getDescription()
public 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 | |
|---|---|
| Type | Description | 
String | 
        The description.  | 
      
getDescriptionBytes()
public 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 | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for description.  | 
      
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getDisplayName()
public 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 | |
|---|---|
| Type | Description | 
String | 
        The displayName.  | 
      
getDisplayNameBytes()
public 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 | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for displayName.  | 
      
getName()
public String getName()Identifier. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public ByteString getNameBytes()Identifier. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
getPolicyTagCount()
public int getPolicyTagCount()Output only. Number of policy tags contained in this taxonomy.
 int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
int | 
        The policyTagCount.  | 
      
getService()
public 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 | |
|---|---|
| Type | Description | 
Taxonomy.Service | 
        The service.  | 
      
getServiceBuilder()
public Taxonomy.Service.Builder getServiceBuilder()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 | |
|---|---|
| Type | Description | 
Taxonomy.Service.Builder | 
        |
getServiceOrBuilder()
public 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];
 
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.ServiceOrBuilder | 
        |
getTaxonomyTimestamps()
public 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 | |
|---|---|
| Type | Description | 
SystemTimestamps | 
        The taxonomyTimestamps.  | 
      
getTaxonomyTimestampsBuilder()
public SystemTimestamps.Builder getTaxonomyTimestampsBuilder()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 | |
|---|---|
| Type | Description | 
SystemTimestamps.Builder | 
        |
getTaxonomyTimestampsOrBuilder()
public 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];
 
| Returns | |
|---|---|
| Type | Description | 
SystemTimestampsOrBuilder | 
        |
hasService()
public 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 | |
|---|---|
| Type | Description | 
boolean | 
        Whether the service field is set.  | 
      
hasTaxonomyTimestamps()
public 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 | |
|---|---|
| Type | Description | 
boolean | 
        Whether the taxonomyTimestamps field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(Taxonomy other)
public Taxonomy.Builder mergeFrom(Taxonomy other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Taxonomy | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Taxonomy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Taxonomy.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
mergeService(Taxonomy.Service value)
public Taxonomy.Builder mergeService(Taxonomy.Service value)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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Taxonomy.Service | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
mergeTaxonomyTimestamps(SystemTimestamps value)
public Taxonomy.Builder mergeTaxonomyTimestamps(SystemTimestamps value)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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        SystemTimestamps | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Taxonomy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
setActivatedPolicyTypes(int index, Taxonomy.PolicyType value)
public Taxonomy.Builder setActivatedPolicyTypes(int index, Taxonomy.PolicyType value)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 | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        Taxonomy.PolicyTypeThe activatedPolicyTypes to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
setActivatedPolicyTypesValue(int index, int value)
public Taxonomy.Builder setActivatedPolicyTypesValue(int index, int value)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 | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        intThe enum numeric value on the wire for activatedPolicyTypes to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
setDescription(String value)
public Taxonomy.Builder setDescription(String value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
setDescriptionBytes(ByteString value)
public Taxonomy.Builder setDescriptionBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
setDisplayName(String value)
public Taxonomy.Builder setDisplayName(String value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe displayName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
setDisplayNameBytes(ByteString value)
public Taxonomy.Builder setDisplayNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for displayName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public Taxonomy.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
setName(String value)
public Taxonomy.Builder setName(String value)Identifier. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public Taxonomy.Builder setNameBytes(ByteString value)Identifier. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
setPolicyTagCount(int value)
public Taxonomy.Builder setPolicyTagCount(int value)Output only. Number of policy tags contained in this taxonomy.
 int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe policyTagCount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Taxonomy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
setService(Taxonomy.Service value)
public Taxonomy.Builder setService(Taxonomy.Service value)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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Taxonomy.Service | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
setService(Taxonomy.Service.Builder builderForValue)
public Taxonomy.Builder setService(Taxonomy.Service.Builder builderForValue)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];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Taxonomy.Service.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
setTaxonomyTimestamps(SystemTimestamps value)
public Taxonomy.Builder setTaxonomyTimestamps(SystemTimestamps value)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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        SystemTimestamps | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
setTaxonomyTimestamps(SystemTimestamps.Builder builderForValue)
public Taxonomy.Builder setTaxonomyTimestamps(SystemTimestamps.Builder builderForValue)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];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        SystemTimestamps.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final Taxonomy.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Taxonomy.Builder | 
        |