public interface TagOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsFields(String key)
public abstract boolean containsFields(String key)
Required. This maps the ID of a tag field to the value of and additional information about that field. Valid field IDs are defined by the tag's template. A tag must have at least 1 field and at most 500 fields.
map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
key | String |
Type | Description |
boolean |
getColumn()
public abstract String getColumn()
Resources like Entry can have schemas associated with them. This scope
allows users to attach tags to an individual column based on that schema.
For attaching a tag to a nested column, use .
to separate the column
names. Example:
outer_column.inner_column
string column = 4;
Type | Description |
String | The column. |
getColumnBytes()
public abstract ByteString getColumnBytes()
Resources like Entry can have schemas associated with them. This scope
allows users to attach tags to an individual column based on that schema.
For attaching a tag to a nested column, use .
to separate the column
names. Example:
outer_column.inner_column
string column = 4;
Type | Description |
ByteString | The bytes for column. |
getFields()
public abstract Map<String,TagField> getFields()
Use #getFieldsMap() instead.
Type | Description |
Map<String,TagField> |
getFieldsCount()
public abstract int getFieldsCount()
Required. This maps the ID of a tag field to the value of and additional information about that field. Valid field IDs are defined by the tag's template. A tag must have at least 1 field and at most 500 fields.
map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int |
getFieldsMap()
public abstract Map<String,TagField> getFieldsMap()
Required. This maps the ID of a tag field to the value of and additional information about that field. Valid field IDs are defined by the tag's template. A tag must have at least 1 field and at most 500 fields.
map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Map<String,TagField> |
getFieldsOrDefault(String key, TagField defaultValue)
public abstract TagField getFieldsOrDefault(String key, TagField defaultValue)
Required. This maps the ID of a tag field to the value of and additional information about that field. Valid field IDs are defined by the tag's template. A tag must have at least 1 field and at most 500 fields.
map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
key | String |
defaultValue | TagField |
Type | Description |
TagField |
getFieldsOrThrow(String key)
public abstract TagField getFieldsOrThrow(String key)
Required. This maps the ID of a tag field to the value of and additional information about that field. Valid field IDs are defined by the tag's template. A tag must have at least 1 field and at most 500 fields.
map<string, .google.cloud.datacatalog.v1beta1.TagField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
key | String |
Type | Description |
TagField |
getName()
public abstract String getName()
The resource name of the tag in URL format. Example:
- projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
where
tag_id
is a system-generated identifier. Note that this Tag may not actually be stored in the location in this name.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
The resource name of the tag in URL format. Example:
- projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
where
tag_id
is a system-generated identifier. Note that this Tag may not actually be stored in the location in this name.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getScopeCase()
public abstract Tag.ScopeCase getScopeCase()
Type | Description |
Tag.ScopeCase |
getTemplate()
public abstract String getTemplate()
Required. The resource name of the tag template that 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];
Type | Description |
String | The template. |
getTemplateBytes()
public abstract ByteString getTemplateBytes()
Required. The resource name of the tag template that 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];
Type | Description |
ByteString | The bytes for template. |
getTemplateDisplayName()
public abstract String getTemplateDisplayName()
Output only. The display name of the tag template.
string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The templateDisplayName. |
getTemplateDisplayNameBytes()
public abstract ByteString getTemplateDisplayNameBytes()
Output only. The display name of the tag template.
string template_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for templateDisplayName. |
hasColumn()
public abstract boolean hasColumn()
Resources like Entry can have schemas associated with them. This scope
allows users to attach tags to an individual column based on that schema.
For attaching a tag to a nested column, use .
to separate the column
names. Example:
outer_column.inner_column
string column = 4;
Type | Description |
boolean | Whether the column field is set. |