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

EXCLUSIVE_FIELD_NUMBER

public static final int EXCLUSIVE_FIELD_NUMBER
Field Value
TypeDescription
int

PROVIDED_URI_PATTERN_FIELD_NUMBER

public static final int PROVIDED_URI_PATTERN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern getDefaultInstanceForType()
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern

getExactMatch()

public boolean getExactMatch()

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

bool exact_match = 2;

Returns
TypeDescription
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
TypeDescription
boolean

The exclusive.

getParserForType()

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

getProvidedUriPattern()

public String getProvidedUriPattern()

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

string provided_uri_pattern = 1;

Returns
TypeDescription
String

The providedUriPattern.

getProvidedUriPatternBytes()

public ByteString getProvidedUriPatternBytes()

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

string provided_uri_pattern = 1;

Returns
TypeDescription
ByteString

The bytes for providedUriPattern.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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