Class BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder (0.51.0)

public static final class BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder extends GeneratedMessageV3.Builder<BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder> implements BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValueOrBuilder

The value of the matcher that was used to match the Document.

Protobuf type google.cloud.discoveryengine.v1alpha.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder
Overrides

build()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue build()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue

buildPartial()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue buildPartial()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue

clear()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder clear()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder
Overrides

clearMatcherValue()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder clearMatcherValue()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder
Overrides

clearUri()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder clearUri()

If match by URI, the URI of the Document.

string uri = 1;

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder

This builder for chaining.

clone()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder clone()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder
Overrides

getDefaultInstanceForType()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue getDefaultInstanceForType()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue

getDescriptorForType()

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

getMatcherValueCase()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.MatcherValueCase getMatcherValueCase()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.MatcherValueCase

getUri()

public String getUri()

If match by URI, the URI of the Document.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

If match by URI, the URI of the Document.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

hasUri()

public boolean hasUri()

If match by URI, the URI of the Document.

string uri = 1;

Returns
Type Description
boolean

Whether the uri field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue other)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder mergeFrom(BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue other)
Parameter
Name Description
other BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder
Overrides

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder
Overrides

setUri(String value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder setUri(String value)

If match by URI, the URI of the Document.

string uri = 1;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder

This builder for chaining.

setUriBytes(ByteString value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder setUriBytes(ByteString value)

If match by URI, the URI of the Document.

string uri = 1;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder

This builder for chaining.