Class EstimateDataSizeRequest.FileDataSource.Builder (0.42.0)

public static final class EstimateDataSizeRequest.FileDataSource.Builder extends GeneratedMessageV3.Builder<EstimateDataSizeRequest.FileDataSource.Builder> implements EstimateDataSizeRequest.FileDataSourceOrBuilder

Data source contains files either in Cloud Storage or BigQuery.

Protobuf type google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EstimateDataSizeRequest.FileDataSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder
Overrides

build()

public EstimateDataSizeRequest.FileDataSource build()
Returns
Type Description
EstimateDataSizeRequest.FileDataSource

buildPartial()

public EstimateDataSizeRequest.FileDataSource buildPartial()
Returns
Type Description
EstimateDataSizeRequest.FileDataSource

clear()

public EstimateDataSizeRequest.FileDataSource.Builder clear()
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder
Overrides

clearBigquerySource()

public EstimateDataSizeRequest.FileDataSource.Builder clearBigquerySource()

BigQuery input source.

.google.cloud.discoveryengine.v1alpha.BigQuerySource bigquery_source = 2;

Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGcsSource()

public EstimateDataSizeRequest.FileDataSource.Builder clearGcsSource()

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1alpha.GcsSource gcs_source = 1;

Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public EstimateDataSizeRequest.FileDataSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder
Overrides

clearSource()

public EstimateDataSizeRequest.FileDataSource.Builder clearSource()
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder

clone()

public EstimateDataSizeRequest.FileDataSource.Builder clone()
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder
Overrides

getBigquerySource()

public BigQuerySource getBigquerySource()

BigQuery input source.

.google.cloud.discoveryengine.v1alpha.BigQuerySource bigquery_source = 2;

Returns
Type Description
BigQuerySource

The bigquerySource.

getBigquerySourceBuilder()

public BigQuerySource.Builder getBigquerySourceBuilder()

BigQuery input source.

.google.cloud.discoveryengine.v1alpha.BigQuerySource bigquery_source = 2;

Returns
Type Description
BigQuerySource.Builder

getBigquerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()

BigQuery input source.

.google.cloud.discoveryengine.v1alpha.BigQuerySource bigquery_source = 2;

Returns
Type Description
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public EstimateDataSizeRequest.FileDataSource getDefaultInstanceForType()
Returns
Type Description
EstimateDataSizeRequest.FileDataSource

getDescriptorForType()

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

getGcsSource()

public GcsSource getGcsSource()

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1alpha.GcsSource gcs_source = 1;

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceBuilder()

public GcsSource.Builder getGcsSourceBuilder()

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1alpha.GcsSource gcs_source = 1;

Returns
Type Description
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1alpha.GcsSource gcs_source = 1;

Returns
Type Description
GcsSourceOrBuilder

getSourceCase()

public EstimateDataSizeRequest.FileDataSource.SourceCase getSourceCase()
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.SourceCase

hasBigquerySource()

public boolean hasBigquerySource()

BigQuery input source.

.google.cloud.discoveryengine.v1alpha.BigQuerySource bigquery_source = 2;

Returns
Type Description
boolean

Whether the bigquerySource field is set.

hasGcsSource()

public boolean hasGcsSource()

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1alpha.GcsSource gcs_source = 1;

Returns
Type Description
boolean

Whether the gcsSource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigquerySource(BigQuerySource value)

public EstimateDataSizeRequest.FileDataSource.Builder mergeBigquerySource(BigQuerySource value)

BigQuery input source.

.google.cloud.discoveryengine.v1alpha.BigQuerySource bigquery_source = 2;

Parameter
Name Description
value BigQuerySource
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder

mergeFrom(EstimateDataSizeRequest.FileDataSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsSource(GcsSource value)

public EstimateDataSizeRequest.FileDataSource.Builder mergeGcsSource(GcsSource value)

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1alpha.GcsSource gcs_source = 1;

Parameter
Name Description
value GcsSource
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBigquerySource(BigQuerySource value)

public EstimateDataSizeRequest.FileDataSource.Builder setBigquerySource(BigQuerySource value)

BigQuery input source.

.google.cloud.discoveryengine.v1alpha.BigQuerySource bigquery_source = 2;

Parameter
Name Description
value BigQuerySource
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder

setBigquerySource(BigQuerySource.Builder builderForValue)

public EstimateDataSizeRequest.FileDataSource.Builder setBigquerySource(BigQuerySource.Builder builderForValue)

BigQuery input source.

.google.cloud.discoveryengine.v1alpha.BigQuerySource bigquery_source = 2;

Parameter
Name Description
builderForValue BigQuerySource.Builder
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EstimateDataSizeRequest.FileDataSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder
Overrides

setGcsSource(GcsSource value)

public EstimateDataSizeRequest.FileDataSource.Builder setGcsSource(GcsSource value)

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1alpha.GcsSource gcs_source = 1;

Parameter
Name Description
value GcsSource
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder

setGcsSource(GcsSource.Builder builderForValue)

public EstimateDataSizeRequest.FileDataSource.Builder setGcsSource(GcsSource.Builder builderForValue)

Cloud Storage location for the input content.

.google.cloud.discoveryengine.v1alpha.GcsSource gcs_source = 1;

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EstimateDataSizeRequest.FileDataSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EstimateDataSizeRequest.FileDataSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder
Overrides