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 Details

    • getProjectId

      @Deprecated String getProjectId()
      Deprecated.
      google.container.v1.SetLabelsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=5960
       Deprecated. 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 com.google.protobuf.ByteString getProjectIdBytes()
      Deprecated.
      google.container.v1.SetLabelsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=5960
       Deprecated. 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 String getZone()
      Deprecated.
      google.container.v1.SetLabelsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=5966
       Deprecated. 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 com.google.protobuf.ByteString getZoneBytes()
      Deprecated.
      google.container.v1.SetLabelsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=5966
       Deprecated. 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 String getClusterId()
      Deprecated.
      google.container.v1.SetLabelsRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=5970
       Deprecated. 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 com.google.protobuf.ByteString getClusterIdBytes()
      Deprecated.
      google.container.v1.SetLabelsRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=5970
       Deprecated. 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

      boolean containsResourceLabels(String key)
       Required. The labels to set for that cluster.
       
      map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED];
    • getResourceLabels

      @Deprecated Map<String,String> getResourceLabels()
      Deprecated.
    • getResourceLabelsMap

      Map<String,String> getResourceLabelsMap()
       Required. The labels to set for that cluster.
       
      map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED];
    • getResourceLabelsOrDefault

      String getResourceLabelsOrDefault(String key, String defaultValue)
       Required. The labels to set for that cluster.
       
      map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED];
    • getResourceLabelsOrThrow

      String getResourceLabelsOrThrow(String key)
       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.