public static final class PostgresqlSslConfig.Builder extends GeneratedMessage.Builder<PostgresqlSslConfig.Builder> implements PostgresqlSslConfigOrBuilder
PostgreSQL SSL configuration information.
Protobuf type google.cloud.datastream.v1.PostgresqlSslConfig
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public PostgresqlSslConfig build()
buildPartial()
public PostgresqlSslConfig buildPartial()
clear()
public PostgresqlSslConfig.Builder clear()
Overrides
clearEncryptionSetting()
public PostgresqlSslConfig.Builder clearEncryptionSetting()
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;
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;
getDefaultInstanceForType()
public PostgresqlSslConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEncryptionSettingCase()
public PostgresqlSslConfig.EncryptionSettingCase getEncryptionSettingCase()
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;
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;
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;
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;
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;
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;
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PostgresqlSslConfig other)
public PostgresqlSslConfig.Builder mergeFrom(PostgresqlSslConfig other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PostgresqlSslConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PostgresqlSslConfig.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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;
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;
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;
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;
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;
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;