public final class MasterAuth extends GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
MasterAuth.Builder
The authentication information for accessing the master endpoint.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CLIENT_CERTIFICATE_CONFIG_FIELD_NUMBER |
static int |
CLIENT_CERTIFICATE_FIELD_NUMBER |
static int |
CLIENT_KEY_FIELD_NUMBER |
static int |
CLUSTER_CA_CERTIFICATE_FIELD_NUMBER |
static int |
PASSWORD_FIELD_NUMBER |
static int |
USERNAME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
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.
|
static MasterAuth |
getDefaultInstance() |
MasterAuth |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Parser<MasterAuth> |
getParserForType() |
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.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MasterAuth.Builder |
newBuilder() |
static MasterAuth.Builder |
newBuilder(MasterAuth prototype) |
MasterAuth.Builder |
newBuilderForType() |
protected MasterAuth.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static MasterAuth |
parseDelimitedFrom(java.io.InputStream input) |
static MasterAuth |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static MasterAuth |
parseFrom(byte[] data) |
static MasterAuth |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static MasterAuth |
parseFrom(java.nio.ByteBuffer data) |
static MasterAuth |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static MasterAuth |
parseFrom(ByteString data) |
static MasterAuth |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static MasterAuth |
parseFrom(CodedInputStream input) |
static MasterAuth |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static MasterAuth |
parseFrom(java.io.InputStream input) |
static MasterAuth |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<MasterAuth> |
parser() |
MasterAuth.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int USERNAME_FIELD_NUMBER
public static final int PASSWORD_FIELD_NUMBER
public static final int CLIENT_CERTIFICATE_CONFIG_FIELD_NUMBER
public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER
public static final int CLIENT_CERTIFICATE_FIELD_NUMBER
public static final int CLIENT_KEY_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public 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 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static MasterAuth parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static MasterAuth parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static MasterAuth parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static MasterAuth parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static MasterAuth parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static MasterAuth parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static MasterAuth parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MasterAuth parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MasterAuth parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MasterAuth parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MasterAuth parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MasterAuth parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic MasterAuth.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static MasterAuth.Builder newBuilder()
public static MasterAuth.Builder newBuilder(MasterAuth prototype)
public MasterAuth.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected MasterAuth.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static MasterAuth getDefaultInstance()
public static Parser<MasterAuth> parser()
public Parser<MasterAuth> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public MasterAuth getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder