public static final class SslConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SslConfig.Builder> implements SslConfigOrBuilder
SSL configuration information.Protobuf type
google.cloud.clouddms.v1.SslConfig| Modifier and Type | Method and Description |
|---|---|
SslConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SslConfig |
build() |
SslConfig |
buildPartial() |
SslConfig.Builder |
clear() |
SslConfig.Builder |
clearCaCertificate()
Required.
|
SslConfig.Builder |
clearClientCertificate()
Input only.
|
SslConfig.Builder |
clearClientKey()
Input only.
|
SslConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SslConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SslConfig.Builder |
clearType()
Output only.
|
SslConfig.Builder |
clone() |
String |
getCaCertificate()
Required.
|
com.google.protobuf.ByteString |
getCaCertificateBytes()
Required.
|
String |
getClientCertificate()
Input only.
|
com.google.protobuf.ByteString |
getClientCertificateBytes()
Input only.
|
String |
getClientKey()
Input only.
|
com.google.protobuf.ByteString |
getClientKeyBytes()
Input only.
|
SslConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
SslConfig.SslType |
getType()
Output only.
|
int |
getTypeValue()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SslConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SslConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
SslConfig.Builder |
mergeFrom(SslConfig other) |
SslConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SslConfig.Builder |
setCaCertificate(String value)
Required.
|
SslConfig.Builder |
setCaCertificateBytes(com.google.protobuf.ByteString value)
Required.
|
SslConfig.Builder |
setClientCertificate(String value)
Input only.
|
SslConfig.Builder |
setClientCertificateBytes(com.google.protobuf.ByteString value)
Input only.
|
SslConfig.Builder |
setClientKey(String value)
Input only.
|
SslConfig.Builder |
setClientKeyBytes(com.google.protobuf.ByteString value)
Input only.
|
SslConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SslConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SslConfig.Builder |
setType(SslConfig.SslType value)
Output only.
|
SslConfig.Builder |
setTypeValue(int value)
Output only.
|
SslConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SslConfig.Builder>public SslConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SslConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SslConfig.Builder>public SslConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SslConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SslConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SslConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SslConfig.Builder>public SslConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SslConfig.Builder>public SslConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SslConfig.Builder>public SslConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SslConfig.Builder>public SslConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SslConfig.Builder>public SslConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SslConfig.Builder>public SslConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SslConfig.Builder>public SslConfig.Builder mergeFrom(SslConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SslConfig.Builder>public SslConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SslConfig.Builder>IOExceptionpublic int getTypeValue()
Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.
.google.cloud.clouddms.v1.SslConfig.SslType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTypeValue in interface SslConfigOrBuilderpublic SslConfig.Builder setTypeValue(int value)
Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.
.google.cloud.clouddms.v1.SslConfig.SslType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for type to set.public SslConfig.SslType getType()
Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.
.google.cloud.clouddms.v1.SslConfig.SslType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getType in interface SslConfigOrBuilderpublic SslConfig.Builder setType(SslConfig.SslType value)
Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.
.google.cloud.clouddms.v1.SslConfig.SslType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The type to set.public SslConfig.Builder clearType()
Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.
.google.cloud.clouddms.v1.SslConfig.SslType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getClientKey()
Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.
string client_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];getClientKey in interface SslConfigOrBuilderpublic com.google.protobuf.ByteString getClientKeyBytes()
Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.
string client_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];getClientKeyBytes in interface SslConfigOrBuilderpublic SslConfig.Builder setClientKey(String value)
Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.
string client_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];value - The clientKey to set.public SslConfig.Builder clearClientKey()
Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.
string client_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];public SslConfig.Builder setClientKeyBytes(com.google.protobuf.ByteString value)
Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.
string client_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];value - The bytes for clientKey to set.public String getClientCertificate()
Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the 'client_key' field is mandatory.
string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY];getClientCertificate in interface SslConfigOrBuilderpublic com.google.protobuf.ByteString getClientCertificateBytes()
Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the 'client_key' field is mandatory.
string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY];getClientCertificateBytes in interface SslConfigOrBuilderpublic SslConfig.Builder setClientCertificate(String value)
Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the 'client_key' field is mandatory.
string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY];value - The clientCertificate to set.public SslConfig.Builder clearClientCertificate()
Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the 'client_key' field is mandatory.
string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY];public SslConfig.Builder setClientCertificateBytes(com.google.protobuf.ByteString value)
Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the 'client_key' field is mandatory.
string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY];value - The bytes for clientCertificate to set.public String getCaCertificate()
Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.
string ca_certificate = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
getCaCertificate in interface SslConfigOrBuilderpublic com.google.protobuf.ByteString getCaCertificateBytes()
Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.
string ca_certificate = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
getCaCertificateBytes in interface SslConfigOrBuilderpublic SslConfig.Builder setCaCertificate(String value)
Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.
string ca_certificate = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
value - The caCertificate to set.public SslConfig.Builder clearCaCertificate()
Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.
string ca_certificate = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
public SslConfig.Builder setCaCertificateBytes(com.google.protobuf.ByteString value)
Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.
string ca_certificate = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
value - The bytes for caCertificate to set.public final SslConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SslConfig.Builder>public final SslConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SslConfig.Builder>Copyright © 2024 Google LLC. All rights reserved.