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.
Only one of internal specs can be set at the time, and cannot
be changed later.
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
Static Methods
getDefaultInstance()
public static DataSourceConnectionSpec getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DataSourceConnectionSpec.Builder newBuilder()
Returns
newBuilder(DataSourceConnectionSpec prototype)
public static DataSourceConnectionSpec.Builder newBuilder(DataSourceConnectionSpec prototype)
Parameter
Returns
public static DataSourceConnectionSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataSourceConnectionSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DataSourceConnectionSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataSourceConnectionSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DataSourceConnectionSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataSourceConnectionSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataSourceConnectionSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DataSourceConnectionSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataSourceConnectionSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataSourceConnectionSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DataSourceConnectionSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataSourceConnectionSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DataSourceConnectionSpec> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBigqueryConnectionSpec()
public BigQueryConnectionSpec getBigqueryConnectionSpec()
Output only. Fields specific to BigQuery connections.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;
Returns
getBigqueryConnectionSpecOrBuilder()
public BigQueryConnectionSpecOrBuilder getBigqueryConnectionSpecOrBuilder()
Output only. Fields specific to BigQuery connections.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;
Returns
getDefaultInstanceForType()
public DataSourceConnectionSpec getDefaultInstanceForType()
Returns
getParserForType()
public Parser<DataSourceConnectionSpec> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasBigqueryConnectionSpec()
public boolean hasBigqueryConnectionSpec()
Output only. Fields specific to BigQuery connections.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;
Returns
Type | Description |
boolean | Whether the bigqueryConnectionSpec field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DataSourceConnectionSpec.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataSourceConnectionSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DataSourceConnectionSpec.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions