Package com.streamlayer.inplay.admin
Class GamesResponse.GamesResponseData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<GamesResponse.GamesResponseData,GamesResponse.GamesResponseData.Builder>
-
- com.streamlayer.inplay.admin.GamesResponse.GamesResponseData.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,GamesResponse.GamesResponseDataOrBuilder,java.lang.Cloneable
- Enclosing class:
- GamesResponse.GamesResponseData
public static final class GamesResponse.GamesResponseData.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<GamesResponse.GamesResponseData,GamesResponse.GamesResponseData.Builder> implements GamesResponse.GamesResponseDataOrBuilder
Protobuf typestreamlayer.inplay.admin.GamesResponse.GamesResponseData
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GamesResponse.GamesResponseData.BuilderclearAwayId()int32 away_id = 16;GamesResponse.GamesResponseData.BuilderclearCreated()string created = 12;GamesResponse.GamesResponseData.BuilderclearCutOffDateUtc()string cut_off_date_utc = 5;GamesResponse.GamesResponseData.BuilderclearHomeId()int32 home_id = 15;GamesResponse.GamesResponseData.BuilderclearId()int32 id = 3;GamesResponse.GamesResponseData.BuilderclearInplayId()int32 inplay_id = 1;GamesResponse.GamesResponseData.BuilderclearIsBalancedLine()bool is_balanced_line = 10;GamesResponse.GamesResponseData.BuilderclearIsDisplayed()bool is_displayed = 8;GamesResponse.GamesResponseData.BuilderclearIsInPlay()bool is_in_play = 7;GamesResponse.GamesResponseData.BuilderclearIsOpenForBetting()bool is_open_for_betting = 9;GamesResponse.GamesResponseData.BuilderclearIsPlannedInPlay()bool is_planned_in_play = 11;GamesResponse.GamesResponseData.BuilderclearLeagueId()int32 league_id = 13;GamesResponse.GamesResponseData.BuilderclearMatchSummary().streamlayer.inplay.admin.MatchSummary match_summary = 6;GamesResponse.GamesResponseData.BuilderclearPrematchId()int32 prematch_id = 17;GamesResponse.GamesResponseData.BuilderclearSportId()int32 sport_id = 14;GamesResponse.GamesResponseData.BuilderclearStartDateUtc()string start_date_utc = 4;GamesResponse.GamesResponseData.BuilderclearStatus().streamlayer.inplay.admin.FixtureStatus status = 19;GamesResponse.GamesResponseData.BuilderclearType()string type = 18;GamesResponse.GamesResponseData.BuilderclearUpdated()string updated = 2;intgetAwayId()int32 away_id = 16;java.lang.StringgetCreated()string created = 12;com.google.protobuf.ByteStringgetCreatedBytes()string created = 12;java.lang.StringgetCutOffDateUtc()string cut_off_date_utc = 5;com.google.protobuf.ByteStringgetCutOffDateUtcBytes()string cut_off_date_utc = 5;intgetHomeId()int32 home_id = 15;intgetId()int32 id = 3;intgetInplayId()int32 inplay_id = 1;booleangetIsBalancedLine()bool is_balanced_line = 10;booleangetIsDisplayed()bool is_displayed = 8;booleangetIsInPlay()bool is_in_play = 7;booleangetIsOpenForBetting()bool is_open_for_betting = 9;booleangetIsPlannedInPlay()bool is_planned_in_play = 11;intgetLeagueId()int32 league_id = 13;MatchSummarygetMatchSummary().streamlayer.inplay.admin.MatchSummary match_summary = 6;intgetPrematchId()int32 prematch_id = 17;intgetSportId()int32 sport_id = 14;java.lang.StringgetStartDateUtc()string start_date_utc = 4;com.google.protobuf.ByteStringgetStartDateUtcBytes()string start_date_utc = 4;FixtureStatusgetStatus().streamlayer.inplay.admin.FixtureStatus status = 19;intgetStatusValue().streamlayer.inplay.admin.FixtureStatus status = 19;java.lang.StringgetType()string type = 18;com.google.protobuf.ByteStringgetTypeBytes()string type = 18;java.lang.StringgetUpdated()string updated = 2;com.google.protobuf.ByteStringgetUpdatedBytes()string updated = 2;booleanhasMatchSummary().streamlayer.inplay.admin.MatchSummary match_summary = 6;GamesResponse.GamesResponseData.BuildermergeMatchSummary(MatchSummary value).streamlayer.inplay.admin.MatchSummary match_summary = 6;GamesResponse.GamesResponseData.BuildersetAwayId(int value)int32 away_id = 16;GamesResponse.GamesResponseData.BuildersetCreated(java.lang.String value)string created = 12;GamesResponse.GamesResponseData.BuildersetCreatedBytes(com.google.protobuf.ByteString value)string created = 12;GamesResponse.GamesResponseData.BuildersetCutOffDateUtc(java.lang.String value)string cut_off_date_utc = 5;GamesResponse.GamesResponseData.BuildersetCutOffDateUtcBytes(com.google.protobuf.ByteString value)string cut_off_date_utc = 5;GamesResponse.GamesResponseData.BuildersetHomeId(int value)int32 home_id = 15;GamesResponse.GamesResponseData.BuildersetId(int value)int32 id = 3;GamesResponse.GamesResponseData.BuildersetInplayId(int value)int32 inplay_id = 1;GamesResponse.GamesResponseData.BuildersetIsBalancedLine(boolean value)bool is_balanced_line = 10;GamesResponse.GamesResponseData.BuildersetIsDisplayed(boolean value)bool is_displayed = 8;GamesResponse.GamesResponseData.BuildersetIsInPlay(boolean value)bool is_in_play = 7;GamesResponse.GamesResponseData.BuildersetIsOpenForBetting(boolean value)bool is_open_for_betting = 9;GamesResponse.GamesResponseData.BuildersetIsPlannedInPlay(boolean value)bool is_planned_in_play = 11;GamesResponse.GamesResponseData.BuildersetLeagueId(int value)int32 league_id = 13;GamesResponse.GamesResponseData.BuildersetMatchSummary(MatchSummary value).streamlayer.inplay.admin.MatchSummary match_summary = 6;GamesResponse.GamesResponseData.BuildersetMatchSummary(MatchSummary.Builder builderForValue).streamlayer.inplay.admin.MatchSummary match_summary = 6;GamesResponse.GamesResponseData.BuildersetPrematchId(int value)int32 prematch_id = 17;GamesResponse.GamesResponseData.BuildersetSportId(int value)int32 sport_id = 14;GamesResponse.GamesResponseData.BuildersetStartDateUtc(java.lang.String value)string start_date_utc = 4;GamesResponse.GamesResponseData.BuildersetStartDateUtcBytes(com.google.protobuf.ByteString value)string start_date_utc = 4;GamesResponse.GamesResponseData.BuildersetStatus(FixtureStatus value).streamlayer.inplay.admin.FixtureStatus status = 19;GamesResponse.GamesResponseData.BuildersetStatusValue(int value).streamlayer.inplay.admin.FixtureStatus status = 19;GamesResponse.GamesResponseData.BuildersetType(java.lang.String value)string type = 18;GamesResponse.GamesResponseData.BuildersetTypeBytes(com.google.protobuf.ByteString value)string type = 18;GamesResponse.GamesResponseData.BuildersetUpdated(java.lang.String value)string updated = 2;GamesResponse.GamesResponseData.BuildersetUpdatedBytes(com.google.protobuf.ByteString value)string updated = 2;-
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
-
getInplayId
public int getInplayId()
int32 inplay_id = 1;- Specified by:
getInplayIdin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The inplayId.
-
setInplayId
public GamesResponse.GamesResponseData.Builder setInplayId(int value)
int32 inplay_id = 1;- Parameters:
value- The inplayId to set.- Returns:
- This builder for chaining.
-
clearInplayId
public GamesResponse.GamesResponseData.Builder clearInplayId()
int32 inplay_id = 1;- Returns:
- This builder for chaining.
-
getUpdated
public java.lang.String getUpdated()
string updated = 2;- Specified by:
getUpdatedin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The updated.
-
getUpdatedBytes
public com.google.protobuf.ByteString getUpdatedBytes()
string updated = 2;- Specified by:
getUpdatedBytesin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The bytes for updated.
-
setUpdated
public GamesResponse.GamesResponseData.Builder setUpdated(java.lang.String value)
string updated = 2;- Parameters:
value- The updated to set.- Returns:
- This builder for chaining.
-
clearUpdated
public GamesResponse.GamesResponseData.Builder clearUpdated()
string updated = 2;- Returns:
- This builder for chaining.
-
setUpdatedBytes
public GamesResponse.GamesResponseData.Builder setUpdatedBytes(com.google.protobuf.ByteString value)
string updated = 2;- Parameters:
value- The bytes for updated to set.- Returns:
- This builder for chaining.
-
getId
public int getId()
int32 id = 3;- Specified by:
getIdin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The id.
-
setId
public GamesResponse.GamesResponseData.Builder setId(int value)
int32 id = 3;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public GamesResponse.GamesResponseData.Builder clearId()
int32 id = 3;- Returns:
- This builder for chaining.
-
getStartDateUtc
public java.lang.String getStartDateUtc()
string start_date_utc = 4;- Specified by:
getStartDateUtcin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The startDateUtc.
-
getStartDateUtcBytes
public com.google.protobuf.ByteString getStartDateUtcBytes()
string start_date_utc = 4;- Specified by:
getStartDateUtcBytesin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The bytes for startDateUtc.
-
setStartDateUtc
public GamesResponse.GamesResponseData.Builder setStartDateUtc(java.lang.String value)
string start_date_utc = 4;- Parameters:
value- The startDateUtc to set.- Returns:
- This builder for chaining.
-
clearStartDateUtc
public GamesResponse.GamesResponseData.Builder clearStartDateUtc()
string start_date_utc = 4;- Returns:
- This builder for chaining.
-
setStartDateUtcBytes
public GamesResponse.GamesResponseData.Builder setStartDateUtcBytes(com.google.protobuf.ByteString value)
string start_date_utc = 4;- Parameters:
value- The bytes for startDateUtc to set.- Returns:
- This builder for chaining.
-
getCutOffDateUtc
public java.lang.String getCutOffDateUtc()
string cut_off_date_utc = 5;- Specified by:
getCutOffDateUtcin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The cutOffDateUtc.
-
getCutOffDateUtcBytes
public com.google.protobuf.ByteString getCutOffDateUtcBytes()
string cut_off_date_utc = 5;- Specified by:
getCutOffDateUtcBytesin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The bytes for cutOffDateUtc.
-
setCutOffDateUtc
public GamesResponse.GamesResponseData.Builder setCutOffDateUtc(java.lang.String value)
string cut_off_date_utc = 5;- Parameters:
value- The cutOffDateUtc to set.- Returns:
- This builder for chaining.
-
clearCutOffDateUtc
public GamesResponse.GamesResponseData.Builder clearCutOffDateUtc()
string cut_off_date_utc = 5;- Returns:
- This builder for chaining.
-
setCutOffDateUtcBytes
public GamesResponse.GamesResponseData.Builder setCutOffDateUtcBytes(com.google.protobuf.ByteString value)
string cut_off_date_utc = 5;- Parameters:
value- The bytes for cutOffDateUtc to set.- Returns:
- This builder for chaining.
-
hasMatchSummary
public boolean hasMatchSummary()
.streamlayer.inplay.admin.MatchSummary match_summary = 6;- Specified by:
hasMatchSummaryin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- Whether the matchSummary field is set.
-
getMatchSummary
public MatchSummary getMatchSummary()
.streamlayer.inplay.admin.MatchSummary match_summary = 6;- Specified by:
getMatchSummaryin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The matchSummary.
-
setMatchSummary
public GamesResponse.GamesResponseData.Builder setMatchSummary(MatchSummary value)
.streamlayer.inplay.admin.MatchSummary match_summary = 6;
-
setMatchSummary
public GamesResponse.GamesResponseData.Builder setMatchSummary(MatchSummary.Builder builderForValue)
.streamlayer.inplay.admin.MatchSummary match_summary = 6;
-
mergeMatchSummary
public GamesResponse.GamesResponseData.Builder mergeMatchSummary(MatchSummary value)
.streamlayer.inplay.admin.MatchSummary match_summary = 6;
-
clearMatchSummary
public GamesResponse.GamesResponseData.Builder clearMatchSummary()
.streamlayer.inplay.admin.MatchSummary match_summary = 6;
-
getIsInPlay
public boolean getIsInPlay()
bool is_in_play = 7;- Specified by:
getIsInPlayin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The isInPlay.
-
setIsInPlay
public GamesResponse.GamesResponseData.Builder setIsInPlay(boolean value)
bool is_in_play = 7;- Parameters:
value- The isInPlay to set.- Returns:
- This builder for chaining.
-
clearIsInPlay
public GamesResponse.GamesResponseData.Builder clearIsInPlay()
bool is_in_play = 7;- Returns:
- This builder for chaining.
-
getIsDisplayed
public boolean getIsDisplayed()
bool is_displayed = 8;- Specified by:
getIsDisplayedin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The isDisplayed.
-
setIsDisplayed
public GamesResponse.GamesResponseData.Builder setIsDisplayed(boolean value)
bool is_displayed = 8;- Parameters:
value- The isDisplayed to set.- Returns:
- This builder for chaining.
-
clearIsDisplayed
public GamesResponse.GamesResponseData.Builder clearIsDisplayed()
bool is_displayed = 8;- Returns:
- This builder for chaining.
-
getIsOpenForBetting
public boolean getIsOpenForBetting()
bool is_open_for_betting = 9;- Specified by:
getIsOpenForBettingin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The isOpenForBetting.
-
setIsOpenForBetting
public GamesResponse.GamesResponseData.Builder setIsOpenForBetting(boolean value)
bool is_open_for_betting = 9;- Parameters:
value- The isOpenForBetting to set.- Returns:
- This builder for chaining.
-
clearIsOpenForBetting
public GamesResponse.GamesResponseData.Builder clearIsOpenForBetting()
bool is_open_for_betting = 9;- Returns:
- This builder for chaining.
-
getIsBalancedLine
public boolean getIsBalancedLine()
bool is_balanced_line = 10;- Specified by:
getIsBalancedLinein interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The isBalancedLine.
-
setIsBalancedLine
public GamesResponse.GamesResponseData.Builder setIsBalancedLine(boolean value)
bool is_balanced_line = 10;- Parameters:
value- The isBalancedLine to set.- Returns:
- This builder for chaining.
-
clearIsBalancedLine
public GamesResponse.GamesResponseData.Builder clearIsBalancedLine()
bool is_balanced_line = 10;- Returns:
- This builder for chaining.
-
getIsPlannedInPlay
public boolean getIsPlannedInPlay()
bool is_planned_in_play = 11;- Specified by:
getIsPlannedInPlayin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The isPlannedInPlay.
-
setIsPlannedInPlay
public GamesResponse.GamesResponseData.Builder setIsPlannedInPlay(boolean value)
bool is_planned_in_play = 11;- Parameters:
value- The isPlannedInPlay to set.- Returns:
- This builder for chaining.
-
clearIsPlannedInPlay
public GamesResponse.GamesResponseData.Builder clearIsPlannedInPlay()
bool is_planned_in_play = 11;- Returns:
- This builder for chaining.
-
getCreated
public java.lang.String getCreated()
string created = 12;- Specified by:
getCreatedin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The created.
-
getCreatedBytes
public com.google.protobuf.ByteString getCreatedBytes()
string created = 12;- Specified by:
getCreatedBytesin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The bytes for created.
-
setCreated
public GamesResponse.GamesResponseData.Builder setCreated(java.lang.String value)
string created = 12;- Parameters:
value- The created to set.- Returns:
- This builder for chaining.
-
clearCreated
public GamesResponse.GamesResponseData.Builder clearCreated()
string created = 12;- Returns:
- This builder for chaining.
-
setCreatedBytes
public GamesResponse.GamesResponseData.Builder setCreatedBytes(com.google.protobuf.ByteString value)
string created = 12;- Parameters:
value- The bytes for created to set.- Returns:
- This builder for chaining.
-
getLeagueId
public int getLeagueId()
int32 league_id = 13;- Specified by:
getLeagueIdin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The leagueId.
-
setLeagueId
public GamesResponse.GamesResponseData.Builder setLeagueId(int value)
int32 league_id = 13;- Parameters:
value- The leagueId to set.- Returns:
- This builder for chaining.
-
clearLeagueId
public GamesResponse.GamesResponseData.Builder clearLeagueId()
int32 league_id = 13;- Returns:
- This builder for chaining.
-
getSportId
public int getSportId()
int32 sport_id = 14;- Specified by:
getSportIdin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The sportId.
-
setSportId
public GamesResponse.GamesResponseData.Builder setSportId(int value)
int32 sport_id = 14;- Parameters:
value- The sportId to set.- Returns:
- This builder for chaining.
-
clearSportId
public GamesResponse.GamesResponseData.Builder clearSportId()
int32 sport_id = 14;- Returns:
- This builder for chaining.
-
getHomeId
public int getHomeId()
int32 home_id = 15;- Specified by:
getHomeIdin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The homeId.
-
setHomeId
public GamesResponse.GamesResponseData.Builder setHomeId(int value)
int32 home_id = 15;- Parameters:
value- The homeId to set.- Returns:
- This builder for chaining.
-
clearHomeId
public GamesResponse.GamesResponseData.Builder clearHomeId()
int32 home_id = 15;- Returns:
- This builder for chaining.
-
getAwayId
public int getAwayId()
int32 away_id = 16;- Specified by:
getAwayIdin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The awayId.
-
setAwayId
public GamesResponse.GamesResponseData.Builder setAwayId(int value)
int32 away_id = 16;- Parameters:
value- The awayId to set.- Returns:
- This builder for chaining.
-
clearAwayId
public GamesResponse.GamesResponseData.Builder clearAwayId()
int32 away_id = 16;- Returns:
- This builder for chaining.
-
getPrematchId
public int getPrematchId()
int32 prematch_id = 17;- Specified by:
getPrematchIdin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The prematchId.
-
setPrematchId
public GamesResponse.GamesResponseData.Builder setPrematchId(int value)
int32 prematch_id = 17;- Parameters:
value- The prematchId to set.- Returns:
- This builder for chaining.
-
clearPrematchId
public GamesResponse.GamesResponseData.Builder clearPrematchId()
int32 prematch_id = 17;- Returns:
- This builder for chaining.
-
getType
public java.lang.String getType()
string type = 18;- Specified by:
getTypein interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 18;- Specified by:
getTypeBytesin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The bytes for type.
-
setType
public GamesResponse.GamesResponseData.Builder setType(java.lang.String value)
string type = 18;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public GamesResponse.GamesResponseData.Builder clearType()
string type = 18;- Returns:
- This builder for chaining.
-
setTypeBytes
public GamesResponse.GamesResponseData.Builder setTypeBytes(com.google.protobuf.ByteString value)
string type = 18;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
.streamlayer.inplay.admin.FixtureStatus status = 19;- Specified by:
getStatusValuein interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public GamesResponse.GamesResponseData.Builder setStatusValue(int value)
.streamlayer.inplay.admin.FixtureStatus status = 19;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
getStatus
public FixtureStatus getStatus()
.streamlayer.inplay.admin.FixtureStatus status = 19;- Specified by:
getStatusin interfaceGamesResponse.GamesResponseDataOrBuilder- Returns:
- The status.
-
setStatus
public GamesResponse.GamesResponseData.Builder setStatus(FixtureStatus value)
.streamlayer.inplay.admin.FixtureStatus status = 19;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
clearStatus
public GamesResponse.GamesResponseData.Builder clearStatus()
.streamlayer.inplay.admin.FixtureStatus status = 19;- Returns:
- This builder for chaining.
-
-