Package com.google.container.v1beta1
Class MasterAuth.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
- com.google.container.v1beta1.MasterAuth.Builder
-
- All Implemented Interfaces:
MasterAuthOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MasterAuth
public static final class MasterAuth.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder> implements MasterAuthOrBuilder
The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.
Protobuf typegoogle.container.v1beta1.MasterAuth
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MasterAuth.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MasterAuthbuild()MasterAuthbuildPartial()MasterAuth.Builderclear()MasterAuth.BuilderclearClientCertificate()[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.MasterAuth.BuilderclearClientCertificateConfig()Configuration for client certificate authentication on the cluster.MasterAuth.BuilderclearClientKey()[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.MasterAuth.BuilderclearClusterCaCertificate()string cluster_ca_certificate = 100;MasterAuth.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MasterAuth.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MasterAuth.BuilderclearPassword()Deprecated.google.container.v1beta1.MasterAuth.password is deprecated.MasterAuth.BuilderclearUsername()Deprecated.google.container.v1beta1.MasterAuth.username is deprecated.MasterAuth.Builderclone()StringgetClientCertificate()[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.com.google.protobuf.ByteStringgetClientCertificateBytes()[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.ClientCertificateConfiggetClientCertificateConfig()Configuration for client certificate authentication on the cluster.ClientCertificateConfig.BuildergetClientCertificateConfigBuilder()Configuration for client certificate authentication on the cluster.ClientCertificateConfigOrBuildergetClientCertificateConfigOrBuilder()Configuration for client certificate authentication on the cluster.StringgetClientKey()[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.com.google.protobuf.ByteStringgetClientKeyBytes()[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.StringgetClusterCaCertificate()string cluster_ca_certificate = 100;com.google.protobuf.ByteStringgetClusterCaCertificateBytes()string cluster_ca_certificate = 100;MasterAuthgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetPassword()Deprecated.google.container.v1beta1.MasterAuth.password is deprecated.com.google.protobuf.ByteStringgetPasswordBytes()Deprecated.google.container.v1beta1.MasterAuth.password is deprecated.StringgetUsername()Deprecated.google.container.v1beta1.MasterAuth.username is deprecated.com.google.protobuf.ByteStringgetUsernameBytes()Deprecated.google.container.v1beta1.MasterAuth.username is deprecated.booleanhasClientCertificateConfig()Configuration for client certificate authentication on the cluster.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MasterAuth.BuildermergeClientCertificateConfig(ClientCertificateConfig value)Configuration for client certificate authentication on the cluster.MasterAuth.BuildermergeFrom(MasterAuth other)MasterAuth.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MasterAuth.BuildermergeFrom(com.google.protobuf.Message other)MasterAuth.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MasterAuth.BuildersetClientCertificate(String value)[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.MasterAuth.BuildersetClientCertificateBytes(com.google.protobuf.ByteString value)[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.MasterAuth.BuildersetClientCertificateConfig(ClientCertificateConfig value)Configuration for client certificate authentication on the cluster.MasterAuth.BuildersetClientCertificateConfig(ClientCertificateConfig.Builder builderForValue)Configuration for client certificate authentication on the cluster.MasterAuth.BuildersetClientKey(String value)[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.MasterAuth.BuildersetClientKeyBytes(com.google.protobuf.ByteString value)[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.MasterAuth.BuildersetClusterCaCertificate(String value)string cluster_ca_certificate = 100;MasterAuth.BuildersetClusterCaCertificateBytes(com.google.protobuf.ByteString value)string cluster_ca_certificate = 100;MasterAuth.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MasterAuth.BuildersetPassword(String value)Deprecated.google.container.v1beta1.MasterAuth.password is deprecated.MasterAuth.BuildersetPasswordBytes(com.google.protobuf.ByteString value)Deprecated.google.container.v1beta1.MasterAuth.password is deprecated.MasterAuth.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MasterAuth.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MasterAuth.BuildersetUsername(String value)Deprecated.google.container.v1beta1.MasterAuth.username is deprecated.MasterAuth.BuildersetUsernameBytes(com.google.protobuf.ByteString value)Deprecated.google.container.v1beta1.MasterAuth.username is deprecated.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
clear
public MasterAuth.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.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.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
getDefaultInstanceForType
public MasterAuth getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public MasterAuth build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MasterAuth buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MasterAuth.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
setField
public MasterAuth.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
clearField
public MasterAuth.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
clearOneof
public MasterAuth.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
setRepeatedField
public MasterAuth.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
addRepeatedField
public MasterAuth.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
mergeFrom
public MasterAuth.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MasterAuth.Builder>
-
mergeFrom
public MasterAuth.Builder mergeFrom(MasterAuth other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
mergeFrom
public MasterAuth.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<MasterAuth.Builder>- Throws:
IOException
-
getUsername
@Deprecated public String getUsername()
Deprecated.google.container.v1beta1.MasterAuth.username is deprecated. See google/container/v1beta1/cluster_service.proto;l=1211The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
string username = 1 [deprecated = true];- Specified by:
getUsernamein interfaceMasterAuthOrBuilder- Returns:
- The username.
-
getUsernameBytes
@Deprecated public com.google.protobuf.ByteString getUsernameBytes()
Deprecated.google.container.v1beta1.MasterAuth.username is deprecated. See google/container/v1beta1/cluster_service.proto;l=1211The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
string username = 1 [deprecated = true];- Specified by:
getUsernameBytesin interfaceMasterAuthOrBuilder- Returns:
- The bytes for username.
-
setUsername
@Deprecated public MasterAuth.Builder setUsername(String value)
Deprecated.google.container.v1beta1.MasterAuth.username is deprecated. See google/container/v1beta1/cluster_service.proto;l=1211The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
string username = 1 [deprecated = true];- Parameters:
value- The username to set.- Returns:
- This builder for chaining.
-
clearUsername
@Deprecated public MasterAuth.Builder clearUsername()
Deprecated.google.container.v1beta1.MasterAuth.username is deprecated. See google/container/v1beta1/cluster_service.proto;l=1211The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
string username = 1 [deprecated = true];- Returns:
- This builder for chaining.
-
setUsernameBytes
@Deprecated public MasterAuth.Builder setUsernameBytes(com.google.protobuf.ByteString value)
Deprecated.google.container.v1beta1.MasterAuth.username is deprecated. See google/container/v1beta1/cluster_service.proto;l=1211The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
string username = 1 [deprecated = true];- Parameters:
value- The bytes for username to set.- Returns:
- This builder for chaining.
-
getPassword
@Deprecated public String getPassword()
Deprecated.google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=1222The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
string password = 2 [deprecated = true];- Specified by:
getPasswordin interfaceMasterAuthOrBuilder- Returns:
- The password.
-
getPasswordBytes
@Deprecated public com.google.protobuf.ByteString getPasswordBytes()
Deprecated.google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=1222The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
string password = 2 [deprecated = true];- Specified by:
getPasswordBytesin interfaceMasterAuthOrBuilder- Returns:
- The bytes for password.
-
setPassword
@Deprecated public MasterAuth.Builder setPassword(String value)
Deprecated.google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=1222The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
string password = 2 [deprecated = true];- Parameters:
value- The password to set.- Returns:
- This builder for chaining.
-
clearPassword
@Deprecated public MasterAuth.Builder clearPassword()
Deprecated.google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=1222The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
string password = 2 [deprecated = true];- Returns:
- This builder for chaining.
-
setPasswordBytes
@Deprecated public MasterAuth.Builder setPasswordBytes(com.google.protobuf.ByteString value)
Deprecated.google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=1222The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
string password = 2 [deprecated = true];- Parameters:
value- The bytes for password to set.- Returns:
- This builder for chaining.
-
hasClientCertificateConfig
public boolean hasClientCertificateConfig()
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
.google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;- Specified by:
hasClientCertificateConfigin interfaceMasterAuthOrBuilder- Returns:
- Whether the clientCertificateConfig field is set.
-
getClientCertificateConfig
public ClientCertificateConfig getClientCertificateConfig()
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
.google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;- Specified by:
getClientCertificateConfigin interfaceMasterAuthOrBuilder- Returns:
- The clientCertificateConfig.
-
setClientCertificateConfig
public MasterAuth.Builder setClientCertificateConfig(ClientCertificateConfig value)
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
.google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
-
setClientCertificateConfig
public MasterAuth.Builder setClientCertificateConfig(ClientCertificateConfig.Builder builderForValue)
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
.google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
-
mergeClientCertificateConfig
public MasterAuth.Builder mergeClientCertificateConfig(ClientCertificateConfig value)
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
.google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
-
clearClientCertificateConfig
public MasterAuth.Builder clearClientCertificateConfig()
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
.google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
-
getClientCertificateConfigBuilder
public ClientCertificateConfig.Builder getClientCertificateConfigBuilder()
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
.google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
-
getClientCertificateConfigOrBuilder
public ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder()
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
.google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;- Specified by:
getClientCertificateConfigOrBuilderin interfaceMasterAuthOrBuilder
-
getClusterCaCertificate
public String getClusterCaCertificate()
string cluster_ca_certificate = 100;- Specified by:
getClusterCaCertificatein interfaceMasterAuthOrBuilder- Returns:
- The clusterCaCertificate.
-
getClusterCaCertificateBytes
public com.google.protobuf.ByteString getClusterCaCertificateBytes()
string cluster_ca_certificate = 100;- Specified by:
getClusterCaCertificateBytesin interfaceMasterAuthOrBuilder- Returns:
- The bytes for clusterCaCertificate.
-
setClusterCaCertificate
public MasterAuth.Builder setClusterCaCertificate(String value)
string cluster_ca_certificate = 100;- Parameters:
value- The clusterCaCertificate to set.- Returns:
- This builder for chaining.
-
clearClusterCaCertificate
public MasterAuth.Builder clearClusterCaCertificate()
string cluster_ca_certificate = 100;- Returns:
- This builder for chaining.
-
setClusterCaCertificateBytes
public MasterAuth.Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value)
string cluster_ca_certificate = 100;- Parameters:
value- The bytes for clusterCaCertificate to set.- Returns:
- This builder for chaining.
-
getClientCertificate
public String getClientCertificate()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;- Specified by:
getClientCertificatein interfaceMasterAuthOrBuilder- Returns:
- The clientCertificate.
-
getClientCertificateBytes
public com.google.protobuf.ByteString getClientCertificateBytes()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;- Specified by:
getClientCertificateBytesin interfaceMasterAuthOrBuilder- Returns:
- The bytes for clientCertificate.
-
setClientCertificate
public MasterAuth.Builder setClientCertificate(String value)
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;- Parameters:
value- The clientCertificate to set.- Returns:
- This builder for chaining.
-
clearClientCertificate
public MasterAuth.Builder clearClientCertificate()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;- Returns:
- This builder for chaining.
-
setClientCertificateBytes
public MasterAuth.Builder setClientCertificateBytes(com.google.protobuf.ByteString value)
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;- Parameters:
value- The bytes for clientCertificate to set.- Returns:
- This builder for chaining.
-
getClientKey
public String getClientKey()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
string client_key = 102;- Specified by:
getClientKeyin interfaceMasterAuthOrBuilder- Returns:
- The clientKey.
-
getClientKeyBytes
public com.google.protobuf.ByteString getClientKeyBytes()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
string client_key = 102;- Specified by:
getClientKeyBytesin interfaceMasterAuthOrBuilder- Returns:
- The bytes for clientKey.
-
setClientKey
public MasterAuth.Builder setClientKey(String value)
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
string client_key = 102;- Parameters:
value- The clientKey to set.- Returns:
- This builder for chaining.
-
clearClientKey
public MasterAuth.Builder clearClientKey()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
string client_key = 102;- Returns:
- This builder for chaining.
-
setClientKeyBytes
public MasterAuth.Builder setClientKeyBytes(com.google.protobuf.ByteString value)
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
string client_key = 102;- Parameters:
value- The bytes for clientKey to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final MasterAuth.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
mergeUnknownFields
public final MasterAuth.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
-