Class ConnectionProto.ConnectionCredential (2.30.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConnectionProto.ConnectionCredential getDefaultInstance()
Returns
TypeDescription
ConnectionProto.ConnectionCredential

getDescriptor()

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

newBuilder()

public static ConnectionProto.ConnectionCredential.Builder newBuilder()
Returns
TypeDescription
ConnectionProto.ConnectionCredential.Builder

newBuilder(ConnectionProto.ConnectionCredential prototype)

public static ConnectionProto.ConnectionCredential.Builder newBuilder(ConnectionProto.ConnectionCredential prototype)
Parameter
NameDescription
prototypeConnectionProto.ConnectionCredential
Returns
TypeDescription
ConnectionProto.ConnectionCredential.Builder

parseDelimitedFrom(InputStream input)

public static ConnectionProto.ConnectionCredential parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConnectionProto.ConnectionCredential
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ConnectionProto.ConnectionCredential parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ConnectionProto.ConnectionCredential
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ConnectionProto.ConnectionCredential parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ConnectionProto.ConnectionCredential
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ConnectionProto.ConnectionCredential parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConnectionProto.ConnectionCredential
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ConnectionProto.ConnectionCredential parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ConnectionProto.ConnectionCredential
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCloudSql()

public ConnectionProto.CloudSqlCredential getCloudSql()

Credential for Cloud SQL database.

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

Returns
TypeDescription
ConnectionProto.CloudSqlCredential

The cloudSql.

getCloudSqlOrBuilder()

public ConnectionProto.CloudSqlCredentialOrBuilder getCloudSqlOrBuilder()

Credential for Cloud SQL database.

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

Returns
TypeDescription
ConnectionProto.CloudSqlCredentialOrBuilder

getCredentialCase()

public ConnectionProto.ConnectionCredential.CredentialCase getCredentialCase()
Returns
TypeDescription
ConnectionProto.ConnectionCredential.CredentialCase

getDefaultInstanceForType()

public ConnectionProto.ConnectionCredential getDefaultInstanceForType()
Returns
TypeDescription
ConnectionProto.ConnectionCredential

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCloudSql()

public boolean hasCloudSql()

Credential for Cloud SQL database.

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

Returns
TypeDescription
boolean

Whether the cloudSql 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 ConnectionProto.ConnectionCredential.Builder newBuilderForType()
Returns
TypeDescription
ConnectionProto.ConnectionCredential.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ConnectionProto.ConnectionCredential.Builder toBuilder()
Returns
TypeDescription
ConnectionProto.ConnectionCredential.Builder

writeTo(CodedOutputStream output)

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