Package com.streamlayer.inplay.common
Class Selection.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<Selection,Selection.Builder>
-
- com.streamlayer.inplay.common.Selection.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,SelectionOrBuilder,java.lang.Cloneable
- Enclosing class:
- Selection
public static final class Selection.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Selection,Selection.Builder> implements SelectionOrBuilder
Protobuf typestreamlayer.inplay.common.Selection
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Selection.BuilderclearDecimal()double decimal = 6 [json_name = "decimal"];Selection.BuilderclearDenominator()int32 denominator = 5 [json_name = "denominator"];Selection.BuilderclearId()string id = 1 [json_name = "id"];Selection.BuilderclearMoneyline()double moneyline = 14 [json_name = "moneyline"];Selection.BuilderclearName()string name = 2 [json_name = "name"];Selection.BuilderclearNumerator()int32 numerator = 4 [json_name = "numerator"];Selection.BuilderclearOutcome().streamlayer.inplay.common.SelectionOutcome outcome = 10 [json_name = "outcome"];Selection.BuilderclearProbability()double probability = 7 [json_name = "probability"];Selection.BuilderclearRange().streamlayer.inplay.common.SelectionRange range = 11 [json_name = "range"];Selection.BuilderclearResult().streamlayer.inplay.common.SelectionResult result = 12 [json_name = "result"];Selection.BuilderclearResultStatus().streamlayer.inplay.common.SelectionResultStatus result_status = 13 [json_name = "resultStatus"];Selection.BuilderclearTradingStatus().streamlayer.inplay.common.SelectionStatus trading_status = 9 [json_name = "tradingStatus"];Selection.BuilderclearUpdated()string updated = 8 [json_name = "updated"];doublegetDecimal()double decimal = 6 [json_name = "decimal"];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"];Selection.BuildermergeOutcome(SelectionOutcome value).streamlayer.inplay.common.SelectionOutcome outcome = 10 [json_name = "outcome"];Selection.BuildermergeRange(SelectionRange value).streamlayer.inplay.common.SelectionRange range = 11 [json_name = "range"];Selection.BuildermergeResult(SelectionResult value).streamlayer.inplay.common.SelectionResult result = 12 [json_name = "result"];Selection.BuildersetDecimal(double value)double decimal = 6 [json_name = "decimal"];Selection.BuildersetDenominator(int value)int32 denominator = 5 [json_name = "denominator"];Selection.BuildersetId(java.lang.String value)string id = 1 [json_name = "id"];Selection.BuildersetIdBytes(com.google.protobuf.ByteString value)string id = 1 [json_name = "id"];Selection.BuildersetMoneyline(double value)double moneyline = 14 [json_name = "moneyline"];Selection.BuildersetName(java.lang.String value)string name = 2 [json_name = "name"];Selection.BuildersetNameBytes(com.google.protobuf.ByteString value)string name = 2 [json_name = "name"];Selection.BuildersetNumerator(int value)int32 numerator = 4 [json_name = "numerator"];Selection.BuildersetOutcome(SelectionOutcome value).streamlayer.inplay.common.SelectionOutcome outcome = 10 [json_name = "outcome"];Selection.BuildersetOutcome(SelectionOutcome.Builder builderForValue).streamlayer.inplay.common.SelectionOutcome outcome = 10 [json_name = "outcome"];Selection.BuildersetProbability(double value)double probability = 7 [json_name = "probability"];Selection.BuildersetRange(SelectionRange value).streamlayer.inplay.common.SelectionRange range = 11 [json_name = "range"];Selection.BuildersetRange(SelectionRange.Builder builderForValue).streamlayer.inplay.common.SelectionRange range = 11 [json_name = "range"];Selection.BuildersetResult(SelectionResult value).streamlayer.inplay.common.SelectionResult result = 12 [json_name = "result"];Selection.BuildersetResult(SelectionResult.Builder builderForValue).streamlayer.inplay.common.SelectionResult result = 12 [json_name = "result"];Selection.BuildersetResultStatus(SelectionResultStatus value).streamlayer.inplay.common.SelectionResultStatus result_status = 13 [json_name = "resultStatus"];Selection.BuildersetResultStatusValue(int value).streamlayer.inplay.common.SelectionResultStatus result_status = 13 [json_name = "resultStatus"];Selection.BuildersetTradingStatus(SelectionStatus value).streamlayer.inplay.common.SelectionStatus trading_status = 9 [json_name = "tradingStatus"];Selection.BuildersetTradingStatusValue(int value).streamlayer.inplay.common.SelectionStatus trading_status = 9 [json_name = "tradingStatus"];Selection.BuildersetUpdated(java.lang.String value)string updated = 8 [json_name = "updated"];Selection.BuildersetUpdatedBytes(com.google.protobuf.ByteString value)string updated = 8 [json_name = "updated"];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
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.
-
setId
public Selection.Builder setId(java.lang.String value)
string id = 1 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Selection.Builder clearId()
string id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
public Selection.Builder setIdBytes(com.google.protobuf.ByteString value)
string id = 1 [json_name = "id"];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
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.
-
setName
public Selection.Builder setName(java.lang.String value)
string name = 2 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Selection.Builder clearName()
string name = 2 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
public Selection.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 2 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getNumerator
public int getNumerator()
int32 numerator = 4 [json_name = "numerator"];- Specified by:
getNumeratorin interfaceSelectionOrBuilder- Returns:
- The numerator.
-
setNumerator
public Selection.Builder setNumerator(int value)
int32 numerator = 4 [json_name = "numerator"];- Parameters:
value- The numerator to set.- Returns:
- This builder for chaining.
-
clearNumerator
public Selection.Builder clearNumerator()
int32 numerator = 4 [json_name = "numerator"];- Returns:
- This builder for chaining.
-
getDenominator
public int getDenominator()
int32 denominator = 5 [json_name = "denominator"];- Specified by:
getDenominatorin interfaceSelectionOrBuilder- Returns:
- The denominator.
-
setDenominator
public Selection.Builder setDenominator(int value)
int32 denominator = 5 [json_name = "denominator"];- Parameters:
value- The denominator to set.- Returns:
- This builder for chaining.
-
clearDenominator
public Selection.Builder clearDenominator()
int32 denominator = 5 [json_name = "denominator"];- Returns:
- This builder for chaining.
-
getDecimal
public double getDecimal()
double decimal = 6 [json_name = "decimal"];- Specified by:
getDecimalin interfaceSelectionOrBuilder- Returns:
- The decimal.
-
setDecimal
public Selection.Builder setDecimal(double value)
double decimal = 6 [json_name = "decimal"];- Parameters:
value- The decimal to set.- Returns:
- This builder for chaining.
-
clearDecimal
public Selection.Builder clearDecimal()
double decimal = 6 [json_name = "decimal"];- Returns:
- This builder for chaining.
-
getMoneyline
public double getMoneyline()
double moneyline = 14 [json_name = "moneyline"];- Specified by:
getMoneylinein interfaceSelectionOrBuilder- Returns:
- The moneyline.
-
setMoneyline
public Selection.Builder setMoneyline(double value)
double moneyline = 14 [json_name = "moneyline"];- Parameters:
value- The moneyline to set.- Returns:
- This builder for chaining.
-
clearMoneyline
public Selection.Builder clearMoneyline()
double moneyline = 14 [json_name = "moneyline"];- Returns:
- This builder for chaining.
-
getProbability
public double getProbability()
double probability = 7 [json_name = "probability"];- Specified by:
getProbabilityin interfaceSelectionOrBuilder- Returns:
- The probability.
-
setProbability
public Selection.Builder setProbability(double value)
double probability = 7 [json_name = "probability"];- Parameters:
value- The probability to set.- Returns:
- This builder for chaining.
-
clearProbability
public Selection.Builder clearProbability()
double probability = 7 [json_name = "probability"];- Returns:
- This builder for chaining.
-
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.
-
setUpdated
public Selection.Builder setUpdated(java.lang.String value)
string updated = 8 [json_name = "updated"];- Parameters:
value- The updated to set.- Returns:
- This builder for chaining.
-
clearUpdated
public Selection.Builder clearUpdated()
string updated = 8 [json_name = "updated"];- Returns:
- This builder for chaining.
-
setUpdatedBytes
public Selection.Builder setUpdatedBytes(com.google.protobuf.ByteString value)
string updated = 8 [json_name = "updated"];- Parameters:
value- The bytes for updated to set.- Returns:
- This builder for chaining.
-
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.
-
setTradingStatusValue
public Selection.Builder setTradingStatusValue(int value)
.streamlayer.inplay.common.SelectionStatus trading_status = 9 [json_name = "tradingStatus"];- Parameters:
value- The tradingStatus to set.- Returns:
- This builder for chaining.
-
getTradingStatus
public SelectionStatus getTradingStatus()
.streamlayer.inplay.common.SelectionStatus trading_status = 9 [json_name = "tradingStatus"];- Specified by:
getTradingStatusin interfaceSelectionOrBuilder- Returns:
- The tradingStatus.
-
setTradingStatus
public Selection.Builder setTradingStatus(SelectionStatus value)
.streamlayer.inplay.common.SelectionStatus trading_status = 9 [json_name = "tradingStatus"];- Parameters:
value- The enum numeric value on the wire for tradingStatus to set.- Returns:
- This builder for chaining.
-
clearTradingStatus
public Selection.Builder clearTradingStatus()
.streamlayer.inplay.common.SelectionStatus trading_status = 9 [json_name = "tradingStatus"];- Returns:
- This builder for chaining.
-
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.
-
setOutcome
public Selection.Builder setOutcome(SelectionOutcome value)
.streamlayer.inplay.common.SelectionOutcome outcome = 10 [json_name = "outcome"];
-
setOutcome
public Selection.Builder setOutcome(SelectionOutcome.Builder builderForValue)
.streamlayer.inplay.common.SelectionOutcome outcome = 10 [json_name = "outcome"];
-
mergeOutcome
public Selection.Builder mergeOutcome(SelectionOutcome value)
.streamlayer.inplay.common.SelectionOutcome outcome = 10 [json_name = "outcome"];
-
clearOutcome
public Selection.Builder clearOutcome()
.streamlayer.inplay.common.SelectionOutcome outcome = 10 [json_name = "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.
-
setRange
public Selection.Builder setRange(SelectionRange value)
.streamlayer.inplay.common.SelectionRange range = 11 [json_name = "range"];
-
setRange
public Selection.Builder setRange(SelectionRange.Builder builderForValue)
.streamlayer.inplay.common.SelectionRange range = 11 [json_name = "range"];
-
mergeRange
public Selection.Builder mergeRange(SelectionRange value)
.streamlayer.inplay.common.SelectionRange range = 11 [json_name = "range"];
-
clearRange
public Selection.Builder clearRange()
.streamlayer.inplay.common.SelectionRange range = 11 [json_name = "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.
-
setResult
public Selection.Builder setResult(SelectionResult value)
.streamlayer.inplay.common.SelectionResult result = 12 [json_name = "result"];
-
setResult
public Selection.Builder setResult(SelectionResult.Builder builderForValue)
.streamlayer.inplay.common.SelectionResult result = 12 [json_name = "result"];
-
mergeResult
public Selection.Builder mergeResult(SelectionResult value)
.streamlayer.inplay.common.SelectionResult result = 12 [json_name = "result"];
-
clearResult
public Selection.Builder clearResult()
.streamlayer.inplay.common.SelectionResult result = 12 [json_name = "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.
-
setResultStatusValue
public Selection.Builder setResultStatusValue(int value)
.streamlayer.inplay.common.SelectionResultStatus result_status = 13 [json_name = "resultStatus"];- Parameters:
value- The resultStatus to set.- Returns:
- This builder for chaining.
-
getResultStatus
public SelectionResultStatus getResultStatus()
.streamlayer.inplay.common.SelectionResultStatus result_status = 13 [json_name = "resultStatus"];- Specified by:
getResultStatusin interfaceSelectionOrBuilder- Returns:
- The resultStatus.
-
setResultStatus
public Selection.Builder setResultStatus(SelectionResultStatus value)
.streamlayer.inplay.common.SelectionResultStatus result_status = 13 [json_name = "resultStatus"];- Parameters:
value- The enum numeric value on the wire for resultStatus to set.- Returns:
- This builder for chaining.
-
clearResultStatus
public Selection.Builder clearResultStatus()
.streamlayer.inplay.common.SelectionResultStatus result_status = 13 [json_name = "resultStatus"];- Returns:
- This builder for chaining.
-
-