Send feedback
Class OutputFields (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class OutputFields extends GeneratedMessageV3 implements OutputFieldsOrBuilder
Defines a output fields struct for data in DataObject.
Protobuf type google.cloud.vectorsearch.v1beta.OutputFields
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DATA_FIELDS_FIELD_NUMBER
public static final int DATA_FIELDS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int METADATA_FIELDS_FIELD_NUMBER
Field Value
Type
Description
int
VECTOR_FIELDS_FIELD_NUMBER
public static final int VECTOR_FIELDS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static OutputFields getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static OutputFields . Builder newBuilder ()
newBuilder(OutputFields prototype)
public static OutputFields . Builder newBuilder ( OutputFields prototype )
public static OutputFields parseDelimitedFrom ( InputStream input )
public static OutputFields parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static OutputFields parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OutputFields parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static OutputFields parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OutputFields parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static OutputFields parseFrom ( CodedInputStream input )
public static OutputFields parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static OutputFields parseFrom ( InputStream input )
public static OutputFields parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static OutputFields parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OutputFields parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<OutputFields> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDataFields(int index)
public String getDataFields ( int index )
Optional. The fields from the data fields to include in the output.
repeated string data_fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int The index of the element to return.
Returns
Type
Description
String
The dataFields at the given index.
getDataFieldsBytes(int index)
public ByteString getDataFieldsBytes ( int index )
Optional. The fields from the data fields to include in the output.
repeated string data_fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the dataFields at the given index.
getDataFieldsCount()
public int getDataFieldsCount ()
Optional. The fields from the data fields to include in the output.
repeated string data_fields = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The count of dataFields.
getDataFieldsList()
public ProtocolStringList getDataFieldsList ()
Optional. The fields from the data fields to include in the output.
repeated string data_fields = 1 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public OutputFields getDefaultInstanceForType ()
public String getMetadataFields ( int index )
Optional. The fields from the DataObject metadata to include in the output.
repeated string metadata_fields = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int The index of the element to return.
Returns
Type
Description
String
The metadataFields at the given index.
public ByteString getMetadataFieldsBytes ( int index )
Optional. The fields from the DataObject metadata to include in the output.
repeated string metadata_fields = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the metadataFields at the given index.
public int getMetadataFieldsCount ()
Optional. The fields from the DataObject metadata to include in the output.
repeated string metadata_fields = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The count of metadataFields.
public ProtocolStringList getMetadataFieldsList ()
Optional. The fields from the DataObject metadata to include in the output.
repeated string metadata_fields = 3 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<OutputFields> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getVectorFields(int index)
public String getVectorFields ( int index )
Optional. The fields from the vector fields to include in the output.
repeated string vector_fields = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int The index of the element to return.
Returns
Type
Description
String
The vectorFields at the given index.
getVectorFieldsBytes(int index)
public ByteString getVectorFieldsBytes ( int index )
Optional. The fields from the vector fields to include in the output.
repeated string vector_fields = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the vectorFields at the given index.
getVectorFieldsCount()
public int getVectorFieldsCount ()
Optional. The fields from the vector fields to include in the output.
repeated string vector_fields = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The count of vectorFields.
getVectorFieldsList()
public ProtocolStringList getVectorFieldsList ()
Optional. The fields from the vector fields to include in the output.
repeated string vector_fields = 2 [(.google.api.field_behavior) = OPTIONAL];
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public OutputFields . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OutputFields . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public OutputFields . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-19 UTC."],[],[]]