main.java.com.streamlayer.sports.basketball.BasketballMatchLineup 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/basketball/basketball.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.basketball;
/**
* Protobuf type {@code streamlayer.sports.basketball.BasketballMatchLineup}
*/
public final class BasketballMatchLineup extends
com.google.protobuf.GeneratedMessageLite<
BasketballMatchLineup, BasketballMatchLineup.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.basketball.BasketballMatchLineup)
BasketballMatchLineupOrBuilder {
private BasketballMatchLineup() {
startPlayers_ = emptyProtobufList();
substitutes_ = emptyProtobufList();
}
public static final int START_PLAYERS_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.ProtobufList startPlayers_;
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
@java.lang.Override
public java.util.List getStartPlayersList() {
return startPlayers_;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public java.util.List extends com.streamlayer.sports.basketball.BasketballMatchPlayerOrBuilder>
getStartPlayersOrBuilderList() {
return startPlayers_;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
@java.lang.Override
public int getStartPlayersCount() {
return startPlayers_.size();
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
@java.lang.Override
public com.streamlayer.sports.basketball.BasketballMatchPlayer getStartPlayers(int index) {
return startPlayers_.get(index);
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public com.streamlayer.sports.basketball.BasketballMatchPlayerOrBuilder getStartPlayersOrBuilder(
int index) {
return startPlayers_.get(index);
}
private void ensureStartPlayersIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = startPlayers_;
if (!tmp.isModifiable()) {
startPlayers_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
private void setStartPlayers(
int index, com.streamlayer.sports.basketball.BasketballMatchPlayer value) {
value.getClass();
ensureStartPlayersIsMutable();
startPlayers_.set(index, value);
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
private void addStartPlayers(com.streamlayer.sports.basketball.BasketballMatchPlayer value) {
value.getClass();
ensureStartPlayersIsMutable();
startPlayers_.add(value);
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
private void addStartPlayers(
int index, com.streamlayer.sports.basketball.BasketballMatchPlayer value) {
value.getClass();
ensureStartPlayersIsMutable();
startPlayers_.add(index, value);
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
private void addAllStartPlayers(
java.lang.Iterable extends com.streamlayer.sports.basketball.BasketballMatchPlayer> values) {
ensureStartPlayersIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, startPlayers_);
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
private void clearStartPlayers() {
startPlayers_ = emptyProtobufList();
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
private void removeStartPlayers(int index) {
ensureStartPlayersIsMutable();
startPlayers_.remove(index);
}
public static final int SUBSTITUTES_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.ProtobufList substitutes_;
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
@java.lang.Override
public java.util.List getSubstitutesList() {
return substitutes_;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public java.util.List extends com.streamlayer.sports.basketball.BasketballMatchPlayerOrBuilder>
getSubstitutesOrBuilderList() {
return substitutes_;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
@java.lang.Override
public int getSubstitutesCount() {
return substitutes_.size();
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
@java.lang.Override
public com.streamlayer.sports.basketball.BasketballMatchPlayer getSubstitutes(int index) {
return substitutes_.get(index);
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public com.streamlayer.sports.basketball.BasketballMatchPlayerOrBuilder getSubstitutesOrBuilder(
int index) {
return substitutes_.get(index);
}
private void ensureSubstitutesIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = substitutes_;
if (!tmp.isModifiable()) {
substitutes_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
private void setSubstitutes(
int index, com.streamlayer.sports.basketball.BasketballMatchPlayer value) {
value.getClass();
ensureSubstitutesIsMutable();
substitutes_.set(index, value);
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
private void addSubstitutes(com.streamlayer.sports.basketball.BasketballMatchPlayer value) {
value.getClass();
ensureSubstitutesIsMutable();
substitutes_.add(value);
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
private void addSubstitutes(
int index, com.streamlayer.sports.basketball.BasketballMatchPlayer value) {
value.getClass();
ensureSubstitutesIsMutable();
substitutes_.add(index, value);
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
private void addAllSubstitutes(
java.lang.Iterable extends com.streamlayer.sports.basketball.BasketballMatchPlayer> values) {
ensureSubstitutesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, substitutes_);
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
private void clearSubstitutes() {
substitutes_ = emptyProtobufList();
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
private void removeSubstitutes(int index) {
ensureSubstitutesIsMutable();
substitutes_.remove(index);
}
public static com.streamlayer.sports.basketball.BasketballMatchLineup parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.basketball.BasketballMatchLineup 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.basketball.BasketballMatchLineup 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.basketball.BasketballMatchLineup 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.basketball.BasketballMatchLineup parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.basketball.BasketballMatchLineup 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.basketball.BasketballMatchLineup parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.basketball.BasketballMatchLineup 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.basketball.BasketballMatchLineup parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.basketball.BasketballMatchLineup 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.basketball.BasketballMatchLineup parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.basketball.BasketballMatchLineup 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.basketball.BasketballMatchLineup prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.basketball.BasketballMatchLineup}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.basketball.BasketballMatchLineup, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.basketball.BasketballMatchLineup)
com.streamlayer.sports.basketball.BasketballMatchLineupOrBuilder {
// Construct using com.streamlayer.sports.basketball.BasketballMatchLineup.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
@java.lang.Override
public java.util.List getStartPlayersList() {
return java.util.Collections.unmodifiableList(
instance.getStartPlayersList());
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
@java.lang.Override
public int getStartPlayersCount() {
return instance.getStartPlayersCount();
}/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
@java.lang.Override
public com.streamlayer.sports.basketball.BasketballMatchPlayer getStartPlayers(int index) {
return instance.getStartPlayers(index);
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder setStartPlayers(
int index, com.streamlayer.sports.basketball.BasketballMatchPlayer value) {
copyOnWrite();
instance.setStartPlayers(index, value);
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder setStartPlayers(
int index, com.streamlayer.sports.basketball.BasketballMatchPlayer.Builder builderForValue) {
copyOnWrite();
instance.setStartPlayers(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder addStartPlayers(com.streamlayer.sports.basketball.BasketballMatchPlayer value) {
copyOnWrite();
instance.addStartPlayers(value);
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder addStartPlayers(
int index, com.streamlayer.sports.basketball.BasketballMatchPlayer value) {
copyOnWrite();
instance.addStartPlayers(index, value);
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder addStartPlayers(
com.streamlayer.sports.basketball.BasketballMatchPlayer.Builder builderForValue) {
copyOnWrite();
instance.addStartPlayers(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder addStartPlayers(
int index, com.streamlayer.sports.basketball.BasketballMatchPlayer.Builder builderForValue) {
copyOnWrite();
instance.addStartPlayers(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder addAllStartPlayers(
java.lang.Iterable extends com.streamlayer.sports.basketball.BasketballMatchPlayer> values) {
copyOnWrite();
instance.addAllStartPlayers(values);
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder clearStartPlayers() {
copyOnWrite();
instance.clearStartPlayers();
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder removeStartPlayers(int index) {
copyOnWrite();
instance.removeStartPlayers(index);
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
@java.lang.Override
public java.util.List getSubstitutesList() {
return java.util.Collections.unmodifiableList(
instance.getSubstitutesList());
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
@java.lang.Override
public int getSubstitutesCount() {
return instance.getSubstitutesCount();
}/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
@java.lang.Override
public com.streamlayer.sports.basketball.BasketballMatchPlayer getSubstitutes(int index) {
return instance.getSubstitutes(index);
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder setSubstitutes(
int index, com.streamlayer.sports.basketball.BasketballMatchPlayer value) {
copyOnWrite();
instance.setSubstitutes(index, value);
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder setSubstitutes(
int index, com.streamlayer.sports.basketball.BasketballMatchPlayer.Builder builderForValue) {
copyOnWrite();
instance.setSubstitutes(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder addSubstitutes(com.streamlayer.sports.basketball.BasketballMatchPlayer value) {
copyOnWrite();
instance.addSubstitutes(value);
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder addSubstitutes(
int index, com.streamlayer.sports.basketball.BasketballMatchPlayer value) {
copyOnWrite();
instance.addSubstitutes(index, value);
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder addSubstitutes(
com.streamlayer.sports.basketball.BasketballMatchPlayer.Builder builderForValue) {
copyOnWrite();
instance.addSubstitutes(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder addSubstitutes(
int index, com.streamlayer.sports.basketball.BasketballMatchPlayer.Builder builderForValue) {
copyOnWrite();
instance.addSubstitutes(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder addAllSubstitutes(
java.lang.Iterable extends com.streamlayer.sports.basketball.BasketballMatchPlayer> values) {
copyOnWrite();
instance.addAllSubstitutes(values);
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder clearSubstitutes() {
copyOnWrite();
instance.clearSubstitutes();
return this;
}
/**
* repeated .streamlayer.sports.basketball.BasketballMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder removeSubstitutes(int index) {
copyOnWrite();
instance.removeSubstitutes(index);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.basketball.BasketballMatchLineup)
}
@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.basketball.BasketballMatchLineup();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"startPlayers_",
com.streamlayer.sports.basketball.BasketballMatchPlayer.class,
"substitutes_",
com.streamlayer.sports.basketball.BasketballMatchPlayer.class,
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0003\u0004\u0002\u0000\u0002\u0000\u0003\u001b\u0004\u001b" +
"";
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.basketball.BasketballMatchLineup.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.basketball.BasketballMatchLineup)
private static final com.streamlayer.sports.basketball.BasketballMatchLineup DEFAULT_INSTANCE;
static {
BasketballMatchLineup defaultInstance = new BasketballMatchLineup();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
BasketballMatchLineup.class, defaultInstance);
}
public static com.streamlayer.sports.basketball.BasketballMatchLineup getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}