public final class Datasource extends GeneratedMessageV3 implements DatasourceOrBuilder
A datasource that can be used to answer questions.
Protobuf type google.cloud.geminidataanalytics.v1beta.Datasource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ALLOY_DB_REFERENCE_FIELD_NUMBER
public static final int ALLOY_DB_REFERENCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
BIGQUERY_TABLE_REFERENCE_FIELD_NUMBER
public static final int BIGQUERY_TABLE_REFERENCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLOUD_SQL_REFERENCE_FIELD_NUMBER
public static final int CLOUD_SQL_REFERENCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LOOKER_EXPLORE_REFERENCE_FIELD_NUMBER
public static final int LOOKER_EXPLORE_REFERENCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SPANNER_REFERENCE_FIELD_NUMBER
public static final int SPANNER_REFERENCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STRUCT_SCHEMA_FIELD_NUMBER
public static final int STRUCT_SCHEMA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STUDIO_DATASOURCE_ID_FIELD_NUMBER
public static final int STUDIO_DATASOURCE_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Datasource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Datasource.Builder newBuilder()
newBuilder(Datasource prototype)
public static Datasource.Builder newBuilder(Datasource prototype)
public static Datasource parseDelimitedFrom(InputStream input)
public static Datasource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Datasource parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Datasource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Datasource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Datasource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Datasource parseFrom(CodedInputStream input)
public static Datasource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Datasource parseFrom(InputStream input)
public static Datasource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Datasource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Datasource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Datasource> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAlloyDbReference()
public AlloyDbReference getAlloyDbReference()
A reference to an AlloyDB database.
.google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloy_db_reference = 12;
getAlloyDbReferenceOrBuilder()
public AlloyDbReferenceOrBuilder getAlloyDbReferenceOrBuilder()
A reference to an AlloyDB database.
.google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloy_db_reference = 12;
getBigqueryTableReference()
public BigQueryTableReference getBigqueryTableReference()
A reference to a BigQuery table.
.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference bigquery_table_reference = 1;
getBigqueryTableReferenceOrBuilder()
public BigQueryTableReferenceOrBuilder getBigqueryTableReferenceOrBuilder()
A reference to a BigQuery table.
.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference bigquery_table_reference = 1;
getCloudSqlReference()
public CloudSqlReference getCloudSqlReference()
A reference to a CloudSQL database.
.google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 14;
getCloudSqlReferenceOrBuilder()
public CloudSqlReferenceOrBuilder getCloudSqlReferenceOrBuilder()
A reference to a CloudSQL database.
.google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 14;
getDefaultInstanceForType()
public Datasource getDefaultInstanceForType()
getLookerExploreReference()
public LookerExploreReference getLookerExploreReference()
A reference to a Looker explore.
.google.cloud.geminidataanalytics.v1beta.LookerExploreReference looker_explore_reference = 4;
getLookerExploreReferenceOrBuilder()
public LookerExploreReferenceOrBuilder getLookerExploreReferenceOrBuilder()
A reference to a Looker explore.
.google.cloud.geminidataanalytics.v1beta.LookerExploreReference looker_explore_reference = 4;
getParserForType()
public Parser<Datasource> getParserForType()
Overrides
getReferenceCase()
public Datasource.ReferenceCase getReferenceCase()
getSchema()
public Schema getSchema()
Optional. The schema of the datasource.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Schema |
The schema.
|
getSchemaOrBuilder()
public SchemaOrBuilder getSchemaOrBuilder()
Optional. The schema of the datasource.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 7 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSpannerReference()
public SpannerReference getSpannerReference()
A reference to a Spanner database.
.google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 13;
getSpannerReferenceOrBuilder()
public SpannerReferenceOrBuilder getSpannerReferenceOrBuilder()
A reference to a Spanner database.
.google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 13;
getStructSchema()
public Struct getStructSchema()
| Returns |
| Type |
Description |
Struct |
The structSchema.
|
getStructSchemaOrBuilder()
public StructOrBuilder getStructSchemaOrBuilder()
getStudioDatasourceId()
public String getStudioDatasourceId()
A reference to a Looker Studio datasource.
string studio_datasource_id = 2;
| Returns |
| Type |
Description |
String |
The studioDatasourceId.
|
getStudioDatasourceIdBytes()
public ByteString getStudioDatasourceIdBytes()
A reference to a Looker Studio datasource.
string studio_datasource_id = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for studioDatasourceId.
|
hasAlloyDbReference()
public boolean hasAlloyDbReference()
A reference to an AlloyDB database.
.google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloy_db_reference = 12;
| Returns |
| Type |
Description |
boolean |
Whether the alloyDbReference field is set.
|
hasBigqueryTableReference()
public boolean hasBigqueryTableReference()
A reference to a BigQuery table.
.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference bigquery_table_reference = 1;
| Returns |
| Type |
Description |
boolean |
Whether the bigqueryTableReference field is set.
|
hasCloudSqlReference()
public boolean hasCloudSqlReference()
A reference to a CloudSQL database.
.google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 14;
| Returns |
| Type |
Description |
boolean |
Whether the cloudSqlReference field is set.
|
hasLookerExploreReference()
public boolean hasLookerExploreReference()
A reference to a Looker explore.
.google.cloud.geminidataanalytics.v1beta.LookerExploreReference looker_explore_reference = 4;
| Returns |
| Type |
Description |
boolean |
Whether the lookerExploreReference field is set.
|
hasSchema()
public boolean hasSchema()
Optional. The schema of the datasource.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the schema field is set.
|
hasSpannerReference()
public boolean hasSpannerReference()
A reference to a Spanner database.
.google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 13;
| Returns |
| Type |
Description |
boolean |
Whether the spannerReference field is set.
|
hasStructSchema()
public boolean hasStructSchema()
| Returns |
| Type |
Description |
boolean |
Whether the structSchema field is set.
|
hasStudioDatasourceId()
public boolean hasStudioDatasourceId()
A reference to a Looker Studio datasource.
string studio_datasource_id = 2;
| Returns |
| Type |
Description |
boolean |
Whether the studioDatasourceId field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Datasource.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Datasource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public Datasource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides