Class GameLineMoneyLine.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<GameLineMoneyLine,GameLineMoneyLine.Builder>
-
- com.streamlayer.sportsdata.client.bets.GameLineMoneyLine.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,GameLineMoneyLineOrBuilder,java.lang.Cloneable
- Enclosing class:
- GameLineMoneyLine
public static final class GameLineMoneyLine.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<GameLineMoneyLine,GameLineMoneyLine.Builder> implements GameLineMoneyLineOrBuilder
Protobuf typestreamlayer.sportsdata.client.bets.GameLineMoneyLine
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GameLineMoneyLine.BuilderaddAllOutcomes(java.lang.Iterable<? extends Outcome> values)repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];GameLineMoneyLine.BuilderaddOutcomes(int index, Outcome value)repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];GameLineMoneyLine.BuilderaddOutcomes(int index, Outcome.Builder builderForValue)repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];GameLineMoneyLine.BuilderaddOutcomes(Outcome value)repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];GameLineMoneyLine.BuilderaddOutcomes(Outcome.Builder builderForValue)repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];GameLineMoneyLine.BuilderclearMarketId()int32 market_id = 1 [json_name = "marketId"];GameLineMoneyLine.BuilderclearOutcomes()repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];intgetMarketId()int32 market_id = 1 [json_name = "marketId"];OutcomegetOutcomes(int index)repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];intgetOutcomesCount()repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];java.util.List<Outcome>getOutcomesList()repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];GameLineMoneyLine.BuilderremoveOutcomes(int index)repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];GameLineMoneyLine.BuildersetMarketId(int value)int32 market_id = 1 [json_name = "marketId"];GameLineMoneyLine.BuildersetOutcomes(int index, Outcome value)repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];GameLineMoneyLine.BuildersetOutcomes(int index, Outcome.Builder builderForValue)repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];-
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
-
getMarketId
public int getMarketId()
int32 market_id = 1 [json_name = "marketId"];- Specified by:
getMarketIdin interfaceGameLineMoneyLineOrBuilder- Returns:
- The marketId.
-
setMarketId
public GameLineMoneyLine.Builder setMarketId(int value)
int32 market_id = 1 [json_name = "marketId"];- Parameters:
value- The marketId to set.- Returns:
- This builder for chaining.
-
clearMarketId
public GameLineMoneyLine.Builder clearMarketId()
int32 market_id = 1 [json_name = "marketId"];- Returns:
- This builder for chaining.
-
getOutcomesList
public java.util.List<Outcome> getOutcomesList()
repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];- Specified by:
getOutcomesListin interfaceGameLineMoneyLineOrBuilder
-
getOutcomesCount
public int getOutcomesCount()
repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];- Specified by:
getOutcomesCountin interfaceGameLineMoneyLineOrBuilder
-
getOutcomes
public Outcome getOutcomes(int index)
repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];- Specified by:
getOutcomesin interfaceGameLineMoneyLineOrBuilder
-
setOutcomes
public GameLineMoneyLine.Builder setOutcomes(int index, Outcome value)
repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];
-
setOutcomes
public GameLineMoneyLine.Builder setOutcomes(int index, Outcome.Builder builderForValue)
repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];
-
addOutcomes
public GameLineMoneyLine.Builder addOutcomes(Outcome value)
repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];
-
addOutcomes
public GameLineMoneyLine.Builder addOutcomes(int index, Outcome value)
repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];
-
addOutcomes
public GameLineMoneyLine.Builder addOutcomes(Outcome.Builder builderForValue)
repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];
-
addOutcomes
public GameLineMoneyLine.Builder addOutcomes(int index, Outcome.Builder builderForValue)
repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];
-
addAllOutcomes
public GameLineMoneyLine.Builder addAllOutcomes(java.lang.Iterable<? extends Outcome> values)
repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];
-
clearOutcomes
public GameLineMoneyLine.Builder clearOutcomes()
repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];
-
removeOutcomes
public GameLineMoneyLine.Builder removeOutcomes(int index)
repeated .streamlayer.sportsdata.Outcome outcomes = 2 [json_name = "outcomes"];
-
-