public static final class SslConfig.Builder extends GeneratedMessage.Builder<SslConfig.Builder> implements SslConfigOrBuilderSSL configuration.
Protobuf type google.cloud.alloydb.v1.SslConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SslConfig.BuilderImplements
SslConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SslConfig build()| Returns | |
|---|---|
| Type | Description |
SslConfig |
|
buildPartial()
public SslConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
SslConfig |
|
clear()
public SslConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
SslConfig.Builder |
|
clearCaSource()
public SslConfig.Builder clearCaSource()Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
.google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SslConfig.Builder |
This builder for chaining. |
clearSslMode()
public SslConfig.Builder clearSslMode()Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
.google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SslConfig.Builder |
This builder for chaining. |
getCaSource()
public SslConfig.CaSource getCaSource()Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
.google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SslConfig.CaSource |
The caSource. |
getCaSourceValue()
public int getCaSourceValue()Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
.google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for caSource. |
getDefaultInstanceForType()
public SslConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SslConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSslMode()
public SslConfig.SslMode getSslMode()Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
.google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SslConfig.SslMode |
The sslMode. |
getSslModeValue()
public int getSslModeValue()Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
.google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for sslMode. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SslConfig other)
public SslConfig.Builder mergeFrom(SslConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
SslConfig |
| Returns | |
|---|---|
| Type | Description |
SslConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SslConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SslConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SslConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SslConfig.Builder |
|
setCaSource(SslConfig.CaSource value)
public SslConfig.Builder setCaSource(SslConfig.CaSource value)Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
.google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SslConfig.CaSourceThe caSource to set. |
| Returns | |
|---|---|
| Type | Description |
SslConfig.Builder |
This builder for chaining. |
setCaSourceValue(int value)
public SslConfig.Builder setCaSourceValue(int value)Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
.google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for caSource to set. |
| Returns | |
|---|---|
| Type | Description |
SslConfig.Builder |
This builder for chaining. |
setSslMode(SslConfig.SslMode value)
public SslConfig.Builder setSslMode(SslConfig.SslMode value)Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
.google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SslConfig.SslModeThe sslMode to set. |
| Returns | |
|---|---|
| Type | Description |
SslConfig.Builder |
This builder for chaining. |
setSslModeValue(int value)
public SslConfig.Builder setSslModeValue(int value)Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
.google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for sslMode to set. |
| Returns | |
|---|---|
| Type | Description |
SslConfig.Builder |
This builder for chaining. |