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