Package com.google.container.v1
Class SetMasterAuthRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SetMasterAuthRequest.Builder>
com.google.container.v1.SetMasterAuthRequest.Builder
- All Implemented Interfaces:
SetMasterAuthRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SetMasterAuthRequest
public static final class SetMasterAuthRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SetMasterAuthRequest.Builder>
implements SetMasterAuthRequestOrBuilder
SetMasterAuthRequest updates the admin password of a cluster.Protobuf type
google.container.v1.SetMasterAuthRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Deprecated.google.container.v1.SetMasterAuthRequest.cluster_id is deprecated.The name (project, location, cluster) of the cluster to set auth.Deprecated.google.container.v1.SetMasterAuthRequest.project_id is deprecated.Required.Deprecated.google.container.v1.SetMasterAuthRequest.zone is deprecated.Required.intRequired.Deprecated.google.container.v1.SetMasterAuthRequest.cluster_id is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.SetMasterAuthRequest.cluster_id is deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()The name (project, location, cluster) of the cluster to set auth.com.google.protobuf.ByteStringThe name (project, location, cluster) of the cluster to set auth.Deprecated.google.container.v1.SetMasterAuthRequest.project_id is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.SetMasterAuthRequest.project_id is deprecated.Required.Required.Required.getZone()Deprecated.google.container.v1.SetMasterAuthRequest.zone is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.SetMasterAuthRequest.zone is deprecated.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SetMasterAuthRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdate(MasterAuth value) Required.Required.setActionValue(int value) Required.setClusterId(String value) Deprecated.google.container.v1.SetMasterAuthRequest.cluster_id is deprecated.setClusterIdBytes(com.google.protobuf.ByteString value) Deprecated.google.container.v1.SetMasterAuthRequest.cluster_id is deprecated.The name (project, location, cluster) of the cluster to set auth.setNameBytes(com.google.protobuf.ByteString value) The name (project, location, cluster) of the cluster to set auth.setProjectId(String value) Deprecated.google.container.v1.SetMasterAuthRequest.project_id is deprecated.setProjectIdBytes(com.google.protobuf.ByteString value) Deprecated.google.container.v1.SetMasterAuthRequest.project_id is deprecated.setUpdate(MasterAuth value) Required.setUpdate(MasterAuth.Builder builderForValue) Required.Deprecated.google.container.v1.SetMasterAuthRequest.zone is deprecated.setZoneBytes(com.google.protobuf.ByteString value) Deprecated.google.container.v1.SetMasterAuthRequest.zone is deprecated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SetMasterAuthRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SetMasterAuthRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SetMasterAuthRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SetMasterAuthRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SetMasterAuthRequest.Builder>
-
mergeFrom
public SetMasterAuthRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SetMasterAuthRequest.Builder>- Throws:
IOException
-
getProjectId
Deprecated.google.container.v1.SetMasterAuthRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4734Deprecated. 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];- Specified by:
getProjectIdin interfaceSetMasterAuthRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
Deprecated.google.container.v1.SetMasterAuthRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4734Deprecated. 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];- Specified by:
getProjectIdBytesin interfaceSetMasterAuthRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
Deprecated.google.container.v1.SetMasterAuthRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4734Deprecated. 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];- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
Deprecated.google.container.v1.SetMasterAuthRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4734Deprecated. 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:
- This builder for chaining.
-
setProjectIdBytes
@Deprecated public SetMasterAuthRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value) Deprecated.google.container.v1.SetMasterAuthRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4734Deprecated. 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];- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getZone
Deprecated.google.container.v1.SetMasterAuthRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4740Deprecated. 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];- Specified by:
getZonein interfaceSetMasterAuthRequestOrBuilder- Returns:
- The zone.
-
getZoneBytes
Deprecated.google.container.v1.SetMasterAuthRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4740Deprecated. 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];- Specified by:
getZoneBytesin interfaceSetMasterAuthRequestOrBuilder- Returns:
- The bytes for zone.
-
setZone
Deprecated.google.container.v1.SetMasterAuthRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4740Deprecated. 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];- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
Deprecated.google.container.v1.SetMasterAuthRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4740Deprecated. 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:
- This builder for chaining.
-
setZoneBytes
Deprecated.google.container.v1.SetMasterAuthRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4740Deprecated. 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];- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-
getClusterId
Deprecated.google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=4744Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
string cluster_id = 3 [deprecated = true];- Specified by:
getClusterIdin interfaceSetMasterAuthRequestOrBuilder- Returns:
- The clusterId.
-
getClusterIdBytes
Deprecated.google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=4744Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
string cluster_id = 3 [deprecated = true];- Specified by:
getClusterIdBytesin interfaceSetMasterAuthRequestOrBuilder- Returns:
- The bytes for clusterId.
-
setClusterId
Deprecated.google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=4744Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
string cluster_id = 3 [deprecated = true];- Parameters:
value- The clusterId to set.- Returns:
- This builder for chaining.
-
clearClusterId
Deprecated.google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=4744Deprecated. 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:
- This builder for chaining.
-
setClusterIdBytes
@Deprecated public SetMasterAuthRequest.Builder setClusterIdBytes(com.google.protobuf.ByteString value) Deprecated.google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=4744Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
string cluster_id = 3 [deprecated = true];- Parameters:
value- The bytes for clusterId to set.- Returns:
- This builder for chaining.
-
getActionValue
public int getActionValue()Required. The exact form of action to be taken on the master auth.
.google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getActionValuein interfaceSetMasterAuthRequestOrBuilder- Returns:
- The enum numeric value on the wire for action.
-
setActionValue
Required. The exact form of action to be taken on the master auth.
.google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for action to set.- Returns:
- This builder for chaining.
-
getAction
Required. The exact form of action to be taken on the master auth.
.google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getActionin interfaceSetMasterAuthRequestOrBuilder- Returns:
- The action.
-
setAction
Required. The exact form of action to be taken on the master auth.
.google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
clearAction
Required. The exact form of action to be taken on the master auth.
.google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
hasUpdate
public boolean hasUpdate()Required. A description of the update.
.google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasUpdatein interfaceSetMasterAuthRequestOrBuilder- Returns:
- Whether the update field is set.
-
getUpdate
Required. A description of the update.
.google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getUpdatein interfaceSetMasterAuthRequestOrBuilder- Returns:
- The update.
-
setUpdate
Required. A description of the update.
.google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; -
setUpdate
Required. A description of the update.
.google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; -
mergeUpdate
Required. A description of the update.
.google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; -
clearUpdate
Required. A description of the update.
.google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; -
getUpdateBuilder
Required. A description of the update.
.google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; -
getUpdateOrBuilder
Required. A description of the update.
.google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getUpdateOrBuilderin interfaceSetMasterAuthRequestOrBuilder
-
getName
The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 7;- Specified by:
getNamein interfaceSetMasterAuthRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 7;- Specified by:
getNameBytesin interfaceSetMasterAuthRequestOrBuilder- Returns:
- The bytes for name.
-
setName
The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 7;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 7;- Returns:
- This builder for chaining.
-
setNameBytes
The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 7;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-