main.java.com.streamlayer.sports.soccer.SoccerMatchLineup 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/soccer/soccer.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.soccer;
/**
* Protobuf type {@code streamlayer.sports.soccer.SoccerMatchLineup}
*/
public final class SoccerMatchLineup extends
com.google.protobuf.GeneratedMessageLite<
SoccerMatchLineup, SoccerMatchLineup.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.soccer.SoccerMatchLineup)
SoccerMatchLineupOrBuilder {
private SoccerMatchLineup() {
formationString_ = "";
formationMatrix_ = emptyProtobufList();
startPlayers_ = emptyProtobufList();
substitutes_ = emptyProtobufList();
}
public static final int FORMATION_STRING_FIELD_NUMBER = 1;
private java.lang.String formationString_;
/**
* string formation_string = 1 [json_name = "formationString"];
* @return The formationString.
*/
@java.lang.Override
public java.lang.String getFormationString() {
return formationString_;
}
/**
* string formation_string = 1 [json_name = "formationString"];
* @return The bytes for formationString.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFormationStringBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(formationString_);
}
/**
* string formation_string = 1 [json_name = "formationString"];
* @param value The formationString to set.
*/
private void setFormationString(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
formationString_ = value;
}
/**
* string formation_string = 1 [json_name = "formationString"];
*/
private void clearFormationString() {
formationString_ = getDefaultInstance().getFormationString();
}
/**
* string formation_string = 1 [json_name = "formationString"];
* @param value The bytes for formationString to set.
*/
private void setFormationStringBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
formationString_ = value.toStringUtf8();
}
public static final int FORMATION_MATRIX_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList formationMatrix_;
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
@java.lang.Override
public java.util.List getFormationMatrixList() {
return formationMatrix_;
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
public java.util.List extends com.streamlayer.sports.soccer.SoccerMatchFormationMatrixOrBuilder>
getFormationMatrixOrBuilderList() {
return formationMatrix_;
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
@java.lang.Override
public int getFormationMatrixCount() {
return formationMatrix_.size();
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.SoccerMatchFormationMatrix getFormationMatrix(int index) {
return formationMatrix_.get(index);
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
public com.streamlayer.sports.soccer.SoccerMatchFormationMatrixOrBuilder getFormationMatrixOrBuilder(
int index) {
return formationMatrix_.get(index);
}
private void ensureFormationMatrixIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = formationMatrix_;
if (!tmp.isModifiable()) {
formationMatrix_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
private void setFormationMatrix(
int index, com.streamlayer.sports.soccer.SoccerMatchFormationMatrix value) {
value.getClass();
ensureFormationMatrixIsMutable();
formationMatrix_.set(index, value);
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
private void addFormationMatrix(com.streamlayer.sports.soccer.SoccerMatchFormationMatrix value) {
value.getClass();
ensureFormationMatrixIsMutable();
formationMatrix_.add(value);
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
private void addFormationMatrix(
int index, com.streamlayer.sports.soccer.SoccerMatchFormationMatrix value) {
value.getClass();
ensureFormationMatrixIsMutable();
formationMatrix_.add(index, value);
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
private void addAllFormationMatrix(
java.lang.Iterable extends com.streamlayer.sports.soccer.SoccerMatchFormationMatrix> values) {
ensureFormationMatrixIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, formationMatrix_);
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
private void clearFormationMatrix() {
formationMatrix_ = emptyProtobufList();
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
private void removeFormationMatrix(int index) {
ensureFormationMatrixIsMutable();
formationMatrix_.remove(index);
}
public static final int START_PLAYERS_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.ProtobufList startPlayers_;
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
@java.lang.Override
public java.util.List getStartPlayersList() {
return startPlayers_;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public java.util.List extends com.streamlayer.sports.soccer.SoccerMatchPlayerOrBuilder>
getStartPlayersOrBuilderList() {
return startPlayers_;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
@java.lang.Override
public int getStartPlayersCount() {
return startPlayers_.size();
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.SoccerMatchPlayer getStartPlayers(int index) {
return startPlayers_.get(index);
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public com.streamlayer.sports.soccer.SoccerMatchPlayerOrBuilder 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.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
private void setStartPlayers(
int index, com.streamlayer.sports.soccer.SoccerMatchPlayer value) {
value.getClass();
ensureStartPlayersIsMutable();
startPlayers_.set(index, value);
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
private void addStartPlayers(com.streamlayer.sports.soccer.SoccerMatchPlayer value) {
value.getClass();
ensureStartPlayersIsMutable();
startPlayers_.add(value);
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
private void addStartPlayers(
int index, com.streamlayer.sports.soccer.SoccerMatchPlayer value) {
value.getClass();
ensureStartPlayersIsMutable();
startPlayers_.add(index, value);
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
private void addAllStartPlayers(
java.lang.Iterable extends com.streamlayer.sports.soccer.SoccerMatchPlayer> values) {
ensureStartPlayersIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, startPlayers_);
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
private void clearStartPlayers() {
startPlayers_ = emptyProtobufList();
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer 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.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
@java.lang.Override
public java.util.List getSubstitutesList() {
return substitutes_;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public java.util.List extends com.streamlayer.sports.soccer.SoccerMatchPlayerOrBuilder>
getSubstitutesOrBuilderList() {
return substitutes_;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
@java.lang.Override
public int getSubstitutesCount() {
return substitutes_.size();
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.SoccerMatchPlayer getSubstitutes(int index) {
return substitutes_.get(index);
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public com.streamlayer.sports.soccer.SoccerMatchPlayerOrBuilder 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.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
private void setSubstitutes(
int index, com.streamlayer.sports.soccer.SoccerMatchPlayer value) {
value.getClass();
ensureSubstitutesIsMutable();
substitutes_.set(index, value);
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
private void addSubstitutes(com.streamlayer.sports.soccer.SoccerMatchPlayer value) {
value.getClass();
ensureSubstitutesIsMutable();
substitutes_.add(value);
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
private void addSubstitutes(
int index, com.streamlayer.sports.soccer.SoccerMatchPlayer value) {
value.getClass();
ensureSubstitutesIsMutable();
substitutes_.add(index, value);
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
private void addAllSubstitutes(
java.lang.Iterable extends com.streamlayer.sports.soccer.SoccerMatchPlayer> values) {
ensureSubstitutesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, substitutes_);
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
private void clearSubstitutes() {
substitutes_ = emptyProtobufList();
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
private void removeSubstitutes(int index) {
ensureSubstitutesIsMutable();
substitutes_.remove(index);
}
public static com.streamlayer.sports.soccer.SoccerMatchLineup parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.soccer.SoccerMatchLineup 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.soccer.SoccerMatchLineup 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.soccer.SoccerMatchLineup 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.soccer.SoccerMatchLineup parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.soccer.SoccerMatchLineup 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.soccer.SoccerMatchLineup parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.soccer.SoccerMatchLineup 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.soccer.SoccerMatchLineup parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.soccer.SoccerMatchLineup 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.soccer.SoccerMatchLineup parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.soccer.SoccerMatchLineup 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.soccer.SoccerMatchLineup prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.soccer.SoccerMatchLineup}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.soccer.SoccerMatchLineup, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.soccer.SoccerMatchLineup)
com.streamlayer.sports.soccer.SoccerMatchLineupOrBuilder {
// Construct using com.streamlayer.sports.soccer.SoccerMatchLineup.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string formation_string = 1 [json_name = "formationString"];
* @return The formationString.
*/
@java.lang.Override
public java.lang.String getFormationString() {
return instance.getFormationString();
}
/**
* string formation_string = 1 [json_name = "formationString"];
* @return The bytes for formationString.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFormationStringBytes() {
return instance.getFormationStringBytes();
}
/**
* string formation_string = 1 [json_name = "formationString"];
* @param value The formationString to set.
* @return This builder for chaining.
*/
public Builder setFormationString(
java.lang.String value) {
copyOnWrite();
instance.setFormationString(value);
return this;
}
/**
* string formation_string = 1 [json_name = "formationString"];
* @return This builder for chaining.
*/
public Builder clearFormationString() {
copyOnWrite();
instance.clearFormationString();
return this;
}
/**
* string formation_string = 1 [json_name = "formationString"];
* @param value The bytes for formationString to set.
* @return This builder for chaining.
*/
public Builder setFormationStringBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setFormationStringBytes(value);
return this;
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
@java.lang.Override
public java.util.List getFormationMatrixList() {
return java.util.Collections.unmodifiableList(
instance.getFormationMatrixList());
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
@java.lang.Override
public int getFormationMatrixCount() {
return instance.getFormationMatrixCount();
}/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.SoccerMatchFormationMatrix getFormationMatrix(int index) {
return instance.getFormationMatrix(index);
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
public Builder setFormationMatrix(
int index, com.streamlayer.sports.soccer.SoccerMatchFormationMatrix value) {
copyOnWrite();
instance.setFormationMatrix(index, value);
return this;
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
public Builder setFormationMatrix(
int index, com.streamlayer.sports.soccer.SoccerMatchFormationMatrix.Builder builderForValue) {
copyOnWrite();
instance.setFormationMatrix(index,
builderForValue.build());
return this;
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
public Builder addFormationMatrix(com.streamlayer.sports.soccer.SoccerMatchFormationMatrix value) {
copyOnWrite();
instance.addFormationMatrix(value);
return this;
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
public Builder addFormationMatrix(
int index, com.streamlayer.sports.soccer.SoccerMatchFormationMatrix value) {
copyOnWrite();
instance.addFormationMatrix(index, value);
return this;
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
public Builder addFormationMatrix(
com.streamlayer.sports.soccer.SoccerMatchFormationMatrix.Builder builderForValue) {
copyOnWrite();
instance.addFormationMatrix(builderForValue.build());
return this;
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
public Builder addFormationMatrix(
int index, com.streamlayer.sports.soccer.SoccerMatchFormationMatrix.Builder builderForValue) {
copyOnWrite();
instance.addFormationMatrix(index,
builderForValue.build());
return this;
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
public Builder addAllFormationMatrix(
java.lang.Iterable extends com.streamlayer.sports.soccer.SoccerMatchFormationMatrix> values) {
copyOnWrite();
instance.addAllFormationMatrix(values);
return this;
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
public Builder clearFormationMatrix() {
copyOnWrite();
instance.clearFormationMatrix();
return this;
}
/**
*
* formationMatrix: [{ rowPlayers: [{ jerseyNumber, playerName }] }]
*
*
* repeated .streamlayer.sports.soccer.SoccerMatchFormationMatrix formation_matrix = 2 [json_name = "formationMatrix"];
*/
public Builder removeFormationMatrix(int index) {
copyOnWrite();
instance.removeFormationMatrix(index);
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
@java.lang.Override
public java.util.List getStartPlayersList() {
return java.util.Collections.unmodifiableList(
instance.getStartPlayersList());
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
@java.lang.Override
public int getStartPlayersCount() {
return instance.getStartPlayersCount();
}/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.SoccerMatchPlayer getStartPlayers(int index) {
return instance.getStartPlayers(index);
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder setStartPlayers(
int index, com.streamlayer.sports.soccer.SoccerMatchPlayer value) {
copyOnWrite();
instance.setStartPlayers(index, value);
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder setStartPlayers(
int index, com.streamlayer.sports.soccer.SoccerMatchPlayer.Builder builderForValue) {
copyOnWrite();
instance.setStartPlayers(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder addStartPlayers(com.streamlayer.sports.soccer.SoccerMatchPlayer value) {
copyOnWrite();
instance.addStartPlayers(value);
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder addStartPlayers(
int index, com.streamlayer.sports.soccer.SoccerMatchPlayer value) {
copyOnWrite();
instance.addStartPlayers(index, value);
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder addStartPlayers(
com.streamlayer.sports.soccer.SoccerMatchPlayer.Builder builderForValue) {
copyOnWrite();
instance.addStartPlayers(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder addStartPlayers(
int index, com.streamlayer.sports.soccer.SoccerMatchPlayer.Builder builderForValue) {
copyOnWrite();
instance.addStartPlayers(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder addAllStartPlayers(
java.lang.Iterable extends com.streamlayer.sports.soccer.SoccerMatchPlayer> values) {
copyOnWrite();
instance.addAllStartPlayers(values);
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder clearStartPlayers() {
copyOnWrite();
instance.clearStartPlayers();
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer start_players = 3 [json_name = "startPlayers"];
*/
public Builder removeStartPlayers(int index) {
copyOnWrite();
instance.removeStartPlayers(index);
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
@java.lang.Override
public java.util.List getSubstitutesList() {
return java.util.Collections.unmodifiableList(
instance.getSubstitutesList());
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
@java.lang.Override
public int getSubstitutesCount() {
return instance.getSubstitutesCount();
}/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.SoccerMatchPlayer getSubstitutes(int index) {
return instance.getSubstitutes(index);
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder setSubstitutes(
int index, com.streamlayer.sports.soccer.SoccerMatchPlayer value) {
copyOnWrite();
instance.setSubstitutes(index, value);
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder setSubstitutes(
int index, com.streamlayer.sports.soccer.SoccerMatchPlayer.Builder builderForValue) {
copyOnWrite();
instance.setSubstitutes(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder addSubstitutes(com.streamlayer.sports.soccer.SoccerMatchPlayer value) {
copyOnWrite();
instance.addSubstitutes(value);
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder addSubstitutes(
int index, com.streamlayer.sports.soccer.SoccerMatchPlayer value) {
copyOnWrite();
instance.addSubstitutes(index, value);
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder addSubstitutes(
com.streamlayer.sports.soccer.SoccerMatchPlayer.Builder builderForValue) {
copyOnWrite();
instance.addSubstitutes(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder addSubstitutes(
int index, com.streamlayer.sports.soccer.SoccerMatchPlayer.Builder builderForValue) {
copyOnWrite();
instance.addSubstitutes(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder addAllSubstitutes(
java.lang.Iterable extends com.streamlayer.sports.soccer.SoccerMatchPlayer> values) {
copyOnWrite();
instance.addAllSubstitutes(values);
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder clearSubstitutes() {
copyOnWrite();
instance.clearSubstitutes();
return this;
}
/**
* repeated .streamlayer.sports.soccer.SoccerMatchPlayer substitutes = 4 [json_name = "substitutes"];
*/
public Builder removeSubstitutes(int index) {
copyOnWrite();
instance.removeSubstitutes(index);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.soccer.SoccerMatchLineup)
}
@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.soccer.SoccerMatchLineup();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"formationString_",
"formationMatrix_",
com.streamlayer.sports.soccer.SoccerMatchFormationMatrix.class,
"startPlayers_",
com.streamlayer.sports.soccer.SoccerMatchPlayer.class,
"substitutes_",
com.streamlayer.sports.soccer.SoccerMatchPlayer.class,
};
java.lang.String info =
"\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0003\u0000\u0001\u0208\u0002\u001b" +
"\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.soccer.SoccerMatchLineup.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.soccer.SoccerMatchLineup)
private static final com.streamlayer.sports.soccer.SoccerMatchLineup DEFAULT_INSTANCE;
static {
SoccerMatchLineup defaultInstance = new SoccerMatchLineup();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SoccerMatchLineup.class, defaultInstance);
}
public static com.streamlayer.sports.soccer.SoccerMatchLineup getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}