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 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.