Class BigQueryConnectionSpec (1.9.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
TypeDescription
int

CONNECTION_TYPE_FIELD_NUMBER

public static final int CONNECTION_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

HAS_CREDENTIAL_FIELD_NUMBER

public static final int HAS_CREDENTIAL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BigQueryConnectionSpec getDefaultInstance()
Returns
TypeDescription
BigQueryConnectionSpec

getDescriptor()

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

newBuilder()

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

newBuilder(BigQueryConnectionSpec prototype)

public static BigQueryConnectionSpec.Builder newBuilder(BigQueryConnectionSpec prototype)
Parameter
NameDescription
prototypeBigQueryConnectionSpec
Returns
TypeDescription
BigQueryConnectionSpec.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CloudSqlBigQueryConnectionSpecOrBuilder

getConnectionSpecCase()

public BigQueryConnectionSpec.ConnectionSpecCase getConnectionSpecCase()
Returns
TypeDescription
BigQueryConnectionSpec.ConnectionSpecCase

getConnectionType()

public BigQueryConnectionSpec.ConnectionType getConnectionType()

The type of the BigQuery connection.

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

Returns
TypeDescription
BigQueryConnectionSpec.ConnectionType

The connectionType.

getConnectionTypeValue()

public int getConnectionTypeValue()

The type of the BigQuery connection.

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

Returns
TypeDescription
int

The enum numeric value on the wire for connectionType.

getDefaultInstanceForType()

public BigQueryConnectionSpec getDefaultInstanceForType()
Returns
TypeDescription
BigQueryConnectionSpec

getHasCredential()

public boolean getHasCredential()

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

bool has_credential = 3;

Returns
TypeDescription
boolean

The hasCredential.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCloudSql()

public boolean hasCloudSql()

Specification for the BigQuery connection to a Cloud SQL instance.

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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