Class EstimateDataSizeRequest.WebsiteDataSource (0.37.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static EstimateDataSizeRequest.WebsiteDataSource getDefaultInstance()
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EstimateDataSizeRequest.WebsiteDataSource.Builder newBuilder()
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.Builder

newBuilder(EstimateDataSizeRequest.WebsiteDataSource prototype)

public static EstimateDataSizeRequest.WebsiteDataSource.Builder newBuilder(EstimateDataSizeRequest.WebsiteDataSource prototype)
Parameter
NameDescription
prototypeEstimateDataSizeRequest.WebsiteDataSource
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.Builder

parseDelimitedFrom(InputStream input)

public static EstimateDataSizeRequest.WebsiteDataSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeRequest.WebsiteDataSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeRequest.WebsiteDataSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EstimateDataSizeRequest.WebsiteDataSource getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPatternOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EstimateDataSizeRequest.WebsiteDataSource.Builder newBuilderForType()
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EstimateDataSizeRequest.WebsiteDataSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EstimateDataSizeRequest.WebsiteDataSource.Builder toBuilder()
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException