Interface SetLocationsRequestOrBuilder (2.51.0)

public interface SetLocationsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterId() (deprecated)

public abstract String getClusterId()

Deprecated. google.container.v1.SetLocationsRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3067

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];

Returns
Type Description
String

The clusterId.

getClusterIdBytes() (deprecated)

public abstract ByteString getClusterIdBytes()

Deprecated. google.container.v1.SetLocationsRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3067

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];

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getProjectId() (deprecated)

public abstract String getProjectId()

Deprecated. google.container.v1.SetLocationsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3057

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];

Returns
Type Description
String

The projectId.

getProjectIdBytes() (deprecated)

public abstract ByteString getProjectIdBytes()

Deprecated. google.container.v1.SetLocationsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3057

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];

Returns
Type Description
ByteString

The bytes for projectId.

getZone() (deprecated)

public abstract String getZone()

Deprecated. google.container.v1.SetLocationsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3063

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];

Returns
Type Description
String

The zone.

getZoneBytes() (deprecated)

public abstract ByteString getZoneBytes()

Deprecated. google.container.v1.SetLocationsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3063

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];

Returns
Type Description
ByteString

The bytes for zone.