Package com.streamlayer.inplay.common
Class Selection
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Selection,Selection.Builder>
-
- com.streamlayer.inplay.common.Selection
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,SelectionOrBuilder
public final class Selection extends com.google.protobuf.GeneratedMessageLite<Selection,Selection.Builder> implements SelectionOrBuilder
Protobuf typestreamlayer.inplay.common.Selection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSelection.BuilderProtobuf typestreamlayer.inplay.common.Selection-
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 intDECIMAL_FIELD_NUMBERstatic intDENOMINATOR_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intMONEYLINE_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNUMERATOR_FIELD_NUMBERstatic intOUTCOME_FIELD_NUMBERstatic intPROBABILITY_FIELD_NUMBERstatic intRANGE_FIELD_NUMBERstatic intRESULT_FIELD_NUMBERstatic intRESULT_STATUS_FIELD_NUMBERstatic intTRADING_STATUS_FIELD_NUMBERstatic intUPDATED_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)doublegetDecimal()double decimal = 6 [json_name = "decimal"];static SelectiongetDefaultInstance()intgetDenominator()int32 denominator = 5 [json_name = "denominator"];java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];doublegetMoneyline()double moneyline = 14 [json_name = "moneyline"];java.lang.StringgetName()string name = 2 [json_name = "name"];com.google.protobuf.ByteStringgetNameBytes()string name = 2 [json_name = "name"];intgetNumerator()int32 numerator = 4 [json_name = "numerator"];SelectionOutcomegetOutcome().streamlayer.inplay.common.SelectionOutcome outcome = 10 [json_name = "outcome"];doublegetProbability()double probability = 7 [json_name = "probability"];SelectionRangegetRange().streamlayer.inplay.common.SelectionRange range = 11 [json_name = "range"];SelectionResultgetResult().streamlayer.inplay.common.SelectionResult result = 12 [json_name = "result"];SelectionResultStatusgetResultStatus().streamlayer.inplay.common.SelectionResultStatus result_status = 13 [json_name = "resultStatus"];intgetResultStatusValue().streamlayer.inplay.common.SelectionResultStatus result_status = 13 [json_name = "resultStatus"];SelectionStatusgetTradingStatus().streamlayer.inplay.common.SelectionStatus trading_status = 9 [json_name = "tradingStatus"];intgetTradingStatusValue().streamlayer.inplay.common.SelectionStatus trading_status = 9 [json_name = "tradingStatus"];java.lang.StringgetUpdated()string updated = 8 [json_name = "updated"];com.google.protobuf.ByteStringgetUpdatedBytes()string updated = 8 [json_name = "updated"];booleanhasOutcome().streamlayer.inplay.common.SelectionOutcome outcome = 10 [json_name = "outcome"];booleanhasRange().streamlayer.inplay.common.SelectionRange range = 11 [json_name = "range"];booleanhasResult().streamlayer.inplay.common.SelectionResult result = 12 [json_name = "result"];static Selection.BuildernewBuilder()static Selection.BuildernewBuilder(Selection prototype)static SelectionparseDelimitedFrom(java.io.InputStream input)static SelectionparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SelectionparseFrom(byte[] data)static SelectionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SelectionparseFrom(com.google.protobuf.ByteString data)static SelectionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SelectionparseFrom(com.google.protobuf.CodedInputStream input)static SelectionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SelectionparseFrom(java.io.InputStream input)static SelectionparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SelectionparseFrom(java.nio.ByteBuffer data)static SelectionparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Selection>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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUMERATOR_FIELD_NUMBER
public static final int NUMERATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DENOMINATOR_FIELD_NUMBER
public static final int DENOMINATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DECIMAL_FIELD_NUMBER
public static final int DECIMAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MONEYLINE_FIELD_NUMBER
public static final int MONEYLINE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROBABILITY_FIELD_NUMBER
public static final int PROBABILITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATED_FIELD_NUMBER
public static final int UPDATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRADING_STATUS_FIELD_NUMBER
public static final int TRADING_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTCOME_FIELD_NUMBER
public static final int OUTCOME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RANGE_FIELD_NUMBER
public static final int RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESULT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESULT_STATUS_FIELD_NUMBER
public static final int RESULT_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceSelectionOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceSelectionOrBuilder- Returns:
- The bytes for id.
-
getName
public java.lang.String getName()
string name = 2 [json_name = "name"];- Specified by:
getNamein interfaceSelectionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 2 [json_name = "name"];- Specified by:
getNameBytesin interfaceSelectionOrBuilder- Returns:
- The bytes for name.
-
getNumerator
public int getNumerator()
int32 numerator = 4 [json_name = "numerator"];- Specified by:
getNumeratorin interfaceSelectionOrBuilder- Returns:
- The numerator.
-
getDenominator
public int getDenominator()
int32 denominator = 5 [json_name = "denominator"];- Specified by:
getDenominatorin interfaceSelectionOrBuilder- Returns:
- The denominator.
-
getDecimal
public double getDecimal()
double decimal = 6 [json_name = "decimal"];- Specified by:
getDecimalin interfaceSelectionOrBuilder- Returns:
- The decimal.
-
getMoneyline
public double getMoneyline()
double moneyline = 14 [json_name = "moneyline"];- Specified by:
getMoneylinein interfaceSelectionOrBuilder- Returns:
- The moneyline.
-
getProbability
public double getProbability()
double probability = 7 [json_name = "probability"];- Specified by:
getProbabilityin interfaceSelectionOrBuilder- Returns:
- The probability.
-
getUpdated
public java.lang.String getUpdated()
string updated = 8 [json_name = "updated"];- Specified by:
getUpdatedin interfaceSelectionOrBuilder- Returns:
- The updated.
-
getUpdatedBytes
public com.google.protobuf.ByteString getUpdatedBytes()
string updated = 8 [json_name = "updated"];- Specified by:
getUpdatedBytesin interfaceSelectionOrBuilder- Returns:
- The bytes for updated.
-
getTradingStatusValue
public int getTradingStatusValue()
.streamlayer.inplay.common.SelectionStatus trading_status = 9 [json_name = "tradingStatus"];- Specified by:
getTradingStatusValuein interfaceSelectionOrBuilder- Returns:
- The enum numeric value on the wire for tradingStatus.
-
getTradingStatus
public SelectionStatus getTradingStatus()
.streamlayer.inplay.common.SelectionStatus trading_status = 9 [json_name = "tradingStatus"];- Specified by:
getTradingStatusin interfaceSelectionOrBuilder- Returns:
- The tradingStatus.
-
hasOutcome
public boolean hasOutcome()
.streamlayer.inplay.common.SelectionOutcome outcome = 10 [json_name = "outcome"];- Specified by:
hasOutcomein interfaceSelectionOrBuilder- Returns:
- Whether the outcome field is set.
-
getOutcome
public SelectionOutcome getOutcome()
.streamlayer.inplay.common.SelectionOutcome outcome = 10 [json_name = "outcome"];- Specified by:
getOutcomein interfaceSelectionOrBuilder- Returns:
- The outcome.
-
hasRange
public boolean hasRange()
.streamlayer.inplay.common.SelectionRange range = 11 [json_name = "range"];- Specified by:
hasRangein interfaceSelectionOrBuilder- Returns:
- Whether the range field is set.
-
getRange
public SelectionRange getRange()
.streamlayer.inplay.common.SelectionRange range = 11 [json_name = "range"];- Specified by:
getRangein interfaceSelectionOrBuilder- Returns:
- The range.
-
hasResult
public boolean hasResult()
.streamlayer.inplay.common.SelectionResult result = 12 [json_name = "result"];- Specified by:
hasResultin interfaceSelectionOrBuilder- Returns:
- Whether the result field is set.
-
getResult
public SelectionResult getResult()
.streamlayer.inplay.common.SelectionResult result = 12 [json_name = "result"];- Specified by:
getResultin interfaceSelectionOrBuilder- Returns:
- The result.
-
getResultStatusValue
public int getResultStatusValue()
.streamlayer.inplay.common.SelectionResultStatus result_status = 13 [json_name = "resultStatus"];- Specified by:
getResultStatusValuein interfaceSelectionOrBuilder- Returns:
- The enum numeric value on the wire for resultStatus.
-
getResultStatus
public SelectionResultStatus getResultStatus()
.streamlayer.inplay.common.SelectionResultStatus result_status = 13 [json_name = "resultStatus"];- Specified by:
getResultStatusin interfaceSelectionOrBuilder- Returns:
- The resultStatus.
-
parseFrom
public static Selection parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Selection parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Selection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Selection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Selection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Selection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Selection parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Selection parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Selection parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Selection parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Selection parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Selection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static Selection.Builder newBuilder()
-
newBuilder
public static Selection.Builder newBuilder(Selection 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<Selection,Selection.Builder>
-
getDefaultInstance
public static Selection getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Selection> parser()
-
-