Class Datasource.Builder (0.1.0)

public static final class Datasource.Builder extends GeneratedMessageV3.Builder<Datasource.Builder> implements DatasourceOrBuilder

A datasource that can be used to answer questions.

Protobuf type google.cloud.geminidataanalytics.v1beta.Datasource

Implements

DatasourceOrBuilder

Static 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
Overrides

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
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Datasource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Datasource.Builder
Overrides

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
Overrides

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

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
Overrides

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

getDefaultInstanceForType()

public Datasource getDefaultInstanceForType()
Returns
Type Description
Datasource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Datasource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Datasource.Builder
Overrides

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Datasource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Datasource.Builder
Overrides

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

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
Overrides

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
Overrides

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

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 String

The 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 ByteString

The 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
Overrides