main.java.com.streamlayer.triggers.GetSportLimitsResponse 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/triggers/triggers.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.triggers;
/**
* Protobuf type {@code streamlayer.triggers.GetSportLimitsResponse}
*/
public final class GetSportLimitsResponse extends
com.google.protobuf.GeneratedMessageLite<
GetSportLimitsResponse, GetSportLimitsResponse.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.triggers.GetSportLimitsResponse)
GetSportLimitsResponseOrBuilder {
private GetSportLimitsResponse() {
limits_ = emptyProtobufList();
}
public static final int LIMITS_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList limits_;
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
@java.lang.Override
public java.util.List getLimitsList() {
return limits_;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
public java.util.List extends com.streamlayer.triggers.StudioLimitOrBuilder>
getLimitsOrBuilderList() {
return limits_;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
@java.lang.Override
public int getLimitsCount() {
return limits_.size();
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
@java.lang.Override
public com.streamlayer.triggers.StudioLimit getLimits(int index) {
return limits_.get(index);
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
public com.streamlayer.triggers.StudioLimitOrBuilder getLimitsOrBuilder(
int index) {
return limits_.get(index);
}
private void ensureLimitsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = limits_;
if (!tmp.isModifiable()) {
limits_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
private void setLimits(
int index, com.streamlayer.triggers.StudioLimit value) {
value.getClass();
ensureLimitsIsMutable();
limits_.set(index, value);
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
private void addLimits(com.streamlayer.triggers.StudioLimit value) {
value.getClass();
ensureLimitsIsMutable();
limits_.add(value);
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
private void addLimits(
int index, com.streamlayer.triggers.StudioLimit value) {
value.getClass();
ensureLimitsIsMutable();
limits_.add(index, value);
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
private void addAllLimits(
java.lang.Iterable extends com.streamlayer.triggers.StudioLimit> values) {
ensureLimitsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, limits_);
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
private void clearLimits() {
limits_ = emptyProtobufList();
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
private void removeLimits(int index) {
ensureLimitsIsMutable();
limits_.remove(index);
}
public static com.streamlayer.triggers.GetSportLimitsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetSportLimitsResponse 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.triggers.GetSportLimitsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetSportLimitsResponse 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.triggers.GetSportLimitsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetSportLimitsResponse 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.triggers.GetSportLimitsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetSportLimitsResponse 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.triggers.GetSportLimitsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetSportLimitsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.triggers.GetSportLimitsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetSportLimitsResponse 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.triggers.GetSportLimitsResponse prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.triggers.GetSportLimitsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.triggers.GetSportLimitsResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.triggers.GetSportLimitsResponse)
com.streamlayer.triggers.GetSportLimitsResponseOrBuilder {
// Construct using com.streamlayer.triggers.GetSportLimitsResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
@java.lang.Override
public java.util.List getLimitsList() {
return java.util.Collections.unmodifiableList(
instance.getLimitsList());
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
@java.lang.Override
public int getLimitsCount() {
return instance.getLimitsCount();
}/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
@java.lang.Override
public com.streamlayer.triggers.StudioLimit getLimits(int index) {
return instance.getLimits(index);
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
public Builder setLimits(
int index, com.streamlayer.triggers.StudioLimit value) {
copyOnWrite();
instance.setLimits(index, value);
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
public Builder setLimits(
int index, com.streamlayer.triggers.StudioLimit.Builder builderForValue) {
copyOnWrite();
instance.setLimits(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
public Builder addLimits(com.streamlayer.triggers.StudioLimit value) {
copyOnWrite();
instance.addLimits(value);
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
public Builder addLimits(
int index, com.streamlayer.triggers.StudioLimit value) {
copyOnWrite();
instance.addLimits(index, value);
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
public Builder addLimits(
com.streamlayer.triggers.StudioLimit.Builder builderForValue) {
copyOnWrite();
instance.addLimits(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
public Builder addLimits(
int index, com.streamlayer.triggers.StudioLimit.Builder builderForValue) {
copyOnWrite();
instance.addLimits(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
public Builder addAllLimits(
java.lang.Iterable extends com.streamlayer.triggers.StudioLimit> values) {
copyOnWrite();
instance.addAllLimits(values);
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
public Builder clearLimits() {
copyOnWrite();
instance.clearLimits();
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 1 [json_name = "limits"];
*/
public Builder removeLimits(int index) {
copyOnWrite();
instance.removeLimits(index);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.triggers.GetSportLimitsResponse)
}
@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.triggers.GetSportLimitsResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"limits_",
com.streamlayer.triggers.StudioLimit.class,
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.triggers.GetSportLimitsResponse.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.triggers.GetSportLimitsResponse)
private static final com.streamlayer.triggers.GetSportLimitsResponse DEFAULT_INSTANCE;
static {
GetSportLimitsResponse defaultInstance = new GetSportLimitsResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GetSportLimitsResponse.class, defaultInstance);
}
public static com.streamlayer.triggers.GetSportLimitsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}