main.java.com.streamlayer.interactive.question.StatsRequest 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/interactive/question/interactive.questions.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.interactive.question;
/**
* Protobuf type {@code streamlayer.interactive.question.StatsRequest}
*/
public final class StatsRequest extends
com.google.protobuf.GeneratedMessageLite<
StatsRequest, StatsRequest.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.question.StatsRequest)
StatsRequestOrBuilder {
private StatsRequest() {
moderationId_ = "";
organizationId_ = "";
}
public interface StatsRequestFilterOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.question.StatsRequest.StatsRequestFilter)
com.google.protobuf.MessageLiteOrBuilder {
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=196
* @return The enum numeric value on the wire for type.
*/
@java.lang.Deprecated int getTypeValue();
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=196
* @return The type.
*/
@java.lang.Deprecated com.streamlayer.interactive.common.QuestionType getType();
/**
* .streamlayer.interactive.QuestionStatus status = 2 [json_name = "status", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=197
* @return The enum numeric value on the wire for status.
*/
@java.lang.Deprecated int getStatusValue();
/**
* .streamlayer.interactive.QuestionStatus status = 2 [json_name = "status", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=197
* @return The status.
*/
@java.lang.Deprecated com.streamlayer.interactive.common.QuestionStatus getStatus();
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @return A list containing the statuses.
*/
java.util.List getStatusesList();
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @return The count of statuses.
*/
int getStatusesCount();
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param index The index of the element to return.
* @return The statuses at the given index.
*/
com.streamlayer.interactive.common.QuestionStatus getStatuses(int index);
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @return A list containing the enum numeric values on the wire for statuses.
*/
java.util.List
getStatusesValueList();
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param index The index of the value to return.
* @return The enum numeric value on the wire of statuses at the given index.
*/
int getStatusesValue(int index);
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @return A list containing the types.
*/
java.util.List getTypesList();
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @return The count of types.
*/
int getTypesCount();
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param index The index of the element to return.
* @return The types at the given index.
*/
com.streamlayer.interactive.common.QuestionType getTypes(int index);
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @return A list containing the enum numeric values on the wire for types.
*/
java.util.List
getTypesValueList();
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param index The index of the value to return.
* @return The enum numeric value on the wire of types at the given index.
*/
int getTypesValue(int index);
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @return A list containing the ids.
*/
java.util.List
getIdsList();
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @return The count of ids.
*/
int getIdsCount();
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param index The index of the element to return.
* @return The ids at the given index.
*/
java.lang.String getIds(int index);
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param index The index of the element to return.
* @return The ids at the given index.
*/
com.google.protobuf.ByteString
getIdsBytes(int index);
}
/**
* Protobuf type {@code streamlayer.interactive.question.StatsRequest.StatsRequestFilter}
*/
public static final class StatsRequestFilter extends
com.google.protobuf.GeneratedMessageLite<
StatsRequestFilter, StatsRequestFilter.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.question.StatsRequest.StatsRequestFilter)
StatsRequestFilterOrBuilder {
private StatsRequestFilter() {
statuses_ = emptyIntList();
types_ = emptyIntList();
ids_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=196
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
@java.lang.Deprecated public int getTypeValue() {
return type_;
}
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=196
* @return The type.
*/
@java.lang.Override
@java.lang.Deprecated public com.streamlayer.interactive.common.QuestionType getType() {
com.streamlayer.interactive.common.QuestionType result = com.streamlayer.interactive.common.QuestionType.forNumber(type_);
return result == null ? com.streamlayer.interactive.common.QuestionType.UNRECOGNIZED : result;
}
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=196
* @param value The enum numeric value on the wire for type to set.
*/
private void setTypeValue(int value) {
type_ = value;
}
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=196
* @param value The type to set.
*/
private void setType(com.streamlayer.interactive.common.QuestionType value) {
type_ = value.getNumber();
}
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=196
*/
private void clearType() {
type_ = 0;
}
public static final int STATUS_FIELD_NUMBER = 2;
private int status_;
/**
* .streamlayer.interactive.QuestionStatus status = 2 [json_name = "status", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=197
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override
@java.lang.Deprecated public int getStatusValue() {
return status_;
}
/**
* .streamlayer.interactive.QuestionStatus status = 2 [json_name = "status", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=197
* @return The status.
*/
@java.lang.Override
@java.lang.Deprecated public com.streamlayer.interactive.common.QuestionStatus getStatus() {
com.streamlayer.interactive.common.QuestionStatus result = com.streamlayer.interactive.common.QuestionStatus.forNumber(status_);
return result == null ? com.streamlayer.interactive.common.QuestionStatus.UNRECOGNIZED : result;
}
/**
* .streamlayer.interactive.QuestionStatus status = 2 [json_name = "status", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=197
* @param value The enum numeric value on the wire for status to set.
*/
private void setStatusValue(int value) {
status_ = value;
}
/**
* .streamlayer.interactive.QuestionStatus status = 2 [json_name = "status", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=197
* @param value The status to set.
*/
private void setStatus(com.streamlayer.interactive.common.QuestionStatus value) {
status_ = value.getNumber();
}
/**
* .streamlayer.interactive.QuestionStatus status = 2 [json_name = "status", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=197
*/
private void clearStatus() {
status_ = 0;
}
public static final int STATUSES_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.IntList statuses_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.streamlayer.interactive.common.QuestionStatus> statuses_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.streamlayer.interactive.common.QuestionStatus>() {
@java.lang.Override
public com.streamlayer.interactive.common.QuestionStatus convert(java.lang.Integer from) {
com.streamlayer.interactive.common.QuestionStatus result = com.streamlayer.interactive.common.QuestionStatus.forNumber(from);
return result == null ? com.streamlayer.interactive.common.QuestionStatus.UNRECOGNIZED : result;
}
};
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @return A list containing the statuses.
*/
@java.lang.Override
public java.util.List getStatusesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.streamlayer.interactive.common.QuestionStatus>(statuses_, statuses_converter_);
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @return The count of statuses.
*/
@java.lang.Override
public int getStatusesCount() {
return statuses_.size();
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param index The index of the element to return.
* @return The statuses at the given index.
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionStatus getStatuses(int index) {
com.streamlayer.interactive.common.QuestionStatus result = com.streamlayer.interactive.common.QuestionStatus.forNumber(statuses_.getInt(index));
return result == null ? com.streamlayer.interactive.common.QuestionStatus.UNRECOGNIZED : result;
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @return A list containing the enum numeric values on the wire for statuses.
*/
@java.lang.Override
public java.util.List
getStatusesValueList() {
return statuses_;
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param index The index of the value to return.
* @return The enum numeric value on the wire of statuses at the given index.
*/
@java.lang.Override
public int getStatusesValue(int index) {
return statuses_.getInt(index);
}
private int statusesMemoizedSerializedSize;
private void ensureStatusesIsMutable() {
com.google.protobuf.Internal.IntList tmp = statuses_;
if (!tmp.isModifiable()) {
statuses_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param index The index to set the value at.
* @param value The statuses to set.
*/
private void setStatuses(
int index, com.streamlayer.interactive.common.QuestionStatus value) {
value.getClass();
ensureStatusesIsMutable();
statuses_.setInt(index, value.getNumber());
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param value The statuses to add.
*/
private void addStatuses(com.streamlayer.interactive.common.QuestionStatus value) {
value.getClass();
ensureStatusesIsMutable();
statuses_.addInt(value.getNumber());
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param values The statuses to add.
*/
private void addAllStatuses(
java.lang.Iterable extends com.streamlayer.interactive.common.QuestionStatus> values) {
ensureStatusesIsMutable();
for (com.streamlayer.interactive.common.QuestionStatus value : values) {
statuses_.addInt(value.getNumber());
}
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
*/
private void clearStatuses() {
statuses_ = emptyIntList();
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param value The enum numeric value on the wire for statuses to set.
*/
private void setStatusesValue(
int index, int value) {
ensureStatusesIsMutable();
statuses_.setInt(index, value);
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param value The enum numeric value on the wire for statuses to add.
*/
private void addStatusesValue(int value) {
ensureStatusesIsMutable();
statuses_.addInt(value);
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param values The enum numeric values on the wire for statuses to add.
*/
private void addAllStatusesValue(
java.lang.Iterable values) {
ensureStatusesIsMutable();
for (int value : values) {
statuses_.addInt(value);
}
}
public static final int TYPES_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.IntList types_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.streamlayer.interactive.common.QuestionType> types_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.streamlayer.interactive.common.QuestionType>() {
@java.lang.Override
public com.streamlayer.interactive.common.QuestionType convert(java.lang.Integer from) {
com.streamlayer.interactive.common.QuestionType result = com.streamlayer.interactive.common.QuestionType.forNumber(from);
return result == null ? com.streamlayer.interactive.common.QuestionType.UNRECOGNIZED : result;
}
};
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @return A list containing the types.
*/
@java.lang.Override
public java.util.List getTypesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.streamlayer.interactive.common.QuestionType>(types_, types_converter_);
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @return The count of types.
*/
@java.lang.Override
public int getTypesCount() {
return types_.size();
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param index The index of the element to return.
* @return The types at the given index.
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionType getTypes(int index) {
com.streamlayer.interactive.common.QuestionType result = com.streamlayer.interactive.common.QuestionType.forNumber(types_.getInt(index));
return result == null ? com.streamlayer.interactive.common.QuestionType.UNRECOGNIZED : result;
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @return A list containing the enum numeric values on the wire for types.
*/
@java.lang.Override
public java.util.List
getTypesValueList() {
return types_;
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param index The index of the value to return.
* @return The enum numeric value on the wire of types at the given index.
*/
@java.lang.Override
public int getTypesValue(int index) {
return types_.getInt(index);
}
private int typesMemoizedSerializedSize;
private void ensureTypesIsMutable() {
com.google.protobuf.Internal.IntList tmp = types_;
if (!tmp.isModifiable()) {
types_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param index The index to set the value at.
* @param value The types to set.
*/
private void setTypes(
int index, com.streamlayer.interactive.common.QuestionType value) {
value.getClass();
ensureTypesIsMutable();
types_.setInt(index, value.getNumber());
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param value The types to add.
*/
private void addTypes(com.streamlayer.interactive.common.QuestionType value) {
value.getClass();
ensureTypesIsMutable();
types_.addInt(value.getNumber());
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param values The types to add.
*/
private void addAllTypes(
java.lang.Iterable extends com.streamlayer.interactive.common.QuestionType> values) {
ensureTypesIsMutable();
for (com.streamlayer.interactive.common.QuestionType value : values) {
types_.addInt(value.getNumber());
}
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
*/
private void clearTypes() {
types_ = emptyIntList();
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param value The enum numeric value on the wire for types to set.
*/
private void setTypesValue(
int index, int value) {
ensureTypesIsMutable();
types_.setInt(index, value);
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param value The enum numeric value on the wire for types to add.
*/
private void addTypesValue(int value) {
ensureTypesIsMutable();
types_.addInt(value);
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param values The enum numeric values on the wire for types to add.
*/
private void addAllTypesValue(
java.lang.Iterable values) {
ensureTypesIsMutable();
for (int value : values) {
types_.addInt(value);
}
}
public static final int IDS_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.ProtobufList ids_;
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @return A list containing the ids.
*/
@java.lang.Override
public java.util.List getIdsList() {
return ids_;
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @return The count of ids.
*/
@java.lang.Override
public int getIdsCount() {
return ids_.size();
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param index The index of the element to return.
* @return The ids at the given index.
*/
@java.lang.Override
public java.lang.String getIds(int index) {
return ids_.get(index);
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param index The index of the value to return.
* @return The bytes of the ids at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdsBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
ids_.get(index));
}
private void ensureIdsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
ids_; if (!tmp.isModifiable()) {
ids_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param index The index to set the value at.
* @param value The ids to set.
*/
private void setIds(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureIdsIsMutable();
ids_.set(index, value);
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param value The ids to add.
*/
private void addIds(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureIdsIsMutable();
ids_.add(value);
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param values The ids to add.
*/
private void addAllIds(
java.lang.Iterable values) {
ensureIdsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, ids_);
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
*/
private void clearIds() {
ids_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param value The bytes of the ids to add.
*/
private void addIdsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureIdsIsMutable();
ids_.add(value.toStringUtf8());
}
public static com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter 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.interactive.question.StatsRequest.StatsRequestFilter parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter 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.interactive.question.StatsRequest.StatsRequestFilter parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter 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.interactive.question.StatsRequest.StatsRequestFilter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter 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.interactive.question.StatsRequest.StatsRequestFilter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter 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.interactive.question.StatsRequest.StatsRequestFilter prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.question.StatsRequest.StatsRequestFilter}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.question.StatsRequest.StatsRequestFilter)
com.streamlayer.interactive.question.StatsRequest.StatsRequestFilterOrBuilder {
// Construct using com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=196
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
@java.lang.Deprecated public int getTypeValue() {
return instance.getTypeValue();
}
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=196
* @param value The type to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setTypeValue(int value) {
copyOnWrite();
instance.setTypeValue(value);
return this;
}
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=196
* @return The type.
*/
@java.lang.Override
@java.lang.Deprecated public com.streamlayer.interactive.common.QuestionType getType() {
return instance.getType();
}
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=196
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setType(com.streamlayer.interactive.common.QuestionType value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=196
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* .streamlayer.interactive.QuestionStatus status = 2 [json_name = "status", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=197
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override
@java.lang.Deprecated public int getStatusValue() {
return instance.getStatusValue();
}
/**
* .streamlayer.interactive.QuestionStatus status = 2 [json_name = "status", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=197
* @param value The status to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setStatusValue(int value) {
copyOnWrite();
instance.setStatusValue(value);
return this;
}
/**
* .streamlayer.interactive.QuestionStatus status = 2 [json_name = "status", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=197
* @return The status.
*/
@java.lang.Override
@java.lang.Deprecated public com.streamlayer.interactive.common.QuestionStatus getStatus() {
return instance.getStatus();
}
/**
* .streamlayer.interactive.QuestionStatus status = 2 [json_name = "status", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=197
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setStatus(com.streamlayer.interactive.common.QuestionStatus value) {
copyOnWrite();
instance.setStatus(value);
return this;
}
/**
* .streamlayer.interactive.QuestionStatus status = 2 [json_name = "status", deprecated = true];
* @deprecated streamlayer.interactive.question.StatsRequest.StatsRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=197
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearStatus() {
copyOnWrite();
instance.clearStatus();
return this;
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @return A list containing the statuses.
*/
@java.lang.Override
public java.util.List getStatusesList() {
return instance.getStatusesList();
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @return The count of statuses.
*/
@java.lang.Override
public int getStatusesCount() {
return instance.getStatusesCount();
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param index The index of the element to return.
* @return The statuses at the given index.
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionStatus getStatuses(int index) {
return instance.getStatuses(index);
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param index The index to set the value at.
* @param value The statuses to set.
* @return This builder for chaining.
*/
public Builder setStatuses(
int index, com.streamlayer.interactive.common.QuestionStatus value) {
copyOnWrite();
instance.setStatuses(index, value);
return this;
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param value The statuses to add.
* @return This builder for chaining.
*/
public Builder addStatuses(com.streamlayer.interactive.common.QuestionStatus value) {
copyOnWrite();
instance.addStatuses(value);
return this;
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param values The statuses to add.
* @return This builder for chaining.
*/
public Builder addAllStatuses(
java.lang.Iterable extends com.streamlayer.interactive.common.QuestionStatus> values) {
copyOnWrite();
instance.addAllStatuses(values); return this;
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @return This builder for chaining.
*/
public Builder clearStatuses() {
copyOnWrite();
instance.clearStatuses();
return this;
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @return A list containing the enum numeric values on the wire for statuses.
*/
@java.lang.Override
public java.util.List
getStatusesValueList() {
return java.util.Collections.unmodifiableList(
instance.getStatusesValueList());
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param index The index of the value to return.
* @return The enum numeric value on the wire of statuses at the given index.
*/
@java.lang.Override
public int getStatusesValue(int index) {
return instance.getStatusesValue(index);
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param index The index to set the value at.
* @param value The enum numeric value on the wire for statuses to set.
* @return This builder for chaining.
*/
public Builder setStatusesValue(
int index, int value) {
copyOnWrite();
instance.setStatusesValue(index, value);
return this;
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param value The enum numeric value on the wire for statuses to add.
* @return This builder for chaining.
*/
public Builder addStatusesValue(int value) {
copyOnWrite();
instance.addStatusesValue(value);
return this;
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 3 [json_name = "statuses"];
* @param values The enum numeric values on the wire for statuses to add.
* @return This builder for chaining.
*/
public Builder addAllStatusesValue(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllStatusesValue(values);
return this;
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @return A list containing the types.
*/
@java.lang.Override
public java.util.List getTypesList() {
return instance.getTypesList();
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @return The count of types.
*/
@java.lang.Override
public int getTypesCount() {
return instance.getTypesCount();
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param index The index of the element to return.
* @return The types at the given index.
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionType getTypes(int index) {
return instance.getTypes(index);
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param index The index to set the value at.
* @param value The types to set.
* @return This builder for chaining.
*/
public Builder setTypes(
int index, com.streamlayer.interactive.common.QuestionType value) {
copyOnWrite();
instance.setTypes(index, value);
return this;
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param value The types to add.
* @return This builder for chaining.
*/
public Builder addTypes(com.streamlayer.interactive.common.QuestionType value) {
copyOnWrite();
instance.addTypes(value);
return this;
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param values The types to add.
* @return This builder for chaining.
*/
public Builder addAllTypes(
java.lang.Iterable extends com.streamlayer.interactive.common.QuestionType> values) {
copyOnWrite();
instance.addAllTypes(values); return this;
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @return This builder for chaining.
*/
public Builder clearTypes() {
copyOnWrite();
instance.clearTypes();
return this;
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @return A list containing the enum numeric values on the wire for types.
*/
@java.lang.Override
public java.util.List
getTypesValueList() {
return java.util.Collections.unmodifiableList(
instance.getTypesValueList());
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param index The index of the value to return.
* @return The enum numeric value on the wire of types at the given index.
*/
@java.lang.Override
public int getTypesValue(int index) {
return instance.getTypesValue(index);
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param index The index to set the value at.
* @param value The enum numeric value on the wire for types to set.
* @return This builder for chaining.
*/
public Builder setTypesValue(
int index, int value) {
copyOnWrite();
instance.setTypesValue(index, value);
return this;
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param value The enum numeric value on the wire for types to add.
* @return This builder for chaining.
*/
public Builder addTypesValue(int value) {
copyOnWrite();
instance.addTypesValue(value);
return this;
}
/**
* repeated .streamlayer.interactive.QuestionType types = 4 [json_name = "types"];
* @param values The enum numeric values on the wire for types to add.
* @return This builder for chaining.
*/
public Builder addAllTypesValue(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllTypesValue(values);
return this;
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @return A list containing the ids.
*/
@java.lang.Override
public java.util.List
getIdsList() {
return java.util.Collections.unmodifiableList(
instance.getIdsList());
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @return The count of ids.
*/
@java.lang.Override
public int getIdsCount() {
return instance.getIdsCount();
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param index The index of the element to return.
* @return The ids at the given index.
*/
@java.lang.Override
public java.lang.String getIds(int index) {
return instance.getIds(index);
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param index The index of the value to return.
* @return The bytes of the ids at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdsBytes(int index) {
return instance.getIdsBytes(index);
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param index The index to set the value at.
* @param value The ids to set.
* @return This builder for chaining.
*/
public Builder setIds(
int index, java.lang.String value) {
copyOnWrite();
instance.setIds(index, value);
return this;
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param value The ids to add.
* @return This builder for chaining.
*/
public Builder addIds(
java.lang.String value) {
copyOnWrite();
instance.addIds(value);
return this;
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param values The ids to add.
* @return This builder for chaining.
*/
public Builder addAllIds(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllIds(values);
return this;
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @return This builder for chaining.
*/
public Builder clearIds() {
copyOnWrite();
instance.clearIds();
return this;
}
/**
*
* questions ids
*
*
* repeated string ids = 5 [json_name = "ids"];
* @param value The bytes of the ids to add.
* @return This builder for chaining.
*/
public Builder addIdsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addIdsBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.question.StatsRequest.StatsRequestFilter)
}
@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.interactive.question.StatsRequest.StatsRequestFilter();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"type_",
"status_",
"statuses_",
"types_",
"ids_",
};
java.lang.String info =
"\u0000\u0005\u0000\u0000\u0001\u0005\u0005\u0000\u0003\u0000\u0001\f\u0002\f\u0003" +
",\u0004,\u0005\u021a";
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.interactive.question.StatsRequest.StatsRequestFilter.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.interactive.question.StatsRequest.StatsRequestFilter)
private static final com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter DEFAULT_INSTANCE;
static {
StatsRequestFilter defaultInstance = new StatsRequestFilter();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
StatsRequestFilter.class, defaultInstance);
}
public static com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter 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 MODERATION_ID_FIELD_NUMBER = 1;
private java.lang.String moderationId_;
/**
* string moderation_id = 1 [json_name = "moderationId"];
* @return The moderationId.
*/
@java.lang.Override
public java.lang.String getModerationId() {
return moderationId_;
}
/**
* string moderation_id = 1 [json_name = "moderationId"];
* @return The bytes for moderationId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getModerationIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(moderationId_);
}
/**
* string moderation_id = 1 [json_name = "moderationId"];
* @param value The moderationId to set.
*/
private void setModerationId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
moderationId_ = value;
}
/**
* string moderation_id = 1 [json_name = "moderationId"];
*/
private void clearModerationId() {
moderationId_ = getDefaultInstance().getModerationId();
}
/**
* string moderation_id = 1 [json_name = "moderationId"];
* @param value The bytes for moderationId to set.
*/
private void setModerationIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
moderationId_ = value.toStringUtf8();
}
public static final int FILTER_FIELD_NUMBER = 2;
private com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter filter_;
/**
* .streamlayer.interactive.question.StatsRequest.StatsRequestFilter filter = 2 [json_name = "filter"];
*/
@java.lang.Override
public boolean hasFilter() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.interactive.question.StatsRequest.StatsRequestFilter filter = 2 [json_name = "filter"];
*/
@java.lang.Override
public com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter getFilter() {
return filter_ == null ? com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter.getDefaultInstance() : filter_;
}
/**
* .streamlayer.interactive.question.StatsRequest.StatsRequestFilter filter = 2 [json_name = "filter"];
*/
private void setFilter(com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter value) {
value.getClass();
filter_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.question.StatsRequest.StatsRequestFilter filter = 2 [json_name = "filter"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFilter(com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter value) {
value.getClass();
if (filter_ != null &&
filter_ != com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter.getDefaultInstance()) {
filter_ =
com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter.newBuilder(filter_).mergeFrom(value).buildPartial();
} else {
filter_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.question.StatsRequest.StatsRequestFilter filter = 2 [json_name = "filter"];
*/
private void clearFilter() { filter_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int PAGINATION_FIELD_NUMBER = 3;
private com.streamlayer.interactive.common.Pagination pagination_;
/**
* .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
*/
@java.lang.Override
public boolean hasPagination() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.Pagination getPagination() {
return pagination_ == null ? com.streamlayer.interactive.common.Pagination.getDefaultInstance() : pagination_;
}
/**
* .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
*/
private void setPagination(com.streamlayer.interactive.common.Pagination value) {
value.getClass();
pagination_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergePagination(com.streamlayer.interactive.common.Pagination value) {
value.getClass();
if (pagination_ != null &&
pagination_ != com.streamlayer.interactive.common.Pagination.getDefaultInstance()) {
pagination_ =
com.streamlayer.interactive.common.Pagination.newBuilder(pagination_).mergeFrom(value).buildPartial();
} else {
pagination_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
*/
private void clearPagination() { pagination_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int SORT_FIELD_NUMBER = 4;
private com.streamlayer.interactive.common.Sort sort_;
/**
* .streamlayer.interactive.Sort sort = 4 [json_name = "sort"];
*/
@java.lang.Override
public boolean hasSort() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .streamlayer.interactive.Sort sort = 4 [json_name = "sort"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.Sort getSort() {
return sort_ == null ? com.streamlayer.interactive.common.Sort.getDefaultInstance() : sort_;
}
/**
* .streamlayer.interactive.Sort sort = 4 [json_name = "sort"];
*/
private void setSort(com.streamlayer.interactive.common.Sort value) {
value.getClass();
sort_ = value;
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.interactive.Sort sort = 4 [json_name = "sort"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSort(com.streamlayer.interactive.common.Sort value) {
value.getClass();
if (sort_ != null &&
sort_ != com.streamlayer.interactive.common.Sort.getDefaultInstance()) {
sort_ =
com.streamlayer.interactive.common.Sort.newBuilder(sort_).mergeFrom(value).buildPartial();
} else {
sort_ = value;
}
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.interactive.Sort sort = 4 [json_name = "sort"];
*/
private void clearSort() { sort_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static final int ORGANIZATION_ID_FIELD_NUMBER = 5;
private java.lang.String organizationId_;
/**
* string organization_id = 5 [json_name = "organizationId"];
* @return The organizationId.
*/
@java.lang.Override
public java.lang.String getOrganizationId() {
return organizationId_;
}
/**
* string organization_id = 5 [json_name = "organizationId"];
* @return The bytes for organizationId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrganizationIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(organizationId_);
}
/**
* string organization_id = 5 [json_name = "organizationId"];
* @param value The organizationId to set.
*/
private void setOrganizationId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
organizationId_ = value;
}
/**
* string organization_id = 5 [json_name = "organizationId"];
*/
private void clearOrganizationId() {
organizationId_ = getDefaultInstance().getOrganizationId();
}
/**
* string organization_id = 5 [json_name = "organizationId"];
* @param value The bytes for organizationId to set.
*/
private void setOrganizationIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
organizationId_ = value.toStringUtf8();
}
public static com.streamlayer.interactive.question.StatsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.question.StatsRequest 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.interactive.question.StatsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.question.StatsRequest 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.interactive.question.StatsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.question.StatsRequest 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.interactive.question.StatsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.question.StatsRequest 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.interactive.question.StatsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.question.StatsRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.question.StatsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.question.StatsRequest 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.interactive.question.StatsRequest prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.question.StatsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.question.StatsRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.question.StatsRequest)
com.streamlayer.interactive.question.StatsRequestOrBuilder {
// Construct using com.streamlayer.interactive.question.StatsRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string moderation_id = 1 [json_name = "moderationId"];
* @return The moderationId.
*/
@java.lang.Override
public java.lang.String getModerationId() {
return instance.getModerationId();
}
/**
* string moderation_id = 1 [json_name = "moderationId"];
* @return The bytes for moderationId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getModerationIdBytes() {
return instance.getModerationIdBytes();
}
/**
* string moderation_id = 1 [json_name = "moderationId"];
* @param value The moderationId to set.
* @return This builder for chaining.
*/
public Builder setModerationId(
java.lang.String value) {
copyOnWrite();
instance.setModerationId(value);
return this;
}
/**
* string moderation_id = 1 [json_name = "moderationId"];
* @return This builder for chaining.
*/
public Builder clearModerationId() {
copyOnWrite();
instance.clearModerationId();
return this;
}
/**
* string moderation_id = 1 [json_name = "moderationId"];
* @param value The bytes for moderationId to set.
* @return This builder for chaining.
*/
public Builder setModerationIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setModerationIdBytes(value);
return this;
}
/**
* .streamlayer.interactive.question.StatsRequest.StatsRequestFilter filter = 2 [json_name = "filter"];
*/
@java.lang.Override
public boolean hasFilter() {
return instance.hasFilter();
}
/**
* .streamlayer.interactive.question.StatsRequest.StatsRequestFilter filter = 2 [json_name = "filter"];
*/
@java.lang.Override
public com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter getFilter() {
return instance.getFilter();
}
/**
* .streamlayer.interactive.question.StatsRequest.StatsRequestFilter filter = 2 [json_name = "filter"];
*/
public Builder setFilter(com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter value) {
copyOnWrite();
instance.setFilter(value);
return this;
}
/**
* .streamlayer.interactive.question.StatsRequest.StatsRequestFilter filter = 2 [json_name = "filter"];
*/
public Builder setFilter(
com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter.Builder builderForValue) {
copyOnWrite();
instance.setFilter(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.question.StatsRequest.StatsRequestFilter filter = 2 [json_name = "filter"];
*/
public Builder mergeFilter(com.streamlayer.interactive.question.StatsRequest.StatsRequestFilter value) {
copyOnWrite();
instance.mergeFilter(value);
return this;
}
/**
* .streamlayer.interactive.question.StatsRequest.StatsRequestFilter filter = 2 [json_name = "filter"];
*/
public Builder clearFilter() { copyOnWrite();
instance.clearFilter();
return this;
}
/**
* .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
*/
@java.lang.Override
public boolean hasPagination() {
return instance.hasPagination();
}
/**
* .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.Pagination getPagination() {
return instance.getPagination();
}
/**
* .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
*/
public Builder setPagination(com.streamlayer.interactive.common.Pagination value) {
copyOnWrite();
instance.setPagination(value);
return this;
}
/**
* .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
*/
public Builder setPagination(
com.streamlayer.interactive.common.Pagination.Builder builderForValue) {
copyOnWrite();
instance.setPagination(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
*/
public Builder mergePagination(com.streamlayer.interactive.common.Pagination value) {
copyOnWrite();
instance.mergePagination(value);
return this;
}
/**
* .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
*/
public Builder clearPagination() { copyOnWrite();
instance.clearPagination();
return this;
}
/**
* .streamlayer.interactive.Sort sort = 4 [json_name = "sort"];
*/
@java.lang.Override
public boolean hasSort() {
return instance.hasSort();
}
/**
* .streamlayer.interactive.Sort sort = 4 [json_name = "sort"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.Sort getSort() {
return instance.getSort();
}
/**
* .streamlayer.interactive.Sort sort = 4 [json_name = "sort"];
*/
public Builder setSort(com.streamlayer.interactive.common.Sort value) {
copyOnWrite();
instance.setSort(value);
return this;
}
/**
* .streamlayer.interactive.Sort sort = 4 [json_name = "sort"];
*/
public Builder setSort(
com.streamlayer.interactive.common.Sort.Builder builderForValue) {
copyOnWrite();
instance.setSort(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.Sort sort = 4 [json_name = "sort"];
*/
public Builder mergeSort(com.streamlayer.interactive.common.Sort value) {
copyOnWrite();
instance.mergeSort(value);
return this;
}
/**
* .streamlayer.interactive.Sort sort = 4 [json_name = "sort"];
*/
public Builder clearSort() { copyOnWrite();
instance.clearSort();
return this;
}
/**
* string organization_id = 5 [json_name = "organizationId"];
* @return The organizationId.
*/
@java.lang.Override
public java.lang.String getOrganizationId() {
return instance.getOrganizationId();
}
/**
* string organization_id = 5 [json_name = "organizationId"];
* @return The bytes for organizationId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrganizationIdBytes() {
return instance.getOrganizationIdBytes();
}
/**
* string organization_id = 5 [json_name = "organizationId"];
* @param value The organizationId to set.
* @return This builder for chaining.
*/
public Builder setOrganizationId(
java.lang.String value) {
copyOnWrite();
instance.setOrganizationId(value);
return this;
}
/**
* string organization_id = 5 [json_name = "organizationId"];
* @return This builder for chaining.
*/
public Builder clearOrganizationId() {
copyOnWrite();
instance.clearOrganizationId();
return this;
}
/**
* string organization_id = 5 [json_name = "organizationId"];
* @param value The bytes for organizationId to set.
* @return This builder for chaining.
*/
public Builder setOrganizationIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrganizationIdBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.question.StatsRequest)
}
@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.interactive.question.StatsRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"moderationId_",
"filter_",
"pagination_",
"sort_",
"organizationId_",
};
java.lang.String info =
"\u0000\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u0208\u0002\u1009" +
"\u0000\u0003\u1009\u0001\u0004\u1009\u0002\u0005\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.interactive.question.StatsRequest.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.interactive.question.StatsRequest)
private static final com.streamlayer.interactive.question.StatsRequest DEFAULT_INSTANCE;
static {
StatsRequest defaultInstance = new StatsRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
StatsRequest.class, defaultInstance);
}
public static com.streamlayer.interactive.question.StatsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}