public interface SetInstanceLabelsRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)Labels to apply to this instance. These can be later modified by the setLabels method
map<string, string> labels = 2;
| Name | Description |
| key | String |
| Type | Description |
| boolean |
getLabels()
public abstract Map<String,String> getLabels()Use #getLabelsMap() instead.
| Type | Description |
| Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()Labels to apply to this instance. These can be later modified by the setLabels method
map<string, string> labels = 2;
| Type | Description |
| int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()Labels to apply to this instance. These can be later modified by the setLabels method
map<string, string> labels = 2;
| Type | Description |
| Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract 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;
| Name | Description |
| key | String |
| defaultValue | String |
| Type | Description |
| String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)Labels to apply to this instance. These can be later modified by the setLabels method
map<string, string> labels = 2;
| Name | Description |
| key | String |
| Type | Description |
| String |
getName()
public abstract String getName() Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The name. |
getNameBytes()
public abstract ByteString getNameBytes() Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for name. |