Class BatchGetDocumentsMetadataRequest.UrisMatcher.Builder (0.79.0)

public static final class BatchGetDocumentsMetadataRequest.UrisMatcher.Builder extends GeneratedMessage.Builder<BatchGetDocumentsMetadataRequest.UrisMatcher.Builder> implements BatchGetDocumentsMetadataRequest.UrisMatcherOrBuilder

Matcher for the Documents by exact uris.

Protobuf type google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.UrisMatcher

Static Methods

getDescriptor()

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

Methods

addAllUris(Iterable<String> values)

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

The exact URIs to match by.

repeated string uris = 1;

Parameter
Name Description
values Iterable<String>

The uris to add.

Returns
Type Description
BatchGetDocumentsMetadataRequest.UrisMatcher.Builder

This builder for chaining.

addUris(String value)

public BatchGetDocumentsMetadataRequest.UrisMatcher.Builder addUris(String value)

The exact URIs to match by.

repeated string uris = 1;

Parameter
Name Description
value String

The uris to add.

Returns
Type Description
BatchGetDocumentsMetadataRequest.UrisMatcher.Builder

This builder for chaining.

addUrisBytes(ByteString value)

public BatchGetDocumentsMetadataRequest.UrisMatcher.Builder addUrisBytes(ByteString value)

The exact URIs to match by.

repeated string uris = 1;

Parameter
Name Description
value ByteString

The bytes of the uris to add.

Returns
Type Description
BatchGetDocumentsMetadataRequest.UrisMatcher.Builder

This builder for chaining.

build()

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

buildPartial()

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

clear()

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

clearUris()

public BatchGetDocumentsMetadataRequest.UrisMatcher.Builder clearUris()

The exact URIs to match by.

repeated string uris = 1;

Returns
Type Description
BatchGetDocumentsMetadataRequest.UrisMatcher.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getUris(int index)

public String getUris(int index)

The exact URIs to match by.

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 exact URIs to match by.

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 exact URIs to match by.

repeated string uris = 1;

Returns
Type Description
int

The count of uris.

getUrisList()

public ProtocolStringList getUrisList()

The exact URIs to match by.

repeated string uris = 1;

Returns
Type Description
ProtocolStringList

A list containing the uris.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchGetDocumentsMetadataRequest.UrisMatcher other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setUris(int index, String value)

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

The exact URIs to match by.

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
BatchGetDocumentsMetadataRequest.UrisMatcher.Builder

This builder for chaining.