Class EstimateDataSizeRequest.WebsiteDataSource (0.38.0)

public static final class EstimateDataSizeRequest.WebsiteDataSource extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EstimateDataSizeRequest.WebsiteDataSource

Static Fields

ESTIMATOR_URI_PATTERNS_FIELD_NUMBER

public static final int ESTIMATOR_URI_PATTERNS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EstimateDataSizeRequest.WebsiteDataSource getDefaultInstance()
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource

getDescriptor()

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

newBuilder()

public static EstimateDataSizeRequest.WebsiteDataSource.Builder newBuilder()
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.Builder

newBuilder(EstimateDataSizeRequest.WebsiteDataSource prototype)

public static EstimateDataSizeRequest.WebsiteDataSource.Builder newBuilder(EstimateDataSizeRequest.WebsiteDataSource prototype)
Parameter
Name Description
prototype EstimateDataSizeRequest.WebsiteDataSource
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.Builder

parseDelimitedFrom(InputStream input)

public static EstimateDataSizeRequest.WebsiteDataSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeRequest.WebsiteDataSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EstimateDataSizeRequest.WebsiteDataSource> parser()
Returns
Type Description
Parser<WebsiteDataSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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

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>

getParserForType()

public Parser<EstimateDataSizeRequest.WebsiteDataSource> getParserForType()
Returns
Type Description
Parser<WebsiteDataSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EstimateDataSizeRequest.WebsiteDataSource.Builder newBuilderForType()
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EstimateDataSizeRequest.WebsiteDataSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EstimateDataSizeRequest.WebsiteDataSource.Builder toBuilder()
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException