Interface UpdateMasterRequestOrBuilder (2.4.0)

public interface UpdateMasterRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterId()

public abstract String getClusterId()

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()

public abstract ByteString getClusterIdBytes()

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()

public abstract String getProjectId()

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()

public abstract ByteString getProjectIdBytes()

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()

public abstract String getZone()

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()

public abstract ByteString getZoneBytes()

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.