public final class SslConfig extends GeneratedMessageV3 implements SslConfigOrBuilder
SSL configuration for an AlloyDB Cluster.
Protobuf type google.cloud.alloydb.v1.SslConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SslConfigImplements
SslConfigOrBuilderStatic Fields
CA_SOURCE_FIELD_NUMBER
public static final int CA_SOURCE_FIELD_NUMBER
Type | Description |
int |
SSL_MODE_FIELD_NUMBER
public static final int SSL_MODE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static SslConfig getDefaultInstance()
Type | Description |
SslConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static SslConfig.Builder newBuilder()
Type | Description |
SslConfig.Builder |
newBuilder(SslConfig prototype)
public static SslConfig.Builder newBuilder(SslConfig prototype)
Name | Description |
prototype |
SslConfig |
Type | Description |
SslConfig.Builder |
parseDelimitedFrom(InputStream input)
public static SslConfig parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
SslConfig |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SslConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
SslConfig |
Type | Description |
IOException |
parseFrom(byte[] data)
public static SslConfig parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
SslConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SslConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
SslConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static SslConfig parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
SslConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SslConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
SslConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static SslConfig parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
SslConfig |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SslConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
SslConfig |
Type | Description |
IOException |
parseFrom(InputStream input)
public static SslConfig parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
SslConfig |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SslConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
SslConfig |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static SslConfig parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
SslConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SslConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
SslConfig |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<SslConfig> parser()
Type | Description |
Parser<SslConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
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];
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];
Type | Description |
int |
The enum numeric value on the wire for caSource. |
getDefaultInstanceForType()
public SslConfig getDefaultInstanceForType()
Type | Description |
SslConfig |
getParserForType()
public Parser<SslConfig> getParserForType()
Type | Description |
Parser<SslConfig> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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];
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];
Type | Description |
int |
The enum numeric value on the wire for sslMode. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public SslConfig.Builder newBuilderForType()
Type | Description |
SslConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SslConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
SslConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public SslConfig.Builder toBuilder()
Type | Description |
SslConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |