Class EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder (0.51.0)

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

URI patterns that we use to crawl.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder clear()
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder
Overrides

clearExactMatch()

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder clearExactMatch()

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

bool exact_match = 2;

Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

This builder for chaining.

clearExclusive()

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder clearExclusive()

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
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProvidedUriPattern()

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder clearProvidedUriPattern()

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

string provided_uri_pattern = 1;

Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

This builder for chaining.

clone()

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder clone()
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern other)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder mergeFrom(EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern other)
Parameter
Name Description
other EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder
Overrides

setExactMatch(boolean value)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder setExactMatch(boolean value)

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

bool exact_match = 2;

Parameter
Name Description
value boolean

The exactMatch to set.

Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

This builder for chaining.

setExclusive(boolean value)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder setExclusive(boolean value)

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;

Parameter
Name Description
value boolean

The exclusive to set.

Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder
Overrides

setProvidedUriPattern(String value)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder setProvidedUriPattern(String value)

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

string provided_uri_pattern = 1;

Parameter
Name Description
value String

The providedUriPattern to set.

Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

This builder for chaining.

setProvidedUriPatternBytes(ByteString value)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder setProvidedUriPatternBytes(ByteString value)

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

string provided_uri_pattern = 1;

Parameter
Name Description
value ByteString

The bytes for providedUriPattern to set.

Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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