Package com.google.cloud.clouddms.v1
Interface SslConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SslConfig
,SslConfig.Builder
public interface SslConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.SslType
getType()
Output only.int
getTypeValue()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
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];
- Returns:
- The enum numeric value on the wire for type.
-
getType
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];
- Returns:
- The type.
-
getClientKey
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];
- Returns:
- The clientKey.
-
getClientKeyBytes
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];
- Returns:
- The bytes for clientKey.
-
getClientCertificate
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];
- Returns:
- The clientCertificate.
-
getClientCertificateBytes
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];
- Returns:
- The bytes for clientCertificate.
-
getCaCertificate
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];
- Returns:
- The caCertificate.
-
getCaCertificateBytes
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];
- Returns:
- The bytes for caCertificate.
-
-