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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EstimateDataSizeRequest build()
Returns
TypeDescription
EstimateDataSizeRequest

buildPartial()

public EstimateDataSizeRequest buildPartial()
Returns
TypeDescription
EstimateDataSizeRequest

clear()

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

clearDataSource()

public EstimateDataSizeRequest.Builder clearDataSource()
Returns
TypeDescription
EstimateDataSizeRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public EstimateDataSizeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EstimateDataSizeRequest.Builder
Overrides

clearFileDataSource()

public EstimateDataSizeRequest.Builder clearFileDataSource()

Structured or unstructured data.

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

Returns
TypeDescription
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
TypeDescription
EstimateDataSizeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWebsiteDataSource()

public EstimateDataSizeRequest.Builder clearWebsiteDataSource()

Website data.

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

Returns
TypeDescription
EstimateDataSizeRequest.Builder

clone()

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

getDataSourceCase()

public EstimateDataSizeRequest.DataSourceCase getDataSourceCase()
Returns
TypeDescription
EstimateDataSizeRequest.DataSourceCase

getDefaultInstanceForType()

public EstimateDataSizeRequest getDefaultInstanceForType()
Returns
TypeDescription
EstimateDataSizeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFileDataSource()

public EstimateDataSizeRequest.FileDataSource getFileDataSource()

Structured or unstructured data.

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

Returns
TypeDescription
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
TypeDescription
EstimateDataSizeRequest.FileDataSource.Builder

getFileDataSourceOrBuilder()

public EstimateDataSizeRequest.FileDataSourceOrBuilder getFileDataSourceOrBuilder()

Structured or unstructured data.

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

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

The bytes for location.

getWebsiteDataSource()

public EstimateDataSizeRequest.WebsiteDataSource getWebsiteDataSource()

Website data.

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

Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource

The websiteDataSource.

getWebsiteDataSourceBuilder()

public EstimateDataSizeRequest.WebsiteDataSource.Builder getWebsiteDataSourceBuilder()

Website data.

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

Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.Builder

getWebsiteDataSourceOrBuilder()

public EstimateDataSizeRequest.WebsiteDataSourceOrBuilder getWebsiteDataSourceOrBuilder()

Website data.

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

Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSourceOrBuilder

hasFileDataSource()

public boolean hasFileDataSource()

Structured or unstructured data.

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

Returns
TypeDescription
boolean

Whether the fileDataSource field is set.

hasWebsiteDataSource()

public boolean hasWebsiteDataSource()

Website data.

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

Returns
TypeDescription
boolean

Whether the websiteDataSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueEstimateDataSizeRequest.FileDataSource
Returns
TypeDescription
EstimateDataSizeRequest.Builder

mergeFrom(EstimateDataSizeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public EstimateDataSizeRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EstimateDataSizeRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The location to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EstimateDataSizeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EstimateDataSizeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueEstimateDataSizeRequest.WebsiteDataSource
Returns
TypeDescription
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
NameDescription
builderForValueEstimateDataSizeRequest.WebsiteDataSource.Builder
Returns
TypeDescription
EstimateDataSizeRequest.Builder