public static final class SslConfig.Builder extends GeneratedMessageV3.Builder<SslConfig.Builder> implements SslConfigOrBuilder
SSL configuration for an AlloyDB Cluster.
Protobuf type google.cloud.alloydb.v1alpha.SslConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SslConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public SslConfig buildPartial()
Returns
clear()
public SslConfig.Builder clear()
Returns
Overrides
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.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearField(Descriptors.FieldDescriptor field)
public SslConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SslConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public SslConfig.Builder clearSslMode()
Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
.google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
clone()
public SslConfig.Builder clone()
Returns
Overrides
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.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getCaSourceValue()
public int getCaSourceValue()
Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
supported currently, and is the default value.
.google.cloud.alloydb.v1alpha.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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSslMode()
public SslConfig.SslMode getSslMode()
Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
.google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSslModeValue()
public int getSslModeValue()
Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
.google.cloud.alloydb.v1alpha.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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SslConfig other)
public SslConfig.Builder mergeFrom(SslConfig other)
Parameter
Returns
public SslConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SslConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SslConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
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.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
value |
int
The enum numeric value on the wire for caSource to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SslConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SslConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSslMode(SslConfig.SslMode value)
public SslConfig.Builder setSslMode(SslConfig.SslMode value)
Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
.google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setSslModeValue(int value)
public SslConfig.Builder setSslModeValue(int value)
Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
.google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
value |
int
The enum numeric value on the wire for sslMode to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SslConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides