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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<MasterAuth.Builder>public MasterAuth.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<MasterAuth.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<MasterAuth.Builder>public MasterAuth getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic MasterAuth build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic MasterAuth buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic MasterAuth.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<MasterAuth.Builder>public MasterAuth.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<MasterAuth.Builder>public MasterAuth.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<MasterAuth.Builder>public MasterAuth.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<MasterAuth.Builder>public MasterAuth.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<MasterAuth.Builder>public MasterAuth.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<MasterAuth.Builder>public MasterAuth.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<MasterAuth.Builder>public MasterAuth.Builder mergeFrom(MasterAuth other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<MasterAuth.Builder>public MasterAuth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<MasterAuth.Builder>java.io.IOExceptionpublic 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 MasterAuthOrBuilderpublic 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 MasterAuthOrBuilderpublic 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 MasterAuthOrBuilderpublic 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 MasterAuthOrBuilderpublic 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 MasterAuthOrBuilderpublic 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 MasterAuthOrBuilderpublic 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 MasterAuthOrBuilderpublic 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 MasterAuthOrBuilderpublic 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 MasterAuthOrBuilderpublic 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 MasterAuthOrBuilderpublic ByteString getClientCertificateBytes()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;getClientCertificateBytes in interface MasterAuthOrBuilderpublic 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 MasterAuthOrBuilderpublic ByteString getClientKeyBytes()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
string client_key = 102;getClientKeyBytes in interface MasterAuthOrBuilderpublic 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.BuildersetUnknownFields in class GeneratedMessageV3.Builder<MasterAuth.Builder>public final MasterAuth.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<MasterAuth.Builder>