Class MysqlProfile (1.8.0)

public final class MysqlProfile extends GeneratedMessageV3 implements MysqlProfileOrBuilder

MySQL database profile.

Protobuf type google.cloud.datastream.v1alpha1.MysqlProfile

Static Fields

HOSTNAME_FIELD_NUMBER

public static final int HOSTNAME_FIELD_NUMBER
Field Value
TypeDescription
int

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
TypeDescription
int

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
Field Value
TypeDescription
int

SSL_CONFIG_FIELD_NUMBER

public static final int SSL_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

USERNAME_FIELD_NUMBER

public static final int USERNAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MysqlProfile getDefaultInstance()
Returns
TypeDescription
MysqlProfile

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MysqlProfile.Builder newBuilder()
Returns
TypeDescription
MysqlProfile.Builder

newBuilder(MysqlProfile prototype)

public static MysqlProfile.Builder newBuilder(MysqlProfile prototype)
Parameter
NameDescription
prototypeMysqlProfile
Returns
TypeDescription
MysqlProfile.Builder

parseDelimitedFrom(InputStream input)

public static MysqlProfile parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MysqlProfile
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlProfile
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MysqlProfile parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MysqlProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MysqlProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MysqlProfile parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MysqlProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MysqlProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MysqlProfile parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MysqlProfile
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MysqlProfile parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MysqlProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlProfile
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MysqlProfile parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MysqlProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MysqlProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MysqlProfile> parser()
Returns
TypeDescription
Parser<MysqlProfile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public MysqlProfile getDefaultInstanceForType()
Returns
TypeDescription
MysqlProfile

getHostname()

public String getHostname()

Required. Hostname for the MySQL connection.

string hostname = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

Required. Hostname for the MySQL connection.

string hostname = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for hostname.

getParserForType()

public Parser<MysqlProfile> getParserForType()
Returns
TypeDescription
Parser<MysqlProfile>
Overrides

getPassword()

public String getPassword()

Required. Input only. Password for the MySQL connection.

string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Required. Input only. Password for the MySQL connection.

string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for password.

getPort()

public int getPort()

Port for the MySQL connection, default value is 3306.

int32 port = 2;

Returns
TypeDescription
int

The port.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSslConfig()

public MysqlSslConfig getSslConfig()

SSL configuration for the MySQL connection.

.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;

Returns
TypeDescription
MysqlSslConfig

The sslConfig.

getSslConfigOrBuilder()

public MysqlSslConfigOrBuilder getSslConfigOrBuilder()

SSL configuration for the MySQL connection.

.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;

Returns
TypeDescription
MysqlSslConfigOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUsername()

public String getUsername()

Required. Username for the MySQL connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Required. Username for the MySQL connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for username.

hasSslConfig()

public boolean hasSslConfig()

SSL configuration for the MySQL connection.

.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;

Returns
TypeDescription
boolean

Whether the sslConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MysqlProfile.Builder newBuilderForType()
Returns
TypeDescription
MysqlProfile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MysqlProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MysqlProfile.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MysqlProfile.Builder toBuilder()
Returns
TypeDescription
MysqlProfile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException