com.google.events.cloud.clouddms.v1.PostgreSqlConnectionProfileOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-cloudevent-types Show documentation
Show all versions of google-cloudevent-types Show documentation
Types in Java for CloudEvents issued by Google.
/*
* Copyright 2023 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/events/cloud/clouddms/v1/data.proto
package com.google.events.cloud.clouddms.v1;
public interface PostgreSqlConnectionProfileOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.events.cloud.clouddms.v1.PostgreSqlConnectionProfile)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The IP or hostname of the source PostgreSQL database.
*
*
* string host = 1;
*
* @return The host.
*/
java.lang.String getHost();
/**
*
*
*
* Required. The IP or hostname of the source PostgreSQL database.
*
*
* string host = 1;
*
* @return The bytes for host.
*/
com.google.protobuf.ByteString getHostBytes();
/**
*
*
*
* Required. The network port of the source PostgreSQL database.
*
*
* int32 port = 2;
*
* @return The port.
*/
int getPort();
/**
*
*
*
* Required. The username that Database Migration Service will use to connect
* to the database. The value is encrypted when stored in Database Migration
* Service.
*
*
* string username = 3;
*
* @return The username.
*/
java.lang.String getUsername();
/**
*
*
*
* Required. The username that Database Migration Service will use to connect
* to the database. The value is encrypted when stored in Database Migration
* Service.
*
*
* string username = 3;
*
* @return The bytes for username.
*/
com.google.protobuf.ByteString getUsernameBytes();
/**
*
*
*
* Output only. Indicates If this connection profile password is stored.
*
*
* bool password_set = 5;
*
* @return The passwordSet.
*/
boolean getPasswordSet();
/**
*
*
*
* SSL configuration for the destination to connect to the source database.
*
*
* .google.events.cloud.clouddms.v1.SslConfig ssl = 6;
*
* @return Whether the ssl field is set.
*/
boolean hasSsl();
/**
*
*
*
* SSL configuration for the destination to connect to the source database.
*
*
* .google.events.cloud.clouddms.v1.SslConfig ssl = 6;
*
* @return The ssl.
*/
com.google.events.cloud.clouddms.v1.SslConfig getSsl();
/**
*
*
*
* SSL configuration for the destination to connect to the source database.
*
*
* .google.events.cloud.clouddms.v1.SslConfig ssl = 6;
*/
com.google.events.cloud.clouddms.v1.SslConfigOrBuilder getSslOrBuilder();
/**
*
*
*
* If the source is a Cloud SQL database, use this field to
* provide the Cloud SQL instance ID of the source.
*
*
* string cloud_sql_id = 7;
*
* @return The cloudSqlId.
*/
java.lang.String getCloudSqlId();
/**
*
*
*
* If the source is a Cloud SQL database, use this field to
* provide the Cloud SQL instance ID of the source.
*
*
* string cloud_sql_id = 7;
*
* @return The bytes for cloudSqlId.
*/
com.google.protobuf.ByteString getCloudSqlIdBytes();
/**
*
*
*
* Output only. If the source is a Cloud SQL database, this field indicates
* the network architecture it's associated with.
*
*
* .google.events.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8;
*
* @return The enum numeric value on the wire for networkArchitecture.
*/
int getNetworkArchitectureValue();
/**
*
*
*
* Output only. If the source is a Cloud SQL database, this field indicates
* the network architecture it's associated with.
*
*
* .google.events.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8;
*
* @return The networkArchitecture.
*/
com.google.events.cloud.clouddms.v1.NetworkArchitecture getNetworkArchitecture();
}