Package com.google.container.v1
Interface MasterAuthOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MasterAuth
,MasterAuth.Builder
public interface MasterAuthOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getUsername
@Deprecated 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];
- Returns:
- The username.
-
getUsernameBytes
@Deprecated 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];
- Returns:
- The bytes for username.
-
getPassword
@Deprecated 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];
- Returns:
- The password.
-
getPasswordBytes
@Deprecated 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];
- Returns:
- The bytes for password.
-
hasClientCertificateConfig
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;
- Returns:
- Whether the clientCertificateConfig field is set.
-
getClientCertificateConfig
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;
- Returns:
- The clientCertificateConfig.
-
getClientCertificateConfigOrBuilder
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;
-
getClusterCaCertificate
String getClusterCaCertificate()
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
string cluster_ca_certificate = 100;
- Returns:
- The clusterCaCertificate.
-
getClusterCaCertificateBytes
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;
- Returns:
- The bytes for clusterCaCertificate.
-
getClientCertificate
String getClientCertificate()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;
- Returns:
- The clientCertificate.
-
getClientCertificateBytes
com.google.protobuf.ByteString getClientCertificateBytes()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;
- Returns:
- The bytes for clientCertificate.
-
getClientKey
String getClientKey()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
string client_key = 102;
- Returns:
- The clientKey.
-
getClientKeyBytes
com.google.protobuf.ByteString getClientKeyBytes()
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
string client_key = 102;
- Returns:
- The bytes for clientKey.
-
-