Package com.streamlayer.interactive.feed
Class BetPackRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<BetPackRequest,BetPackRequest.Builder>
-
- com.streamlayer.interactive.feed.BetPackRequest
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,BetPackRequestOrBuilder
public final class BetPackRequest extends com.google.protobuf.GeneratedMessageLite<BetPackRequest,BetPackRequest.Builder> implements BetPackRequestOrBuilder
list of questions with user answer info
Protobuf typestreamlayer.interactive.feed.BetPackRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBetPackRequest.Builderlist of questions with user answer info-
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 intEVENT_ID_FIELD_NUMBERstatic intLIMIT_FIELD_NUMBERstatic intSORT_FIELD_NUMBERstatic intSTATUSES_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 BetPackRequestgetDefaultInstance()java.lang.StringgetEventId()string event_id = 1 [json_name = "eventId"];com.google.protobuf.ByteStringgetEventIdBytes()string event_id = 1 [json_name = "eventId"];intgetLimit()default 5SortgetSort()default activated_at by ascQuestionStatusgetStatuses(int index)repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];intgetStatusesCount()repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];java.util.List<QuestionStatus>getStatusesList()repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];intgetStatusesValue(int index)repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];java.util.List<java.lang.Integer>getStatusesValueList()repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];QuestionTypegetTypes(int index)repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];intgetTypesCount()repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];java.util.List<QuestionType>getTypesList()repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];intgetTypesValue(int index)repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];java.util.List<java.lang.Integer>getTypesValueList()repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];booleanhasLimit()default 5booleanhasSort()default activated_at by ascstatic BetPackRequest.BuildernewBuilder()static BetPackRequest.BuildernewBuilder(BetPackRequest prototype)static BetPackRequestparseDelimitedFrom(java.io.InputStream input)static BetPackRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BetPackRequestparseFrom(byte[] data)static BetPackRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BetPackRequestparseFrom(com.google.protobuf.ByteString data)static BetPackRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BetPackRequestparseFrom(com.google.protobuf.CodedInputStream input)static BetPackRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BetPackRequestparseFrom(java.io.InputStream input)static BetPackRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BetPackRequestparseFrom(java.nio.ByteBuffer data)static BetPackRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<BetPackRequest>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
-
EVENT_ID_FIELD_NUMBER
public static final int EVENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPES_FIELD_NUMBER
public static final int TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUSES_FIELD_NUMBER
public static final int STATUSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SORT_FIELD_NUMBER
public static final int SORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEventId
public java.lang.String getEventId()
string event_id = 1 [json_name = "eventId"];- Specified by:
getEventIdin interfaceBetPackRequestOrBuilder- Returns:
- The eventId.
-
getEventIdBytes
public com.google.protobuf.ByteString getEventIdBytes()
string event_id = 1 [json_name = "eventId"];- Specified by:
getEventIdBytesin interfaceBetPackRequestOrBuilder- Returns:
- The bytes for eventId.
-
getTypesList
public java.util.List<QuestionType> getTypesList()
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Specified by:
getTypesListin interfaceBetPackRequestOrBuilder- Returns:
- A list containing the types.
-
getTypesCount
public int getTypesCount()
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Specified by:
getTypesCountin interfaceBetPackRequestOrBuilder- Returns:
- The count of types.
-
getTypes
public QuestionType getTypes(int index)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Specified by:
getTypesin interfaceBetPackRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
getTypesValueList
public java.util.List<java.lang.Integer> getTypesValueList()
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Specified by:
getTypesValueListin interfaceBetPackRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for types.
-
getTypesValue
public int getTypesValue(int index)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Specified by:
getTypesValuein interfaceBetPackRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of types at the given index.
-
getStatusesList
public java.util.List<QuestionStatus> getStatusesList()
repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];- Specified by:
getStatusesListin interfaceBetPackRequestOrBuilder- Returns:
- A list containing the statuses.
-
getStatusesCount
public int getStatusesCount()
repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];- Specified by:
getStatusesCountin interfaceBetPackRequestOrBuilder- Returns:
- The count of statuses.
-
getStatuses
public QuestionStatus getStatuses(int index)
repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];- Specified by:
getStatusesin interfaceBetPackRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The statuses at the given index.
-
getStatusesValueList
public java.util.List<java.lang.Integer> getStatusesValueList()
repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];- Specified by:
getStatusesValueListin interfaceBetPackRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for statuses.
-
getStatusesValue
public int getStatusesValue(int index)
repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];- Specified by:
getStatusesValuein interfaceBetPackRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of statuses at the given index.
-
hasLimit
public boolean hasLimit()
default 5
optional int32 limit = 4 [json_name = "limit"];- Specified by:
hasLimitin interfaceBetPackRequestOrBuilder- Returns:
- Whether the limit field is set.
-
getLimit
public int getLimit()
default 5
optional int32 limit = 4 [json_name = "limit"];- Specified by:
getLimitin interfaceBetPackRequestOrBuilder- Returns:
- The limit.
-
hasSort
public boolean hasSort()
default activated_at by asc
optional .streamlayer.interactive.Sort sort = 5 [json_name = "sort"];- Specified by:
hasSortin interfaceBetPackRequestOrBuilder- Returns:
- Whether the sort field is set.
-
getSort
public Sort getSort()
default activated_at by asc
optional .streamlayer.interactive.Sort sort = 5 [json_name = "sort"];- Specified by:
getSortin interfaceBetPackRequestOrBuilder- Returns:
- The sort.
-
parseFrom
public static BetPackRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BetPackRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BetPackRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BetPackRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BetPackRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BetPackRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BetPackRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BetPackRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BetPackRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BetPackRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BetPackRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BetPackRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static BetPackRequest.Builder newBuilder()
-
newBuilder
public static BetPackRequest.Builder newBuilder(BetPackRequest 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<BetPackRequest,BetPackRequest.Builder>
-
getDefaultInstance
public static BetPackRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<BetPackRequest> parser()
-
-