Class SchemaResult.Builder (0.11.0)

public static final class SchemaResult.Builder extends GeneratedMessage.Builder<SchemaResult.Builder> implements SchemaResultOrBuilder

The result of schema resolution.

Protobuf type google.cloud.geminidataanalytics.v1beta.SchemaResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDatasources(Iterable<? extends Datasource> values)

public SchemaResult.Builder addAllDatasources(Iterable<? extends Datasource> values)

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.Datasource>
Returns
Type Description
SchemaResult.Builder

addDatasources(Datasource value)

public SchemaResult.Builder addDatasources(Datasource value)

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Datasource
Returns
Type Description
SchemaResult.Builder

addDatasources(Datasource.Builder builderForValue)

public SchemaResult.Builder addDatasources(Datasource.Builder builderForValue)

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Datasource.Builder
Returns
Type Description
SchemaResult.Builder

addDatasources(int index, Datasource value)

public SchemaResult.Builder addDatasources(int index, Datasource value)

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Datasource
Returns
Type Description
SchemaResult.Builder

addDatasources(int index, Datasource.Builder builderForValue)

public SchemaResult.Builder addDatasources(int index, Datasource.Builder builderForValue)

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Datasource.Builder
Returns
Type Description
SchemaResult.Builder

addDatasourcesBuilder()

public Datasource.Builder addDatasourcesBuilder()

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Datasource.Builder

addDatasourcesBuilder(int index)

public Datasource.Builder addDatasourcesBuilder(int index)

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Datasource.Builder

build()

public SchemaResult build()
Returns
Type Description
SchemaResult

buildPartial()

public SchemaResult buildPartial()
Returns
Type Description
SchemaResult

clear()

public SchemaResult.Builder clear()
Returns
Type Description
SchemaResult.Builder
Overrides

clearDatasources()

public SchemaResult.Builder clearDatasources()

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SchemaResult.Builder

getDatasources(int index)

public Datasource getDatasources(int index)

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Datasource

getDatasourcesBuilder(int index)

public Datasource.Builder getDatasourcesBuilder(int index)

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Datasource.Builder

getDatasourcesBuilderList()

public List<Datasource.Builder> getDatasourcesBuilderList()

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getDatasourcesCount()

public int getDatasourcesCount()

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getDatasourcesList()

public List<Datasource> getDatasourcesList()

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Datasource>

getDatasourcesOrBuilder(int index)

public DatasourceOrBuilder getDatasourcesOrBuilder(int index)

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DatasourceOrBuilder

getDatasourcesOrBuilderList()

public List<? extends DatasourceOrBuilder> getDatasourcesOrBuilderList()

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.geminidataanalytics.v1beta.DatasourceOrBuilder>

getDefaultInstanceForType()

public SchemaResult getDefaultInstanceForType()
Returns
Type Description
SchemaResult

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SchemaResult other)

public SchemaResult.Builder mergeFrom(SchemaResult other)
Parameter
Name Description
other SchemaResult
Returns
Type Description
SchemaResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SchemaResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SchemaResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

removeDatasources(int index)

public SchemaResult.Builder removeDatasources(int index)

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SchemaResult.Builder

setDatasources(int index, Datasource value)

public SchemaResult.Builder setDatasources(int index, Datasource value)

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Datasource
Returns
Type Description
SchemaResult.Builder

setDatasources(int index, Datasource.Builder builderForValue)

public SchemaResult.Builder setDatasources(int index, Datasource.Builder builderForValue)

Optional. The datasources used to resolve the schema query.

repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Datasource.Builder
Returns
Type Description
SchemaResult.Builder