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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

This builder for chaining.

clone()

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder clone()
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern other)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder mergeFrom(EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern other)
Parameter
NameDescription
otherEstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The exactMatch to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The exclusive to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The providedUriPattern to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for providedUriPattern to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EstimateDataSizeRequest.WebsiteDataSource.EstimatorUriPattern.Builder
Overrides