public final class OnPremisesConfiguration extends GeneratedMessage implements OnPremisesConfigurationOrBuilder
On-premises instance configuration.
Protobuf type google.cloud.sql.v1beta4.OnPremisesConfiguration
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CA_CERTIFICATE_FIELD_NUMBER
public static final int CA_CERTIFICATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLIENT_CERTIFICATE_FIELD_NUMBER
public static final int CLIENT_CERTIFICATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLIENT_KEY_FIELD_NUMBER
public static final int CLIENT_KEY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DMS_MANAGED_FIELD_NUMBER
public static final int DMS_MANAGED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DUMP_FILE_PATH_FIELD_NUMBER
public static final int DUMP_FILE_PATH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
HOST_PORT_FIELD_NUMBER
public static final int HOST_PORT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PASSWORD_FIELD_NUMBER
public static final int PASSWORD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SELECTED_OBJECTS_FIELD_NUMBER
public static final int SELECTED_OBJECTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SOURCE_INSTANCE_FIELD_NUMBER
public static final int SOURCE_INSTANCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SSL_OPTION_FIELD_NUMBER
public static final int SSL_OPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static OnPremisesConfiguration getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static OnPremisesConfiguration.Builder newBuilder()
newBuilder(OnPremisesConfiguration prototype)
public static OnPremisesConfiguration.Builder newBuilder(OnPremisesConfiguration prototype)
public static OnPremisesConfiguration parseDelimitedFrom(InputStream input)
public static OnPremisesConfiguration parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static OnPremisesConfiguration parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OnPremisesConfiguration parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static OnPremisesConfiguration parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OnPremisesConfiguration parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OnPremisesConfiguration parseFrom(CodedInputStream input)
public static OnPremisesConfiguration parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OnPremisesConfiguration parseFrom(InputStream input)
public static OnPremisesConfiguration parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static OnPremisesConfiguration parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OnPremisesConfiguration parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<OnPremisesConfiguration> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCaCertificate()
public String getCaCertificate()
PEM representation of the trusted CA's x509 certificate.
string ca_certificate = 5;
| Returns |
| Type |
Description |
String |
The caCertificate.
|
getCaCertificateBytes()
public ByteString getCaCertificateBytes()
PEM representation of the trusted CA's x509 certificate.
string ca_certificate = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for caCertificate.
|
getClientCertificate()
public String getClientCertificate()
PEM representation of the replica's x509 certificate.
string client_certificate = 6;
| Returns |
| Type |
Description |
String |
The clientCertificate.
|
getClientCertificateBytes()
public ByteString getClientCertificateBytes()
PEM representation of the replica's x509 certificate.
string client_certificate = 6;
| Returns |
| Type |
Description |
ByteString |
The bytes for clientCertificate.
|
getClientKey()
public String getClientKey()
PEM representation of the replica's private key. The corresponding public
key is encoded in the client's certificate.
string client_key = 7;
| Returns |
| Type |
Description |
String |
The clientKey.
|
getClientKeyBytes()
public ByteString getClientKeyBytes()
PEM representation of the replica's private key. The corresponding public
key is encoded in the client's certificate.
string client_key = 7;
| Returns |
| Type |
Description |
ByteString |
The bytes for clientKey.
|
getDefaultInstanceForType()
public OnPremisesConfiguration getDefaultInstanceForType()
getDmsManaged()
public boolean getDmsManaged()
Output only. Indicates whether the resource is managed by Database
Migration Service.
bool dms_managed = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
The dmsManaged.
|
getDumpFilePath()
public String getDumpFilePath()
The dump file to create the Cloud SQL replica.
string dump_file_path = 8;
| Returns |
| Type |
Description |
String |
The dumpFilePath.
|
getDumpFilePathBytes()
public ByteString getDumpFilePathBytes()
The dump file to create the Cloud SQL replica.
string dump_file_path = 8;
| Returns |
| Type |
Description |
ByteString |
The bytes for dumpFilePath.
|
getHostPort()
public String getHostPort()
The host and port of the on-premises instance in host:port format
string host_port = 1;
| Returns |
| Type |
Description |
String |
The hostPort.
|
getHostPortBytes()
public ByteString getHostPortBytes()
The host and port of the on-premises instance in host:port format
string host_port = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for hostPort.
|
getKind()
This is always sql#onPremisesConfiguration.
string kind = 2;
| Returns |
| Type |
Description |
String |
The kind.
|
getKindBytes()
public ByteString getKindBytes()
This is always sql#onPremisesConfiguration.
string kind = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for kind.
|
getParserForType()
public Parser<OnPremisesConfiguration> getParserForType()
Overrides
getPassword()
public String getPassword()
The password for connecting to on-premises instance.
string password = 4;
| Returns |
| Type |
Description |
String |
The password.
|
getPasswordBytes()
public ByteString getPasswordBytes()
The password for connecting to on-premises instance.
string password = 4;
| Returns |
| Type |
Description |
ByteString |
The bytes for password.
|
getSelectedObjects(int index)
public SelectedObjects getSelectedObjects(int index)
Optional. A list of objects that the user selects for replication from an
external source instance.
repeated .google.cloud.sql.v1beta4.SelectedObjects selected_objects = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getSelectedObjectsCount()
public int getSelectedObjectsCount()
Optional. A list of objects that the user selects for replication from an
external source instance.
repeated .google.cloud.sql.v1beta4.SelectedObjects selected_objects = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getSelectedObjectsList()
public List<SelectedObjects> getSelectedObjectsList()
Optional. A list of objects that the user selects for replication from an
external source instance.
repeated .google.cloud.sql.v1beta4.SelectedObjects selected_objects = 16 [(.google.api.field_behavior) = OPTIONAL];
getSelectedObjectsOrBuilder(int index)
public SelectedObjectsOrBuilder getSelectedObjectsOrBuilder(int index)
Optional. A list of objects that the user selects for replication from an
external source instance.
repeated .google.cloud.sql.v1beta4.SelectedObjects selected_objects = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getSelectedObjectsOrBuilderList()
public List<? extends SelectedObjectsOrBuilder> getSelectedObjectsOrBuilderList()
Optional. A list of objects that the user selects for replication from an
external source instance.
repeated .google.cloud.sql.v1beta4.SelectedObjects selected_objects = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.sql.v1beta4.SelectedObjectsOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSourceInstance()
public InstanceReference getSourceInstance()
The reference to Cloud SQL instance if the source is Cloud SQL.
.google.cloud.sql.v1beta4.InstanceReference source_instance = 15;
getSourceInstanceOrBuilder()
public InstanceReferenceOrBuilder getSourceInstanceOrBuilder()
The reference to Cloud SQL instance if the source is Cloud SQL.
.google.cloud.sql.v1beta4.InstanceReference source_instance = 15;
getSslOption()
public OnPremisesConfiguration.SslOption getSslOption()
Optional. SslOption for replica connection to the on-premises source.
.google.cloud.sql.v1beta4.OnPremisesConfiguration.SslOption ssl_option = 18 [(.google.api.field_behavior) = OPTIONAL];
getSslOptionValue()
public int getSslOptionValue()
Optional. SslOption for replica connection to the on-premises source.
.google.cloud.sql.v1beta4.OnPremisesConfiguration.SslOption ssl_option = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for sslOption.
|
getUsername()
public String getUsername()
The username for connecting to on-premises instance.
string username = 3;
| Returns |
| Type |
Description |
String |
The username.
|
getUsernameBytes()
public ByteString getUsernameBytes()
The username for connecting to on-premises instance.
string username = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for username.
|
hasSourceInstance()
public boolean hasSourceInstance()
The reference to Cloud SQL instance if the source is Cloud SQL.
.google.cloud.sql.v1beta4.InstanceReference source_instance = 15;
| Returns |
| Type |
Description |
boolean |
Whether the sourceInstance field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public OnPremisesConfiguration.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected OnPremisesConfiguration.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public OnPremisesConfiguration.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides