Package com.google.container.v1
Interface SetLabelsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SetLabelsRequest,SetLabelsRequest.Builder
@Generated
public interface SetLabelsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanRequired.Deprecated.google.container.v1.SetLabelsRequest.cluster_id is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.SetLabelsRequest.cluster_id is deprecated.Required.com.google.protobuf.ByteStringRequired.getName()The name (project, location, cluster name) of the cluster to set labels.com.google.protobuf.ByteStringThe name (project, location, cluster name) of the cluster to set labels.Deprecated.google.container.v1.SetLabelsRequest.project_id is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.SetLabelsRequest.project_id is deprecated.Deprecated.intRequired.Required.getResourceLabelsOrDefault(String key, String defaultValue) Required.Required.getZone()Deprecated.google.container.v1.SetLabelsRequest.zone is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.SetLabelsRequest.zone is deprecated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getProjectId
Deprecated.google.container.v1.SetLabelsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=5960Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.
string project_id = 1 [deprecated = true];- Returns:
- The projectId.
-
getProjectIdBytes
Deprecated.google.container.v1.SetLabelsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=5960Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.
string project_id = 1 [deprecated = true];- Returns:
- The bytes for projectId.
-
getZone
Deprecated.google.container.v1.SetLabelsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=5966Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
string zone = 2 [deprecated = true];- Returns:
- The zone.
-
getZoneBytes
Deprecated.google.container.v1.SetLabelsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=5966Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
string zone = 2 [deprecated = true];- Returns:
- The bytes for zone.
-
getClusterId
Deprecated.google.container.v1.SetLabelsRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=5970Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
string cluster_id = 3 [deprecated = true];- Returns:
- The clusterId.
-
getClusterIdBytes
Deprecated.google.container.v1.SetLabelsRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=5970Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
string cluster_id = 3 [deprecated = true];- Returns:
- The bytes for clusterId.
-
getResourceLabelsCount
int getResourceLabelsCount()Required. The labels to set for that cluster.
map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; -
containsResourceLabels
Required. The labels to set for that cluster.
map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; -
getResourceLabels
Deprecated.UsegetResourceLabelsMap()instead. -
getResourceLabelsMap
Required. The labels to set for that cluster.
map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; -
getResourceLabelsOrDefault
Required. The labels to set for that cluster.
map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; -
getResourceLabelsOrThrow
Required. The labels to set for that cluster.
map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; -
getLabelFingerprint
String getLabelFingerprint()Required. The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes 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 `get()` request to the resource to get the latest fingerprint.
string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The labelFingerprint.
-
getLabelFingerprintBytes
com.google.protobuf.ByteString getLabelFingerprintBytes()Required. The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes 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 `get()` request to the resource to get the latest fingerprint.
string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for labelFingerprint.
-
getName
String getName()The name (project, location, cluster name) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 7;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name (project, location, cluster name) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 7;- Returns:
- The bytes for name.
-