Class EstimateDataSizeRequest.WebsiteDataSource.Builder (0.43.0)

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

Data source is a set of website patterns that we crawl to get the total number of websites.

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

Static Methods

getDescriptor()

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

Methods

addAllEstimatorUriPatterns(Iterable<? extends EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern> values)

public EstimateDataSizeRequest.WebsiteDataSource.Builder addAllEstimatorUriPatterns(Iterable<? extends EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern> values)

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern>
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.Builder

addEstimatorUriPatterns(EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern value)

public EstimateDataSizeRequest.WebsiteDataSource.Builder addEstimatorUriPatterns(EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern value)

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

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

addEstimatorUriPatterns(EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder builderForValue)

public EstimateDataSizeRequest.WebsiteDataSource.Builder addEstimatorUriPatterns(EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder builderForValue)

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

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

addEstimatorUriPatterns(int index, EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern value)

public EstimateDataSizeRequest.WebsiteDataSource.Builder addEstimatorUriPatterns(int index, EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern value)

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.Builder

addEstimatorUriPatterns(int index, EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder builderForValue)

public EstimateDataSizeRequest.WebsiteDataSource.Builder addEstimatorUriPatterns(int index, EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder builderForValue)

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.Builder

addEstimatorUriPatternsBuilder()

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder addEstimatorUriPatternsBuilder()

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

addEstimatorUriPatternsBuilder(int index)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder addEstimatorUriPatternsBuilder(int index)

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearEstimatorUriPatterns()

public EstimateDataSizeRequest.WebsiteDataSource.Builder clearEstimatorUriPatterns()

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getEstimatorUriPatterns(int index)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern getEstimatorUriPatterns(int index)

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern

getEstimatorUriPatternsBuilder(int index)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder getEstimatorUriPatternsBuilder(int index)

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

getEstimatorUriPatternsBuilderList()

public List<EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder> getEstimatorUriPatternsBuilderList()

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getEstimatorUriPatternsCount()

public int getEstimatorUriPatternsCount()

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getEstimatorUriPatternsList()

public List<EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern> getEstimatorUriPatternsList()

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<EstimatorUriPattern>

getEstimatorUriPatternsOrBuilder(int index)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPatternOrBuilder getEstimatorUriPatternsOrBuilder(int index)

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPatternOrBuilder

getEstimatorUriPatternsOrBuilderList()

public List<? extends EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPatternOrBuilder> getEstimatorUriPatternsOrBuilderList()

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPatternOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EstimateDataSizeRequest.WebsiteDataSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEstimatorUriPatterns(int index)

public EstimateDataSizeRequest.WebsiteDataSource.Builder removeEstimatorUriPatterns(int index)

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.Builder

setEstimatorUriPatterns(int index, EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern value)

public EstimateDataSizeRequest.WebsiteDataSource.Builder setEstimatorUriPatterns(int index, EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern value)

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.Builder

setEstimatorUriPatterns(int index, EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder builderForValue)

public EstimateDataSizeRequest.WebsiteDataSource.Builder setEstimatorUriPatterns(int index, EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder builderForValue)

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown.

repeated .google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern estimator_uri_patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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