Package com.grpc.load.v1
Class LoadRequest.Payload
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<LoadRequest.Payload,LoadRequest.Payload.Builder>
-
- com.grpc.load.v1.LoadRequest.Payload
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,LoadRequest.PayloadOrBuilder
- Enclosing class:
- LoadRequest
public static final class LoadRequest.Payload extends com.google.protobuf.GeneratedMessageLite<LoadRequest.Payload,LoadRequest.Payload.Builder> implements LoadRequest.PayloadOrBuilder
Protobuf typegrpc.load.v1.LoadRequest.Payload
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLoadRequest.Payload.BuilderProtobuf typegrpc.load.v1.LoadRequest.Payload-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intSIZE_FIELD_NUMBERstatic intTYPES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)static LoadRequest.PayloadgetDefaultInstance()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, wordstatic LoadRequest.Payload.BuildernewBuilder()static LoadRequest.Payload.BuildernewBuilder(LoadRequest.Payload prototype)static LoadRequest.PayloadparseDelimitedFrom(java.io.InputStream input)static LoadRequest.PayloadparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LoadRequest.PayloadparseFrom(byte[] data)static LoadRequest.PayloadparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LoadRequest.PayloadparseFrom(com.google.protobuf.ByteString data)static LoadRequest.PayloadparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LoadRequest.PayloadparseFrom(com.google.protobuf.CodedInputStream input)static LoadRequest.PayloadparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LoadRequest.PayloadparseFrom(java.io.InputStream input)static LoadRequest.PayloadparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LoadRequest.PayloadparseFrom(java.nio.ByteBuffer data)static LoadRequest.PayloadparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<LoadRequest.Payload>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
SIZE_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPES_FIELD_NUMBER
public static final int TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSize
public int getSize()
Number of props of an object
int32 size = 1 [json_name = "size"];- Specified by:
getSizein interfaceLoadRequest.PayloadOrBuilder- Returns:
- The size.
-
getTypesList
public java.util.List<java.lang.String> getTypesList()
Available types to produce: float, text, integer, word
repeated string types = 2 [json_name = "types"];- Specified by:
getTypesListin interfaceLoadRequest.PayloadOrBuilder- Returns:
- A list containing the types.
-
getTypesCount
public int getTypesCount()
Available types to produce: float, text, integer, word
repeated string types = 2 [json_name = "types"];- Specified by:
getTypesCountin interfaceLoadRequest.PayloadOrBuilder- Returns:
- The count of types.
-
getTypes
public java.lang.String getTypes(int index)
Available types to produce: float, text, integer, word
repeated string types = 2 [json_name = "types"];- Specified by:
getTypesin interfaceLoadRequest.PayloadOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
getTypesBytes
public com.google.protobuf.ByteString getTypesBytes(int index)
Available types to produce: float, text, integer, word
repeated string types = 2 [json_name = "types"];- Specified by:
getTypesBytesin interfaceLoadRequest.PayloadOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the types at the given index.
-
parseFrom
public static LoadRequest.Payload parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LoadRequest.Payload parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LoadRequest.Payload parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LoadRequest.Payload parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LoadRequest.Payload parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LoadRequest.Payload parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LoadRequest.Payload parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LoadRequest.Payload parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LoadRequest.Payload parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LoadRequest.Payload parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LoadRequest.Payload parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LoadRequest.Payload parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static LoadRequest.Payload.Builder newBuilder()
-
newBuilder
public static LoadRequest.Payload.Builder newBuilder(LoadRequest.Payload prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<LoadRequest.Payload,LoadRequest.Payload.Builder>
-
getDefaultInstance
public static LoadRequest.Payload getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LoadRequest.Payload> parser()
-
-