Class DataSourceConnectionSpec (1.9.3)

public final class DataSourceConnectionSpec extends GeneratedMessageV3 implements DataSourceConnectionSpecOrBuilder

Specification that applies to a data source connection. Valid only for entries with the DATA_SOURCE_CONNECTION type.

Protobuf type google.cloud.datacatalog.v1.DataSourceConnectionSpec

Static Fields

BIGQUERY_CONNECTION_SPEC_FIELD_NUMBER

public static final int BIGQUERY_CONNECTION_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataSourceConnectionSpec getDefaultInstance()
Returns
TypeDescription
DataSourceConnectionSpec

getDescriptor()

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

newBuilder()

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

newBuilder(DataSourceConnectionSpec prototype)

public static DataSourceConnectionSpec.Builder newBuilder(DataSourceConnectionSpec prototype)
Parameter
NameDescription
prototypeDataSourceConnectionSpec
Returns
TypeDescription
DataSourceConnectionSpec.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBigqueryConnectionSpec()

public BigQueryConnectionSpec getBigqueryConnectionSpec()

Fields specific to BigQuery connections.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;

Returns
TypeDescription
BigQueryConnectionSpec

The bigqueryConnectionSpec.

getBigqueryConnectionSpecOrBuilder()

public BigQueryConnectionSpecOrBuilder getBigqueryConnectionSpecOrBuilder()

Fields specific to BigQuery connections.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;

Returns
TypeDescription
BigQueryConnectionSpecOrBuilder

getDefaultInstanceForType()

public DataSourceConnectionSpec getDefaultInstanceForType()
Returns
TypeDescription
DataSourceConnectionSpec

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasBigqueryConnectionSpec()

public boolean hasBigqueryConnectionSpec()

Fields specific to BigQuery connections.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;

Returns
TypeDescription
boolean

Whether the bigqueryConnectionSpec 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 DataSourceConnectionSpec.Builder newBuilderForType()
Returns
TypeDescription
DataSourceConnectionSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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