Interface UpdateMasterRequestOrBuilder (2.31.0)

public interface UpdateMasterRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterId() (deprecated)

public abstract String getClusterId()

Deprecated. google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3240

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.UpdateMasterRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3240

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.

getMasterVersion()

public abstract String getMasterVersion()

Required. The Kubernetes version to change the master to.

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • "latest": picks the highest valid Kubernetes version
  • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
  • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
  • "1.X.Y-gke.N": picks an explicit Kubernetes version
  • "-": picks the default Kubernetes version

string master_version = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The masterVersion.

getMasterVersionBytes()

public abstract ByteString getMasterVersionBytes()

Required. The Kubernetes version to change the master to.

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • "latest": picks the highest valid Kubernetes version
  • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
  • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
  • "1.X.Y-gke.N": picks an explicit Kubernetes version
  • "-": picks the default Kubernetes version

string master_version = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for masterVersion.

getName()

public abstract String getName()

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

string name = 7;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 7;

Returns
TypeDescription
ByteString

The bytes for name.

getProjectId() (deprecated)

public abstract String getProjectId()

Deprecated. google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3229

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.UpdateMasterRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3229

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.UpdateMasterRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3236

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.UpdateMasterRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3236

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.