Class SqlServerSslConfig (1.102.0)

public final class SqlServerSslConfig extends GeneratedMessage implements SqlServerSslConfigOrBuilder

SQL Server SSL configuration information.

Protobuf type google.cloud.datastream.v1.SqlServerSslConfig

Static Fields

BASIC_ENCRYPTION_FIELD_NUMBER

public static final int BASIC_ENCRYPTION_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPTION_AND_SERVER_VALIDATION_FIELD_NUMBER

public static final int ENCRYPTION_AND_SERVER_VALIDATION_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPTION_NOT_ENFORCED_FIELD_NUMBER

public static final int ENCRYPTION_NOT_ENFORCED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SqlServerSslConfig getDefaultInstance()
Returns
Type Description
SqlServerSslConfig

getDescriptor()

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

newBuilder()

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

newBuilder(SqlServerSslConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBasicEncryption()

public SqlServerSslConfig.BasicEncryption getBasicEncryption()

If set, Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default.

.google.cloud.datastream.v1.SqlServerSslConfig.BasicEncryption basic_encryption = 2;

Returns
Type Description
SqlServerSslConfig.BasicEncryption

The basicEncryption.

getBasicEncryptionOrBuilder()

public SqlServerSslConfig.BasicEncryptionOrBuilder getBasicEncryptionOrBuilder()

If set, Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default.

.google.cloud.datastream.v1.SqlServerSslConfig.BasicEncryption basic_encryption = 2;

Returns
Type Description
SqlServerSslConfig.BasicEncryptionOrBuilder

getDefaultInstanceForType()

public SqlServerSslConfig getDefaultInstanceForType()
Returns
Type Description
SqlServerSslConfig

getEncryptionAndServerValidation()

public SqlServerSslConfig.EncryptionAndServerValidation getEncryptionAndServerValidation()

If set, Datastream will enforce encryption and authenticate server identity.

.google.cloud.datastream.v1.SqlServerSslConfig.EncryptionAndServerValidation encryption_and_server_validation = 3;

Returns
Type Description
SqlServerSslConfig.EncryptionAndServerValidation

The encryptionAndServerValidation.

getEncryptionAndServerValidationOrBuilder()

public SqlServerSslConfig.EncryptionAndServerValidationOrBuilder getEncryptionAndServerValidationOrBuilder()

If set, Datastream will enforce encryption and authenticate server identity.

.google.cloud.datastream.v1.SqlServerSslConfig.EncryptionAndServerValidation encryption_and_server_validation = 3;

Returns
Type Description
SqlServerSslConfig.EncryptionAndServerValidationOrBuilder

getEncryptionNotEnforced()

public SqlServerSslConfig.EncryptionNotEnforced getEncryptionNotEnforced()

If set, Datastream will not enforce encryption. If the DB server mandates encryption, then connection will be encrypted but server identity will not be authenticated.

.google.cloud.datastream.v1.SqlServerSslConfig.EncryptionNotEnforced encryption_not_enforced = 1;

Returns
Type Description
SqlServerSslConfig.EncryptionNotEnforced

The encryptionNotEnforced.

getEncryptionNotEnforcedOrBuilder()

public SqlServerSslConfig.EncryptionNotEnforcedOrBuilder getEncryptionNotEnforcedOrBuilder()

If set, Datastream will not enforce encryption. If the DB server mandates encryption, then connection will be encrypted but server identity will not be authenticated.

.google.cloud.datastream.v1.SqlServerSslConfig.EncryptionNotEnforced encryption_not_enforced = 1;

Returns
Type Description
SqlServerSslConfig.EncryptionNotEnforcedOrBuilder

getEncryptionSettingCase()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasBasicEncryption()

public boolean hasBasicEncryption()

If set, Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default.

.google.cloud.datastream.v1.SqlServerSslConfig.BasicEncryption basic_encryption = 2;

Returns
Type Description
boolean

Whether the basicEncryption field is set.

hasEncryptionAndServerValidation()

public boolean hasEncryptionAndServerValidation()

If set, Datastream will enforce encryption and authenticate server identity.

.google.cloud.datastream.v1.SqlServerSslConfig.EncryptionAndServerValidation encryption_and_server_validation = 3;

Returns
Type Description
boolean

Whether the encryptionAndServerValidation field is set.

hasEncryptionNotEnforced()

public boolean hasEncryptionNotEnforced()

If set, Datastream will not enforce encryption. If the DB server mandates encryption, then connection will be encrypted but server identity will not be authenticated.

.google.cloud.datastream.v1.SqlServerSslConfig.EncryptionNotEnforced encryption_not_enforced = 1;

Returns
Type Description
boolean

Whether the encryptionNotEnforced field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SqlServerSslConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SqlServerSslConfig.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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