Class FetchSitemapsRequest.UrisMatcher.Builder (0.50.0)

public static final class FetchSitemapsRequest.UrisMatcher.Builder extends GeneratedMessageV3.Builder<FetchSitemapsRequest.UrisMatcher.Builder> implements FetchSitemapsRequest.UrisMatcherOrBuilder

Matcher for the Sitemaps by their uris.

Protobuf type google.cloud.discoveryengine.v1beta.FetchSitemapsRequest.UrisMatcher

Static Methods

getDescriptor()

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

Methods

addAllUris(Iterable<String> values)

public FetchSitemapsRequest.UrisMatcher.Builder addAllUris(Iterable<String> values)

The Sitemap uris.

repeated string uris = 1;

Parameter
Name Description
values Iterable<String>

The uris to add.

Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchSitemapsRequest.UrisMatcher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder
Overrides

addUris(String value)

public FetchSitemapsRequest.UrisMatcher.Builder addUris(String value)

The Sitemap uris.

repeated string uris = 1;

Parameter
Name Description
value String

The uris to add.

Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder

This builder for chaining.

addUrisBytes(ByteString value)

public FetchSitemapsRequest.UrisMatcher.Builder addUrisBytes(ByteString value)

The Sitemap uris.

repeated string uris = 1;

Parameter
Name Description
value ByteString

The bytes of the uris to add.

Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder

This builder for chaining.

build()

public FetchSitemapsRequest.UrisMatcher build()
Returns
Type Description
FetchSitemapsRequest.UrisMatcher

buildPartial()

public FetchSitemapsRequest.UrisMatcher buildPartial()
Returns
Type Description
FetchSitemapsRequest.UrisMatcher

clear()

public FetchSitemapsRequest.UrisMatcher.Builder clear()
Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FetchSitemapsRequest.UrisMatcher.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchSitemapsRequest.UrisMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder
Overrides

clearUris()

public FetchSitemapsRequest.UrisMatcher.Builder clearUris()

The Sitemap uris.

repeated string uris = 1;

Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder

This builder for chaining.

clone()

public FetchSitemapsRequest.UrisMatcher.Builder clone()
Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder
Overrides

getDefaultInstanceForType()

public FetchSitemapsRequest.UrisMatcher getDefaultInstanceForType()
Returns
Type Description
FetchSitemapsRequest.UrisMatcher

getDescriptorForType()

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

getUris(int index)

public String getUris(int index)

The Sitemap uris.

repeated string uris = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The uris at the given index.

getUrisBytes(int index)

public ByteString getUrisBytes(int index)

The Sitemap uris.

repeated string uris = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the uris at the given index.

getUrisCount()

public int getUrisCount()

The Sitemap uris.

repeated string uris = 1;

Returns
Type Description
int

The count of uris.

getUrisList()

public ProtocolStringList getUrisList()

The Sitemap uris.

repeated string uris = 1;

Returns
Type Description
ProtocolStringList

A list containing the uris.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchSitemapsRequest.UrisMatcher other)

public FetchSitemapsRequest.UrisMatcher.Builder mergeFrom(FetchSitemapsRequest.UrisMatcher other)
Parameter
Name Description
other FetchSitemapsRequest.UrisMatcher
Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchSitemapsRequest.UrisMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FetchSitemapsRequest.UrisMatcher.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchSitemapsRequest.UrisMatcher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FetchSitemapsRequest.UrisMatcher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder
Overrides

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchSitemapsRequest.UrisMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder
Overrides

setUris(int index, String value)

public FetchSitemapsRequest.UrisMatcher.Builder setUris(int index, String value)

The Sitemap uris.

repeated string uris = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The uris to set.

Returns
Type Description
FetchSitemapsRequest.UrisMatcher.Builder

This builder for chaining.