main.java.com.streamlayer.sports.events.AdminSummaryResponse 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/events/events.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.events;
/**
* Protobuf type {@code streamlayer.sports.events.AdminSummaryResponse}
*/
public final class AdminSummaryResponse extends
com.google.protobuf.GeneratedMessageLite<
AdminSummaryResponse, AdminSummaryResponse.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.events.AdminSummaryResponse)
AdminSummaryResponseOrBuilder {
private AdminSummaryResponse() {
}
public interface ResponseDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.events.AdminSummaryResponse.ResponseData)
com.google.protobuf.MessageLiteOrBuilder {
/**
* uint64 id = 1 [json_name = "id"];
* @return The id.
*/
long getId();
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes = 2 [json_name = "attributes"];
* @return Whether the attributes field is set.
*/
boolean hasAttributes();
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes = 2 [json_name = "attributes"];
* @return The attributes.
*/
com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes getAttributes();
}
/**
* Protobuf type {@code streamlayer.sports.events.AdminSummaryResponse.ResponseData}
*/
public static final class ResponseData extends
com.google.protobuf.GeneratedMessageLite<
ResponseData, ResponseData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.events.AdminSummaryResponse.ResponseData)
ResponseDataOrBuilder {
private ResponseData() {
}
public interface SummaryResponseAttributesOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes)
com.google.protobuf.MessageLiteOrBuilder {
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
* @return Whether the summary field is set.
*/
boolean hasSummary();
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
* @return The summary.
*/
com.streamlayer.sports.common.EventSummary getSummary();
/**
* string provider_id = 2 [json_name = "providerId"];
* @return The providerId.
*/
java.lang.String getProviderId();
/**
* string provider_id = 2 [json_name = "providerId"];
* @return The bytes for providerId.
*/
com.google.protobuf.ByteString
getProviderIdBytes();
}
/**
* Protobuf type {@code streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes}
*/
public static final class SummaryResponseAttributes extends
com.google.protobuf.GeneratedMessageLite<
SummaryResponseAttributes, SummaryResponseAttributes.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes)
SummaryResponseAttributesOrBuilder {
private SummaryResponseAttributes() {
providerId_ = "";
}
private int bitField0_;
public static final int SUMMARY_FIELD_NUMBER = 1;
private com.streamlayer.sports.common.EventSummary summary_;
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
@java.lang.Override
public boolean hasSummary() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
@java.lang.Override
public com.streamlayer.sports.common.EventSummary getSummary() {
return summary_ == null ? com.streamlayer.sports.common.EventSummary.getDefaultInstance() : summary_;
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
private void setSummary(com.streamlayer.sports.common.EventSummary value) {
value.getClass();
summary_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSummary(com.streamlayer.sports.common.EventSummary value) {
value.getClass();
if (summary_ != null &&
summary_ != com.streamlayer.sports.common.EventSummary.getDefaultInstance()) {
summary_ =
com.streamlayer.sports.common.EventSummary.newBuilder(summary_).mergeFrom(value).buildPartial();
} else {
summary_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
private void clearSummary() { summary_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int PROVIDER_ID_FIELD_NUMBER = 2;
private java.lang.String providerId_;
/**
* string provider_id = 2 [json_name = "providerId"];
* @return The providerId.
*/
@java.lang.Override
public java.lang.String getProviderId() {
return providerId_;
}
/**
* string provider_id = 2 [json_name = "providerId"];
* @return The bytes for providerId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProviderIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(providerId_);
}
/**
* string provider_id = 2 [json_name = "providerId"];
* @param value The providerId to set.
*/
private void setProviderId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
providerId_ = value;
}
/**
* string provider_id = 2 [json_name = "providerId"];
*/
private void clearProviderId() {
providerId_ = getDefaultInstance().getProviderId();
}
/**
* string provider_id = 2 [json_name = "providerId"];
* @param value The bytes for providerId to set.
*/
private void setProviderIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
providerId_ = value.toStringUtf8();
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes 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.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes 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.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes 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.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes 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.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes 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.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes 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.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes 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.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes)
com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributesOrBuilder {
// Construct using com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
@java.lang.Override
public boolean hasSummary() {
return instance.hasSummary();
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
@java.lang.Override
public com.streamlayer.sports.common.EventSummary getSummary() {
return instance.getSummary();
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
public Builder setSummary(com.streamlayer.sports.common.EventSummary value) {
copyOnWrite();
instance.setSummary(value);
return this;
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
public Builder setSummary(
com.streamlayer.sports.common.EventSummary.Builder builderForValue) {
copyOnWrite();
instance.setSummary(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
public Builder mergeSummary(com.streamlayer.sports.common.EventSummary value) {
copyOnWrite();
instance.mergeSummary(value);
return this;
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
public Builder clearSummary() { copyOnWrite();
instance.clearSummary();
return this;
}
/**
* string provider_id = 2 [json_name = "providerId"];
* @return The providerId.
*/
@java.lang.Override
public java.lang.String getProviderId() {
return instance.getProviderId();
}
/**
* string provider_id = 2 [json_name = "providerId"];
* @return The bytes for providerId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProviderIdBytes() {
return instance.getProviderIdBytes();
}
/**
* string provider_id = 2 [json_name = "providerId"];
* @param value The providerId to set.
* @return This builder for chaining.
*/
public Builder setProviderId(
java.lang.String value) {
copyOnWrite();
instance.setProviderId(value);
return this;
}
/**
* string provider_id = 2 [json_name = "providerId"];
* @return This builder for chaining.
*/
public Builder clearProviderId() {
copyOnWrite();
instance.clearProviderId();
return this;
}
/**
* string provider_id = 2 [json_name = "providerId"];
* @param value The bytes for providerId to set.
* @return This builder for chaining.
*/
public Builder setProviderIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setProviderIdBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes)
}
@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.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"summary_",
"providerId_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\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.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes.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.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes)
private static final com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes DEFAULT_INSTANCE;
static {
SummaryResponseAttributes defaultInstance = new SummaryResponseAttributes();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SummaryResponseAttributes.class, defaultInstance);
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes 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 ID_FIELD_NUMBER = 1;
private long id_;
/**
* uint64 id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* uint64 id = 1 [json_name = "id"];
* @param value The id to set.
*/
private void setId(long value) {
id_ = value;
}
/**
* uint64 id = 1 [json_name = "id"];
*/
private void clearId() {
id_ = 0L;
}
public static final int ATTRIBUTES_FIELD_NUMBER = 2;
private com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes_;
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.Override
public boolean hasAttributes() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.Override
public com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes getAttributes() {
return attributes_ == null ? com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes.getDefaultInstance() : attributes_;
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes = 2 [json_name = "attributes"];
*/
private void setAttributes(com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes value) {
value.getClass();
attributes_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAttributes(com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes value) {
value.getClass();
if (attributes_ != null &&
attributes_ != com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes.getDefaultInstance()) {
attributes_ =
com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes = 2 [json_name = "attributes"];
*/
private void clearAttributes() { attributes_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData 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.events.AdminSummaryResponse.ResponseData 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.events.AdminSummaryResponse.ResponseData 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.events.AdminSummaryResponse.ResponseData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData 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.events.AdminSummaryResponse.ResponseData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData 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.events.AdminSummaryResponse.ResponseData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData 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.events.AdminSummaryResponse.ResponseData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData 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.events.AdminSummaryResponse.ResponseData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.events.AdminSummaryResponse.ResponseData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.events.AdminSummaryResponse.ResponseData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.events.AdminSummaryResponse.ResponseData)
com.streamlayer.sports.events.AdminSummaryResponse.ResponseDataOrBuilder {
// Construct using com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* uint64 id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public long getId() {
return instance.getId();
}
/**
* uint64 id = 1 [json_name = "id"];
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* uint64 id = 1 [json_name = "id"];
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.Override
public boolean hasAttributes() {
return instance.hasAttributes();
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.Override
public com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes getAttributes() {
return instance.getAttributes();
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes = 2 [json_name = "attributes"];
*/
public Builder setAttributes(com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes value) {
copyOnWrite();
instance.setAttributes(value);
return this;
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes = 2 [json_name = "attributes"];
*/
public Builder setAttributes(
com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes.Builder builderForValue) {
copyOnWrite();
instance.setAttributes(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes = 2 [json_name = "attributes"];
*/
public Builder mergeAttributes(com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes value) {
copyOnWrite();
instance.mergeAttributes(value);
return this;
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes attributes = 2 [json_name = "attributes"];
*/
public Builder clearAttributes() { copyOnWrite();
instance.clearAttributes();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.events.AdminSummaryResponse.ResponseData)
}
@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.events.AdminSummaryResponse.ResponseData();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"attributes_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0003\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.events.AdminSummaryResponse.ResponseData.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.events.AdminSummaryResponse.ResponseData)
private static final com.streamlayer.sports.events.AdminSummaryResponse.ResponseData DEFAULT_INSTANCE;
static {
ResponseData defaultInstance = new ResponseData();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ResponseData.class, defaultInstance);
}
public static com.streamlayer.sports.events.AdminSummaryResponse.ResponseData 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 DATA_FIELD_NUMBER = 1;
private com.streamlayer.sports.events.AdminSummaryResponse.ResponseData data_;
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean hasData() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.sports.events.AdminSummaryResponse.ResponseData getData() {
return data_ == null ? com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.getDefaultInstance() : data_;
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData data = 1 [json_name = "data"];
*/
private void setData(com.streamlayer.sports.events.AdminSummaryResponse.ResponseData value) {
value.getClass();
data_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeData(com.streamlayer.sports.events.AdminSummaryResponse.ResponseData value) {
value.getClass();
if (data_ != null &&
data_ != com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.getDefaultInstance()) {
data_ =
com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.newBuilder(data_).mergeFrom(value).buildPartial();
} else {
data_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData data = 1 [json_name = "data"];
*/
private void clearData() { data_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.sports.events.AdminSummaryResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.AdminSummaryResponse 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.events.AdminSummaryResponse 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.events.AdminSummaryResponse 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.events.AdminSummaryResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.AdminSummaryResponse 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.events.AdminSummaryResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.AdminSummaryResponse 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.events.AdminSummaryResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.AdminSummaryResponse 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.events.AdminSummaryResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.AdminSummaryResponse 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.events.AdminSummaryResponse prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.events.AdminSummaryResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.events.AdminSummaryResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.events.AdminSummaryResponse)
com.streamlayer.sports.events.AdminSummaryResponseOrBuilder {
// Construct using com.streamlayer.sports.events.AdminSummaryResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean hasData() {
return instance.hasData();
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.sports.events.AdminSummaryResponse.ResponseData getData() {
return instance.getData();
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder setData(com.streamlayer.sports.events.AdminSummaryResponse.ResponseData value) {
copyOnWrite();
instance.setData(value);
return this;
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder setData(
com.streamlayer.sports.events.AdminSummaryResponse.ResponseData.Builder builderForValue) {
copyOnWrite();
instance.setData(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder mergeData(com.streamlayer.sports.events.AdminSummaryResponse.ResponseData value) {
copyOnWrite();
instance.mergeData(value);
return this;
}
/**
* .streamlayer.sports.events.AdminSummaryResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder clearData() { copyOnWrite();
instance.clearData();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.events.AdminSummaryResponse)
}
@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.events.AdminSummaryResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"data_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\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.events.AdminSummaryResponse.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.events.AdminSummaryResponse)
private static final com.streamlayer.sports.events.AdminSummaryResponse DEFAULT_INSTANCE;
static {
AdminSummaryResponse defaultInstance = new AdminSummaryResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AdminSummaryResponse.class, defaultInstance);
}
public static com.streamlayer.sports.events.AdminSummaryResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}