Class BatchGetDocumentsMetadataRequest.UrisMatcher.Builder (0.50.0)

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

Matcher for the Documents by exact uris.

Protobuf type google.cloud.discoveryengine.v1beta.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchGetDocumentsMetadataRequest.UrisMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetDocumentsMetadataRequest.UrisMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.