public static final class SqlServerSslConfig.Builder extends GeneratedMessage.Builder<SqlServerSslConfig.Builder> implements SqlServerSslConfigOrBuilderSQL Server SSL configuration information.
Protobuf type google.cloud.datastream.v1.SqlServerSslConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SqlServerSslConfig.BuilderImplements
SqlServerSslConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SqlServerSslConfig build()| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig |
|
buildPartial()
public SqlServerSslConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig |
|
clear()
public SqlServerSslConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|
clearBasicEncryption()
public SqlServerSslConfig.Builder clearBasicEncryption()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.Builder |
|
clearEncryptionAndServerValidation()
public SqlServerSslConfig.Builder clearEncryptionAndServerValidation()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.Builder |
|
clearEncryptionNotEnforced()
public SqlServerSslConfig.Builder clearEncryptionNotEnforced()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.Builder |
|
clearEncryptionSetting()
public SqlServerSslConfig.Builder clearEncryptionSetting()| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|
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. |
getBasicEncryptionBuilder()
public SqlServerSslConfig.BasicEncryption.Builder getBasicEncryptionBuilder()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.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getEncryptionAndServerValidationBuilder()
public SqlServerSslConfig.EncryptionAndServerValidation.Builder getEncryptionAndServerValidationBuilder()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.Builder |
|
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. |
getEncryptionNotEnforcedBuilder()
public SqlServerSslConfig.EncryptionNotEnforced.Builder getEncryptionNotEnforcedBuilder()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.Builder |
|
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 |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBasicEncryption(SqlServerSslConfig.BasicEncryption value)
public SqlServerSslConfig.Builder mergeBasicEncryption(SqlServerSslConfig.BasicEncryption value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
SqlServerSslConfig.BasicEncryption |
| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|
mergeEncryptionAndServerValidation(SqlServerSslConfig.EncryptionAndServerValidation value)
public SqlServerSslConfig.Builder mergeEncryptionAndServerValidation(SqlServerSslConfig.EncryptionAndServerValidation value)If set, Datastream will enforce encryption and authenticate server identity.
.google.cloud.datastream.v1.SqlServerSslConfig.EncryptionAndServerValidation encryption_and_server_validation = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
SqlServerSslConfig.EncryptionAndServerValidation |
| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|
mergeEncryptionNotEnforced(SqlServerSslConfig.EncryptionNotEnforced value)
public SqlServerSslConfig.Builder mergeEncryptionNotEnforced(SqlServerSslConfig.EncryptionNotEnforced value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
SqlServerSslConfig.EncryptionNotEnforced |
| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|
mergeFrom(SqlServerSslConfig other)
public SqlServerSslConfig.Builder mergeFrom(SqlServerSslConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
SqlServerSslConfig |
| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SqlServerSslConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SqlServerSslConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|
setBasicEncryption(SqlServerSslConfig.BasicEncryption value)
public SqlServerSslConfig.Builder setBasicEncryption(SqlServerSslConfig.BasicEncryption value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
SqlServerSslConfig.BasicEncryption |
| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|
setBasicEncryption(SqlServerSslConfig.BasicEncryption.Builder builderForValue)
public SqlServerSslConfig.Builder setBasicEncryption(SqlServerSslConfig.BasicEncryption.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SqlServerSslConfig.BasicEncryption.Builder |
| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|
setEncryptionAndServerValidation(SqlServerSslConfig.EncryptionAndServerValidation value)
public SqlServerSslConfig.Builder setEncryptionAndServerValidation(SqlServerSslConfig.EncryptionAndServerValidation value)If set, Datastream will enforce encryption and authenticate server identity.
.google.cloud.datastream.v1.SqlServerSslConfig.EncryptionAndServerValidation encryption_and_server_validation = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
SqlServerSslConfig.EncryptionAndServerValidation |
| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|
setEncryptionAndServerValidation(SqlServerSslConfig.EncryptionAndServerValidation.Builder builderForValue)
public SqlServerSslConfig.Builder setEncryptionAndServerValidation(SqlServerSslConfig.EncryptionAndServerValidation.Builder builderForValue)If set, Datastream will enforce encryption and authenticate server identity.
.google.cloud.datastream.v1.SqlServerSslConfig.EncryptionAndServerValidation encryption_and_server_validation = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SqlServerSslConfig.EncryptionAndServerValidation.Builder |
| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|
setEncryptionNotEnforced(SqlServerSslConfig.EncryptionNotEnforced value)
public SqlServerSslConfig.Builder setEncryptionNotEnforced(SqlServerSslConfig.EncryptionNotEnforced value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
SqlServerSslConfig.EncryptionNotEnforced |
| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|
setEncryptionNotEnforced(SqlServerSslConfig.EncryptionNotEnforced.Builder builderForValue)
public SqlServerSslConfig.Builder setEncryptionNotEnforced(SqlServerSslConfig.EncryptionNotEnforced.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SqlServerSslConfig.EncryptionNotEnforced.Builder |
| Returns | |
|---|---|
| Type | Description |
SqlServerSslConfig.Builder |
|