Package com.grpc.load.v1
Interface LoadRequest.PayloadOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
LoadRequest.Payload,LoadRequest.Payload.Builder
- Enclosing class:
- LoadRequest
public static interface LoadRequest.PayloadOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetSize()Number of props of an objectjava.lang.StringgetTypes(int index)Available types to produce: float, text, integer, wordcom.google.protobuf.ByteStringgetTypesBytes(int index)Available types to produce: float, text, integer, wordintgetTypesCount()Available types to produce: float, text, integer, wordjava.util.List<java.lang.String>getTypesList()Available types to produce: float, text, integer, word
-
-
-
Method Detail
-
getSize
int getSize()
Number of props of an object
int32 size = 1 [json_name = "size"];- Returns:
- The size.
-
getTypesList
java.util.List<java.lang.String> getTypesList()
Available types to produce: float, text, integer, word
repeated string types = 2 [json_name = "types"];- Returns:
- A list containing the types.
-
getTypesCount
int getTypesCount()
Available types to produce: float, text, integer, word
repeated string types = 2 [json_name = "types"];- Returns:
- The count of types.
-
getTypes
java.lang.String getTypes(int index)
Available types to produce: float, text, integer, word
repeated string types = 2 [json_name = "types"];- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
getTypesBytes
com.google.protobuf.ByteString getTypesBytes(int index)
Available types to produce: float, text, integer, word
repeated string types = 2 [json_name = "types"];- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
-