
com.google.api.MonitoredResourceMetadataOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lightstep-opentelemetry-auto-exporter Show documentation
Show all versions of lightstep-opentelemetry-auto-exporter Show documentation
Lightstep OpenTelemetry Auto Exporter
The newest version!
// 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, including
* "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;
*/
boolean hasSystemLabels();
/**
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "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.Struct getSystemLabels();
/**
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "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(
String key);
/**
* Use {@link #getUserLabelsMap()} instead.
*/
@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;
*/
String getUserLabelsOrDefault(
String key,
String defaultValue);
/**
*
* Output only. A map of user-defined metadata labels.
*
*
* map<string, string> user_labels = 2;
*/
String getUserLabelsOrThrow(
String key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy