@java.lang.Override public com.google.container.v1.UpdateClusterRequest getDefaultInstanceForType() { return com.google.container.v1.UpdateClusterRequest.getDefaultInstance(); }
/** * * * <pre> * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). * This field has been deprecated and replaced by the name field. * </pre> * * <code>string project_id = 1 [deprecated = true];</code> */ @java.lang.Deprecated public Builder clearProjectId() { projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /**
/** * * * <pre> * Deprecated. The name of the cluster to upgrade. * This field has been deprecated and replaced by the name field. * </pre> * * <code>string cluster_id = 3 [deprecated = true];</code> */ @java.lang.Deprecated public Builder clearClusterId() { clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /**
/** * * * <pre> * The name (project, location, cluster) of the cluster to update. * Specified in the format 'projects/*/locations/*/clusters/*'. * </pre> * * <code>string name = 5;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * * * <pre> * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. * This field has been deprecated and replaced by the name field. * </pre> * * <code>string zone = 2 [deprecated = true];</code> */ @java.lang.Deprecated public Builder clearZone() { zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.container.v1.UpdateClusterRequest other) { if (other == com.google.container.v1.UpdateClusterRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); } if (!other.getZone().isEmpty()) { zone_ = other.zone_; onChanged(); } if (!other.getClusterId().isEmpty()) { clusterId_ = other.clusterId_; onChanged(); } if (other.hasUpdate()) { mergeUpdate(other.getUpdate()); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
.setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.container.v1.UpdateClusterRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller(
.setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.container.v1.UpdateClusterRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller(