public interface SetInstanceLabelsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels to apply to this instance.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels to apply to this instance.
|
Map<String,String> |
getLabelsMap()
Labels to apply to this instance.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels to apply to this instance.
|
String |
getLabelsOrThrow(String key)
Labels to apply to this instance.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. Format:
`projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getNameBytes()
Required. Format:
`projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];int getLabelsCount()
Labels to apply to this instance. These can be later modified by the setLabels method
map<string, string> labels = 2;boolean containsLabels(String key)
Labels to apply to this instance. These can be later modified by the setLabels method
map<string, string> labels = 2;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Labels to apply to this instance. These can be later modified by the setLabels method
map<string, string> labels = 2;String getLabelsOrDefault(String key, String defaultValue)
Labels to apply to this instance. These can be later modified by the setLabels method
map<string, string> labels = 2;Copyright © 2024 Google LLC. All rights reserved.