Interface MasterAuthOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MasterAuth, MasterAuth.Builder

@Generated public interface MasterAuthOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getUsername

      @Deprecated String getUsername()
      Deprecated.
      google.container.v1.MasterAuth.username is deprecated. See google/container/v1/cluster_service.proto;l=2187
       The 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=2187
       The 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=2198
       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.
      
       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=2198
       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.
      
       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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for clusterCaCertificate.
    • getClientCertificate

      String getClientCertificate()
       Output only. Base64-encoded public certificate used by clients to
       authenticate to the cluster endpoint. Issued only if
       client_certificate_config is set.
       
      string client_certificate = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The clientCertificate.
    • getClientCertificateBytes

      com.google.protobuf.ByteString getClientCertificateBytes()
       Output only. Base64-encoded public certificate used by clients to
       authenticate to the cluster endpoint. Issued only if
       client_certificate_config is set.
       
      string client_certificate = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];
      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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for clientKey.