Package com.google.cloud.datacatalog.v1
Interface TagOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Tag,Tag.Builder
@Generated
public interface TagOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsFields(String key) Required.Resources like entry can have schemas associated with them.com.google.protobuf.ByteStringResources like entry can have schemas associated with them.Output only.intOutput only.Deprecated.intRequired.Required.getFieldsOrDefault(String key, TagField defaultValue) Required.getFieldsOrThrow(String key) Required.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Required.com.google.protobuf.ByteStringRequired.Output only.com.google.protobuf.ByteStringOutput only.booleanResources like entry can have schemas associated with them.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Identifier. The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
getTemplate
String getTemplate()Required. The resource name of the tag template this tag uses. Example: `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}` This field cannot be modified after creation.string template = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The template.
-
getTemplateBytes
com.google.protobuf.ByteString getTemplateBytes()Required. The resource name of the tag template this tag uses. Example: `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}` This field cannot be modified after creation.string template = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for template.
-
getTemplateDisplayName
String getTemplateDisplayName()Output only. The display name of the tag template.
string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The templateDisplayName.
-
getTemplateDisplayNameBytes
com.google.protobuf.ByteString getTemplateDisplayNameBytes()Output only. The display name of the tag template.
string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for templateDisplayName.
-
hasColumn
boolean hasColumn()Resources like entry can have schemas associated with them. This scope allows you to attach tags to an individual column based on that schema. To attach a tag to a nested column, separate column names with a dot (`.`). Example: `column.nested_column`.
string column = 4;- Returns:
- Whether the column field is set.
-
getColumn
String getColumn()Resources like entry can have schemas associated with them. This scope allows you to attach tags to an individual column based on that schema. To attach a tag to a nested column, separate column names with a dot (`.`). Example: `column.nested_column`.
string column = 4;- Returns:
- The column.
-
getColumnBytes
com.google.protobuf.ByteString getColumnBytes()Resources like entry can have schemas associated with them. This scope allows you to attach tags to an individual column based on that schema. To attach a tag to a nested column, separate column names with a dot (`.`). Example: `column.nested_column`.
string column = 4;- Returns:
- The bytes for column.
-
getFieldsCount
int getFieldsCount()Required. Maps the ID of a tag field to its value and additional information about that field. Tag template defines valid field IDs. A tag must have at least 1 field and at most 500 fields.
map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; -
containsFields
Required. Maps the ID of a tag field to its value and additional information about that field. Tag template defines valid field IDs. A tag must have at least 1 field and at most 500 fields.
map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; -
getFields
Deprecated.UsegetFieldsMap()instead. -
getFieldsMap
Required. Maps the ID of a tag field to its value and additional information about that field. Tag template defines valid field IDs. A tag must have at least 1 field and at most 500 fields.
map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; -
getFieldsOrDefault
Required. Maps the ID of a tag field to its value and additional information about that field. Tag template defines valid field IDs. A tag must have at least 1 field and at most 500 fields.
map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; -
getFieldsOrThrow
Required. Maps the ID of a tag field to its value and additional information about that field. Tag template defines valid field IDs. A tag must have at least 1 field and at most 500 fields.
map<string, .google.cloud.datacatalog.v1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED]; -
getDataplexTransferStatusValue
int getDataplexTransferStatusValue()Output only. Denotes the transfer status of the Tag Template.
.google.cloud.datacatalog.v1.TagTemplate.DataplexTransferStatus dataplex_transfer_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for dataplexTransferStatus.
-
getDataplexTransferStatus
TagTemplate.DataplexTransferStatus getDataplexTransferStatus()Output only. Denotes the transfer status of the Tag Template.
.google.cloud.datacatalog.v1.TagTemplate.DataplexTransferStatus dataplex_transfer_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The dataplexTransferStatus.
-
getScopeCase
Tag.ScopeCase getScopeCase()
-