public interface SetLabelsRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsResourceLabels(java.lang.String key)
The labels to set for that cluster.
|
java.lang.String |
getClusterId()
The name of the cluster.
|
ByteString |
getClusterIdBytes()
The name of the cluster.
|
java.lang.String |
getLabelFingerprint()
The fingerprint of the previous set of labels for this resource,
used to detect conflicts.
|
ByteString |
getLabelFingerprintBytes()
The fingerprint of the previous set of labels for this resource,
used to detect conflicts.
|
java.lang.String |
getProjectId()
The Google Developers Console [project ID or project
number](https://developers.google.com/console/help/new/#projectnumber).
|
ByteString |
getProjectIdBytes()
The Google Developers Console [project ID or project
number](https://developers.google.com/console/help/new/#projectnumber).
|
java.util.Map<java.lang.String,java.lang.String> |
getResourceLabels()
Deprecated.
|
int |
getResourceLabelsCount()
The labels to set for that cluster.
|
java.util.Map<java.lang.String,java.lang.String> |
getResourceLabelsMap()
The labels to set for that cluster.
|
java.lang.String |
getResourceLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
The labels to set for that cluster.
|
java.lang.String |
getResourceLabelsOrThrow(java.lang.String key)
The labels to set for that cluster.
|
java.lang.String |
getZone()
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.
|
ByteString |
getZoneBytes()
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getProjectId()
The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).
string project_id = 1;
ByteString getProjectIdBytes()
The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).
string project_id = 1;
java.lang.String getZone()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
string zone = 2;
ByteString getZoneBytes()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
string zone = 2;
java.lang.String getClusterId()
The name of the cluster.
string cluster_id = 3;
ByteString getClusterIdBytes()
The name of the cluster.
string cluster_id = 3;
int getResourceLabelsCount()
The labels to set for that cluster.
map<string, string> resource_labels = 4;
boolean containsResourceLabels(java.lang.String key)
The labels to set for that cluster.
map<string, string> resource_labels = 4;
@Deprecated java.util.Map<java.lang.String,java.lang.String> getResourceLabels()
getResourceLabelsMap()
instead.java.util.Map<java.lang.String,java.lang.String> getResourceLabelsMap()
The labels to set for that cluster.
map<string, string> resource_labels = 4;
java.lang.String getResourceLabelsOrDefault(java.lang.String key, java.lang.String defaultValue)
The labels to set for that cluster.
map<string, string> resource_labels = 4;
java.lang.String getResourceLabelsOrThrow(java.lang.String key)
The labels to set for that cluster.
map<string, string> resource_labels = 4;
java.lang.String getLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Container Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a <code>get()</code> request to the resource to get the latest fingerprint.
string label_fingerprint = 5;
ByteString getLabelFingerprintBytes()
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Container Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a <code>get()</code> request to the resource to get the latest fingerprint.
string label_fingerprint = 5;