// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/monitored_resource.proto
package com.google.api;
public interface MonitoredResourceMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.api.MonitoredResourceMetadata)
com.google.protobuf.MessageOrBuilder {
/**
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google Stackdriver.
* Stackdriver determines what system labels are useful and how to obtain
* their values. Some examples: "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
*
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
*
* .google.protobuf.Struct system_labels = 1;
* @return Whether the systemLabels field is set.
*/
boolean hasSystemLabels();
/**
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google Stackdriver.
* Stackdriver determines what system labels are useful and how to obtain
* their values. Some examples: "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
*
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
*
* .google.protobuf.Struct system_labels = 1;
* @return The systemLabels.
*/
com.google.protobuf.Struct getSystemLabels();
/**
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google Stackdriver.
* Stackdriver determines what system labels are useful and how to obtain
* their values. Some examples: "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
*
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
*
* .google.protobuf.Struct system_labels = 1;
*/
com.google.protobuf.StructOrBuilder getSystemLabelsOrBuilder();
/**
*
* Output only. A map of user-defined metadata labels.
*
*
* map<string, string> user_labels = 2;
*/
int getUserLabelsCount();
/**
*
* Output only. A map of user-defined metadata labels.
*
*
* map<string, string> user_labels = 2;
*/
boolean containsUserLabels(
java.lang.String key);
/**
* Use {@link #getUserLabelsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getUserLabels();
/**
*
* Output only. A map of user-defined metadata labels.
*
*
* map<string, string> user_labels = 2;
*/
java.util.Map
getUserLabelsMap();
/**
*
* Output only. A map of user-defined metadata labels.
*
*
* map<string, string> user_labels = 2;
*/
/* nullable */
java.lang.String getUserLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
* Output only. A map of user-defined metadata labels.
*
*
* map<string, string> user_labels = 2;
*/
java.lang.String getUserLabelsOrThrow(
java.lang.String key);
}