main.java.com.streamlayer.interactive.question.ListRequest 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.ListRequest}
*/
public final class ListRequest extends
com.google.protobuf.GeneratedMessageLite<
ListRequest, ListRequest.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.question.ListRequest)
ListRequestOrBuilder {
private ListRequest() {
moderationId_ = "";
organizationId_ = "";
eventId_ = "";
}
public interface ListRequestFilterOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.question.ListRequest.ListRequestFilter)
com.google.protobuf.MessageLiteOrBuilder {
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=82
* @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.ListRequest.ListRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=82
* @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.ListRequest.ListRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=83
* @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.ListRequest.ListRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=83
* @return The status.
*/
@java.lang.Deprecated com.streamlayer.interactive.common.QuestionStatus getStatus();
/**
* string id = 3 [json_name = "id", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=84
* @return The id.
*/
@java.lang.Deprecated java.lang.String getId();
/**
* string id = 3 [json_name = "id", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=84
* @return The bytes for id.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getIdBytes();
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 4 [json_name = "statuses"];
* @return A list containing the statuses.
*/
java.util.List getStatusesList();
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 4 [json_name = "statuses"];
* @return The count of statuses.
*/
int getStatusesCount();
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 4 [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 = 4 [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 = 4 [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 = 5 [json_name = "types"];
* @return A list containing the types.
*/
java.util.List getTypesList();
/**
* repeated .streamlayer.interactive.QuestionType types = 5 [json_name = "types"];
* @return The count of types.
*/
int getTypesCount();
/**
* repeated .streamlayer.interactive.QuestionType types = 5 [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 = 5 [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 = 5 [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);
/**
*
* question ids
*
*
* repeated string ids = 6 [json_name = "ids"];
* @return A list containing the ids.
*/
java.util.List
getIdsList();
/**
*
* question ids
*
*
* repeated string ids = 6 [json_name = "ids"];
* @return The count of ids.
*/
int getIdsCount();
/**
*
* question ids
*
*
* repeated string ids = 6 [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);
/**
*
* question ids
*
*
* repeated string ids = 6 [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);
/**
*
* show_deleted: if supplied the method returns only recently deleted items,
* to get all deleted items either skip "statuses" and "types" or pass empty arrays
*
*
* bool show_deleted = 7 [json_name = "showDeleted"];
* @return The showDeleted.
*/
boolean getShowDeleted();
/**
* string tag_match = 8 [json_name = "tagMatch"];
* @return The tagMatch.
*/
java.lang.String getTagMatch();
/**
* string tag_match = 8 [json_name = "tagMatch"];
* @return The bytes for tagMatch.
*/
com.google.protobuf.ByteString
getTagMatchBytes();
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @return A list containing the tagIds.
*/
java.util.List
getTagIdsList();
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @return The count of tagIds.
*/
int getTagIdsCount();
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param index The index of the element to return.
* @return The tagIds at the given index.
*/
java.lang.String getTagIds(int index);
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param index The index of the element to return.
* @return The tagIds at the given index.
*/
com.google.protobuf.ByteString
getTagIdsBytes(int index);
}
/**
* Protobuf type {@code streamlayer.interactive.question.ListRequest.ListRequestFilter}
*/
public static final class ListRequestFilter extends
com.google.protobuf.GeneratedMessageLite<
ListRequestFilter, ListRequestFilter.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.question.ListRequest.ListRequestFilter)
ListRequestFilterOrBuilder {
private ListRequestFilter() {
id_ = "";
statuses_ = emptyIntList();
types_ = emptyIntList();
ids_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
tagMatch_ = "";
tagIds_ = 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.ListRequest.ListRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=82
* @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.ListRequest.ListRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=82
* @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.ListRequest.ListRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=82
* @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.ListRequest.ListRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=82
* @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.ListRequest.ListRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=82
*/
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.ListRequest.ListRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=83
* @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.ListRequest.ListRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=83
* @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.ListRequest.ListRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=83
* @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.ListRequest.ListRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=83
* @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.ListRequest.ListRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=83
*/
private void clearStatus() {
status_ = 0;
}
public static final int ID_FIELD_NUMBER = 3;
private java.lang.String id_;
/**
* string id = 3 [json_name = "id", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=84
* @return The id.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getId() {
return id_;
}
/**
* string id = 3 [json_name = "id", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=84
* @return The bytes for id.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* string id = 3 [json_name = "id", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=84
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
id_ = value;
}
/**
* string id = 3 [json_name = "id", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=84
*/
private void clearId() {
id_ = getDefaultInstance().getId();
}
/**
* string id = 3 [json_name = "id", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=84
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
id_ = value.toStringUtf8();
}
public static final int STATUSES_FIELD_NUMBER = 4;
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 = 4 [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 = 4 [json_name = "statuses"];
* @return The count of statuses.
*/
@java.lang.Override
public int getStatusesCount() {
return statuses_.size();
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 4 [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 = 4 [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 = 4 [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 = 4 [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 = 4 [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 = 4 [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 = 4 [json_name = "statuses"];
*/
private void clearStatuses() {
statuses_ = emptyIntList();
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 4 [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 = 4 [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 = 4 [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 = 5;
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 = 5 [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 = 5 [json_name = "types"];
* @return The count of types.
*/
@java.lang.Override
public int getTypesCount() {
return types_.size();
}
/**
* repeated .streamlayer.interactive.QuestionType types = 5 [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 = 5 [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 = 5 [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 = 5 [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 = 5 [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 = 5 [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 = 5 [json_name = "types"];
*/
private void clearTypes() {
types_ = emptyIntList();
}
/**
* repeated .streamlayer.interactive.QuestionType types = 5 [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 = 5 [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 = 5 [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 = 6;
private com.google.protobuf.Internal.ProtobufList ids_;
/**
*
* question ids
*
*
* repeated string ids = 6 [json_name = "ids"];
* @return A list containing the ids.
*/
@java.lang.Override
public java.util.List getIdsList() {
return ids_;
}
/**
*
* question ids
*
*
* repeated string ids = 6 [json_name = "ids"];
* @return The count of ids.
*/
@java.lang.Override
public int getIdsCount() {
return ids_.size();
}
/**
*
* question ids
*
*
* repeated string ids = 6 [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);
}
/**
*
* question ids
*
*
* repeated string ids = 6 [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);
}
}
/**
*
* question ids
*
*
* repeated string ids = 6 [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);
}
/**
*
* question ids
*
*
* repeated string ids = 6 [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);
}
/**
*
* question ids
*
*
* repeated string ids = 6 [json_name = "ids"];
* @param values The ids to add.
*/
private void addAllIds(
java.lang.Iterable values) {
ensureIdsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, ids_);
}
/**
*
* question ids
*
*
* repeated string ids = 6 [json_name = "ids"];
*/
private void clearIds() {
ids_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
*
* question ids
*
*
* repeated string ids = 6 [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 final int SHOW_DELETED_FIELD_NUMBER = 7;
private boolean showDeleted_;
/**
*
* show_deleted: if supplied the method returns only recently deleted items,
* to get all deleted items either skip "statuses" and "types" or pass empty arrays
*
*
* bool show_deleted = 7 [json_name = "showDeleted"];
* @return The showDeleted.
*/
@java.lang.Override
public boolean getShowDeleted() {
return showDeleted_;
}
/**
*
* show_deleted: if supplied the method returns only recently deleted items,
* to get all deleted items either skip "statuses" and "types" or pass empty arrays
*
*
* bool show_deleted = 7 [json_name = "showDeleted"];
* @param value The showDeleted to set.
*/
private void setShowDeleted(boolean value) {
showDeleted_ = value;
}
/**
*
* show_deleted: if supplied the method returns only recently deleted items,
* to get all deleted items either skip "statuses" and "types" or pass empty arrays
*
*
* bool show_deleted = 7 [json_name = "showDeleted"];
*/
private void clearShowDeleted() {
showDeleted_ = false;
}
public static final int TAG_MATCH_FIELD_NUMBER = 8;
private java.lang.String tagMatch_;
/**
* string tag_match = 8 [json_name = "tagMatch"];
* @return The tagMatch.
*/
@java.lang.Override
public java.lang.String getTagMatch() {
return tagMatch_;
}
/**
* string tag_match = 8 [json_name = "tagMatch"];
* @return The bytes for tagMatch.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTagMatchBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(tagMatch_);
}
/**
* string tag_match = 8 [json_name = "tagMatch"];
* @param value The tagMatch to set.
*/
private void setTagMatch(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
tagMatch_ = value;
}
/**
* string tag_match = 8 [json_name = "tagMatch"];
*/
private void clearTagMatch() {
tagMatch_ = getDefaultInstance().getTagMatch();
}
/**
* string tag_match = 8 [json_name = "tagMatch"];
* @param value The bytes for tagMatch to set.
*/
private void setTagMatchBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
tagMatch_ = value.toStringUtf8();
}
public static final int TAG_IDS_FIELD_NUMBER = 9;
private com.google.protobuf.Internal.ProtobufList tagIds_;
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @return A list containing the tagIds.
*/
@java.lang.Override
public java.util.List getTagIdsList() {
return tagIds_;
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @return The count of tagIds.
*/
@java.lang.Override
public int getTagIdsCount() {
return tagIds_.size();
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param index The index of the element to return.
* @return The tagIds at the given index.
*/
@java.lang.Override
public java.lang.String getTagIds(int index) {
return tagIds_.get(index);
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param index The index of the value to return.
* @return The bytes of the tagIds at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTagIdsBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
tagIds_.get(index));
}
private void ensureTagIdsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
tagIds_; if (!tmp.isModifiable()) {
tagIds_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param index The index to set the value at.
* @param value The tagIds to set.
*/
private void setTagIds(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureTagIdsIsMutable();
tagIds_.set(index, value);
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param value The tagIds to add.
*/
private void addTagIds(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureTagIdsIsMutable();
tagIds_.add(value);
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param values The tagIds to add.
*/
private void addAllTagIds(
java.lang.Iterable values) {
ensureTagIdsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, tagIds_);
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
*/
private void clearTagIds() {
tagIds_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param value The bytes of the tagIds to add.
*/
private void addTagIdsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureTagIdsIsMutable();
tagIds_.add(value.toStringUtf8());
}
public static com.streamlayer.interactive.question.ListRequest.ListRequestFilter 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.ListRequest.ListRequestFilter 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.ListRequest.ListRequestFilter 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.ListRequest.ListRequestFilter 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.ListRequest.ListRequestFilter parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.question.ListRequest.ListRequestFilter 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.ListRequest.ListRequestFilter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.question.ListRequest.ListRequestFilter 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.ListRequest.ListRequestFilter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.question.ListRequest.ListRequestFilter 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.ListRequest.ListRequestFilter 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.ListRequest.ListRequestFilter 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.ListRequest.ListRequestFilter prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.question.ListRequest.ListRequestFilter}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.question.ListRequest.ListRequestFilter, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.question.ListRequest.ListRequestFilter)
com.streamlayer.interactive.question.ListRequest.ListRequestFilterOrBuilder {
// Construct using com.streamlayer.interactive.question.ListRequest.ListRequestFilter.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.interactive.QuestionType type = 1 [json_name = "type", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=82
* @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.ListRequest.ListRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=82
* @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.ListRequest.ListRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=82
* @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.ListRequest.ListRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=82
* @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.ListRequest.ListRequestFilter.type is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=82
* @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.ListRequest.ListRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=83
* @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.ListRequest.ListRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=83
* @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.ListRequest.ListRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=83
* @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.ListRequest.ListRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=83
* @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.ListRequest.ListRequestFilter.status is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=83
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearStatus() {
copyOnWrite();
instance.clearStatus();
return this;
}
/**
* string id = 3 [json_name = "id", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=84
* @return The id.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getId() {
return instance.getId();
}
/**
* string id = 3 [json_name = "id", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=84
* @return The bytes for id.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* string id = 3 [json_name = "id", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=84
* @param value The id to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* string id = 3 [json_name = "id", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=84
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* string id = 3 [json_name = "id", deprecated = true];
* @deprecated streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.
* See streamlayer/interactive/question/interactive.questions.proto;l=84
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 4 [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 = 4 [json_name = "statuses"];
* @return The count of statuses.
*/
@java.lang.Override
public int getStatusesCount() {
return instance.getStatusesCount();
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 4 [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 = 4 [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 = 4 [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 = 4 [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 = 4 [json_name = "statuses"];
* @return This builder for chaining.
*/
public Builder clearStatuses() {
copyOnWrite();
instance.clearStatuses();
return this;
}
/**
* repeated .streamlayer.interactive.QuestionStatus statuses = 4 [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 = 4 [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 = 4 [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 = 4 [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 = 4 [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 = 5 [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 = 5 [json_name = "types"];
* @return The count of types.
*/
@java.lang.Override
public int getTypesCount() {
return instance.getTypesCount();
}
/**
* repeated .streamlayer.interactive.QuestionType types = 5 [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 = 5 [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 = 5 [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 = 5 [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 = 5 [json_name = "types"];
* @return This builder for chaining.
*/
public Builder clearTypes() {
copyOnWrite();
instance.clearTypes();
return this;
}
/**
* repeated .streamlayer.interactive.QuestionType types = 5 [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 = 5 [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 = 5 [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 = 5 [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 = 5 [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;
}
/**
*
* question ids
*
*
* repeated string ids = 6 [json_name = "ids"];
* @return A list containing the ids.
*/
@java.lang.Override
public java.util.List
getIdsList() {
return java.util.Collections.unmodifiableList(
instance.getIdsList());
}
/**
*
* question ids
*
*
* repeated string ids = 6 [json_name = "ids"];
* @return The count of ids.
*/
@java.lang.Override
public int getIdsCount() {
return instance.getIdsCount();
}
/**
*
* question ids
*
*
* repeated string ids = 6 [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);
}
/**
*
* question ids
*
*
* repeated string ids = 6 [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);
}
/**
*
* question ids
*
*
* repeated string ids = 6 [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;
}
/**
*
* question ids
*
*
* repeated string ids = 6 [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;
}
/**
*
* question ids
*
*
* repeated string ids = 6 [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;
}
/**
*
* question ids
*
*
* repeated string ids = 6 [json_name = "ids"];
* @return This builder for chaining.
*/
public Builder clearIds() {
copyOnWrite();
instance.clearIds();
return this;
}
/**
*
* question ids
*
*
* repeated string ids = 6 [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;
}
/**
*
* show_deleted: if supplied the method returns only recently deleted items,
* to get all deleted items either skip "statuses" and "types" or pass empty arrays
*
*
* bool show_deleted = 7 [json_name = "showDeleted"];
* @return The showDeleted.
*/
@java.lang.Override
public boolean getShowDeleted() {
return instance.getShowDeleted();
}
/**
*
* show_deleted: if supplied the method returns only recently deleted items,
* to get all deleted items either skip "statuses" and "types" or pass empty arrays
*
*
* bool show_deleted = 7 [json_name = "showDeleted"];
* @param value The showDeleted to set.
* @return This builder for chaining.
*/
public Builder setShowDeleted(boolean value) {
copyOnWrite();
instance.setShowDeleted(value);
return this;
}
/**
*
* show_deleted: if supplied the method returns only recently deleted items,
* to get all deleted items either skip "statuses" and "types" or pass empty arrays
*
*
* bool show_deleted = 7 [json_name = "showDeleted"];
* @return This builder for chaining.
*/
public Builder clearShowDeleted() {
copyOnWrite();
instance.clearShowDeleted();
return this;
}
/**
* string tag_match = 8 [json_name = "tagMatch"];
* @return The tagMatch.
*/
@java.lang.Override
public java.lang.String getTagMatch() {
return instance.getTagMatch();
}
/**
* string tag_match = 8 [json_name = "tagMatch"];
* @return The bytes for tagMatch.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTagMatchBytes() {
return instance.getTagMatchBytes();
}
/**
* string tag_match = 8 [json_name = "tagMatch"];
* @param value The tagMatch to set.
* @return This builder for chaining.
*/
public Builder setTagMatch(
java.lang.String value) {
copyOnWrite();
instance.setTagMatch(value);
return this;
}
/**
* string tag_match = 8 [json_name = "tagMatch"];
* @return This builder for chaining.
*/
public Builder clearTagMatch() {
copyOnWrite();
instance.clearTagMatch();
return this;
}
/**
* string tag_match = 8 [json_name = "tagMatch"];
* @param value The bytes for tagMatch to set.
* @return This builder for chaining.
*/
public Builder setTagMatchBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTagMatchBytes(value);
return this;
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @return A list containing the tagIds.
*/
@java.lang.Override
public java.util.List
getTagIdsList() {
return java.util.Collections.unmodifiableList(
instance.getTagIdsList());
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @return The count of tagIds.
*/
@java.lang.Override
public int getTagIdsCount() {
return instance.getTagIdsCount();
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param index The index of the element to return.
* @return The tagIds at the given index.
*/
@java.lang.Override
public java.lang.String getTagIds(int index) {
return instance.getTagIds(index);
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param index The index of the value to return.
* @return The bytes of the tagIds at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTagIdsBytes(int index) {
return instance.getTagIdsBytes(index);
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param index The index to set the value at.
* @param value The tagIds to set.
* @return This builder for chaining.
*/
public Builder setTagIds(
int index, java.lang.String value) {
copyOnWrite();
instance.setTagIds(index, value);
return this;
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param value The tagIds to add.
* @return This builder for chaining.
*/
public Builder addTagIds(
java.lang.String value) {
copyOnWrite();
instance.addTagIds(value);
return this;
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param values The tagIds to add.
* @return This builder for chaining.
*/
public Builder addAllTagIds(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllTagIds(values);
return this;
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @return This builder for chaining.
*/
public Builder clearTagIds() {
copyOnWrite();
instance.clearTagIds();
return this;
}
/**
* repeated string tag_ids = 9 [json_name = "tagIds"];
* @param value The bytes of the tagIds to add.
* @return This builder for chaining.
*/
public Builder addTagIdsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addTagIdsBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.question.ListRequest.ListRequestFilter)
}
@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.ListRequest.ListRequestFilter();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"type_",
"status_",
"id_",
"statuses_",
"types_",
"ids_",
"showDeleted_",
"tagMatch_",
"tagIds_",
};
java.lang.String info =
"\u0000\t\u0000\u0000\u0001\t\t\u0000\u0004\u0000\u0001\f\u0002\f\u0003\u0208\u0004" +
",\u0005,\u0006\u021a\u0007\u0007\b\u0208\t\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.ListRequest.ListRequestFilter.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.ListRequest.ListRequestFilter)
private static final com.streamlayer.interactive.question.ListRequest.ListRequestFilter DEFAULT_INSTANCE;
static {
ListRequestFilter defaultInstance = new ListRequestFilter();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ListRequestFilter.class, defaultInstance);
}
public static com.streamlayer.interactive.question.ListRequest.ListRequestFilter 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.ListRequest.ListRequestFilter filter_;
/**
* .streamlayer.interactive.question.ListRequest.ListRequestFilter filter = 2 [json_name = "filter"];
*/
@java.lang.Override
public boolean hasFilter() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.interactive.question.ListRequest.ListRequestFilter filter = 2 [json_name = "filter"];
*/
@java.lang.Override
public com.streamlayer.interactive.question.ListRequest.ListRequestFilter getFilter() {
return filter_ == null ? com.streamlayer.interactive.question.ListRequest.ListRequestFilter.getDefaultInstance() : filter_;
}
/**
* .streamlayer.interactive.question.ListRequest.ListRequestFilter filter = 2 [json_name = "filter"];
*/
private void setFilter(com.streamlayer.interactive.question.ListRequest.ListRequestFilter value) {
value.getClass();
filter_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.question.ListRequest.ListRequestFilter filter = 2 [json_name = "filter"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFilter(com.streamlayer.interactive.question.ListRequest.ListRequestFilter value) {
value.getClass();
if (filter_ != null &&
filter_ != com.streamlayer.interactive.question.ListRequest.ListRequestFilter.getDefaultInstance()) {
filter_ =
com.streamlayer.interactive.question.ListRequest.ListRequestFilter.newBuilder(filter_).mergeFrom(value).buildPartial();
} else {
filter_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.question.ListRequest.ListRequestFilter 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 final int EVENT_ID_FIELD_NUMBER = 6;
private java.lang.String eventId_;
/**
* optional string event_id = 6 [json_name = "eventId"];
* @return Whether the eventId field is set.
*/
@java.lang.Override
public boolean hasEventId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string event_id = 6 [json_name = "eventId"];
* @return The eventId.
*/
@java.lang.Override
public java.lang.String getEventId() {
return eventId_;
}
/**
* optional string event_id = 6 [json_name = "eventId"];
* @return The bytes for eventId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEventIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(eventId_);
}
/**
* optional string event_id = 6 [json_name = "eventId"];
* @param value The eventId to set.
*/
private void setEventId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000008;
eventId_ = value;
}
/**
* optional string event_id = 6 [json_name = "eventId"];
*/
private void clearEventId() {
bitField0_ = (bitField0_ & ~0x00000008);
eventId_ = getDefaultInstance().getEventId();
}
/**
* optional string event_id = 6 [json_name = "eventId"];
* @param value The bytes for eventId to set.
*/
private void setEventIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
eventId_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static com.streamlayer.interactive.question.ListRequest 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.ListRequest 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.ListRequest 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.ListRequest 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.ListRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.question.ListRequest 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.ListRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.question.ListRequest 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.ListRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.question.ListRequest 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.ListRequest 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.ListRequest 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.ListRequest prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.question.ListRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.question.ListRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.question.ListRequest)
com.streamlayer.interactive.question.ListRequestOrBuilder {
// Construct using com.streamlayer.interactive.question.ListRequest.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.ListRequest.ListRequestFilter filter = 2 [json_name = "filter"];
*/
@java.lang.Override
public boolean hasFilter() {
return instance.hasFilter();
}
/**
* .streamlayer.interactive.question.ListRequest.ListRequestFilter filter = 2 [json_name = "filter"];
*/
@java.lang.Override
public com.streamlayer.interactive.question.ListRequest.ListRequestFilter getFilter() {
return instance.getFilter();
}
/**
* .streamlayer.interactive.question.ListRequest.ListRequestFilter filter = 2 [json_name = "filter"];
*/
public Builder setFilter(com.streamlayer.interactive.question.ListRequest.ListRequestFilter value) {
copyOnWrite();
instance.setFilter(value);
return this;
}
/**
* .streamlayer.interactive.question.ListRequest.ListRequestFilter filter = 2 [json_name = "filter"];
*/
public Builder setFilter(
com.streamlayer.interactive.question.ListRequest.ListRequestFilter.Builder builderForValue) {
copyOnWrite();
instance.setFilter(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.question.ListRequest.ListRequestFilter filter = 2 [json_name = "filter"];
*/
public Builder mergeFilter(com.streamlayer.interactive.question.ListRequest.ListRequestFilter value) {
copyOnWrite();
instance.mergeFilter(value);
return this;
}
/**
* .streamlayer.interactive.question.ListRequest.ListRequestFilter 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;
}
/**
* optional string event_id = 6 [json_name = "eventId"];
* @return Whether the eventId field is set.
*/
@java.lang.Override
public boolean hasEventId() {
return instance.hasEventId();
}
/**
* optional string event_id = 6 [json_name = "eventId"];
* @return The eventId.
*/
@java.lang.Override
public java.lang.String getEventId() {
return instance.getEventId();
}
/**
* optional string event_id = 6 [json_name = "eventId"];
* @return The bytes for eventId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEventIdBytes() {
return instance.getEventIdBytes();
}
/**
* optional string event_id = 6 [json_name = "eventId"];
* @param value The eventId to set.
* @return This builder for chaining.
*/
public Builder setEventId(
java.lang.String value) {
copyOnWrite();
instance.setEventId(value);
return this;
}
/**
* optional string event_id = 6 [json_name = "eventId"];
* @return This builder for chaining.
*/
public Builder clearEventId() {
copyOnWrite();
instance.clearEventId();
return this;
}
/**
* optional string event_id = 6 [json_name = "eventId"];
* @param value The bytes for eventId to set.
* @return This builder for chaining.
*/
public Builder setEventIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setEventIdBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.question.ListRequest)
}
@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.ListRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"moderationId_",
"filter_",
"pagination_",
"sort_",
"organizationId_",
"eventId_",
};
java.lang.String info =
"\u0000\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u0208\u0002\u1009" +
"\u0000\u0003\u1009\u0001\u0004\u1009\u0002\u0005\u0208\u0006\u1208\u0003";
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.ListRequest.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.ListRequest)
private static final com.streamlayer.interactive.question.ListRequest DEFAULT_INSTANCE;
static {
ListRequest defaultInstance = new ListRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ListRequest.class, defaultInstance);
}
public static com.streamlayer.interactive.question.ListRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}