Send feedback
Class Datasource (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
BIGQUERY_TABLE_REFERENCE_FIELD_NUMBER
public static final int BIGQUERY_TABLE_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
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
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;
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
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.
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.
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.
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]