Interface SetLocationsRequestOrBuilder (2.43.0)

public interface SetLocationsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterId() (deprecated)

public abstract String getClusterId()

Deprecated. google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3325

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
TypeDescription
String

The clusterId.

getClusterIdBytes() (deprecated)

public abstract ByteString getClusterIdBytes()

Deprecated. google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3325

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
TypeDescription
ByteString

The bytes for clusterId.

getLocations(int index)

public abstract String getLocations(int index)

Required. The desired list of Google Compute Engine zones 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];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The locations at the given index.

getLocationsBytes(int index)

public abstract ByteString getLocationsBytes(int index)

Required. The desired list of Google Compute Engine zones 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];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the locations at the given index.

getLocationsCount()

public abstract int getLocationsCount()

Required. The desired list of Google Compute Engine zones 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
TypeDescription
int

The count of locations.

getLocationsList()

public abstract List<String> getLocationsList()

Required. The desired list of Google Compute Engine zones 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
TypeDescription
List<String>

A list containing the locations.

getName()

public abstract String getName()

The name (project, location, cluster) of the cluster to set locations. Specified in the format projects/*/locations/*/clusters/*.

string name = 6;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name (project, location, cluster) of the cluster to set locations. Specified in the format projects/*/locations/*/clusters/*.

string name = 6;

Returns
TypeDescription
ByteString

The bytes for name.

getProjectId() (deprecated)

public abstract String getProjectId()

Deprecated. google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3314

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The projectId.

getProjectIdBytes() (deprecated)

public abstract ByteString getProjectIdBytes()

Deprecated. google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3314

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for projectId.

getZone() (deprecated)

public abstract String getZone()

Deprecated. google.container.v1beta1.SetLocationsRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3321

Required. Deprecated. The name of the Google Compute Engine zone 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
TypeDescription
String

The zone.

getZoneBytes() (deprecated)

public abstract ByteString getZoneBytes()

Deprecated. google.container.v1beta1.SetLocationsRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3321

Required. Deprecated. The name of the Google Compute Engine zone 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
TypeDescription
ByteString

The bytes for zone.