Class PostgresqlSslConfig.Builder (1.56.0)

public static final class PostgresqlSslConfig.Builder extends GeneratedMessageV3.Builder<PostgresqlSslConfig.Builder> implements PostgresqlSslConfigOrBuilder

PostgreSQL SSL configuration information.

Protobuf type google.cloud.datastream.v1.PostgresqlSslConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PostgresqlSslConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PostgresqlSslConfig.Builder
Overrides

build()

public PostgresqlSslConfig build()
Returns
Type Description
PostgresqlSslConfig

buildPartial()

public PostgresqlSslConfig buildPartial()
Returns
Type Description
PostgresqlSslConfig

clear()

public PostgresqlSslConfig.Builder clear()
Returns
Type Description
PostgresqlSslConfig.Builder
Overrides

clearEncryptionSetting()

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

clearField(Descriptors.FieldDescriptor field)

public PostgresqlSslConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PostgresqlSslConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PostgresqlSslConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PostgresqlSslConfig.Builder
Overrides

clearServerAndClientVerification()

public PostgresqlSslConfig.Builder clearServerAndClientVerification()

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.Builder

clearServerVerification()

public PostgresqlSslConfig.Builder clearServerVerification()

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.Builder

clone()

public PostgresqlSslConfig.Builder clone()
Returns
Type Description
PostgresqlSslConfig.Builder
Overrides

getDefaultInstanceForType()

public PostgresqlSslConfig getDefaultInstanceForType()
Returns
Type Description
PostgresqlSslConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEncryptionSettingCase()

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

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.

getServerAndClientVerificationBuilder()

public PostgresqlSslConfig.ServerAndClientVerification.Builder getServerAndClientVerificationBuilder()

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.Builder

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.

getServerVerificationBuilder()

public PostgresqlSslConfig.ServerVerification.Builder getServerVerificationBuilder()

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.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PostgresqlSslConfig other)

public PostgresqlSslConfig.Builder mergeFrom(PostgresqlSslConfig other)
Parameter
Name Description
other PostgresqlSslConfig
Returns
Type Description
PostgresqlSslConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PostgresqlSslConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PostgresqlSslConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PostgresqlSslConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PostgresqlSslConfig.Builder
Overrides

mergeServerAndClientVerification(PostgresqlSslConfig.ServerAndClientVerification value)

public PostgresqlSslConfig.Builder mergeServerAndClientVerification(PostgresqlSslConfig.ServerAndClientVerification value)

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;

Parameter
Name Description
value PostgresqlSslConfig.ServerAndClientVerification
Returns
Type Description
PostgresqlSslConfig.Builder

mergeServerVerification(PostgresqlSslConfig.ServerVerification value)

public PostgresqlSslConfig.Builder mergeServerVerification(PostgresqlSslConfig.ServerVerification value)

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;

Parameter
Name Description
value PostgresqlSslConfig.ServerVerification
Returns
Type Description
PostgresqlSslConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PostgresqlSslConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PostgresqlSslConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PostgresqlSslConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PostgresqlSslConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PostgresqlSslConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PostgresqlSslConfig.Builder
Overrides

setServerAndClientVerification(PostgresqlSslConfig.ServerAndClientVerification value)

public PostgresqlSslConfig.Builder setServerAndClientVerification(PostgresqlSslConfig.ServerAndClientVerification value)

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;

Parameter
Name Description
value PostgresqlSslConfig.ServerAndClientVerification
Returns
Type Description
PostgresqlSslConfig.Builder

setServerAndClientVerification(PostgresqlSslConfig.ServerAndClientVerification.Builder builderForValue)

public PostgresqlSslConfig.Builder setServerAndClientVerification(PostgresqlSslConfig.ServerAndClientVerification.Builder builderForValue)

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;

Parameter
Name Description
builderForValue PostgresqlSslConfig.ServerAndClientVerification.Builder
Returns
Type Description
PostgresqlSslConfig.Builder

setServerVerification(PostgresqlSslConfig.ServerVerification value)

public PostgresqlSslConfig.Builder setServerVerification(PostgresqlSslConfig.ServerVerification value)

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;

Parameter
Name Description
value PostgresqlSslConfig.ServerVerification
Returns
Type Description
PostgresqlSslConfig.Builder

setServerVerification(PostgresqlSslConfig.ServerVerification.Builder builderForValue)

public PostgresqlSslConfig.Builder setServerVerification(PostgresqlSslConfig.ServerVerification.Builder builderForValue)

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;

Parameter
Name Description
builderForValue PostgresqlSslConfig.ServerVerification.Builder
Returns
Type Description
PostgresqlSslConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final PostgresqlSslConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PostgresqlSslConfig.Builder
Overrides