Class PostgresqlSslConfig (1.56.0)

public final class PostgresqlSslConfig extends GeneratedMessageV3 implements PostgresqlSslConfigOrBuilder

PostgreSQL SSL configuration information.

Protobuf type google.cloud.datastream.v1.PostgresqlSslConfig

Static Fields

SERVER_AND_CLIENT_VERIFICATION_FIELD_NUMBER

public static final int SERVER_AND_CLIENT_VERIFICATION_FIELD_NUMBER
Field Value
Type Description
int

SERVER_VERIFICATION_FIELD_NUMBER

public static final int SERVER_VERIFICATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PostgresqlSslConfig getDefaultInstance()
Returns
Type Description
PostgresqlSslConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PostgresqlSslConfig.Builder newBuilder()
Returns
Type Description
PostgresqlSslConfig.Builder

newBuilder(PostgresqlSslConfig prototype)

public static PostgresqlSslConfig.Builder newBuilder(PostgresqlSslConfig prototype)
Parameter
Name Description
prototype PostgresqlSslConfig
Returns
Type Description
PostgresqlSslConfig.Builder

parseDelimitedFrom(InputStream input)

public static PostgresqlSslConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PostgresqlSslConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSslConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PostgresqlSslConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PostgresqlSslConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PostgresqlSslConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSslConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PostgresqlSslConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PostgresqlSslConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PostgresqlSslConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSslConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PostgresqlSslConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PostgresqlSslConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PostgresqlSslConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSslConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PostgresqlSslConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PostgresqlSslConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PostgresqlSslConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSslConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PostgresqlSslConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PostgresqlSslConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PostgresqlSslConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSslConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PostgresqlSslConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PostgresqlSslConfig> parser()
Returns
Type Description
Parser<PostgresqlSslConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PostgresqlSslConfig getDefaultInstanceForType()
Returns
Type Description
PostgresqlSslConfig

getEncryptionSettingCase()

public PostgresqlSslConfig.EncryptionSettingCase getEncryptionSettingCase()
Returns
Type Description
PostgresqlSslConfig.EncryptionSettingCase

getParserForType()

public Parser<PostgresqlSslConfig> getParserForType()
Returns
Type Description
Parser<PostgresqlSslConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServerAndClientVerification()

public PostgresqlSslConfig.ServerAndClientVerification getServerAndClientVerification()

If this field is set, the communication will be encrypted with TLS encryption and both the server identity and the client identity will be authenticated.

.google.cloud.datastream.v1.PostgresqlSslConfig.ServerAndClientVerification server_and_client_verification = 2;

Returns
Type Description
PostgresqlSslConfig.ServerAndClientVerification

The serverAndClientVerification.

getServerAndClientVerificationOrBuilder()

public PostgresqlSslConfig.ServerAndClientVerificationOrBuilder getServerAndClientVerificationOrBuilder()

If this field is set, the communication will be encrypted with TLS encryption and both the server identity and the client identity will be authenticated.

.google.cloud.datastream.v1.PostgresqlSslConfig.ServerAndClientVerification server_and_client_verification = 2;

Returns
Type Description
PostgresqlSslConfig.ServerAndClientVerificationOrBuilder

getServerVerification()

public PostgresqlSslConfig.ServerVerification getServerVerification()

If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated.

.google.cloud.datastream.v1.PostgresqlSslConfig.ServerVerification server_verification = 1;

Returns
Type Description
PostgresqlSslConfig.ServerVerification

The serverVerification.

getServerVerificationOrBuilder()

public PostgresqlSslConfig.ServerVerificationOrBuilder getServerVerificationOrBuilder()

If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated.

.google.cloud.datastream.v1.PostgresqlSslConfig.ServerVerification server_verification = 1;

Returns
Type Description
PostgresqlSslConfig.ServerVerificationOrBuilder

hasServerAndClientVerification()

public boolean hasServerAndClientVerification()

If this field is set, the communication will be encrypted with TLS encryption and both the server identity and the client identity will be authenticated.

.google.cloud.datastream.v1.PostgresqlSslConfig.ServerAndClientVerification server_and_client_verification = 2;

Returns
Type Description
boolean

Whether the serverAndClientVerification field is set.

hasServerVerification()

public boolean hasServerVerification()

If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated.

.google.cloud.datastream.v1.PostgresqlSslConfig.ServerVerification server_verification = 1;

Returns
Type Description
boolean

Whether the serverVerification field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PostgresqlSslConfig.Builder newBuilderForType()
Returns
Type Description
PostgresqlSslConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PostgresqlSslConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PostgresqlSslConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PostgresqlSslConfig.Builder toBuilder()
Returns
Type Description
PostgresqlSslConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException