public interface StandardResourceMetadataOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsLabels(String key)
Labels associated with this resource.
|
String |
getAdditionalAttributes(int index)
Additional searchable attributes of this resource.
|
ByteString |
getAdditionalAttributesBytes(int index)
Additional searchable attributes of this resource.
|
int |
getAdditionalAttributesCount()
Additional searchable attributes of this resource.
|
List<String> |
getAdditionalAttributesList()
Additional searchable attributes of this resource.
|
String |
getAssetType()
The type of this resource.
|
ByteString |
getAssetTypeBytes()
The type of this resource.
|
String |
getDescription()
One or more paragraphs of text description of this resource.
|
ByteString |
getDescriptionBytes()
One or more paragraphs of text description of this resource.
|
String |
getDisplayName()
The display name of this resource.
|
ByteString |
getDisplayNameBytes()
The display name of this resource.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this resource.
|
Map<String,String> |
getLabelsMap()
Labels associated with this resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this resource.
|
String |
getLabelsOrThrow(String key)
Labels associated with this resource.
|
String |
getLocation()
Location can be "global", regional like "us-east1", or zonal like
"us-west1-b".
|
ByteString |
getLocationBytes()
Location can be "global", regional like "us-east1", or zonal like
"us-west1-b".
|
String |
getName()
The full resource name.
|
ByteString |
getNameBytes()
The full resource name.
|
String |
getNetworkTags(int index)
Network tags associated with this resource.
|
ByteString |
getNetworkTagsBytes(int index)
Network tags associated with this resource.
|
int |
getNetworkTagsCount()
Network tags associated with this resource.
|
List<String> |
getNetworkTagsList()
Network tags associated with this resource.
|
String |
getProject()
The project that this resource belongs to, in the form of
`projects/{project_number}`.
|
ByteString |
getProjectBytes()
The project that this resource belongs to, in the form of
`projects/{project_number}`.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
The full resource name. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;
ByteString getNameBytes()
The full resource name. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;
String getAssetType()
The type of this resource. For example: "compute.googleapis.com/Disk".
string asset_type = 2;
ByteString getAssetTypeBytes()
The type of this resource. For example: "compute.googleapis.com/Disk".
string asset_type = 2;
String getProject()
The project that this resource belongs to, in the form of `projects/{project_number}`.
string project = 3;
ByteString getProjectBytes()
The project that this resource belongs to, in the form of `projects/{project_number}`.
string project = 3;
String getDisplayName()
The display name of this resource.
string display_name = 4;
ByteString getDisplayNameBytes()
The display name of this resource.
string display_name = 4;
String getDescription()
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes.
string description = 5;
ByteString getDescriptionBytes()
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes.
string description = 5;
List<String> getAdditionalAttributesList()
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
repeated string additional_attributes = 10;
int getAdditionalAttributesCount()
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
repeated string additional_attributes = 10;
String getAdditionalAttributes(int index)
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
repeated string additional_attributes = 10;
index
- The index of the element to return.ByteString getAdditionalAttributesBytes(int index)
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
repeated string additional_attributes = 10;
index
- The index of the value to return.String getLocation()
Location can be "global", regional like "us-east1", or zonal like "us-west1-b".
string location = 11;
ByteString getLocationBytes()
Location can be "global", regional like "us-east1", or zonal like "us-west1-b".
string location = 11;
int getLabelsCount()
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
map<string, string> labels = 12;
boolean containsLabels(String key)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
map<string, string> labels = 12;
@Deprecated Map<String,String> getLabels()
getLabelsMap()
instead.Map<String,String> getLabelsMap()
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
map<string, string> labels = 12;
String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
map<string, string> labels = 12;
String getLabelsOrThrow(String key)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
map<string, string> labels = 12;
List<String> getNetworkTagsList()
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
repeated string network_tags = 13;
int getNetworkTagsCount()
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
repeated string network_tags = 13;
String getNetworkTags(int index)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
repeated string network_tags = 13;
index
- The index of the element to return.ByteString getNetworkTagsBytes(int index)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
repeated string network_tags = 13;
index
- The index of the value to return.Copyright © 2022 Google LLC. All rights reserved.