public final class BigQueryConnectionSpec extends GeneratedMessageV3 implements BigQueryConnectionSpecOrBuilder
Specification for the BigQuery connection.
Protobuf type google.cloud.datacatalog.v1.BigQueryConnectionSpec
Fields
CLOUD_SQL_FIELD_NUMBER
public static final int CLOUD_SQL_FIELD_NUMBER
Field Value
CONNECTION_TYPE_FIELD_NUMBER
public static final int CONNECTION_TYPE_FIELD_NUMBER
Field Value
HAS_CREDENTIAL_FIELD_NUMBER
public static final int HAS_CREDENTIAL_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCloudSql()
public CloudSqlBigQueryConnectionSpec getCloudSql()
Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
Returns
getCloudSqlOrBuilder()
public CloudSqlBigQueryConnectionSpecOrBuilder getCloudSqlOrBuilder()
Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
Returns
getConnectionSpecCase()
public BigQueryConnectionSpec.ConnectionSpecCase getConnectionSpecCase()
Returns
getConnectionType()
public BigQueryConnectionSpec.ConnectionType getConnectionType()
The type of the BigQuery connection.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;
Returns
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.
|
getDefaultInstance()
public static BigQueryConnectionSpec getDefaultInstance()
Returns
getDefaultInstanceForType()
public BigQueryConnectionSpec getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static BigQueryConnectionSpec.Builder newBuilder()
Returns
newBuilder(BigQueryConnectionSpec prototype)
public static BigQueryConnectionSpec.Builder newBuilder(BigQueryConnectionSpec prototype)
Parameter
Returns
newBuilderForType()
public BigQueryConnectionSpec.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BigQueryConnectionSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static BigQueryConnectionSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BigQueryConnectionSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BigQueryConnectionSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BigQueryConnectionSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BigQueryConnectionSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQueryConnectionSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BigQueryConnectionSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BigQueryConnectionSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BigQueryConnectionSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BigQueryConnectionSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BigQueryConnectionSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BigQueryConnectionSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BigQueryConnectionSpec> parser()
Returns
toBuilder()
public BigQueryConnectionSpec.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions