
com.google.cloud.compute.v1.InstancePropertiesPatchOrBuilder Maven / Gradle / Ivy
/*
* 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/cloud/compute/v1/compute.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;
public interface InstancePropertiesPatchOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstancePropertiesPatch)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The label key-value pairs that you want to patch onto the instance.
*
*
* map<string, string> labels = 500195327;
*/
int getLabelsCount();
/**
*
*
*
* The label key-value pairs that you want to patch onto the instance.
*
*
* map<string, string> labels = 500195327;
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@java.lang.Deprecated
java.util.Map getLabels();
/**
*
*
*
* The label key-value pairs that you want to patch onto the instance.
*
*
* map<string, string> labels = 500195327;
*/
java.util.Map getLabelsMap();
/**
*
*
*
* The label key-value pairs that you want to patch onto the instance.
*
*
* map<string, string> labels = 500195327;
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* The label key-value pairs that you want to patch onto the instance.
*
*
* map<string, string> labels = 500195327;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
/**
*
*
*
* The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
*
*
* map<string, string> metadata = 86866735;
*/
int getMetadataCount();
/**
*
*
*
* The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
*
*
* map<string, string> metadata = 86866735;
*/
boolean containsMetadata(java.lang.String key);
/** Use {@link #getMetadataMap()} instead. */
@java.lang.Deprecated
java.util.Map getMetadata();
/**
*
*
*
* The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
*
*
* map<string, string> metadata = 86866735;
*/
java.util.Map getMetadataMap();
/**
*
*
*
* The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
*
*
* map<string, string> metadata = 86866735;
*/
/* nullable */
java.lang.String getMetadataOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
*
*
* map<string, string> metadata = 86866735;
*/
java.lang.String getMetadataOrThrow(java.lang.String key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy