Class ConnectionProto.ConnectionCredential (2.57.0)

public static final class ConnectionProto.ConnectionCredential extends GeneratedMessageV3 implements ConnectionProto.ConnectionCredentialOrBuilder

Credential to use with a connection.

Protobuf type google.cloud.bigquery.connection.v1beta1.ConnectionCredential

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ConnectionProto.ConnectionCredential

Static Fields

CLOUD_SQL_FIELD_NUMBER

public static final int CLOUD_SQL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConnectionProto.ConnectionCredential getDefaultInstance()
Returns
Type Description
ConnectionProto.ConnectionCredential

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ConnectionProto.ConnectionCredential.Builder newBuilder()
Returns
Type Description
ConnectionProto.ConnectionCredential.Builder

newBuilder(ConnectionProto.ConnectionCredential prototype)

public static ConnectionProto.ConnectionCredential.Builder newBuilder(ConnectionProto.ConnectionCredential prototype)
Parameter
Name Description
prototype ConnectionProto.ConnectionCredential
Returns
Type Description
ConnectionProto.ConnectionCredential.Builder

parseDelimitedFrom(InputStream input)

public static ConnectionProto.ConnectionCredential parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConnectionProto.ConnectionCredential
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectionProto.ConnectionCredential parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionProto.ConnectionCredential
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ConnectionProto.ConnectionCredential parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ConnectionProto.ConnectionCredential
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConnectionProto.ConnectionCredential parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionProto.ConnectionCredential
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConnectionProto.ConnectionCredential parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConnectionProto.ConnectionCredential
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConnectionProto.ConnectionCredential parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionProto.ConnectionCredential
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConnectionProto.ConnectionCredential parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConnectionProto.ConnectionCredential
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectionProto.ConnectionCredential parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionProto.ConnectionCredential
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ConnectionProto.ConnectionCredential parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConnectionProto.ConnectionCredential
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectionProto.ConnectionCredential parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionProto.ConnectionCredential
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ConnectionProto.ConnectionCredential parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConnectionProto.ConnectionCredential
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConnectionProto.ConnectionCredential parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionProto.ConnectionCredential
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ConnectionProto.ConnectionCredential> parser()
Returns
Type Description
Parser<ConnectionCredential>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCloudSql()

public ConnectionProto.CloudSqlCredential getCloudSql()

Credential for Cloud SQL database.

.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;

Returns
Type Description
ConnectionProto.CloudSqlCredential

The cloudSql.

getCloudSqlOrBuilder()

public ConnectionProto.CloudSqlCredentialOrBuilder getCloudSqlOrBuilder()

Credential for Cloud SQL database.

.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;

Returns
Type Description
ConnectionProto.CloudSqlCredentialOrBuilder

getCredentialCase()

public ConnectionProto.ConnectionCredential.CredentialCase getCredentialCase()
Returns
Type Description
ConnectionProto.ConnectionCredential.CredentialCase

getDefaultInstanceForType()

public ConnectionProto.ConnectionCredential getDefaultInstanceForType()
Returns
Type Description
ConnectionProto.ConnectionCredential

getParserForType()

public Parser<ConnectionProto.ConnectionCredential> getParserForType()
Returns
Type Description
Parser<ConnectionCredential>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCloudSql()

public boolean hasCloudSql()

Credential for Cloud SQL database.

.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;

Returns
Type Description
boolean

Whether the cloudSql field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ConnectionProto.ConnectionCredential.Builder newBuilderForType()
Returns
Type Description
ConnectionProto.ConnectionCredential.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConnectionProto.ConnectionCredential.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ConnectionProto.ConnectionCredential.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ConnectionProto.ConnectionCredential.Builder toBuilder()
Returns
Type Description
ConnectionProto.ConnectionCredential.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException