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