Package com.google.container.v1
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.v1.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.v1.MasterAuth
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MasterAuth.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MasterAuth
build()
MasterAuth
buildPartial()
MasterAuth.Builder
clear()
MasterAuth.Builder
clearClientCertificate()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.MasterAuth.Builder
clearClientCertificateConfig()
Configuration for client certificate authentication on the cluster.MasterAuth.Builder
clearClientKey()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.MasterAuth.Builder
clearClusterCaCertificate()
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.MasterAuth.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MasterAuth.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MasterAuth.Builder
clearPassword()
Deprecated.google.container.v1.MasterAuth.password is deprecated.MasterAuth.Builder
clearUsername()
Deprecated.google.container.v1.MasterAuth.username is deprecated.MasterAuth.Builder
clone()
String
getClientCertificate()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.com.google.protobuf.ByteString
getClientCertificateBytes()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.ClientCertificateConfig
getClientCertificateConfig()
Configuration for client certificate authentication on the cluster.ClientCertificateConfig.Builder
getClientCertificateConfigBuilder()
Configuration for client certificate authentication on the cluster.ClientCertificateConfigOrBuilder
getClientCertificateConfigOrBuilder()
Configuration for client certificate authentication on the cluster.String
getClientKey()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.com.google.protobuf.ByteString
getClientKeyBytes()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.String
getClusterCaCertificate()
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.com.google.protobuf.ByteString
getClusterCaCertificateBytes()
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.MasterAuth
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getPassword()
Deprecated.google.container.v1.MasterAuth.password is deprecated.com.google.protobuf.ByteString
getPasswordBytes()
Deprecated.google.container.v1.MasterAuth.password is deprecated.String
getUsername()
Deprecated.google.container.v1.MasterAuth.username is deprecated.com.google.protobuf.ByteString
getUsernameBytes()
Deprecated.google.container.v1.MasterAuth.username is deprecated.boolean
hasClientCertificateConfig()
Configuration for client certificate authentication on the cluster.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MasterAuth.Builder
mergeClientCertificateConfig(ClientCertificateConfig value)
Configuration for client certificate authentication on the cluster.MasterAuth.Builder
mergeFrom(MasterAuth other)
MasterAuth.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MasterAuth.Builder
mergeFrom(com.google.protobuf.Message other)
MasterAuth.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MasterAuth.Builder
setClientCertificate(String value)
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.MasterAuth.Builder
setClientCertificateBytes(com.google.protobuf.ByteString value)
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.MasterAuth.Builder
setClientCertificateConfig(ClientCertificateConfig value)
Configuration for client certificate authentication on the cluster.MasterAuth.Builder
setClientCertificateConfig(ClientCertificateConfig.Builder builderForValue)
Configuration for client certificate authentication on the cluster.MasterAuth.Builder
setClientKey(String value)
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.MasterAuth.Builder
setClientKeyBytes(com.google.protobuf.ByteString value)
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.MasterAuth.Builder
setClusterCaCertificate(String value)
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.MasterAuth.Builder
setClusterCaCertificateBytes(com.google.protobuf.ByteString value)
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.MasterAuth.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MasterAuth.Builder
setPassword(String value)
Deprecated.google.container.v1.MasterAuth.password is deprecated.MasterAuth.Builder
setPasswordBytes(com.google.protobuf.ByteString value)
Deprecated.google.container.v1.MasterAuth.password is deprecated.MasterAuth.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MasterAuth.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MasterAuth.Builder
setUsername(String value)
Deprecated.google.container.v1.MasterAuth.username is deprecated.MasterAuth.Builder
setUsernameBytes(com.google.protobuf.ByteString value)
Deprecated.google.container.v1.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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
clear
public MasterAuth.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
getDefaultInstanceForType
public MasterAuth getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MasterAuth build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MasterAuth buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MasterAuth.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
setField
public MasterAuth.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
clearField
public MasterAuth.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
clearOneof
public MasterAuth.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
setRepeatedField
public MasterAuth.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
addRepeatedField
public MasterAuth.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
mergeFrom
public MasterAuth.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MasterAuth.Builder>
-
mergeFrom
public MasterAuth.Builder mergeFrom(MasterAuth other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MasterAuth.Builder>
- Throws:
IOException
-
getUsername
@Deprecated public String getUsername()
Deprecated.google.container.v1.MasterAuth.username is deprecated. See google/container/v1/cluster_service.proto;l=1141The 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:
getUsername
in interfaceMasterAuthOrBuilder
- Returns:
- The username.
-
getUsernameBytes
@Deprecated public com.google.protobuf.ByteString getUsernameBytes()
Deprecated.google.container.v1.MasterAuth.username is deprecated. See google/container/v1/cluster_service.proto;l=1141The 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:
getUsernameBytes
in interfaceMasterAuthOrBuilder
- Returns:
- The bytes for username.
-
setUsername
@Deprecated public MasterAuth.Builder setUsername(String value)
Deprecated.google.container.v1.MasterAuth.username is deprecated. See google/container/v1/cluster_service.proto;l=1141The 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.v1.MasterAuth.username is deprecated. See google/container/v1/cluster_service.proto;l=1141The 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.v1.MasterAuth.username is deprecated. See google/container/v1/cluster_service.proto;l=1141The 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.v1.MasterAuth.password is deprecated. See google/container/v1/cluster_service.proto;l=1152The 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:
getPassword
in interfaceMasterAuthOrBuilder
- Returns:
- The password.
-
getPasswordBytes
@Deprecated public com.google.protobuf.ByteString getPasswordBytes()
Deprecated.google.container.v1.MasterAuth.password is deprecated. See google/container/v1/cluster_service.proto;l=1152The 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:
getPasswordBytes
in interfaceMasterAuthOrBuilder
- Returns:
- The bytes for password.
-
setPassword
@Deprecated public MasterAuth.Builder setPassword(String value)
Deprecated.google.container.v1.MasterAuth.password is deprecated. See google/container/v1/cluster_service.proto;l=1152The 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.v1.MasterAuth.password is deprecated. See google/container/v1/cluster_service.proto;l=1152The 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.v1.MasterAuth.password is deprecated. See google/container/v1/cluster_service.proto;l=1152The 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.v1.ClientCertificateConfig client_certificate_config = 3;
- Specified by:
hasClientCertificateConfig
in 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.v1.ClientCertificateConfig client_certificate_config = 3;
- Specified by:
getClientCertificateConfig
in 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.ClientCertificateConfig client_certificate_config = 3;
- Specified by:
getClientCertificateConfigOrBuilder
in interfaceMasterAuthOrBuilder
-
getClusterCaCertificate
public String getClusterCaCertificate()
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
string cluster_ca_certificate = 100;
- Specified by:
getClusterCaCertificate
in interfaceMasterAuthOrBuilder
- Returns:
- The clusterCaCertificate.
-
getClusterCaCertificateBytes
public com.google.protobuf.ByteString getClusterCaCertificateBytes()
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
string cluster_ca_certificate = 100;
- Specified by:
getClusterCaCertificateBytes
in interfaceMasterAuthOrBuilder
- Returns:
- The bytes for clusterCaCertificate.
-
setClusterCaCertificate
public MasterAuth.Builder setClusterCaCertificate(String value)
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
string cluster_ca_certificate = 100;
- Parameters:
value
- The clusterCaCertificate to set.- Returns:
- This builder for chaining.
-
clearClusterCaCertificate
public MasterAuth.Builder clearClusterCaCertificate()
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
string cluster_ca_certificate = 100;
- Returns:
- This builder for chaining.
-
setClusterCaCertificateBytes
public MasterAuth.Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value)
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
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:
getClientCertificate
in 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:
getClientCertificateBytes
in 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:
getClientKey
in 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:
getClientKeyBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
mergeUnknownFields
public final MasterAuth.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MasterAuth.Builder>
-
-