public static final class MasterAuth.Builder extends 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 type
google.container.v1.MasterAuth
Modifier and Type | Method and Description |
---|---|
MasterAuth.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.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(Descriptors.FieldDescriptor field) |
MasterAuth.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
MasterAuth.Builder |
clearPassword()
The password to use for HTTP basic authentication to the master endpoint.
|
MasterAuth.Builder |
clearUsername()
The username to use for HTTP basic authentication to the master endpoint.
|
MasterAuth.Builder |
clone() |
java.lang.String |
getClientCertificate()
[Output only] Base64-encoded public certificate used by clients to
authenticate to the cluster endpoint.
|
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.
|
java.lang.String |
getClientKey()
[Output only] Base64-encoded private key used by clients to authenticate
to the cluster endpoint.
|
ByteString |
getClientKeyBytes()
[Output only] Base64-encoded private key used by clients to authenticate
to the cluster endpoint.
|
java.lang.String |
getClusterCaCertificate()
[Output only] Base64-encoded public certificate that is the root of
trust for the cluster.
|
ByteString |
getClusterCaCertificateBytes()
[Output only] Base64-encoded public certificate that is the root of
trust for the cluster.
|
MasterAuth |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getPassword()
The password to use for HTTP basic authentication to the master endpoint.
|
ByteString |
getPasswordBytes()
The password to use for HTTP basic authentication to the master endpoint.
|
java.lang.String |
getUsername()
The username to use for HTTP basic authentication to the master endpoint.
|
ByteString |
getUsernameBytes()
The username to use for HTTP basic authentication to the master endpoint.
|
boolean |
hasClientCertificateConfig()
Configuration for client certificate authentication on the cluster.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MasterAuth.Builder |
mergeClientCertificateConfig(ClientCertificateConfig value)
Configuration for client certificate authentication on the cluster.
|
MasterAuth.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
MasterAuth.Builder |
mergeFrom(MasterAuth other) |
MasterAuth.Builder |
mergeFrom(Message other) |
MasterAuth.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
MasterAuth.Builder |
setClientCertificate(java.lang.String value)
[Output only] Base64-encoded public certificate used by clients to
authenticate to the cluster endpoint.
|
MasterAuth.Builder |
setClientCertificateBytes(ByteString value)
[Output only] Base64-encoded public certificate used by clients to
authenticate to the cluster endpoint.
|
MasterAuth.Builder |
setClientCertificateConfig(ClientCertificateConfig.Builder builderForValue)
Configuration for client certificate authentication on the cluster.
|
MasterAuth.Builder |
setClientCertificateConfig(ClientCertificateConfig value)
Configuration for client certificate authentication on the cluster.
|
MasterAuth.Builder |
setClientKey(java.lang.String value)
[Output only] Base64-encoded private key used by clients to authenticate
to the cluster endpoint.
|
MasterAuth.Builder |
setClientKeyBytes(ByteString value)
[Output only] Base64-encoded private key used by clients to authenticate
to the cluster endpoint.
|
MasterAuth.Builder |
setClusterCaCertificate(java.lang.String value)
[Output only] Base64-encoded public certificate that is the root of
trust for the cluster.
|
MasterAuth.Builder |
setClusterCaCertificateBytes(ByteString value)
[Output only] Base64-encoded public certificate that is the root of
trust for the cluster.
|
MasterAuth.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
MasterAuth.Builder |
setPassword(java.lang.String value)
The password to use for HTTP basic authentication to the master endpoint.
|
MasterAuth.Builder |
setPasswordBytes(ByteString value)
The password to use for HTTP basic authentication to the master endpoint.
|
MasterAuth.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
MasterAuth.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
MasterAuth.Builder |
setUsername(java.lang.String value)
The username to use for HTTP basic authentication to the master endpoint.
|
MasterAuth.Builder |
setUsernameBytes(ByteString value)
The username to use for HTTP basic authentication to the master endpoint.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<MasterAuth.Builder>
public MasterAuth.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<MasterAuth.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<MasterAuth.Builder>
public MasterAuth getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public MasterAuth build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public MasterAuth buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public MasterAuth.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<MasterAuth.Builder>
public MasterAuth.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<MasterAuth.Builder>
public MasterAuth.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<MasterAuth.Builder>
public MasterAuth.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<MasterAuth.Builder>
public MasterAuth.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<MasterAuth.Builder>
public MasterAuth.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<MasterAuth.Builder>
public MasterAuth.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<MasterAuth.Builder>
public MasterAuth.Builder mergeFrom(MasterAuth other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<MasterAuth.Builder>
public MasterAuth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<MasterAuth.Builder>
java.io.IOException
public java.lang.String getUsername()
The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, you can disable basic authentication by providing an empty username.
string username = 1;
getUsername
in interface MasterAuthOrBuilder
public ByteString getUsernameBytes()
The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, you can disable basic authentication by providing an empty username.
string username = 1;
getUsernameBytes
in interface MasterAuthOrBuilder
public MasterAuth.Builder setUsername(java.lang.String value)
The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, you can disable basic authentication by providing an empty username.
string username = 1;
public MasterAuth.Builder clearUsername()
The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, you can disable basic authentication by providing an empty username.
string username = 1;
public MasterAuth.Builder setUsernameBytes(ByteString value)
The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, you can disable basic authentication by providing an empty username.
string username = 1;
public java.lang.String getPassword()
The 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.
string password = 2;
getPassword
in interface MasterAuthOrBuilder
public ByteString getPasswordBytes()
The 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.
string password = 2;
getPasswordBytes
in interface MasterAuthOrBuilder
public MasterAuth.Builder setPassword(java.lang.String value)
The 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.
string password = 2;
public MasterAuth.Builder clearPassword()
The 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.
string password = 2;
public MasterAuth.Builder setPasswordBytes(ByteString value)
The 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.
string password = 2;
public boolean hasClientCertificateConfig()
Configuration for client certificate authentication on the cluster. If no configuration is specified, a client certificate is issued.
.google.container.v1.ClientCertificateConfig client_certificate_config = 3;
hasClientCertificateConfig
in interface MasterAuthOrBuilder
public ClientCertificateConfig getClientCertificateConfig()
Configuration for client certificate authentication on the cluster. If no configuration is specified, a client certificate is issued.
.google.container.v1.ClientCertificateConfig client_certificate_config = 3;
getClientCertificateConfig
in interface MasterAuthOrBuilder
public MasterAuth.Builder setClientCertificateConfig(ClientCertificateConfig value)
Configuration for client certificate authentication on the cluster. If no configuration is specified, a client certificate is issued.
.google.container.v1.ClientCertificateConfig client_certificate_config = 3;
public MasterAuth.Builder setClientCertificateConfig(ClientCertificateConfig.Builder builderForValue)
Configuration for client certificate authentication on the cluster. If no configuration is specified, a client certificate is issued.
.google.container.v1.ClientCertificateConfig client_certificate_config = 3;
public MasterAuth.Builder mergeClientCertificateConfig(ClientCertificateConfig value)
Configuration for client certificate authentication on the cluster. If no configuration is specified, a client certificate is issued.
.google.container.v1.ClientCertificateConfig client_certificate_config = 3;
public MasterAuth.Builder clearClientCertificateConfig()
Configuration for client certificate authentication on the cluster. If no configuration is specified, a client certificate is issued.
.google.container.v1.ClientCertificateConfig client_certificate_config = 3;
public ClientCertificateConfig.Builder getClientCertificateConfigBuilder()
Configuration for client certificate authentication on the cluster. If no configuration is specified, a client certificate is issued.
.google.container.v1.ClientCertificateConfig client_certificate_config = 3;
public ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder()
Configuration for client certificate authentication on the cluster. If no configuration is specified, a client certificate is issued.
.google.container.v1.ClientCertificateConfig client_certificate_config = 3;
getClientCertificateConfigOrBuilder
in interface MasterAuthOrBuilder
public java.lang.String getClusterCaCertificate()
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
string cluster_ca_certificate = 100;
getClusterCaCertificate
in interface MasterAuthOrBuilder
public ByteString getClusterCaCertificateBytes()
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
string cluster_ca_certificate = 100;
getClusterCaCertificateBytes
in interface MasterAuthOrBuilder
public MasterAuth.Builder setClusterCaCertificate(java.lang.String value)
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
string cluster_ca_certificate = 100;
public MasterAuth.Builder clearClusterCaCertificate()
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
string cluster_ca_certificate = 100;
public MasterAuth.Builder setClusterCaCertificateBytes(ByteString value)
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
string cluster_ca_certificate = 100;
public java.lang.String getClientCertificate()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;
getClientCertificate
in interface MasterAuthOrBuilder
public ByteString getClientCertificateBytes()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;
getClientCertificateBytes
in interface MasterAuthOrBuilder
public MasterAuth.Builder setClientCertificate(java.lang.String value)
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;
public MasterAuth.Builder clearClientCertificate()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;
public MasterAuth.Builder setClientCertificateBytes(ByteString value)
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;
public java.lang.String getClientKey()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
string client_key = 102;
getClientKey
in interface MasterAuthOrBuilder
public ByteString getClientKeyBytes()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
string client_key = 102;
getClientKeyBytes
in interface MasterAuthOrBuilder
public MasterAuth.Builder setClientKey(java.lang.String value)
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
string client_key = 102;
public MasterAuth.Builder clearClientKey()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
string client_key = 102;
public MasterAuth.Builder setClientKeyBytes(ByteString value)
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
string client_key = 102;
public final MasterAuth.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<MasterAuth.Builder>
public final MasterAuth.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<MasterAuth.Builder>