Class EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern (0.43.0)

public static final class EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern extends GeneratedMessageV3 implements EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPatternOrBuilder

URI patterns that we use to crawl.

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

Inheritance

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

Static Fields

EXACT_MATCH_FIELD_NUMBER

public static final int EXACT_MATCH_FIELD_NUMBER
Field Value
Type Description
int

EXCLUSIVE_FIELD_NUMBER

public static final int EXCLUSIVE_FIELD_NUMBER
Field Value
Type Description
int

PROVIDED_URI_PATTERN_FIELD_NUMBER

public static final int PROVIDED_URI_PATTERN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getExactMatch()

public boolean getExactMatch()

Whether we infer the generated URI or use the exact provided one.

bool exact_match = 2;

Returns
Type Description
boolean

The exactMatch.

getExclusive()

public boolean getExclusive()

Whether the pattern is exclusive or not. If set to true, the pattern is considered exclusive. If unset or set to false, the pattern is considered inclusive by default.

bool exclusive = 3;

Returns
Type Description
boolean

The exclusive.

getParserForType()

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

getProvidedUriPattern()

public String getProvidedUriPattern()

User provided URI pattern. For example, foo.com/bar/*.

string provided_uri_pattern = 1;

Returns
Type Description
String

The providedUriPattern.

getProvidedUriPatternBytes()

public ByteString getProvidedUriPatternBytes()

User provided URI pattern. For example, foo.com/bar/*.

string provided_uri_pattern = 1;

Returns
Type Description
ByteString

The bytes for providedUriPattern.

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.EstimatorUriPattern.Builder newBuilderForType()
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.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.EstimatorUriPattern.Builder toBuilder()
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

writeTo(CodedOutputStream output)

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