All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.MonitoredResourceMetadataOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.49.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/api/monitored_resource.proto

// Protobuf Java Version: 3.25.5
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; * * @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, 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; * * @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, 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(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); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy