- 2.86.0 (latest)
- 2.85.0
- 2.84.0
- 2.83.0
- 2.81.0
- 2.79.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.73.0
- 2.71.0
- 2.70.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class MasterAuth.Builder extends GeneratedMessage.Builder<MasterAuth.Builder> implements MasterAuthOrBuilderThe authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.
Protobuf type google.container.v1beta1.MasterAuth
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MasterAuth.BuilderImplements
MasterAuthOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MasterAuth build()| Returns | |
|---|---|
| Type | Description |
MasterAuth |
|
buildPartial()
public MasterAuth buildPartial()| Returns | |
|---|---|
| Type | Description |
MasterAuth |
|
clear()
public MasterAuth.Builder clear()| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
|
clearClientCertificate()
public MasterAuth.Builder clearClientCertificate()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 | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
clearClientCertificateConfig()
public MasterAuth.Builder clearClientCertificateConfig()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.v1beta1.ClientCertificateConfig client_certificate_config = 3;
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
|
clearClientKey()
public MasterAuth.Builder clearClientKey()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 | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
clearClusterCaCertificate()
public MasterAuth.Builder clearClusterCaCertificate()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 | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
clearPassword() (deprecated)
public MasterAuth.Builder clearPassword()Deprecated. google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=2216
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 | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
clearUsername() (deprecated)
public MasterAuth.Builder clearUsername()Deprecated. google.container.v1beta1.MasterAuth.username is deprecated. See google/container/v1beta1/cluster_service.proto;l=2205
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 | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
getClientCertificate()
public 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 | |
|---|---|
| Type | Description |
String |
The clientCertificate. |
getClientCertificateBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientCertificate. |
getClientCertificateConfig()
public 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.v1beta1.ClientCertificateConfig client_certificate_config = 3;
| Returns | |
|---|---|
| Type | Description |
ClientCertificateConfig |
The clientCertificateConfig. |
getClientCertificateConfigBuilder()
public ClientCertificateConfig.Builder getClientCertificateConfigBuilder()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.v1beta1.ClientCertificateConfig client_certificate_config = 3;
| Returns | |
|---|---|
| Type | Description |
ClientCertificateConfig.Builder |
|
getClientCertificateConfigOrBuilder()
public 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.v1beta1.ClientCertificateConfig client_certificate_config = 3;
| Returns | |
|---|---|
| Type | Description |
ClientCertificateConfigOrBuilder |
|
getClientKey()
public 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 | |
|---|---|
| Type | Description |
String |
The clientKey. |
getClientKeyBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientKey. |
getClusterCaCertificate()
public 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 | |
|---|---|
| Type | Description |
String |
The clusterCaCertificate. |
getClusterCaCertificateBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for clusterCaCertificate. |
getDefaultInstanceForType()
public MasterAuth getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MasterAuth |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPassword() (deprecated)
public String getPassword()Deprecated. google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=2216
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 | |
|---|---|
| Type | Description |
String |
The password. |
getPasswordBytes() (deprecated)
public ByteString getPasswordBytes()Deprecated. google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=2216
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for password. |
getUsername() (deprecated)
public String getUsername()Deprecated. google.container.v1beta1.MasterAuth.username is deprecated. See google/container/v1beta1/cluster_service.proto;l=2205
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 | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes() (deprecated)
public ByteString getUsernameBytes()Deprecated. google.container.v1beta1.MasterAuth.username is deprecated. See google/container/v1beta1/cluster_service.proto;l=2205
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for username. |
hasClientCertificateConfig()
public 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.v1beta1.ClientCertificateConfig client_certificate_config = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the clientCertificateConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeClientCertificateConfig(ClientCertificateConfig value)
public MasterAuth.Builder mergeClientCertificateConfig(ClientCertificateConfig value)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.v1beta1.ClientCertificateConfig client_certificate_config = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ClientCertificateConfig |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
|
mergeFrom(MasterAuth other)
public MasterAuth.Builder mergeFrom(MasterAuth other)| Parameter | |
|---|---|
| Name | Description |
other |
MasterAuth |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MasterAuth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MasterAuth.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
|
setClientCertificate(String value)
public MasterAuth.Builder setClientCertificate(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientCertificate to set. |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
setClientCertificateBytes(ByteString value)
public MasterAuth.Builder setClientCertificateBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientCertificate to set. |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
setClientCertificateConfig(ClientCertificateConfig value)
public MasterAuth.Builder setClientCertificateConfig(ClientCertificateConfig value)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.v1beta1.ClientCertificateConfig client_certificate_config = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ClientCertificateConfig |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
|
setClientCertificateConfig(ClientCertificateConfig.Builder builderForValue)
public MasterAuth.Builder setClientCertificateConfig(ClientCertificateConfig.Builder builderForValue)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.v1beta1.ClientCertificateConfig client_certificate_config = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ClientCertificateConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
|
setClientKey(String value)
public MasterAuth.Builder setClientKey(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientKey to set. |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
setClientKeyBytes(ByteString value)
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientKey to set. |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
setClusterCaCertificate(String value)
public MasterAuth.Builder setClusterCaCertificate(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clusterCaCertificate to set. |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
setClusterCaCertificateBytes(ByteString value)
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clusterCaCertificate to set. |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
setPassword(String value) (deprecated)
public MasterAuth.Builder setPassword(String value)Deprecated. google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=2216
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe password to set. |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
setPasswordBytes(ByteString value) (deprecated)
public MasterAuth.Builder setPasswordBytes(ByteString value)Deprecated. google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=2216
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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for password to set. |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
setUsername(String value) (deprecated)
public MasterAuth.Builder setUsername(String value)Deprecated. google.container.v1beta1.MasterAuth.username is deprecated. See google/container/v1beta1/cluster_service.proto;l=2205
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe username to set. |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |
setUsernameBytes(ByteString value) (deprecated)
public MasterAuth.Builder setUsernameBytes(ByteString value)Deprecated. google.container.v1beta1.MasterAuth.username is deprecated. See google/container/v1beta1/cluster_service.proto;l=2205
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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for username to set. |
| Returns | |
|---|---|
| Type | Description |
MasterAuth.Builder |
This builder for chaining. |