Interface SetLocationsRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SetLocationsRequest, SetLocationsRequest.Builder

    public interface SetLocationsRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      String getClusterId()
      Deprecated.
      google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated.
      com.google.protobuf.ByteString getClusterIdBytes()
      Deprecated.
      google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated.
      String getLocations​(int index)
      Required.
      com.google.protobuf.ByteString getLocationsBytes​(int index)
      Required.
      int getLocationsCount()
      Required.
      List<String> getLocationsList()
      Required.
      String getName()
      The name (project, location, cluster) of the cluster to set locations.
      com.google.protobuf.ByteString getNameBytes()
      The name (project, location, cluster) of the cluster to set locations.
      String getProjectId()
      Deprecated.
      google.container.v1beta1.SetLocationsRequest.project_id is deprecated.
      com.google.protobuf.ByteString getProjectIdBytes()
      Deprecated.
      google.container.v1beta1.SetLocationsRequest.project_id is deprecated.
      String getZone()
      Deprecated.
      google.container.v1beta1.SetLocationsRequest.zone is deprecated.
      com.google.protobuf.ByteString getZoneBytes()
      Deprecated.
      google.container.v1beta1.SetLocationsRequest.zone is deprecated.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getProjectId

        @Deprecated
        String getProjectId()
        Deprecated.
        google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3184
         Required. 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, (.google.api.field_behavior) = REQUIRED];
        Returns:
        The projectId.
      • getProjectIdBytes

        @Deprecated
        com.google.protobuf.ByteString getProjectIdBytes()
        Deprecated.
        google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3184
         Required. 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, (.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for projectId.
      • getZone

        @Deprecated
        String getZone()
        Deprecated.
        google.container.v1beta1.SetLocationsRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3191
         Required. 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, (.google.api.field_behavior) = REQUIRED];
        Returns:
        The zone.
      • getZoneBytes

        @Deprecated
        com.google.protobuf.ByteString getZoneBytes()
        Deprecated.
        google.container.v1beta1.SetLocationsRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3191
         Required. 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, (.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for zone.
      • getClusterId

        @Deprecated
        String getClusterId()
        Deprecated.
        google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3195
         Required. Deprecated. The name of the cluster to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Returns:
        The clusterId.
      • getClusterIdBytes

        @Deprecated
        com.google.protobuf.ByteString getClusterIdBytes()
        Deprecated.
        google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3195
         Required. Deprecated. The name of the cluster to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for clusterId.
      • getLocationsList

        List<String> getLocationsList()
         Required. The desired list of Google Compute Engine
         [zones](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster's nodes should be located. Changing the locations a cluster is in
         will result in nodes being either created or removed from the cluster,
         depending on whether locations are being added or removed.
        
         This list must always include the cluster's primary zone.
         
        repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        A list containing the locations.
      • getLocationsCount

        int getLocationsCount()
         Required. The desired list of Google Compute Engine
         [zones](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster's nodes should be located. Changing the locations a cluster is in
         will result in nodes being either created or removed from the cluster,
         depending on whether locations are being added or removed.
        
         This list must always include the cluster's primary zone.
         
        repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The count of locations.
      • getLocations

        String getLocations​(int index)
         Required. The desired list of Google Compute Engine
         [zones](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster's nodes should be located. Changing the locations a cluster is in
         will result in nodes being either created or removed from the cluster,
         depending on whether locations are being added or removed.
        
         This list must always include the cluster's primary zone.
         
        repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the element to return.
        Returns:
        The locations at the given index.
      • getLocationsBytes

        com.google.protobuf.ByteString getLocationsBytes​(int index)
         Required. The desired list of Google Compute Engine
         [zones](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster's nodes should be located. Changing the locations a cluster is in
         will result in nodes being either created or removed from the cluster,
         depending on whether locations are being added or removed.
        
         This list must always include the cluster's primary zone.
         
        repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the locations at the given index.
      • getName

        String getName()
         The name (project, location, cluster) of the cluster to set locations.
         Specified in the format `projects/*/locations/*/clusters/*`.
         
        string name = 6;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name (project, location, cluster) of the cluster to set locations.
         Specified in the format `projects/*/locations/*/clusters/*`.
         
        string name = 6;
        Returns:
        The bytes for name.