Class EstimateDataSizeRequest.WebsiteDataSource.Builder (0.54.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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];

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];

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

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

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];

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EstimateDataSizeRequest.WebsiteDataSource build()

buildPartial()

public EstimateDataSizeRequest.WebsiteDataSource buildPartial()

clear()

public EstimateDataSizeRequest.WebsiteDataSource.Builder clear()
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];

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public EstimateDataSizeRequest.WebsiteDataSource.Builder clone()
Overrides

getDefaultInstanceForType()

public EstimateDataSizeRequest.WebsiteDataSource getDefaultInstanceForType()

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

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EstimateDataSizeRequest.WebsiteDataSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public EstimateDataSizeRequest.WebsiteDataSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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