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