main.java.com.streamlayer.sports.soccer.SoccerTeamAttackingStats 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.SoccerTeamAttackingStats}
*/
public final class SoccerTeamAttackingStats extends
com.google.protobuf.GeneratedMessageLite<
SoccerTeamAttackingStats, SoccerTeamAttackingStats.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.soccer.SoccerTeamAttackingStats)
SoccerTeamAttackingStatsOrBuilder {
private SoccerTeamAttackingStats() {
}
public static final int POSSESSION_FIELD_NUMBER = 1;
private double possession_;
/**
* double possession = 1 [json_name = "possession"];
* @return The possession.
*/
@java.lang.Override
public double getPossession() {
return possession_;
}
/**
* double possession = 1 [json_name = "possession"];
* @param value The possession to set.
*/
private void setPossession(double value) {
possession_ = value;
}
/**
* double possession = 1 [json_name = "possession"];
*/
private void clearPossession() {
possession_ = 0D;
}
public static final int PASSING_ACCURACY_FIELD_NUMBER = 2;
private double passingAccuracy_;
/**
* double passing_accuracy = 2 [json_name = "passingAccuracy"];
* @return The passingAccuracy.
*/
@java.lang.Override
public double getPassingAccuracy() {
return passingAccuracy_;
}
/**
* double passing_accuracy = 2 [json_name = "passingAccuracy"];
* @param value The passingAccuracy to set.
*/
private void setPassingAccuracy(double value) {
passingAccuracy_ = value;
}
/**
* double passing_accuracy = 2 [json_name = "passingAccuracy"];
*/
private void clearPassingAccuracy() {
passingAccuracy_ = 0D;
}
public static final int CHANCES_CREATED_FIELD_NUMBER = 3;
private int chancesCreated_;
/**
* int32 chances_created = 3 [json_name = "chancesCreated"];
* @return The chancesCreated.
*/
@java.lang.Override
public int getChancesCreated() {
return chancesCreated_;
}
/**
* int32 chances_created = 3 [json_name = "chancesCreated"];
* @param value The chancesCreated to set.
*/
private void setChancesCreated(int value) {
chancesCreated_ = value;
}
/**
* int32 chances_created = 3 [json_name = "chancesCreated"];
*/
private void clearChancesCreated() {
chancesCreated_ = 0;
}
public static final int SUCCESSFUL_CROSSES_FIELD_NUMBER = 4;
private double successfulCrosses_;
/**
* double successful_crosses = 4 [json_name = "successfulCrosses"];
* @return The successfulCrosses.
*/
@java.lang.Override
public double getSuccessfulCrosses() {
return successfulCrosses_;
}
/**
* double successful_crosses = 4 [json_name = "successfulCrosses"];
* @param value The successfulCrosses to set.
*/
private void setSuccessfulCrosses(double value) {
successfulCrosses_ = value;
}
/**
* double successful_crosses = 4 [json_name = "successfulCrosses"];
*/
private void clearSuccessfulCrosses() {
successfulCrosses_ = 0D;
}
public static com.streamlayer.sports.soccer.SoccerTeamAttackingStats 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.SoccerTeamAttackingStats 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.SoccerTeamAttackingStats 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.SoccerTeamAttackingStats 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.SoccerTeamAttackingStats parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.soccer.SoccerTeamAttackingStats 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.SoccerTeamAttackingStats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.soccer.SoccerTeamAttackingStats 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.SoccerTeamAttackingStats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.soccer.SoccerTeamAttackingStats 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.SoccerTeamAttackingStats 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.SoccerTeamAttackingStats 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.SoccerTeamAttackingStats prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.soccer.SoccerTeamAttackingStats}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.soccer.SoccerTeamAttackingStats, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.soccer.SoccerTeamAttackingStats)
com.streamlayer.sports.soccer.SoccerTeamAttackingStatsOrBuilder {
// Construct using com.streamlayer.sports.soccer.SoccerTeamAttackingStats.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* double possession = 1 [json_name = "possession"];
* @return The possession.
*/
@java.lang.Override
public double getPossession() {
return instance.getPossession();
}
/**
* double possession = 1 [json_name = "possession"];
* @param value The possession to set.
* @return This builder for chaining.
*/
public Builder setPossession(double value) {
copyOnWrite();
instance.setPossession(value);
return this;
}
/**
* double possession = 1 [json_name = "possession"];
* @return This builder for chaining.
*/
public Builder clearPossession() {
copyOnWrite();
instance.clearPossession();
return this;
}
/**
* double passing_accuracy = 2 [json_name = "passingAccuracy"];
* @return The passingAccuracy.
*/
@java.lang.Override
public double getPassingAccuracy() {
return instance.getPassingAccuracy();
}
/**
* double passing_accuracy = 2 [json_name = "passingAccuracy"];
* @param value The passingAccuracy to set.
* @return This builder for chaining.
*/
public Builder setPassingAccuracy(double value) {
copyOnWrite();
instance.setPassingAccuracy(value);
return this;
}
/**
* double passing_accuracy = 2 [json_name = "passingAccuracy"];
* @return This builder for chaining.
*/
public Builder clearPassingAccuracy() {
copyOnWrite();
instance.clearPassingAccuracy();
return this;
}
/**
* int32 chances_created = 3 [json_name = "chancesCreated"];
* @return The chancesCreated.
*/
@java.lang.Override
public int getChancesCreated() {
return instance.getChancesCreated();
}
/**
* int32 chances_created = 3 [json_name = "chancesCreated"];
* @param value The chancesCreated to set.
* @return This builder for chaining.
*/
public Builder setChancesCreated(int value) {
copyOnWrite();
instance.setChancesCreated(value);
return this;
}
/**
* int32 chances_created = 3 [json_name = "chancesCreated"];
* @return This builder for chaining.
*/
public Builder clearChancesCreated() {
copyOnWrite();
instance.clearChancesCreated();
return this;
}
/**
* double successful_crosses = 4 [json_name = "successfulCrosses"];
* @return The successfulCrosses.
*/
@java.lang.Override
public double getSuccessfulCrosses() {
return instance.getSuccessfulCrosses();
}
/**
* double successful_crosses = 4 [json_name = "successfulCrosses"];
* @param value The successfulCrosses to set.
* @return This builder for chaining.
*/
public Builder setSuccessfulCrosses(double value) {
copyOnWrite();
instance.setSuccessfulCrosses(value);
return this;
}
/**
* double successful_crosses = 4 [json_name = "successfulCrosses"];
* @return This builder for chaining.
*/
public Builder clearSuccessfulCrosses() {
copyOnWrite();
instance.clearSuccessfulCrosses();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.soccer.SoccerTeamAttackingStats)
}
@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.SoccerTeamAttackingStats();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"possession_",
"passingAccuracy_",
"chancesCreated_",
"successfulCrosses_",
};
java.lang.String info =
"\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0000\u0002\u0000" +
"\u0003\u0004\u0004\u0000";
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.SoccerTeamAttackingStats.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.SoccerTeamAttackingStats)
private static final com.streamlayer.sports.soccer.SoccerTeamAttackingStats DEFAULT_INSTANCE;
static {
SoccerTeamAttackingStats defaultInstance = new SoccerTeamAttackingStats();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SoccerTeamAttackingStats.class, defaultInstance);
}
public static com.streamlayer.sports.soccer.SoccerTeamAttackingStats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}