Class GamePropOutcome.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<GamePropOutcome,GamePropOutcome.Builder>
-
- com.streamlayer.sportsdata.client.bets.GamePropOutcome.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,GamePropOutcomeOrBuilder,java.lang.Cloneable
- Enclosing class:
- GamePropOutcome
public static final class GamePropOutcome.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<GamePropOutcome,GamePropOutcome.Builder> implements GamePropOutcomeOrBuilder
Protobuf typestreamlayer.sportsdata.client.bets.GamePropOutcome
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GamePropOutcome.BuilderclearBetLink()string bet_link = 7 [json_name = "betLink"];GamePropOutcome.BuilderclearId()int32 id = 1 [json_name = "id"];GamePropOutcome.BuilderclearOutcome()string outcome = 2 [json_name = "outcome"];GamePropOutcome.BuilderclearParticipant()string participant = 4 [json_name = "participant"];GamePropOutcome.BuilderclearPayout()int32 payout = 3 [json_name = "payout"];GamePropOutcome.BuilderclearValue()double value = 6 [json_name = "value"];java.lang.StringgetBetLink()string bet_link = 7 [json_name = "betLink"];com.google.protobuf.ByteStringgetBetLinkBytes()string bet_link = 7 [json_name = "betLink"];intgetId()int32 id = 1 [json_name = "id"];java.lang.StringgetOutcome()string outcome = 2 [json_name = "outcome"];com.google.protobuf.ByteStringgetOutcomeBytes()string outcome = 2 [json_name = "outcome"];java.lang.StringgetParticipant()string participant = 4 [json_name = "participant"];com.google.protobuf.ByteStringgetParticipantBytes()string participant = 4 [json_name = "participant"];intgetPayout()int32 payout = 3 [json_name = "payout"];doublegetValue()double value = 6 [json_name = "value"];GamePropOutcome.BuildersetBetLink(java.lang.String value)string bet_link = 7 [json_name = "betLink"];GamePropOutcome.BuildersetBetLinkBytes(com.google.protobuf.ByteString value)string bet_link = 7 [json_name = "betLink"];GamePropOutcome.BuildersetId(int value)int32 id = 1 [json_name = "id"];GamePropOutcome.BuildersetOutcome(java.lang.String value)string outcome = 2 [json_name = "outcome"];GamePropOutcome.BuildersetOutcomeBytes(com.google.protobuf.ByteString value)string outcome = 2 [json_name = "outcome"];GamePropOutcome.BuildersetParticipant(java.lang.String value)string participant = 4 [json_name = "participant"];GamePropOutcome.BuildersetParticipantBytes(com.google.protobuf.ByteString value)string participant = 4 [json_name = "participant"];GamePropOutcome.BuildersetPayout(int value)int32 payout = 3 [json_name = "payout"];GamePropOutcome.BuildersetValue(double value)double value = 6 [json_name = "value"];-
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 int getId()
int32 id = 1 [json_name = "id"];- Specified by:
getIdin interfaceGamePropOutcomeOrBuilder- Returns:
- The id.
-
setId
public GamePropOutcome.Builder setId(int value)
int32 id = 1 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public GamePropOutcome.Builder clearId()
int32 id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
getOutcome
public java.lang.String getOutcome()
string outcome = 2 [json_name = "outcome"];- Specified by:
getOutcomein interfaceGamePropOutcomeOrBuilder- Returns:
- The outcome.
-
getOutcomeBytes
public com.google.protobuf.ByteString getOutcomeBytes()
string outcome = 2 [json_name = "outcome"];- Specified by:
getOutcomeBytesin interfaceGamePropOutcomeOrBuilder- Returns:
- The bytes for outcome.
-
setOutcome
public GamePropOutcome.Builder setOutcome(java.lang.String value)
string outcome = 2 [json_name = "outcome"];- Parameters:
value- The outcome to set.- Returns:
- This builder for chaining.
-
clearOutcome
public GamePropOutcome.Builder clearOutcome()
string outcome = 2 [json_name = "outcome"];- Returns:
- This builder for chaining.
-
setOutcomeBytes
public GamePropOutcome.Builder setOutcomeBytes(com.google.protobuf.ByteString value)
string outcome = 2 [json_name = "outcome"];- Parameters:
value- The bytes for outcome to set.- Returns:
- This builder for chaining.
-
getPayout
public int getPayout()
int32 payout = 3 [json_name = "payout"];- Specified by:
getPayoutin interfaceGamePropOutcomeOrBuilder- Returns:
- The payout.
-
setPayout
public GamePropOutcome.Builder setPayout(int value)
int32 payout = 3 [json_name = "payout"];- Parameters:
value- The payout to set.- Returns:
- This builder for chaining.
-
clearPayout
public GamePropOutcome.Builder clearPayout()
int32 payout = 3 [json_name = "payout"];- Returns:
- This builder for chaining.
-
getParticipant
public java.lang.String getParticipant()
string participant = 4 [json_name = "participant"];- Specified by:
getParticipantin interfaceGamePropOutcomeOrBuilder- Returns:
- The participant.
-
getParticipantBytes
public com.google.protobuf.ByteString getParticipantBytes()
string participant = 4 [json_name = "participant"];- Specified by:
getParticipantBytesin interfaceGamePropOutcomeOrBuilder- Returns:
- The bytes for participant.
-
setParticipant
public GamePropOutcome.Builder setParticipant(java.lang.String value)
string participant = 4 [json_name = "participant"];- Parameters:
value- The participant to set.- Returns:
- This builder for chaining.
-
clearParticipant
public GamePropOutcome.Builder clearParticipant()
string participant = 4 [json_name = "participant"];- Returns:
- This builder for chaining.
-
setParticipantBytes
public GamePropOutcome.Builder setParticipantBytes(com.google.protobuf.ByteString value)
string participant = 4 [json_name = "participant"];- Parameters:
value- The bytes for participant to set.- Returns:
- This builder for chaining.
-
getValue
public double getValue()
double value = 6 [json_name = "value"];- Specified by:
getValuein interfaceGamePropOutcomeOrBuilder- Returns:
- The value.
-
setValue
public GamePropOutcome.Builder setValue(double value)
double value = 6 [json_name = "value"];- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public GamePropOutcome.Builder clearValue()
double value = 6 [json_name = "value"];- Returns:
- This builder for chaining.
-
getBetLink
public java.lang.String getBetLink()
string bet_link = 7 [json_name = "betLink"];- Specified by:
getBetLinkin interfaceGamePropOutcomeOrBuilder- Returns:
- The betLink.
-
getBetLinkBytes
public com.google.protobuf.ByteString getBetLinkBytes()
string bet_link = 7 [json_name = "betLink"];- Specified by:
getBetLinkBytesin interfaceGamePropOutcomeOrBuilder- Returns:
- The bytes for betLink.
-
setBetLink
public GamePropOutcome.Builder setBetLink(java.lang.String value)
string bet_link = 7 [json_name = "betLink"];- Parameters:
value- The betLink to set.- Returns:
- This builder for chaining.
-
clearBetLink
public GamePropOutcome.Builder clearBetLink()
string bet_link = 7 [json_name = "betLink"];- Returns:
- This builder for chaining.
-
setBetLinkBytes
public GamePropOutcome.Builder setBetLinkBytes(com.google.protobuf.ByteString value)
string bet_link = 7 [json_name = "betLink"];- Parameters:
value- The bytes for betLink to set.- Returns:
- This builder for chaining.
-
-