Package com.streamlayer.inplay.common
Interface BetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Bet,Bet.Builder
public interface BetOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetId()string id = 1;com.google.protobuf.ByteStringgetIdBytes()string id = 1;MarketgetMarket().streamlayer.inplay.common.Market market = 3;SelectiongetOutcome().streamlayer.inplay.common.Selection outcome = 4;doublegetPayout()double payout = 6;SelectionResultgetResult().streamlayer.inplay.common.SelectionResult result = 5;java.lang.StringgetUser()string user = 2;com.google.protobuf.ByteStringgetUserBytes()string user = 2;booleanhasMarket().streamlayer.inplay.common.Market market = 3;booleanhasOutcome().streamlayer.inplay.common.Selection outcome = 4;booleanhasResult().streamlayer.inplay.common.SelectionResult result = 5;
-
-
-
Method Detail
-
getId
java.lang.String getId()
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
string id = 1;- Returns:
- The bytes for id.
-
getUser
java.lang.String getUser()
string user = 2;- Returns:
- The user.
-
getUserBytes
com.google.protobuf.ByteString getUserBytes()
string user = 2;- Returns:
- The bytes for user.
-
hasMarket
boolean hasMarket()
.streamlayer.inplay.common.Market market = 3;- Returns:
- Whether the market field is set.
-
getMarket
Market getMarket()
.streamlayer.inplay.common.Market market = 3;- Returns:
- The market.
-
hasOutcome
boolean hasOutcome()
.streamlayer.inplay.common.Selection outcome = 4;- Returns:
- Whether the outcome field is set.
-
getOutcome
Selection getOutcome()
.streamlayer.inplay.common.Selection outcome = 4;- Returns:
- The outcome.
-
hasResult
boolean hasResult()
.streamlayer.inplay.common.SelectionResult result = 5;- Returns:
- Whether the result field is set.
-
getResult
SelectionResult getResult()
.streamlayer.inplay.common.SelectionResult result = 5;- Returns:
- The result.
-
getPayout
double getPayout()
double payout = 6;- Returns:
- The payout.
-
-