Class BigQueryConnectionSpec (1.53.0)

public final class BigQueryConnectionSpec extends GeneratedMessageV3 implements BigQueryConnectionSpecOrBuilder

Specification for the BigQuery connection.

Protobuf type google.cloud.datacatalog.v1.BigQueryConnectionSpec

Static Fields

CLOUD_SQL_FIELD_NUMBER

public static final int CLOUD_SQL_FIELD_NUMBER
Field Value
Type Description
int

CONNECTION_TYPE_FIELD_NUMBER

public static final int CONNECTION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

HAS_CREDENTIAL_FIELD_NUMBER

public static final int HAS_CREDENTIAL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BigQueryConnectionSpec getDefaultInstance()
Returns
Type Description
BigQueryConnectionSpec

getDescriptor()

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

newBuilder()

public static BigQueryConnectionSpec.Builder newBuilder()
Returns
Type Description
BigQueryConnectionSpec.Builder

newBuilder(BigQueryConnectionSpec prototype)

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

parseDelimitedFrom(InputStream input)

public static BigQueryConnectionSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigQueryConnectionSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BigQueryConnectionSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BigQueryConnectionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static BigQueryConnectionSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BigQueryConnectionSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static BigQueryConnectionSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigQueryConnectionSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BigQueryConnectionSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BigQueryConnectionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BigQueryConnectionSpec> parser()
Returns
Type Description
Parser<BigQueryConnectionSpec>

Methods

equals(Object obj)

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

getCloudSql()

public CloudSqlBigQueryConnectionSpec getCloudSql()

Specification for the BigQuery connection to a Cloud SQL instance.

.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;

Returns
Type Description
CloudSqlBigQueryConnectionSpec

The cloudSql.

getCloudSqlOrBuilder()

public CloudSqlBigQueryConnectionSpecOrBuilder getCloudSqlOrBuilder()

Specification for the BigQuery connection to a Cloud SQL instance.

.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;

Returns
Type Description
CloudSqlBigQueryConnectionSpecOrBuilder

getConnectionSpecCase()

public BigQueryConnectionSpec.ConnectionSpecCase getConnectionSpecCase()
Returns
Type Description
BigQueryConnectionSpec.ConnectionSpecCase

getConnectionType()

public BigQueryConnectionSpec.ConnectionType getConnectionType()

The type of the BigQuery connection.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;

Returns
Type Description
BigQueryConnectionSpec.ConnectionType

The connectionType.

getConnectionTypeValue()

public int getConnectionTypeValue()

The type of the BigQuery connection.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for connectionType.

getDefaultInstanceForType()

public BigQueryConnectionSpec getDefaultInstanceForType()
Returns
Type Description
BigQueryConnectionSpec

getHasCredential()

public boolean getHasCredential()

True if there are credentials attached to the BigQuery connection; false otherwise.

bool has_credential = 3;

Returns
Type Description
boolean

The hasCredential.

getParserForType()

public Parser<BigQueryConnectionSpec> getParserForType()
Returns
Type Description
Parser<BigQueryConnectionSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCloudSql()

public boolean hasCloudSql()

Specification for the BigQuery connection to a Cloud SQL instance.

.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;

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 BigQueryConnectionSpec.Builder newBuilderForType()
Returns
Type Description
BigQueryConnectionSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public BigQueryConnectionSpec.Builder toBuilder()
Returns
Type Description
BigQueryConnectionSpec.Builder

writeTo(CodedOutputStream output)

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