public final class SslConfig extends GeneratedMessageV3 implements SslConfigOrBuilder
SSL configuration for an AlloyDB Cluster.
Protobuf type google.cloud.alloydb.v1.SslConfig
Static Fields
CA_SOURCE_FIELD_NUMBER
public static final int CA_SOURCE_FIELD_NUMBER
Field Value
SSL_MODE_FIELD_NUMBER
public static final int SSL_MODE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SslConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SslConfig.Builder newBuilder()
Returns
newBuilder(SslConfig prototype)
public static SslConfig.Builder newBuilder(SslConfig prototype)
Parameter
Returns
public static SslConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SslConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SslConfig parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SslConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SslConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SslConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SslConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SslConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SslConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SslConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SslConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SslConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SslConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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.v1.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.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
getParserForType()
public Parser<SslConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SslConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SslConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SslConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions