Class EstimateDataSizeRequest.Builder (0.51.0)

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

Request message for EstimateBillingService.EstimateDataSize method

Protobuf type google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EstimateDataSizeRequest build()
Returns
Type Description
EstimateDataSizeRequest

buildPartial()

public EstimateDataSizeRequest buildPartial()
Returns
Type Description
EstimateDataSizeRequest

clear()

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

clearDataSource()

public EstimateDataSizeRequest.Builder clearDataSource()
Returns
Type Description
EstimateDataSizeRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFileDataSource()

public EstimateDataSizeRequest.Builder clearFileDataSource()

Structured or unstructured data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;

Returns
Type Description
EstimateDataSizeRequest.Builder

clearLocation()

public EstimateDataSizeRequest.Builder clearLocation()

Required. Full resource name of the location, such as projects/{project}/locations/{location}.

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
EstimateDataSizeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWebsiteDataSource()

public EstimateDataSizeRequest.Builder clearWebsiteDataSource()

Website data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;

Returns
Type Description
EstimateDataSizeRequest.Builder

clone()

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

getDataSourceCase()

public EstimateDataSizeRequest.DataSourceCase getDataSourceCase()
Returns
Type Description
EstimateDataSizeRequest.DataSourceCase

getDefaultInstanceForType()

public EstimateDataSizeRequest getDefaultInstanceForType()
Returns
Type Description
EstimateDataSizeRequest

getDescriptorForType()

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

getFileDataSource()

public EstimateDataSizeRequest.FileDataSource getFileDataSource()

Structured or unstructured data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;

Returns
Type Description
EstimateDataSizeRequest.FileDataSource

The fileDataSource.

getFileDataSourceBuilder()

public EstimateDataSizeRequest.FileDataSource.Builder getFileDataSourceBuilder()

Structured or unstructured data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;

Returns
Type Description
EstimateDataSizeRequest.FileDataSource.Builder

getFileDataSourceOrBuilder()

public EstimateDataSizeRequest.FileDataSourceOrBuilder getFileDataSourceOrBuilder()

Structured or unstructured data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;

Returns
Type Description
EstimateDataSizeRequest.FileDataSourceOrBuilder

getLocation()

public String getLocation()

Required. Full resource name of the location, such as projects/{project}/locations/{location}.

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Required. Full resource name of the location, such as projects/{project}/locations/{location}.

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for location.

getWebsiteDataSource()

public EstimateDataSizeRequest.WebsiteDataSource getWebsiteDataSource()

Website data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;

Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource

The websiteDataSource.

getWebsiteDataSourceBuilder()

public EstimateDataSizeRequest.WebsiteDataSource.Builder getWebsiteDataSourceBuilder()

Website data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;

Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.Builder

getWebsiteDataSourceOrBuilder()

public EstimateDataSizeRequest.WebsiteDataSourceOrBuilder getWebsiteDataSourceOrBuilder()

Website data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;

Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSourceOrBuilder

hasFileDataSource()

public boolean hasFileDataSource()

Structured or unstructured data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;

Returns
Type Description
boolean

Whether the fileDataSource field is set.

hasWebsiteDataSource()

public boolean hasWebsiteDataSource()

Website data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;

Returns
Type Description
boolean

Whether the websiteDataSource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFileDataSource(EstimateDataSizeRequest.FileDataSource value)

public EstimateDataSizeRequest.Builder mergeFileDataSource(EstimateDataSizeRequest.FileDataSource value)

Structured or unstructured data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;

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

mergeFrom(EstimateDataSizeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWebsiteDataSource(EstimateDataSizeRequest.WebsiteDataSource value)

public EstimateDataSizeRequest.Builder mergeWebsiteDataSource(EstimateDataSizeRequest.WebsiteDataSource value)

Website data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;

Parameter
Name Description
value EstimateDataSizeRequest.WebsiteDataSource
Returns
Type Description
EstimateDataSizeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFileDataSource(EstimateDataSizeRequest.FileDataSource value)

public EstimateDataSizeRequest.Builder setFileDataSource(EstimateDataSizeRequest.FileDataSource value)

Structured or unstructured data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;

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

setFileDataSource(EstimateDataSizeRequest.FileDataSource.Builder builderForValue)

public EstimateDataSizeRequest.Builder setFileDataSource(EstimateDataSizeRequest.FileDataSource.Builder builderForValue)

Structured or unstructured data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;

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

setLocation(String value)

public EstimateDataSizeRequest.Builder setLocation(String value)

Required. Full resource name of the location, such as projects/{project}/locations/{location}.

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The location to set.

Returns
Type Description
EstimateDataSizeRequest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public EstimateDataSizeRequest.Builder setLocationBytes(ByteString value)

Required. Full resource name of the location, such as projects/{project}/locations/{location}.

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
EstimateDataSizeRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWebsiteDataSource(EstimateDataSizeRequest.WebsiteDataSource value)

public EstimateDataSizeRequest.Builder setWebsiteDataSource(EstimateDataSizeRequest.WebsiteDataSource value)

Website data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;

Parameter
Name Description
value EstimateDataSizeRequest.WebsiteDataSource
Returns
Type Description
EstimateDataSizeRequest.Builder

setWebsiteDataSource(EstimateDataSizeRequest.WebsiteDataSource.Builder builderForValue)

public EstimateDataSizeRequest.Builder setWebsiteDataSource(EstimateDataSizeRequest.WebsiteDataSource.Builder builderForValue)

Website data.

.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;

Parameter
Name Description
builderForValue EstimateDataSizeRequest.WebsiteDataSource.Builder
Returns
Type Description
EstimateDataSizeRequest.Builder