Interface VectorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Vector,Vector.Builder
public interface VectorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetVector(int index) repeated double vector = 1 [json_name = "vector"];intrepeated double vector = 1 [json_name = "vector"];repeated double vector = 1 [json_name = "vector"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getVectorList
repeated double vector = 1 [json_name = "vector"];- Returns:
- A list containing the vector.
-
getVectorCount
int getVectorCount()repeated double vector = 1 [json_name = "vector"];- Returns:
- The count of vector.
-
getVector
double getVector(int index) repeated double vector = 1 [json_name = "vector"];- Parameters:
index- The index of the element to return.- Returns:
- The vector at the given index.
-