public static final class PostgresqlSslConfig.Builder extends GeneratedMessageV3.Builder<PostgresqlSslConfig.Builder> implements PostgresqlSslConfigOrBuilder
PostgreSQL SSL configuration information.
Protobuf type google.cloud.datastream.v1.PostgresqlSslConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PostgresqlSslConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PostgresqlSslConfig build()
buildPartial()
public PostgresqlSslConfig buildPartial()
clear()
public PostgresqlSslConfig.Builder clear()
Overrides
clearEncryptionSetting()
public PostgresqlSslConfig.Builder clearEncryptionSetting()
clearField(Descriptors.FieldDescriptor field)
public PostgresqlSslConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PostgresqlSslConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public PostgresqlSslConfig.Builder clone()
Overrides
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 GeneratedMessageV3.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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PostgresqlSslConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PostgresqlSslConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PostgresqlSslConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final PostgresqlSslConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides