/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/datastream/v1/datastream_resources.proto

package com.google.cloud.datastream.v1;

public interface MysqlProfileOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.MysqlProfile)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required. Hostname for the MySQL connection.
   * </pre>
   *
   * <code>string hostname = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The hostname.
   */
  java.lang.String getHostname();
  /**
   *
   *
   * <pre>
   * Required. Hostname for the MySQL connection.
   * </pre>
   *
   * <code>string hostname = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for hostname.
   */
  com.google.protobuf.ByteString getHostnameBytes();

  /**
   *
   *
   * <pre>
   * Port for the MySQL connection, default value is 3306.
   * </pre>
   *
   * <code>int32 port = 2;</code>
   *
   * @return The port.
   */
  int getPort();

  /**
   *
   *
   * <pre>
   * Required. Username for the MySQL connection.
   * </pre>
   *
   * <code>string username = 3 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The username.
   */
  java.lang.String getUsername();
  /**
   *
   *
   * <pre>
   * Required. Username for the MySQL connection.
   * </pre>
   *
   * <code>string username = 3 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for username.
   */
  com.google.protobuf.ByteString getUsernameBytes();

  /**
   *
   *
   * <pre>
   * Required. Input only. Password for the MySQL connection.
   * </pre>
   *
   * <code>
   * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
   * </code>
   *
   * @return The password.
   */
  java.lang.String getPassword();
  /**
   *
   *
   * <pre>
   * Required. Input only. Password for the MySQL connection.
   * </pre>
   *
   * <code>
   * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
   * </code>
   *
   * @return The bytes for password.
   */
  com.google.protobuf.ByteString getPasswordBytes();

  /**
   *
   *
   * <pre>
   * SSL configuration for the MySQL connection.
   * </pre>
   *
   * <code>.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;</code>
   *
   * @return Whether the sslConfig field is set.
   */
  boolean hasSslConfig();
  /**
   *
   *
   * <pre>
   * SSL configuration for the MySQL connection.
   * </pre>
   *
   * <code>.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;</code>
   *
   * @return The sslConfig.
   */
  com.google.cloud.datastream.v1.MysqlSslConfig getSslConfig();
  /**
   *
   *
   * <pre>
   * SSL configuration for the MySQL connection.
   * </pre>
   *
   * <code>.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;</code>
   */
  com.google.cloud.datastream.v1.MysqlSslConfigOrBuilder getSslConfigOrBuilder();
}
