public static final class Datasource.Builder extends GeneratedMessageV3.Builder<Datasource.Builder> implements DatasourceOrBuilderA datasource that can be used to answer questions.
Protobuf type google.cloud.geminidataanalytics.v1beta.Datasource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Datasource.BuilderImplements
DatasourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Datasource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
build()
public Datasource build()| Returns | |
|---|---|
| Type | Description |
Datasource |
|
buildPartial()
public Datasource buildPartial()| Returns | |
|---|---|
| Type | Description |
Datasource |
|
clear()
public Datasource.Builder clear()| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
clearAlloyDbReference()
public Datasource.Builder clearAlloyDbReference()A reference to an AlloyDB database.
.google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloy_db_reference = 12;
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
clearBigqueryTableReference()
public Datasource.Builder clearBigqueryTableReference()A reference to a BigQuery table.
.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference bigquery_table_reference = 1;
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
clearCloudSqlReference()
public Datasource.Builder clearCloudSqlReference()A reference to a CloudSQL database.
.google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 14;
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public Datasource.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
clearLookerExploreReference()
public Datasource.Builder clearLookerExploreReference()A reference to a Looker explore.
.google.cloud.geminidataanalytics.v1beta.LookerExploreReference looker_explore_reference = 4;
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public Datasource.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
clearReference()
public Datasource.Builder clearReference()| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
clearSchema()
public Datasource.Builder clearSchema()Optional. The schema of the datasource.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
clearSpannerReference()
public Datasource.Builder clearSpannerReference()A reference to a Spanner database.
.google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 13;
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
clearStructSchema()
public Datasource.Builder clearStructSchema() Optional. A struct representation of the schema.
This is populated for datasources with schemas that cannot be
fully represented by the strongly-typed schema field.
For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore
.google.protobuf.Struct struct_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
clearStudioDatasourceId()
public Datasource.Builder clearStudioDatasourceId()A reference to a Looker Studio datasource.
string studio_datasource_id = 2;
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
This builder for chaining. |
clone()
public Datasource.Builder clone()| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
getAlloyDbReference()
public AlloyDbReference getAlloyDbReference()A reference to an AlloyDB database.
.google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloy_db_reference = 12;
| Returns | |
|---|---|
| Type | Description |
AlloyDbReference |
The alloyDbReference. |
getAlloyDbReferenceBuilder()
public AlloyDbReference.Builder getAlloyDbReferenceBuilder()A reference to an AlloyDB database.
.google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloy_db_reference = 12;
| Returns | |
|---|---|
| Type | Description |
AlloyDbReference.Builder |
|
getAlloyDbReferenceOrBuilder()
public AlloyDbReferenceOrBuilder getAlloyDbReferenceOrBuilder()A reference to an AlloyDB database.
.google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloy_db_reference = 12;
| Returns | |
|---|---|
| Type | Description |
AlloyDbReferenceOrBuilder |
|
getBigqueryTableReference()
public BigQueryTableReference getBigqueryTableReference()A reference to a BigQuery table.
.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference bigquery_table_reference = 1;
| Returns | |
|---|---|
| Type | Description |
BigQueryTableReference |
The bigqueryTableReference. |
getBigqueryTableReferenceBuilder()
public BigQueryTableReference.Builder getBigqueryTableReferenceBuilder()A reference to a BigQuery table.
.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference bigquery_table_reference = 1;
| Returns | |
|---|---|
| Type | Description |
BigQueryTableReference.Builder |
|
getBigqueryTableReferenceOrBuilder()
public BigQueryTableReferenceOrBuilder getBigqueryTableReferenceOrBuilder()A reference to a BigQuery table.
.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference bigquery_table_reference = 1;
| Returns | |
|---|---|
| Type | Description |
BigQueryTableReferenceOrBuilder |
|
getCloudSqlReference()
public CloudSqlReference getCloudSqlReference()A reference to a CloudSQL database.
.google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 14;
| Returns | |
|---|---|
| Type | Description |
CloudSqlReference |
The cloudSqlReference. |
getCloudSqlReferenceBuilder()
public CloudSqlReference.Builder getCloudSqlReferenceBuilder()A reference to a CloudSQL database.
.google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 14;
| Returns | |
|---|---|
| Type | Description |
CloudSqlReference.Builder |
|
getCloudSqlReferenceOrBuilder()
public CloudSqlReferenceOrBuilder getCloudSqlReferenceOrBuilder()A reference to a CloudSQL database.
.google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 14;
| Returns | |
|---|---|
| Type | Description |
CloudSqlReferenceOrBuilder |
|
getDefaultInstanceForType()
public Datasource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Datasource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLookerExploreReference()
public LookerExploreReference getLookerExploreReference()A reference to a Looker explore.
.google.cloud.geminidataanalytics.v1beta.LookerExploreReference looker_explore_reference = 4;
| Returns | |
|---|---|
| Type | Description |
LookerExploreReference |
The lookerExploreReference. |
getLookerExploreReferenceBuilder()
public LookerExploreReference.Builder getLookerExploreReferenceBuilder()A reference to a Looker explore.
.google.cloud.geminidataanalytics.v1beta.LookerExploreReference looker_explore_reference = 4;
| Returns | |
|---|---|
| Type | Description |
LookerExploreReference.Builder |
|
getLookerExploreReferenceOrBuilder()
public LookerExploreReferenceOrBuilder getLookerExploreReferenceOrBuilder()A reference to a Looker explore.
.google.cloud.geminidataanalytics.v1beta.LookerExploreReference looker_explore_reference = 4;
| Returns | |
|---|---|
| Type | Description |
LookerExploreReferenceOrBuilder |
|
getReferenceCase()
public Datasource.ReferenceCase getReferenceCase()| Returns | |
|---|---|
| Type | Description |
Datasource.ReferenceCase |
|
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. |
getSchemaBuilder()
public Schema.Builder getSchemaBuilder()Optional. The schema of the datasource.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
getSchemaOrBuilder()
public SchemaOrBuilder getSchemaOrBuilder()Optional. The schema of the datasource.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SchemaOrBuilder |
|
getSpannerReference()
public SpannerReference getSpannerReference()A reference to a Spanner database.
.google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 13;
| Returns | |
|---|---|
| Type | Description |
SpannerReference |
The spannerReference. |
getSpannerReferenceBuilder()
public SpannerReference.Builder getSpannerReferenceBuilder()A reference to a Spanner database.
.google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 13;
| Returns | |
|---|---|
| Type | Description |
SpannerReference.Builder |
|
getSpannerReferenceOrBuilder()
public SpannerReferenceOrBuilder getSpannerReferenceOrBuilder()A reference to a Spanner database.
.google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 13;
| Returns | |
|---|---|
| Type | Description |
SpannerReferenceOrBuilder |
|
getStructSchema()
public Struct getStructSchema() Optional. A struct representation of the schema.
This is populated for datasources with schemas that cannot be
fully represented by the strongly-typed schema field.
For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore
.google.protobuf.Struct struct_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The structSchema. |
getStructSchemaBuilder()
public Struct.Builder getStructSchemaBuilder() Optional. A struct representation of the schema.
This is populated for datasources with schemas that cannot be
fully represented by the strongly-typed schema field.
For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore
.google.protobuf.Struct struct_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStructSchemaOrBuilder()
public StructOrBuilder getStructSchemaOrBuilder() Optional. A struct representation of the schema.
This is populated for datasources with schemas that cannot be
fully represented by the strongly-typed schema field.
For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore
.google.protobuf.Struct struct_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
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() Optional. A struct representation of the schema.
This is populated for datasources with schemas that cannot be
fully represented by the strongly-typed schema field.
For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore
.google.protobuf.Struct struct_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
| 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAlloyDbReference(AlloyDbReference value)
public Datasource.Builder mergeAlloyDbReference(AlloyDbReference value)A reference to an AlloyDB database.
.google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloy_db_reference = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
AlloyDbReference |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
mergeBigqueryTableReference(BigQueryTableReference value)
public Datasource.Builder mergeBigqueryTableReference(BigQueryTableReference value)A reference to a BigQuery table.
.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference bigquery_table_reference = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
BigQueryTableReference |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
mergeCloudSqlReference(CloudSqlReference value)
public Datasource.Builder mergeCloudSqlReference(CloudSqlReference value)A reference to a CloudSQL database.
.google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 14;
| Parameter | |
|---|---|
| Name | Description |
value |
CloudSqlReference |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
mergeFrom(Datasource other)
public Datasource.Builder mergeFrom(Datasource other)| Parameter | |
|---|---|
| Name | Description |
other |
Datasource |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Datasource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Datasource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
mergeLookerExploreReference(LookerExploreReference value)
public Datasource.Builder mergeLookerExploreReference(LookerExploreReference value)A reference to a Looker explore.
.google.cloud.geminidataanalytics.v1beta.LookerExploreReference looker_explore_reference = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
LookerExploreReference |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
mergeSchema(Schema value)
public Datasource.Builder mergeSchema(Schema value)Optional. The schema of the datasource.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
mergeSpannerReference(SpannerReference value)
public Datasource.Builder mergeSpannerReference(SpannerReference value)A reference to a Spanner database.
.google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
SpannerReference |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
mergeStructSchema(Struct value)
public Datasource.Builder mergeStructSchema(Struct value) Optional. A struct representation of the schema.
This is populated for datasources with schemas that cannot be
fully represented by the strongly-typed schema field.
For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore
.google.protobuf.Struct struct_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Datasource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setAlloyDbReference(AlloyDbReference value)
public Datasource.Builder setAlloyDbReference(AlloyDbReference value)A reference to an AlloyDB database.
.google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloy_db_reference = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
AlloyDbReference |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setAlloyDbReference(AlloyDbReference.Builder builderForValue)
public Datasource.Builder setAlloyDbReference(AlloyDbReference.Builder builderForValue)A reference to an AlloyDB database.
.google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloy_db_reference = 12;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AlloyDbReference.Builder |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setBigqueryTableReference(BigQueryTableReference value)
public Datasource.Builder setBigqueryTableReference(BigQueryTableReference value)A reference to a BigQuery table.
.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference bigquery_table_reference = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
BigQueryTableReference |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setBigqueryTableReference(BigQueryTableReference.Builder builderForValue)
public Datasource.Builder setBigqueryTableReference(BigQueryTableReference.Builder builderForValue)A reference to a BigQuery table.
.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference bigquery_table_reference = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BigQueryTableReference.Builder |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setCloudSqlReference(CloudSqlReference value)
public Datasource.Builder setCloudSqlReference(CloudSqlReference value)A reference to a CloudSQL database.
.google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 14;
| Parameter | |
|---|---|
| Name | Description |
value |
CloudSqlReference |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setCloudSqlReference(CloudSqlReference.Builder builderForValue)
public Datasource.Builder setCloudSqlReference(CloudSqlReference.Builder builderForValue)A reference to a CloudSQL database.
.google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 14;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CloudSqlReference.Builder |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public Datasource.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setLookerExploreReference(LookerExploreReference value)
public Datasource.Builder setLookerExploreReference(LookerExploreReference value)A reference to a Looker explore.
.google.cloud.geminidataanalytics.v1beta.LookerExploreReference looker_explore_reference = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
LookerExploreReference |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setLookerExploreReference(LookerExploreReference.Builder builderForValue)
public Datasource.Builder setLookerExploreReference(LookerExploreReference.Builder builderForValue)A reference to a Looker explore.
.google.cloud.geminidataanalytics.v1beta.LookerExploreReference looker_explore_reference = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LookerExploreReference.Builder |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Datasource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setSchema(Schema value)
public Datasource.Builder setSchema(Schema value)Optional. The schema of the datasource.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setSchema(Schema.Builder builderForValue)
public Datasource.Builder setSchema(Schema.Builder builderForValue)Optional. The schema of the datasource.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Schema.Builder |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setSpannerReference(SpannerReference value)
public Datasource.Builder setSpannerReference(SpannerReference value)A reference to a Spanner database.
.google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
SpannerReference |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setSpannerReference(SpannerReference.Builder builderForValue)
public Datasource.Builder setSpannerReference(SpannerReference.Builder builderForValue)A reference to a Spanner database.
.google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 13;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SpannerReference.Builder |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setStructSchema(Struct value)
public Datasource.Builder setStructSchema(Struct value) Optional. A struct representation of the schema.
This is populated for datasources with schemas that cannot be
fully represented by the strongly-typed schema field.
For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore
.google.protobuf.Struct struct_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setStructSchema(Struct.Builder builderForValue)
public Datasource.Builder setStructSchema(Struct.Builder builderForValue) Optional. A struct representation of the schema.
This is populated for datasources with schemas that cannot be
fully represented by the strongly-typed schema field.
For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore
.google.protobuf.Struct struct_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|
setStudioDatasourceId(String value)
public Datasource.Builder setStudioDatasourceId(String value)A reference to a Looker Studio datasource.
string studio_datasource_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe studioDatasourceId to set. |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
This builder for chaining. |
setStudioDatasourceIdBytes(ByteString value)
public Datasource.Builder setStudioDatasourceIdBytes(ByteString value)A reference to a Looker Studio datasource.
string studio_datasource_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for studioDatasourceId to set. |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Datasource.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Datasource.Builder |
|