- 2.56.0 (latest)
- 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 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.v1beta1.MasterAuth
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MasterAuth.BuilderImplements
MasterAuthOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MasterAuth.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MasterAuth.Builder |
build()
public MasterAuth build()
Type | Description |
MasterAuth |
buildPartial()
public MasterAuth buildPartial()
Type | Description |
MasterAuth |
clear()
public MasterAuth.Builder clear()
Type | Description |
MasterAuth.Builder |
clearClientCertificate()
public MasterAuth.Builder clearClientCertificate()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;
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;
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;
Type | Description |
MasterAuth.Builder | This builder for chaining. |
clearClusterCaCertificate()
public MasterAuth.Builder clearClusterCaCertificate()
string cluster_ca_certificate = 100;
Type | Description |
MasterAuth.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MasterAuth.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MasterAuth.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MasterAuth.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MasterAuth.Builder |
clearPassword() (deprecated)
public MasterAuth.Builder clearPassword()
Deprecated. google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=1070
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];
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=1059
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];
Type | Description |
MasterAuth.Builder | This builder for chaining. |
clone()
public MasterAuth.Builder clone()
Type | Description |
MasterAuth.Builder |
getClientCertificate()
public String getClientCertificate()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;
Type | Description |
String | The clientCertificate. |
getClientCertificateBytes()
public ByteString getClientCertificateBytes()
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
string client_certificate = 101;
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;
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;
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;
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;
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;
Type | Description |
ByteString | The bytes for clientKey. |
getClusterCaCertificate()
public String getClusterCaCertificate()
string cluster_ca_certificate = 100;
Type | Description |
String | The clusterCaCertificate. |
getClusterCaCertificateBytes()
public ByteString getClusterCaCertificateBytes()
string cluster_ca_certificate = 100;
Type | Description |
ByteString | The bytes for clusterCaCertificate. |
getDefaultInstanceForType()
public MasterAuth getDefaultInstanceForType()
Type | Description |
MasterAuth |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPassword() (deprecated)
public String getPassword()
Deprecated. google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=1070
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];
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=1070
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];
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=1059
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];
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=1059
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];
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;
Type | Description |
boolean | Whether the clientCertificateConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
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;
Name | Description |
value | ClientCertificateConfig |
Type | Description |
MasterAuth.Builder |
mergeFrom(MasterAuth other)
public MasterAuth.Builder mergeFrom(MasterAuth other)
Name | Description |
other | MasterAuth |
Type | Description |
MasterAuth.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MasterAuth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MasterAuth.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MasterAuth.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MasterAuth.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MasterAuth.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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.
string client_certificate = 101;
Name | Description |
value | String The clientCertificate to set. |
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.
string client_certificate = 101;
Name | Description |
value | ByteString The bytes for clientCertificate to set. |
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;
Name | Description |
value | ClientCertificateConfig |
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;
Name | Description |
builderForValue | ClientCertificateConfig.Builder |
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;
Name | Description |
value | String The clientKey to set. |
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;
Name | Description |
value | ByteString The bytes for clientKey to set. |
Type | Description |
MasterAuth.Builder | This builder for chaining. |
setClusterCaCertificate(String value)
public MasterAuth.Builder setClusterCaCertificate(String value)
string cluster_ca_certificate = 100;
Name | Description |
value | String The clusterCaCertificate to set. |
Type | Description |
MasterAuth.Builder | This builder for chaining. |
setClusterCaCertificateBytes(ByteString value)
public MasterAuth.Builder setClusterCaCertificateBytes(ByteString value)
string cluster_ca_certificate = 100;
Name | Description |
value | ByteString The bytes for clusterCaCertificate to set. |
Type | Description |
MasterAuth.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MasterAuth.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MasterAuth.Builder |
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=1070
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];
Name | Description |
value | String The password to set. |
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=1070
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];
Name | Description |
value | ByteString The bytes for password to set. |
Type | Description |
MasterAuth.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MasterAuth.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MasterAuth.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MasterAuth.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MasterAuth.Builder |
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=1059
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];
Name | Description |
value | String The username to set. |
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=1059
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];
Name | Description |
value | ByteString The bytes for username to set. |
Type | Description |
MasterAuth.Builder | This builder for chaining. |