Package com.google.container.v1
Interface UpdateMasterRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateMasterRequest,UpdateMasterRequest.Builder
@Generated
public interface UpdateMasterRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.google.container.v1.UpdateMasterRequest.cluster_id is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.UpdateMasterRequest.cluster_id is deprecated.Required.com.google.protobuf.ByteStringRequired.getName()The name (project, location, cluster) of the cluster to update.com.google.protobuf.ByteStringThe name (project, location, cluster) of the cluster to update.Deprecated.google.container.v1.UpdateMasterRequest.project_id is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.UpdateMasterRequest.project_id is deprecated.getZone()Deprecated.google.container.v1.UpdateMasterRequest.zone is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.UpdateMasterRequest.zone is deprecated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getProjectId
Deprecated.google.container.v1.UpdateMasterRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4682Deprecated. 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];- Returns:
- The projectId.
-
getProjectIdBytes
Deprecated.google.container.v1.UpdateMasterRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4682Deprecated. 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];- Returns:
- The bytes for projectId.
-
getZone
Deprecated.google.container.v1.UpdateMasterRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4688Deprecated. 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];- Returns:
- The zone.
-
getZoneBytes
Deprecated.google.container.v1.UpdateMasterRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4688Deprecated. 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];- Returns:
- The bytes for zone.
-
getClusterId
Deprecated.google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=4692Deprecated. 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:
- The clusterId.
-
getClusterIdBytes
Deprecated.google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=4692Deprecated. 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:
- The bytes for clusterId.
-
getMasterVersion
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:
- The masterVersion.
-
getMasterVersionBytes
com.google.protobuf.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:
- The bytes for masterVersion.
-
getName
String getName()The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 7;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 7;- Returns:
- The bytes for name.
-