main.java.com.streamlayer.sports.common.PlayerAttributes 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.PlayerAttributes}
*/
public final class PlayerAttributes extends
com.google.protobuf.GeneratedMessageLite<
PlayerAttributes, PlayerAttributes.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.PlayerAttributes)
PlayerAttributesOrBuilder {
private PlayerAttributes() {
fullFirst_ = "";
fullLast_ = "";
uniform_ = "";
}
public interface HeightOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.PlayerAttributes.Height)
com.google.protobuf.MessageLiteOrBuilder {
/**
* int32 centimeters = 1 [json_name = "centimeters"];
* @return The centimeters.
*/
int getCentimeters();
/**
* int32 inches = 2 [json_name = "inches"];
* @return The inches.
*/
int getInches();
}
/**
* Protobuf type {@code streamlayer.sports.PlayerAttributes.Height}
*/
public static final class Height extends
com.google.protobuf.GeneratedMessageLite<
Height, Height.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.PlayerAttributes.Height)
HeightOrBuilder {
private Height() {
}
public static final int CENTIMETERS_FIELD_NUMBER = 1;
private int centimeters_;
/**
* int32 centimeters = 1 [json_name = "centimeters"];
* @return The centimeters.
*/
@java.lang.Override
public int getCentimeters() {
return centimeters_;
}
/**
* int32 centimeters = 1 [json_name = "centimeters"];
* @param value The centimeters to set.
*/
private void setCentimeters(int value) {
centimeters_ = value;
}
/**
* int32 centimeters = 1 [json_name = "centimeters"];
*/
private void clearCentimeters() {
centimeters_ = 0;
}
public static final int INCHES_FIELD_NUMBER = 2;
private int inches_;
/**
* int32 inches = 2 [json_name = "inches"];
* @return The inches.
*/
@java.lang.Override
public int getInches() {
return inches_;
}
/**
* int32 inches = 2 [json_name = "inches"];
* @param value The inches to set.
*/
private void setInches(int value) {
inches_ = value;
}
/**
* int32 inches = 2 [json_name = "inches"];
*/
private void clearInches() {
inches_ = 0;
}
public static com.streamlayer.sports.common.PlayerAttributes.Height 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.PlayerAttributes.Height 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.PlayerAttributes.Height 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.PlayerAttributes.Height 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.PlayerAttributes.Height parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.common.PlayerAttributes.Height 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.PlayerAttributes.Height parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.PlayerAttributes.Height 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.PlayerAttributes.Height parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.PlayerAttributes.Height 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.PlayerAttributes.Height 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.PlayerAttributes.Height 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.PlayerAttributes.Height prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.PlayerAttributes.Height}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.common.PlayerAttributes.Height, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.PlayerAttributes.Height)
com.streamlayer.sports.common.PlayerAttributes.HeightOrBuilder {
// Construct using com.streamlayer.sports.common.PlayerAttributes.Height.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* int32 centimeters = 1 [json_name = "centimeters"];
* @return The centimeters.
*/
@java.lang.Override
public int getCentimeters() {
return instance.getCentimeters();
}
/**
* int32 centimeters = 1 [json_name = "centimeters"];
* @param value The centimeters to set.
* @return This builder for chaining.
*/
public Builder setCentimeters(int value) {
copyOnWrite();
instance.setCentimeters(value);
return this;
}
/**
* int32 centimeters = 1 [json_name = "centimeters"];
* @return This builder for chaining.
*/
public Builder clearCentimeters() {
copyOnWrite();
instance.clearCentimeters();
return this;
}
/**
* int32 inches = 2 [json_name = "inches"];
* @return The inches.
*/
@java.lang.Override
public int getInches() {
return instance.getInches();
}
/**
* int32 inches = 2 [json_name = "inches"];
* @param value The inches to set.
* @return This builder for chaining.
*/
public Builder setInches(int value) {
copyOnWrite();
instance.setInches(value);
return this;
}
/**
* int32 inches = 2 [json_name = "inches"];
* @return This builder for chaining.
*/
public Builder clearInches() {
copyOnWrite();
instance.clearInches();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.PlayerAttributes.Height)
}
@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.PlayerAttributes.Height();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"centimeters_",
"inches_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0004\u0002\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.PlayerAttributes.Height.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.PlayerAttributes.Height)
private static final com.streamlayer.sports.common.PlayerAttributes.Height DEFAULT_INSTANCE;
static {
Height defaultInstance = new Height();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Height.class, defaultInstance);
}
public static com.streamlayer.sports.common.PlayerAttributes.Height getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface WeightOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.PlayerAttributes.Weight)
com.google.protobuf.MessageLiteOrBuilder {
/**
* int32 kilograms = 1 [json_name = "kilograms"];
* @return The kilograms.
*/
int getKilograms();
/**
* int32 pounds = 2 [json_name = "pounds"];
* @return The pounds.
*/
int getPounds();
}
/**
* Protobuf type {@code streamlayer.sports.PlayerAttributes.Weight}
*/
public static final class Weight extends
com.google.protobuf.GeneratedMessageLite<
Weight, Weight.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.PlayerAttributes.Weight)
WeightOrBuilder {
private Weight() {
}
public static final int KILOGRAMS_FIELD_NUMBER = 1;
private int kilograms_;
/**
* int32 kilograms = 1 [json_name = "kilograms"];
* @return The kilograms.
*/
@java.lang.Override
public int getKilograms() {
return kilograms_;
}
/**
* int32 kilograms = 1 [json_name = "kilograms"];
* @param value The kilograms to set.
*/
private void setKilograms(int value) {
kilograms_ = value;
}
/**
* int32 kilograms = 1 [json_name = "kilograms"];
*/
private void clearKilograms() {
kilograms_ = 0;
}
public static final int POUNDS_FIELD_NUMBER = 2;
private int pounds_;
/**
* int32 pounds = 2 [json_name = "pounds"];
* @return The pounds.
*/
@java.lang.Override
public int getPounds() {
return pounds_;
}
/**
* int32 pounds = 2 [json_name = "pounds"];
* @param value The pounds to set.
*/
private void setPounds(int value) {
pounds_ = value;
}
/**
* int32 pounds = 2 [json_name = "pounds"];
*/
private void clearPounds() {
pounds_ = 0;
}
public static com.streamlayer.sports.common.PlayerAttributes.Weight 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.PlayerAttributes.Weight 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.PlayerAttributes.Weight 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.PlayerAttributes.Weight 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.PlayerAttributes.Weight parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.common.PlayerAttributes.Weight 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.PlayerAttributes.Weight parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.PlayerAttributes.Weight 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.PlayerAttributes.Weight parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.PlayerAttributes.Weight 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.PlayerAttributes.Weight 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.PlayerAttributes.Weight 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.PlayerAttributes.Weight prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.PlayerAttributes.Weight}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.common.PlayerAttributes.Weight, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.PlayerAttributes.Weight)
com.streamlayer.sports.common.PlayerAttributes.WeightOrBuilder {
// Construct using com.streamlayer.sports.common.PlayerAttributes.Weight.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* int32 kilograms = 1 [json_name = "kilograms"];
* @return The kilograms.
*/
@java.lang.Override
public int getKilograms() {
return instance.getKilograms();
}
/**
* int32 kilograms = 1 [json_name = "kilograms"];
* @param value The kilograms to set.
* @return This builder for chaining.
*/
public Builder setKilograms(int value) {
copyOnWrite();
instance.setKilograms(value);
return this;
}
/**
* int32 kilograms = 1 [json_name = "kilograms"];
* @return This builder for chaining.
*/
public Builder clearKilograms() {
copyOnWrite();
instance.clearKilograms();
return this;
}
/**
* int32 pounds = 2 [json_name = "pounds"];
* @return The pounds.
*/
@java.lang.Override
public int getPounds() {
return instance.getPounds();
}
/**
* int32 pounds = 2 [json_name = "pounds"];
* @param value The pounds to set.
* @return This builder for chaining.
*/
public Builder setPounds(int value) {
copyOnWrite();
instance.setPounds(value);
return this;
}
/**
* int32 pounds = 2 [json_name = "pounds"];
* @return This builder for chaining.
*/
public Builder clearPounds() {
copyOnWrite();
instance.clearPounds();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.PlayerAttributes.Weight)
}
@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.PlayerAttributes.Weight();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"kilograms_",
"pounds_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0004\u0002\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.PlayerAttributes.Weight.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.PlayerAttributes.Weight)
private static final com.streamlayer.sports.common.PlayerAttributes.Weight DEFAULT_INSTANCE;
static {
Weight defaultInstance = new Weight();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Weight.class, defaultInstance);
}
public static com.streamlayer.sports.common.PlayerAttributes.Weight getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface BirthOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.PlayerAttributes.Birth)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string city = 1 [json_name = "city"];
* @return The city.
*/
java.lang.String getCity();
/**
* string city = 1 [json_name = "city"];
* @return The bytes for city.
*/
com.google.protobuf.ByteString
getCityBytes();
/**
* .streamlayer.sports.Country country = 2 [json_name = "country"];
* @return Whether the country field is set.
*/
boolean hasCountry();
/**
* .streamlayer.sports.Country country = 2 [json_name = "country"];
* @return The country.
*/
com.streamlayer.sports.common.Country getCountry();
}
/**
* Protobuf type {@code streamlayer.sports.PlayerAttributes.Birth}
*/
public static final class Birth extends
com.google.protobuf.GeneratedMessageLite<
Birth, Birth.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.PlayerAttributes.Birth)
BirthOrBuilder {
private Birth() {
city_ = "";
}
public interface BirthDateOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.PlayerAttributes.Birth.BirthDate)
com.google.protobuf.MessageLiteOrBuilder {
/**
* int32 year = 1 [json_name = "year"];
* @return The year.
*/
int getYear();
/**
* int32 month = 2 [json_name = "month"];
* @return The month.
*/
int getMonth();
/**
* int32 date = 3 [json_name = "date"];
* @return The date.
*/
int getDate();
/**
* string full = 4 [json_name = "full"];
* @return The full.
*/
java.lang.String getFull();
/**
* string full = 4 [json_name = "full"];
* @return The bytes for full.
*/
com.google.protobuf.ByteString
getFullBytes();
}
/**
* Protobuf type {@code streamlayer.sports.PlayerAttributes.Birth.BirthDate}
*/
public static final class BirthDate extends
com.google.protobuf.GeneratedMessageLite<
BirthDate, BirthDate.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.PlayerAttributes.Birth.BirthDate)
BirthDateOrBuilder {
private BirthDate() {
full_ = "";
}
public static final int YEAR_FIELD_NUMBER = 1;
private int year_;
/**
* int32 year = 1 [json_name = "year"];
* @return The year.
*/
@java.lang.Override
public int getYear() {
return year_;
}
/**
* int32 year = 1 [json_name = "year"];
* @param value The year to set.
*/
private void setYear(int value) {
year_ = value;
}
/**
* int32 year = 1 [json_name = "year"];
*/
private void clearYear() {
year_ = 0;
}
public static final int MONTH_FIELD_NUMBER = 2;
private int month_;
/**
* int32 month = 2 [json_name = "month"];
* @return The month.
*/
@java.lang.Override
public int getMonth() {
return month_;
}
/**
* int32 month = 2 [json_name = "month"];
* @param value The month to set.
*/
private void setMonth(int value) {
month_ = value;
}
/**
* int32 month = 2 [json_name = "month"];
*/
private void clearMonth() {
month_ = 0;
}
public static final int DATE_FIELD_NUMBER = 3;
private int date_;
/**
* int32 date = 3 [json_name = "date"];
* @return The date.
*/
@java.lang.Override
public int getDate() {
return date_;
}
/**
* int32 date = 3 [json_name = "date"];
* @param value The date to set.
*/
private void setDate(int value) {
date_ = value;
}
/**
* int32 date = 3 [json_name = "date"];
*/
private void clearDate() {
date_ = 0;
}
public static final int FULL_FIELD_NUMBER = 4;
private java.lang.String full_;
/**
* string full = 4 [json_name = "full"];
* @return The full.
*/
@java.lang.Override
public java.lang.String getFull() {
return full_;
}
/**
* string full = 4 [json_name = "full"];
* @return The bytes for full.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(full_);
}
/**
* string full = 4 [json_name = "full"];
* @param value The full to set.
*/
private void setFull(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
full_ = value;
}
/**
* string full = 4 [json_name = "full"];
*/
private void clearFull() {
full_ = getDefaultInstance().getFull();
}
/**
* string full = 4 [json_name = "full"];
* @param value The bytes for full to set.
*/
private void setFullBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
full_ = value.toStringUtf8();
}
public static com.streamlayer.sports.common.PlayerAttributes.Birth.BirthDate 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.PlayerAttributes.Birth.BirthDate 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.PlayerAttributes.Birth.BirthDate 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.PlayerAttributes.Birth.BirthDate 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.PlayerAttributes.Birth.BirthDate parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.common.PlayerAttributes.Birth.BirthDate 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.PlayerAttributes.Birth.BirthDate parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.PlayerAttributes.Birth.BirthDate 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.PlayerAttributes.Birth.BirthDate parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.PlayerAttributes.Birth.BirthDate 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.PlayerAttributes.Birth.BirthDate 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.PlayerAttributes.Birth.BirthDate 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.PlayerAttributes.Birth.BirthDate prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.PlayerAttributes.Birth.BirthDate}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.common.PlayerAttributes.Birth.BirthDate, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.PlayerAttributes.Birth.BirthDate)
com.streamlayer.sports.common.PlayerAttributes.Birth.BirthDateOrBuilder {
// Construct using com.streamlayer.sports.common.PlayerAttributes.Birth.BirthDate.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* int32 year = 1 [json_name = "year"];
* @return The year.
*/
@java.lang.Override
public int getYear() {
return instance.getYear();
}
/**
* int32 year = 1 [json_name = "year"];
* @param value The year to set.
* @return This builder for chaining.
*/
public Builder setYear(int value) {
copyOnWrite();
instance.setYear(value);
return this;
}
/**
* int32 year = 1 [json_name = "year"];
* @return This builder for chaining.
*/
public Builder clearYear() {
copyOnWrite();
instance.clearYear();
return this;
}
/**
* int32 month = 2 [json_name = "month"];
* @return The month.
*/
@java.lang.Override
public int getMonth() {
return instance.getMonth();
}
/**
* int32 month = 2 [json_name = "month"];
* @param value The month to set.
* @return This builder for chaining.
*/
public Builder setMonth(int value) {
copyOnWrite();
instance.setMonth(value);
return this;
}
/**
* int32 month = 2 [json_name = "month"];
* @return This builder for chaining.
*/
public Builder clearMonth() {
copyOnWrite();
instance.clearMonth();
return this;
}
/**
* int32 date = 3 [json_name = "date"];
* @return The date.
*/
@java.lang.Override
public int getDate() {
return instance.getDate();
}
/**
* int32 date = 3 [json_name = "date"];
* @param value The date to set.
* @return This builder for chaining.
*/
public Builder setDate(int value) {
copyOnWrite();
instance.setDate(value);
return this;
}
/**
* int32 date = 3 [json_name = "date"];
* @return This builder for chaining.
*/
public Builder clearDate() {
copyOnWrite();
instance.clearDate();
return this;
}
/**
* string full = 4 [json_name = "full"];
* @return The full.
*/
@java.lang.Override
public java.lang.String getFull() {
return instance.getFull();
}
/**
* string full = 4 [json_name = "full"];
* @return The bytes for full.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullBytes() {
return instance.getFullBytes();
}
/**
* string full = 4 [json_name = "full"];
* @param value The full to set.
* @return This builder for chaining.
*/
public Builder setFull(
java.lang.String value) {
copyOnWrite();
instance.setFull(value);
return this;
}
/**
* string full = 4 [json_name = "full"];
* @return This builder for chaining.
*/
public Builder clearFull() {
copyOnWrite();
instance.clearFull();
return this;
}
/**
* string full = 4 [json_name = "full"];
* @param value The bytes for full to set.
* @return This builder for chaining.
*/
public Builder setFullBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setFullBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.PlayerAttributes.Birth.BirthDate)
}
@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.PlayerAttributes.Birth.BirthDate();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"year_",
"month_",
"date_",
"full_",
};
java.lang.String info =
"\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0004\u0002\u0004" +
"\u0003\u0004\u0004\u0208";
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.PlayerAttributes.Birth.BirthDate.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.PlayerAttributes.Birth.BirthDate)
private static final com.streamlayer.sports.common.PlayerAttributes.Birth.BirthDate DEFAULT_INSTANCE;
static {
BirthDate defaultInstance = new BirthDate();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
BirthDate.class, defaultInstance);
}
public static com.streamlayer.sports.common.PlayerAttributes.Birth.BirthDate getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int CITY_FIELD_NUMBER = 1;
private java.lang.String city_;
/**
* string city = 1 [json_name = "city"];
* @return The city.
*/
@java.lang.Override
public java.lang.String getCity() {
return city_;
}
/**
* string city = 1 [json_name = "city"];
* @return The bytes for city.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCityBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(city_);
}
/**
* string city = 1 [json_name = "city"];
* @param value The city to set.
*/
private void setCity(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
city_ = value;
}
/**
* string city = 1 [json_name = "city"];
*/
private void clearCity() {
city_ = getDefaultInstance().getCity();
}
/**
* string city = 1 [json_name = "city"];
* @param value The bytes for city to set.
*/
private void setCityBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
city_ = value.toStringUtf8();
}
public static final int COUNTRY_FIELD_NUMBER = 2;
private com.streamlayer.sports.common.Country country_;
/**
* .streamlayer.sports.Country country = 2 [json_name = "country"];
*/
@java.lang.Override
public boolean hasCountry() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.Country country = 2 [json_name = "country"];
*/
@java.lang.Override
public com.streamlayer.sports.common.Country getCountry() {
return country_ == null ? com.streamlayer.sports.common.Country.getDefaultInstance() : country_;
}
/**
* .streamlayer.sports.Country country = 2 [json_name = "country"];
*/
private void setCountry(com.streamlayer.sports.common.Country value) {
value.getClass();
country_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.Country country = 2 [json_name = "country"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeCountry(com.streamlayer.sports.common.Country value) {
value.getClass();
if (country_ != null &&
country_ != com.streamlayer.sports.common.Country.getDefaultInstance()) {
country_ =
com.streamlayer.sports.common.Country.newBuilder(country_).mergeFrom(value).buildPartial();
} else {
country_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.Country country = 2 [json_name = "country"];
*/
private void clearCountry() { country_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.sports.common.PlayerAttributes.Birth 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.PlayerAttributes.Birth 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.PlayerAttributes.Birth 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.PlayerAttributes.Birth 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.PlayerAttributes.Birth parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.common.PlayerAttributes.Birth 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.PlayerAttributes.Birth parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.PlayerAttributes.Birth 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.PlayerAttributes.Birth parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.PlayerAttributes.Birth 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.PlayerAttributes.Birth 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.PlayerAttributes.Birth 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.PlayerAttributes.Birth prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.PlayerAttributes.Birth}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.common.PlayerAttributes.Birth, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.PlayerAttributes.Birth)
com.streamlayer.sports.common.PlayerAttributes.BirthOrBuilder {
// Construct using com.streamlayer.sports.common.PlayerAttributes.Birth.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string city = 1 [json_name = "city"];
* @return The city.
*/
@java.lang.Override
public java.lang.String getCity() {
return instance.getCity();
}
/**
* string city = 1 [json_name = "city"];
* @return The bytes for city.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCityBytes() {
return instance.getCityBytes();
}
/**
* string city = 1 [json_name = "city"];
* @param value The city to set.
* @return This builder for chaining.
*/
public Builder setCity(
java.lang.String value) {
copyOnWrite();
instance.setCity(value);
return this;
}
/**
* string city = 1 [json_name = "city"];
* @return This builder for chaining.
*/
public Builder clearCity() {
copyOnWrite();
instance.clearCity();
return this;
}
/**
* string city = 1 [json_name = "city"];
* @param value The bytes for city to set.
* @return This builder for chaining.
*/
public Builder setCityBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCityBytes(value);
return this;
}
/**
* .streamlayer.sports.Country country = 2 [json_name = "country"];
*/
@java.lang.Override
public boolean hasCountry() {
return instance.hasCountry();
}
/**
* .streamlayer.sports.Country country = 2 [json_name = "country"];
*/
@java.lang.Override
public com.streamlayer.sports.common.Country getCountry() {
return instance.getCountry();
}
/**
* .streamlayer.sports.Country country = 2 [json_name = "country"];
*/
public Builder setCountry(com.streamlayer.sports.common.Country value) {
copyOnWrite();
instance.setCountry(value);
return this;
}
/**
* .streamlayer.sports.Country country = 2 [json_name = "country"];
*/
public Builder setCountry(
com.streamlayer.sports.common.Country.Builder builderForValue) {
copyOnWrite();
instance.setCountry(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.Country country = 2 [json_name = "country"];
*/
public Builder mergeCountry(com.streamlayer.sports.common.Country value) {
copyOnWrite();
instance.mergeCountry(value);
return this;
}
/**
* .streamlayer.sports.Country country = 2 [json_name = "country"];
*/
public Builder clearCountry() { copyOnWrite();
instance.clearCountry();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.PlayerAttributes.Birth)
}
@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.PlayerAttributes.Birth();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"city_",
"country_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0208\u0002\u1009" +
"\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.common.PlayerAttributes.Birth.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.PlayerAttributes.Birth)
private static final com.streamlayer.sports.common.PlayerAttributes.Birth DEFAULT_INSTANCE;
static {
Birth defaultInstance = new Birth();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Birth.class, defaultInstance);
}
public static com.streamlayer.sports.common.PlayerAttributes.Birth getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int DISPLAY_ID_FIELD_NUMBER = 1;
private int displayId_;
/**
* int32 display_id = 1 [json_name = "displayId"];
* @return The displayId.
*/
@java.lang.Override
public int getDisplayId() {
return displayId_;
}
/**
* int32 display_id = 1 [json_name = "displayId"];
* @param value The displayId to set.
*/
private void setDisplayId(int value) {
displayId_ = value;
}
/**
* int32 display_id = 1 [json_name = "displayId"];
*/
private void clearDisplayId() {
displayId_ = 0;
}
public static final int FULL_FIRST_FIELD_NUMBER = 3;
private java.lang.String fullFirst_;
/**
* string full_first = 3 [json_name = "fullFirst"];
* @return The fullFirst.
*/
@java.lang.Override
public java.lang.String getFullFirst() {
return fullFirst_;
}
/**
* string full_first = 3 [json_name = "fullFirst"];
* @return The bytes for fullFirst.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullFirstBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(fullFirst_);
}
/**
* string full_first = 3 [json_name = "fullFirst"];
* @param value The fullFirst to set.
*/
private void setFullFirst(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
fullFirst_ = value;
}
/**
* string full_first = 3 [json_name = "fullFirst"];
*/
private void clearFullFirst() {
fullFirst_ = getDefaultInstance().getFullFirst();
}
/**
* string full_first = 3 [json_name = "fullFirst"];
* @param value The bytes for fullFirst to set.
*/
private void setFullFirstBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
fullFirst_ = value.toStringUtf8();
}
public static final int FULL_LAST_FIELD_NUMBER = 4;
private java.lang.String fullLast_;
/**
* string full_last = 4 [json_name = "fullLast"];
* @return The fullLast.
*/
@java.lang.Override
public java.lang.String getFullLast() {
return fullLast_;
}
/**
* string full_last = 4 [json_name = "fullLast"];
* @return The bytes for fullLast.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullLastBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(fullLast_);
}
/**
* string full_last = 4 [json_name = "fullLast"];
* @param value The fullLast to set.
*/
private void setFullLast(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
fullLast_ = value;
}
/**
* string full_last = 4 [json_name = "fullLast"];
*/
private void clearFullLast() {
fullLast_ = getDefaultInstance().getFullLast();
}
/**
* string full_last = 4 [json_name = "fullLast"];
* @param value The bytes for fullLast to set.
*/
private void setFullLastBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
fullLast_ = value.toStringUtf8();
}
public static final int UNIFORM_FIELD_NUMBER = 5;
private java.lang.String uniform_;
/**
* string uniform = 5 [json_name = "uniform"];
* @return The uniform.
*/
@java.lang.Override
public java.lang.String getUniform() {
return uniform_;
}
/**
* string uniform = 5 [json_name = "uniform"];
* @return The bytes for uniform.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUniformBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(uniform_);
}
/**
* string uniform = 5 [json_name = "uniform"];
* @param value The uniform to set.
*/
private void setUniform(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
uniform_ = value;
}
/**
* string uniform = 5 [json_name = "uniform"];
*/
private void clearUniform() {
uniform_ = getDefaultInstance().getUniform();
}
/**
* string uniform = 5 [json_name = "uniform"];
* @param value The bytes for uniform to set.
*/
private void setUniformBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
uniform_ = value.toStringUtf8();
}
public static final int HEIGHT_FIELD_NUMBER = 6;
private com.streamlayer.sports.common.PlayerAttributes.Height height_;
/**
* .streamlayer.sports.PlayerAttributes.Height height = 6 [json_name = "height"];
*/
@java.lang.Override
public boolean hasHeight() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.PlayerAttributes.Height height = 6 [json_name = "height"];
*/
@java.lang.Override
public com.streamlayer.sports.common.PlayerAttributes.Height getHeight() {
return height_ == null ? com.streamlayer.sports.common.PlayerAttributes.Height.getDefaultInstance() : height_;
}
/**
* .streamlayer.sports.PlayerAttributes.Height height = 6 [json_name = "height"];
*/
private void setHeight(com.streamlayer.sports.common.PlayerAttributes.Height value) {
value.getClass();
height_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.PlayerAttributes.Height height = 6 [json_name = "height"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeHeight(com.streamlayer.sports.common.PlayerAttributes.Height value) {
value.getClass();
if (height_ != null &&
height_ != com.streamlayer.sports.common.PlayerAttributes.Height.getDefaultInstance()) {
height_ =
com.streamlayer.sports.common.PlayerAttributes.Height.newBuilder(height_).mergeFrom(value).buildPartial();
} else {
height_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.PlayerAttributes.Height height = 6 [json_name = "height"];
*/
private void clearHeight() { height_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int WEIGHT_FIELD_NUMBER = 7;
private com.streamlayer.sports.common.PlayerAttributes.Weight weight_;
/**
* .streamlayer.sports.PlayerAttributes.Weight weight = 7 [json_name = "weight"];
*/
@java.lang.Override
public boolean hasWeight() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.sports.PlayerAttributes.Weight weight = 7 [json_name = "weight"];
*/
@java.lang.Override
public com.streamlayer.sports.common.PlayerAttributes.Weight getWeight() {
return weight_ == null ? com.streamlayer.sports.common.PlayerAttributes.Weight.getDefaultInstance() : weight_;
}
/**
* .streamlayer.sports.PlayerAttributes.Weight weight = 7 [json_name = "weight"];
*/
private void setWeight(com.streamlayer.sports.common.PlayerAttributes.Weight value) {
value.getClass();
weight_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sports.PlayerAttributes.Weight weight = 7 [json_name = "weight"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeWeight(com.streamlayer.sports.common.PlayerAttributes.Weight value) {
value.getClass();
if (weight_ != null &&
weight_ != com.streamlayer.sports.common.PlayerAttributes.Weight.getDefaultInstance()) {
weight_ =
com.streamlayer.sports.common.PlayerAttributes.Weight.newBuilder(weight_).mergeFrom(value).buildPartial();
} else {
weight_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sports.PlayerAttributes.Weight weight = 7 [json_name = "weight"];
*/
private void clearWeight() { weight_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int BIRTH_FIELD_NUMBER = 8;
private com.streamlayer.sports.common.PlayerAttributes.Birth birth_;
/**
* .streamlayer.sports.PlayerAttributes.Birth birth = 8 [json_name = "birth"];
*/
@java.lang.Override
public boolean hasBirth() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .streamlayer.sports.PlayerAttributes.Birth birth = 8 [json_name = "birth"];
*/
@java.lang.Override
public com.streamlayer.sports.common.PlayerAttributes.Birth getBirth() {
return birth_ == null ? com.streamlayer.sports.common.PlayerAttributes.Birth.getDefaultInstance() : birth_;
}
/**
* .streamlayer.sports.PlayerAttributes.Birth birth = 8 [json_name = "birth"];
*/
private void setBirth(com.streamlayer.sports.common.PlayerAttributes.Birth value) {
value.getClass();
birth_ = value;
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.sports.PlayerAttributes.Birth birth = 8 [json_name = "birth"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeBirth(com.streamlayer.sports.common.PlayerAttributes.Birth value) {
value.getClass();
if (birth_ != null &&
birth_ != com.streamlayer.sports.common.PlayerAttributes.Birth.getDefaultInstance()) {
birth_ =
com.streamlayer.sports.common.PlayerAttributes.Birth.newBuilder(birth_).mergeFrom(value).buildPartial();
} else {
birth_ = value;
}
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.sports.PlayerAttributes.Birth birth = 8 [json_name = "birth"];
*/
private void clearBirth() { birth_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static com.streamlayer.sports.common.PlayerAttributes 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.PlayerAttributes 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.PlayerAttributes 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.PlayerAttributes 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.PlayerAttributes parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.common.PlayerAttributes 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.PlayerAttributes parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.PlayerAttributes 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.PlayerAttributes parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.PlayerAttributes 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.PlayerAttributes 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.PlayerAttributes 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.PlayerAttributes prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.PlayerAttributes}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.common.PlayerAttributes, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.PlayerAttributes)
com.streamlayer.sports.common.PlayerAttributesOrBuilder {
// Construct using com.streamlayer.sports.common.PlayerAttributes.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* int32 display_id = 1 [json_name = "displayId"];
* @return The displayId.
*/
@java.lang.Override
public int getDisplayId() {
return instance.getDisplayId();
}
/**
* int32 display_id = 1 [json_name = "displayId"];
* @param value The displayId to set.
* @return This builder for chaining.
*/
public Builder setDisplayId(int value) {
copyOnWrite();
instance.setDisplayId(value);
return this;
}
/**
* int32 display_id = 1 [json_name = "displayId"];
* @return This builder for chaining.
*/
public Builder clearDisplayId() {
copyOnWrite();
instance.clearDisplayId();
return this;
}
/**
* string full_first = 3 [json_name = "fullFirst"];
* @return The fullFirst.
*/
@java.lang.Override
public java.lang.String getFullFirst() {
return instance.getFullFirst();
}
/**
* string full_first = 3 [json_name = "fullFirst"];
* @return The bytes for fullFirst.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullFirstBytes() {
return instance.getFullFirstBytes();
}
/**
* string full_first = 3 [json_name = "fullFirst"];
* @param value The fullFirst to set.
* @return This builder for chaining.
*/
public Builder setFullFirst(
java.lang.String value) {
copyOnWrite();
instance.setFullFirst(value);
return this;
}
/**
* string full_first = 3 [json_name = "fullFirst"];
* @return This builder for chaining.
*/
public Builder clearFullFirst() {
copyOnWrite();
instance.clearFullFirst();
return this;
}
/**
* string full_first = 3 [json_name = "fullFirst"];
* @param value The bytes for fullFirst to set.
* @return This builder for chaining.
*/
public Builder setFullFirstBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setFullFirstBytes(value);
return this;
}
/**
* string full_last = 4 [json_name = "fullLast"];
* @return The fullLast.
*/
@java.lang.Override
public java.lang.String getFullLast() {
return instance.getFullLast();
}
/**
* string full_last = 4 [json_name = "fullLast"];
* @return The bytes for fullLast.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullLastBytes() {
return instance.getFullLastBytes();
}
/**
* string full_last = 4 [json_name = "fullLast"];
* @param value The fullLast to set.
* @return This builder for chaining.
*/
public Builder setFullLast(
java.lang.String value) {
copyOnWrite();
instance.setFullLast(value);
return this;
}
/**
* string full_last = 4 [json_name = "fullLast"];
* @return This builder for chaining.
*/
public Builder clearFullLast() {
copyOnWrite();
instance.clearFullLast();
return this;
}
/**
* string full_last = 4 [json_name = "fullLast"];
* @param value The bytes for fullLast to set.
* @return This builder for chaining.
*/
public Builder setFullLastBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setFullLastBytes(value);
return this;
}
/**
* string uniform = 5 [json_name = "uniform"];
* @return The uniform.
*/
@java.lang.Override
public java.lang.String getUniform() {
return instance.getUniform();
}
/**
* string uniform = 5 [json_name = "uniform"];
* @return The bytes for uniform.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUniformBytes() {
return instance.getUniformBytes();
}
/**
* string uniform = 5 [json_name = "uniform"];
* @param value The uniform to set.
* @return This builder for chaining.
*/
public Builder setUniform(
java.lang.String value) {
copyOnWrite();
instance.setUniform(value);
return this;
}
/**
* string uniform = 5 [json_name = "uniform"];
* @return This builder for chaining.
*/
public Builder clearUniform() {
copyOnWrite();
instance.clearUniform();
return this;
}
/**
* string uniform = 5 [json_name = "uniform"];
* @param value The bytes for uniform to set.
* @return This builder for chaining.
*/
public Builder setUniformBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUniformBytes(value);
return this;
}
/**
* .streamlayer.sports.PlayerAttributes.Height height = 6 [json_name = "height"];
*/
@java.lang.Override
public boolean hasHeight() {
return instance.hasHeight();
}
/**
* .streamlayer.sports.PlayerAttributes.Height height = 6 [json_name = "height"];
*/
@java.lang.Override
public com.streamlayer.sports.common.PlayerAttributes.Height getHeight() {
return instance.getHeight();
}
/**
* .streamlayer.sports.PlayerAttributes.Height height = 6 [json_name = "height"];
*/
public Builder setHeight(com.streamlayer.sports.common.PlayerAttributes.Height value) {
copyOnWrite();
instance.setHeight(value);
return this;
}
/**
* .streamlayer.sports.PlayerAttributes.Height height = 6 [json_name = "height"];
*/
public Builder setHeight(
com.streamlayer.sports.common.PlayerAttributes.Height.Builder builderForValue) {
copyOnWrite();
instance.setHeight(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.PlayerAttributes.Height height = 6 [json_name = "height"];
*/
public Builder mergeHeight(com.streamlayer.sports.common.PlayerAttributes.Height value) {
copyOnWrite();
instance.mergeHeight(value);
return this;
}
/**
* .streamlayer.sports.PlayerAttributes.Height height = 6 [json_name = "height"];
*/
public Builder clearHeight() { copyOnWrite();
instance.clearHeight();
return this;
}
/**
* .streamlayer.sports.PlayerAttributes.Weight weight = 7 [json_name = "weight"];
*/
@java.lang.Override
public boolean hasWeight() {
return instance.hasWeight();
}
/**
* .streamlayer.sports.PlayerAttributes.Weight weight = 7 [json_name = "weight"];
*/
@java.lang.Override
public com.streamlayer.sports.common.PlayerAttributes.Weight getWeight() {
return instance.getWeight();
}
/**
* .streamlayer.sports.PlayerAttributes.Weight weight = 7 [json_name = "weight"];
*/
public Builder setWeight(com.streamlayer.sports.common.PlayerAttributes.Weight value) {
copyOnWrite();
instance.setWeight(value);
return this;
}
/**
* .streamlayer.sports.PlayerAttributes.Weight weight = 7 [json_name = "weight"];
*/
public Builder setWeight(
com.streamlayer.sports.common.PlayerAttributes.Weight.Builder builderForValue) {
copyOnWrite();
instance.setWeight(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.PlayerAttributes.Weight weight = 7 [json_name = "weight"];
*/
public Builder mergeWeight(com.streamlayer.sports.common.PlayerAttributes.Weight value) {
copyOnWrite();
instance.mergeWeight(value);
return this;
}
/**
* .streamlayer.sports.PlayerAttributes.Weight weight = 7 [json_name = "weight"];
*/
public Builder clearWeight() { copyOnWrite();
instance.clearWeight();
return this;
}
/**
* .streamlayer.sports.PlayerAttributes.Birth birth = 8 [json_name = "birth"];
*/
@java.lang.Override
public boolean hasBirth() {
return instance.hasBirth();
}
/**
* .streamlayer.sports.PlayerAttributes.Birth birth = 8 [json_name = "birth"];
*/
@java.lang.Override
public com.streamlayer.sports.common.PlayerAttributes.Birth getBirth() {
return instance.getBirth();
}
/**
* .streamlayer.sports.PlayerAttributes.Birth birth = 8 [json_name = "birth"];
*/
public Builder setBirth(com.streamlayer.sports.common.PlayerAttributes.Birth value) {
copyOnWrite();
instance.setBirth(value);
return this;
}
/**
* .streamlayer.sports.PlayerAttributes.Birth birth = 8 [json_name = "birth"];
*/
public Builder setBirth(
com.streamlayer.sports.common.PlayerAttributes.Birth.Builder builderForValue) {
copyOnWrite();
instance.setBirth(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.PlayerAttributes.Birth birth = 8 [json_name = "birth"];
*/
public Builder mergeBirth(com.streamlayer.sports.common.PlayerAttributes.Birth value) {
copyOnWrite();
instance.mergeBirth(value);
return this;
}
/**
* .streamlayer.sports.PlayerAttributes.Birth birth = 8 [json_name = "birth"];
*/
public Builder clearBirth() { copyOnWrite();
instance.clearBirth();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.PlayerAttributes)
}
@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.PlayerAttributes();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"displayId_",
"fullFirst_",
"fullLast_",
"uniform_",
"height_",
"weight_",
"birth_",
};
java.lang.String info =
"\u0000\u0007\u0000\u0001\u0001\b\u0007\u0000\u0000\u0000\u0001\u0004\u0003\u0208" +
"\u0004\u0208\u0005\u0208\u0006\u1009\u0000\u0007\u1009\u0001\b\u1009\u0002";
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.PlayerAttributes.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.PlayerAttributes)
private static final com.streamlayer.sports.common.PlayerAttributes DEFAULT_INSTANCE;
static {
PlayerAttributes defaultInstance = new PlayerAttributes();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
PlayerAttributes.class, defaultInstance);
}
public static com.streamlayer.sports.common.PlayerAttributes getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}