main.java.com.streamlayer.sports.common.SyncStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/sports/sports_common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.common;
/**
* Protobuf type {@code streamlayer.sports.SyncStatus}
*/
public final class SyncStatus extends
com.google.protobuf.GeneratedMessageLite<
SyncStatus, SyncStatus.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.SyncStatus)
SyncStatusOrBuilder {
private SyncStatus() {
}
private int bitField0_;
public static final int TEAMS_FIELD_NUMBER = 1;
private com.streamlayer.sports.common.SyncStatusStage teams_;
/**
* .streamlayer.sports.SyncStatusStage teams = 1 [json_name = "teams"];
*/
@java.lang.Override
public boolean hasTeams() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.SyncStatusStage teams = 1 [json_name = "teams"];
*/
@java.lang.Override
public com.streamlayer.sports.common.SyncStatusStage getTeams() {
return teams_ == null ? com.streamlayer.sports.common.SyncStatusStage.getDefaultInstance() : teams_;
}
/**
* .streamlayer.sports.SyncStatusStage teams = 1 [json_name = "teams"];
*/
private void setTeams(com.streamlayer.sports.common.SyncStatusStage value) {
value.getClass();
teams_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.SyncStatusStage teams = 1 [json_name = "teams"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTeams(com.streamlayer.sports.common.SyncStatusStage value) {
value.getClass();
if (teams_ != null &&
teams_ != com.streamlayer.sports.common.SyncStatusStage.getDefaultInstance()) {
teams_ =
com.streamlayer.sports.common.SyncStatusStage.newBuilder(teams_).mergeFrom(value).buildPartial();
} else {
teams_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.SyncStatusStage teams = 1 [json_name = "teams"];
*/
private void clearTeams() { teams_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int EVENT_FIELD_NUMBER = 2;
private com.streamlayer.sports.common.SyncStatusStage event_;
/**
* .streamlayer.sports.SyncStatusStage event = 2 [json_name = "event"];
*/
@java.lang.Override
public boolean hasEvent() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.sports.SyncStatusStage event = 2 [json_name = "event"];
*/
@java.lang.Override
public com.streamlayer.sports.common.SyncStatusStage getEvent() {
return event_ == null ? com.streamlayer.sports.common.SyncStatusStage.getDefaultInstance() : event_;
}
/**
* .streamlayer.sports.SyncStatusStage event = 2 [json_name = "event"];
*/
private void setEvent(com.streamlayer.sports.common.SyncStatusStage value) {
value.getClass();
event_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sports.SyncStatusStage event = 2 [json_name = "event"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeEvent(com.streamlayer.sports.common.SyncStatusStage value) {
value.getClass();
if (event_ != null &&
event_ != com.streamlayer.sports.common.SyncStatusStage.getDefaultInstance()) {
event_ =
com.streamlayer.sports.common.SyncStatusStage.newBuilder(event_).mergeFrom(value).buildPartial();
} else {
event_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sports.SyncStatusStage event = 2 [json_name = "event"];
*/
private void clearEvent() { event_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int EVENTS_FIELD_NUMBER = 3;
private com.streamlayer.sports.common.SyncStatusStage events_;
/**
* .streamlayer.sports.SyncStatusStage events = 3 [json_name = "events"];
*/
@java.lang.Override
public boolean hasEvents() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .streamlayer.sports.SyncStatusStage events = 3 [json_name = "events"];
*/
@java.lang.Override
public com.streamlayer.sports.common.SyncStatusStage getEvents() {
return events_ == null ? com.streamlayer.sports.common.SyncStatusStage.getDefaultInstance() : events_;
}
/**
* .streamlayer.sports.SyncStatusStage events = 3 [json_name = "events"];
*/
private void setEvents(com.streamlayer.sports.common.SyncStatusStage value) {
value.getClass();
events_ = value;
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.sports.SyncStatusStage events = 3 [json_name = "events"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeEvents(com.streamlayer.sports.common.SyncStatusStage value) {
value.getClass();
if (events_ != null &&
events_ != com.streamlayer.sports.common.SyncStatusStage.getDefaultInstance()) {
events_ =
com.streamlayer.sports.common.SyncStatusStage.newBuilder(events_).mergeFrom(value).buildPartial();
} else {
events_ = value;
}
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.sports.SyncStatusStage events = 3 [json_name = "events"];
*/
private void clearEvents() { events_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static final int PLAYERS_FIELD_NUMBER = 4;
private com.streamlayer.sports.common.SyncStatusStage players_;
/**
* .streamlayer.sports.SyncStatusStage players = 4 [json_name = "players"];
*/
@java.lang.Override
public boolean hasPlayers() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .streamlayer.sports.SyncStatusStage players = 4 [json_name = "players"];
*/
@java.lang.Override
public com.streamlayer.sports.common.SyncStatusStage getPlayers() {
return players_ == null ? com.streamlayer.sports.common.SyncStatusStage.getDefaultInstance() : players_;
}
/**
* .streamlayer.sports.SyncStatusStage players = 4 [json_name = "players"];
*/
private void setPlayers(com.streamlayer.sports.common.SyncStatusStage value) {
value.getClass();
players_ = value;
bitField0_ |= 0x00000008;
}
/**
* .streamlayer.sports.SyncStatusStage players = 4 [json_name = "players"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergePlayers(com.streamlayer.sports.common.SyncStatusStage value) {
value.getClass();
if (players_ != null &&
players_ != com.streamlayer.sports.common.SyncStatusStage.getDefaultInstance()) {
players_ =
com.streamlayer.sports.common.SyncStatusStage.newBuilder(players_).mergeFrom(value).buildPartial();
} else {
players_ = value;
}
bitField0_ |= 0x00000008;
}
/**
* .streamlayer.sports.SyncStatusStage players = 4 [json_name = "players"];
*/
private void clearPlayers() { players_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int LEAGUES_FIELD_NUMBER = 5;
private com.streamlayer.sports.common.SyncStatusStage leagues_;
/**
* .streamlayer.sports.SyncStatusStage leagues = 5 [json_name = "leagues"];
*/
@java.lang.Override
public boolean hasLeagues() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* .streamlayer.sports.SyncStatusStage leagues = 5 [json_name = "leagues"];
*/
@java.lang.Override
public com.streamlayer.sports.common.SyncStatusStage getLeagues() {
return leagues_ == null ? com.streamlayer.sports.common.SyncStatusStage.getDefaultInstance() : leagues_;
}
/**
* .streamlayer.sports.SyncStatusStage leagues = 5 [json_name = "leagues"];
*/
private void setLeagues(com.streamlayer.sports.common.SyncStatusStage value) {
value.getClass();
leagues_ = value;
bitField0_ |= 0x00000010;
}
/**
* .streamlayer.sports.SyncStatusStage leagues = 5 [json_name = "leagues"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeLeagues(com.streamlayer.sports.common.SyncStatusStage value) {
value.getClass();
if (leagues_ != null &&
leagues_ != com.streamlayer.sports.common.SyncStatusStage.getDefaultInstance()) {
leagues_ =
com.streamlayer.sports.common.SyncStatusStage.newBuilder(leagues_).mergeFrom(value).buildPartial();
} else {
leagues_ = value;
}
bitField0_ |= 0x00000010;
}
/**
* .streamlayer.sports.SyncStatusStage leagues = 5 [json_name = "leagues"];
*/
private void clearLeagues() { leagues_ = null;
bitField0_ = (bitField0_ & ~0x00000010);
}
public static com.streamlayer.sports.common.SyncStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.common.SyncStatus parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.sports.common.SyncStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.common.SyncStatus parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.sports.common.SyncStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.common.SyncStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.sports.common.SyncStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.SyncStatus parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sports.common.SyncStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.SyncStatus parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sports.common.SyncStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.SyncStatus parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.streamlayer.sports.common.SyncStatus prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.SyncStatus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.common.SyncStatus, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.SyncStatus)
com.streamlayer.sports.common.SyncStatusOrBuilder {
// Construct using com.streamlayer.sports.common.SyncStatus.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.sports.SyncStatusStage teams = 1 [json_name = "teams"];
*/
@java.lang.Override
public boolean hasTeams() {
return instance.hasTeams();
}
/**
* .streamlayer.sports.SyncStatusStage teams = 1 [json_name = "teams"];
*/
@java.lang.Override
public com.streamlayer.sports.common.SyncStatusStage getTeams() {
return instance.getTeams();
}
/**
* .streamlayer.sports.SyncStatusStage teams = 1 [json_name = "teams"];
*/
public Builder setTeams(com.streamlayer.sports.common.SyncStatusStage value) {
copyOnWrite();
instance.setTeams(value);
return this;
}
/**
* .streamlayer.sports.SyncStatusStage teams = 1 [json_name = "teams"];
*/
public Builder setTeams(
com.streamlayer.sports.common.SyncStatusStage.Builder builderForValue) {
copyOnWrite();
instance.setTeams(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.SyncStatusStage teams = 1 [json_name = "teams"];
*/
public Builder mergeTeams(com.streamlayer.sports.common.SyncStatusStage value) {
copyOnWrite();
instance.mergeTeams(value);
return this;
}
/**
* .streamlayer.sports.SyncStatusStage teams = 1 [json_name = "teams"];
*/
public Builder clearTeams() { copyOnWrite();
instance.clearTeams();
return this;
}
/**
* .streamlayer.sports.SyncStatusStage event = 2 [json_name = "event"];
*/
@java.lang.Override
public boolean hasEvent() {
return instance.hasEvent();
}
/**
* .streamlayer.sports.SyncStatusStage event = 2 [json_name = "event"];
*/
@java.lang.Override
public com.streamlayer.sports.common.SyncStatusStage getEvent() {
return instance.getEvent();
}
/**
* .streamlayer.sports.SyncStatusStage event = 2 [json_name = "event"];
*/
public Builder setEvent(com.streamlayer.sports.common.SyncStatusStage value) {
copyOnWrite();
instance.setEvent(value);
return this;
}
/**
* .streamlayer.sports.SyncStatusStage event = 2 [json_name = "event"];
*/
public Builder setEvent(
com.streamlayer.sports.common.SyncStatusStage.Builder builderForValue) {
copyOnWrite();
instance.setEvent(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.SyncStatusStage event = 2 [json_name = "event"];
*/
public Builder mergeEvent(com.streamlayer.sports.common.SyncStatusStage value) {
copyOnWrite();
instance.mergeEvent(value);
return this;
}
/**
* .streamlayer.sports.SyncStatusStage event = 2 [json_name = "event"];
*/
public Builder clearEvent() { copyOnWrite();
instance.clearEvent();
return this;
}
/**
* .streamlayer.sports.SyncStatusStage events = 3 [json_name = "events"];
*/
@java.lang.Override
public boolean hasEvents() {
return instance.hasEvents();
}
/**
* .streamlayer.sports.SyncStatusStage events = 3 [json_name = "events"];
*/
@java.lang.Override
public com.streamlayer.sports.common.SyncStatusStage getEvents() {
return instance.getEvents();
}
/**
* .streamlayer.sports.SyncStatusStage events = 3 [json_name = "events"];
*/
public Builder setEvents(com.streamlayer.sports.common.SyncStatusStage value) {
copyOnWrite();
instance.setEvents(value);
return this;
}
/**
* .streamlayer.sports.SyncStatusStage events = 3 [json_name = "events"];
*/
public Builder setEvents(
com.streamlayer.sports.common.SyncStatusStage.Builder builderForValue) {
copyOnWrite();
instance.setEvents(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.SyncStatusStage events = 3 [json_name = "events"];
*/
public Builder mergeEvents(com.streamlayer.sports.common.SyncStatusStage value) {
copyOnWrite();
instance.mergeEvents(value);
return this;
}
/**
* .streamlayer.sports.SyncStatusStage events = 3 [json_name = "events"];
*/
public Builder clearEvents() { copyOnWrite();
instance.clearEvents();
return this;
}
/**
* .streamlayer.sports.SyncStatusStage players = 4 [json_name = "players"];
*/
@java.lang.Override
public boolean hasPlayers() {
return instance.hasPlayers();
}
/**
* .streamlayer.sports.SyncStatusStage players = 4 [json_name = "players"];
*/
@java.lang.Override
public com.streamlayer.sports.common.SyncStatusStage getPlayers() {
return instance.getPlayers();
}
/**
* .streamlayer.sports.SyncStatusStage players = 4 [json_name = "players"];
*/
public Builder setPlayers(com.streamlayer.sports.common.SyncStatusStage value) {
copyOnWrite();
instance.setPlayers(value);
return this;
}
/**
* .streamlayer.sports.SyncStatusStage players = 4 [json_name = "players"];
*/
public Builder setPlayers(
com.streamlayer.sports.common.SyncStatusStage.Builder builderForValue) {
copyOnWrite();
instance.setPlayers(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.SyncStatusStage players = 4 [json_name = "players"];
*/
public Builder mergePlayers(com.streamlayer.sports.common.SyncStatusStage value) {
copyOnWrite();
instance.mergePlayers(value);
return this;
}
/**
* .streamlayer.sports.SyncStatusStage players = 4 [json_name = "players"];
*/
public Builder clearPlayers() { copyOnWrite();
instance.clearPlayers();
return this;
}
/**
* .streamlayer.sports.SyncStatusStage leagues = 5 [json_name = "leagues"];
*/
@java.lang.Override
public boolean hasLeagues() {
return instance.hasLeagues();
}
/**
* .streamlayer.sports.SyncStatusStage leagues = 5 [json_name = "leagues"];
*/
@java.lang.Override
public com.streamlayer.sports.common.SyncStatusStage getLeagues() {
return instance.getLeagues();
}
/**
* .streamlayer.sports.SyncStatusStage leagues = 5 [json_name = "leagues"];
*/
public Builder setLeagues(com.streamlayer.sports.common.SyncStatusStage value) {
copyOnWrite();
instance.setLeagues(value);
return this;
}
/**
* .streamlayer.sports.SyncStatusStage leagues = 5 [json_name = "leagues"];
*/
public Builder setLeagues(
com.streamlayer.sports.common.SyncStatusStage.Builder builderForValue) {
copyOnWrite();
instance.setLeagues(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.SyncStatusStage leagues = 5 [json_name = "leagues"];
*/
public Builder mergeLeagues(com.streamlayer.sports.common.SyncStatusStage value) {
copyOnWrite();
instance.mergeLeagues(value);
return this;
}
/**
* .streamlayer.sports.SyncStatusStage leagues = 5 [json_name = "leagues"];
*/
public Builder clearLeagues() { copyOnWrite();
instance.clearLeagues();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.SyncStatus)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.streamlayer.sports.common.SyncStatus();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"teams_",
"event_",
"events_",
"players_",
"leagues_",
};
java.lang.String info =
"\u0000\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\u1009\u0001\u0003\u1009\u0002\u0004\u1009\u0003\u0005\u1009\u0004";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.sports.common.SyncStatus.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:streamlayer.sports.SyncStatus)
private static final com.streamlayer.sports.common.SyncStatus DEFAULT_INSTANCE;
static {
SyncStatus defaultInstance = new SyncStatus();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SyncStatus.class, defaultInstance);
}
public static com.streamlayer.sports.common.SyncStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}