Class EstimateDataSizeRequest.FileDataSource.Builder (0.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EstimateDataSizeRequest.FileDataSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder
Overrides

build()

public EstimateDataSizeRequest.FileDataSource build()
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource

buildPartial()

public EstimateDataSizeRequest.FileDataSource buildPartial()
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource

clear()

public EstimateDataSizeRequest.FileDataSource.Builder clear()
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder
Overrides

clearBigquerySource()

public EstimateDataSizeRequest.FileDataSource.Builder clearBigquerySource()

BigQuery input source.

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

Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder

clearField(Descriptors.FieldDescriptor field)

public EstimateDataSizeRequest.FileDataSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public EstimateDataSizeRequest.FileDataSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder
Overrides

clearSource()

public EstimateDataSizeRequest.FileDataSource.Builder clearSource()
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder

clone()

public EstimateDataSizeRequest.FileDataSource.Builder clone()
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder
Overrides

getBigquerySource()

public BigQuerySource getBigquerySource()

BigQuery input source.

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

Returns
TypeDescription
BigQuerySource

The bigquerySource.

getBigquerySourceBuilder()

public BigQuerySource.Builder getBigquerySourceBuilder()

BigQuery input source.

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

Returns
TypeDescription
BigQuerySource.Builder

getBigquerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()

BigQuery input source.

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

Returns
TypeDescription
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public EstimateDataSizeRequest.FileDataSource getDefaultInstanceForType()
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsSource()

public GcsSource getGcsSource()

Cloud Storage location for the input content.

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

Returns
TypeDescription
GcsSource

The gcsSource.

getGcsSourceBuilder()

public GcsSource.Builder getGcsSourceBuilder()

Cloud Storage location for the input content.

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

Returns
TypeDescription
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Cloud Storage location for the input content.

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

Returns
TypeDescription
GcsSourceOrBuilder

getSourceCase()

public EstimateDataSizeRequest.FileDataSource.SourceCase getSourceCase()
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.SourceCase

hasBigquerySource()

public boolean hasBigquerySource()

BigQuery input source.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the gcsSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBigquerySource(BigQuerySource value)

public EstimateDataSizeRequest.FileDataSource.Builder mergeBigquerySource(BigQuerySource value)

BigQuery input source.

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

Parameter
NameDescription
valueBigQuerySource
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder

mergeFrom(EstimateDataSizeRequest.FileDataSource other)

public EstimateDataSizeRequest.FileDataSource.Builder mergeFrom(EstimateDataSizeRequest.FileDataSource other)
Parameter
NameDescription
otherEstimateDataSizeRequest.FileDataSource
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EstimateDataSizeRequest.FileDataSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EstimateDataSizeRequest.FileDataSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGcsSource
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EstimateDataSizeRequest.FileDataSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueBigQuerySource
Returns
TypeDescription
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
NameDescription
builderForValueBigQuerySource.Builder
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EstimateDataSizeRequest.FileDataSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueGcsSource
Returns
TypeDescription
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
NameDescription
builderForValueGcsSource.Builder
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder

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

public EstimateDataSizeRequest.FileDataSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EstimateDataSizeRequest.FileDataSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder
Overrides