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