Class BatchSearchDataObjectsRequest.BatchSearchMetadataOptions (0.21.0)

public static final class BatchSearchDataObjectsRequest.BatchSearchMetadataOptions extends GeneratedMessage implements BatchSearchDataObjectsRequest.BatchSearchMetadataOptionsOrBuilder

Options controlling which metadata is included in the search results.

Protobuf type google.cloud.vectorsearch.v1beta.BatchSearchDataObjectsRequest.BatchSearchMetadataOptions

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BatchSearchDataObjectsRequest.BatchSearchMetadataOptions

Static Fields

SEARCH_SIGNALS_ENABLED_FIELD_NUMBER

public static final int SEARCH_SIGNALS_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions getDefaultInstance()
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions

getDescriptor()

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

newBuilder()

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions.Builder newBuilder()
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions.Builder

newBuilder(BatchSearchDataObjectsRequest.BatchSearchMetadataOptions prototype)

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions.Builder newBuilder(BatchSearchDataObjectsRequest.BatchSearchMetadataOptions prototype)
Parameter
Name Description
prototype BatchSearchDataObjectsRequest.BatchSearchMetadataOptions
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions.Builder

parseDelimitedFrom(InputStream input)

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchSearchDataObjectsRequest.BatchSearchMetadataOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchSearchDataObjectsRequest.BatchSearchMetadataOptions> parser()
Returns
Type Description
Parser<BatchSearchMetadataOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BatchSearchDataObjectsRequest.BatchSearchMetadataOptions getDefaultInstanceForType()
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions

getParserForType()

public Parser<BatchSearchDataObjectsRequest.BatchSearchMetadataOptions> getParserForType()
Returns
Type Description
Parser<BatchSearchMetadataOptions>
Overrides

getSearchSignalsEnabled()

public boolean getSearchSignalsEnabled()

Optional. If true, per-result quality signals are returned in SearchResult.search_result_metadata.

bool search_signals_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The searchSignalsEnabled.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchSearchDataObjectsRequest.BatchSearchMetadataOptions.Builder newBuilderForType()
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected BatchSearchDataObjectsRequest.BatchSearchMetadataOptions.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions.Builder
Overrides

toBuilder()

public BatchSearchDataObjectsRequest.BatchSearchMetadataOptions.Builder toBuilder()
Returns
Type Description
BatchSearchDataObjectsRequest.BatchSearchMetadataOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException