main.java.com.streamlayer.interactive.common.QuestionAutoPostStartOptions 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/interactive.common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.interactive.common;
/**
* Protobuf type {@code streamlayer.interactive.QuestionAutoPostStartOptions}
*/
public final class QuestionAutoPostStartOptions extends
com.google.protobuf.GeneratedMessageLite<
QuestionAutoPostStartOptions, QuestionAutoPostStartOptions.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.QuestionAutoPostStartOptions)
QuestionAutoPostStartOptionsOrBuilder {
private QuestionAutoPostStartOptions() {
}
public interface ScheduleOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* unixtime millis
*
*
* uint64 timestamp = 1 [json_name = "timestamp"];
* @return The timestamp.
*/
long getTimestamp();
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions}
*/
public static final class ScheduleOptions extends
com.google.protobuf.GeneratedMessageLite<
ScheduleOptions, ScheduleOptions.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions)
ScheduleOptionsOrBuilder {
private ScheduleOptions() {
}
public static final int TIMESTAMP_FIELD_NUMBER = 1;
private long timestamp_;
/**
*
* unixtime millis
*
*
* uint64 timestamp = 1 [json_name = "timestamp"];
* @return The timestamp.
*/
@java.lang.Override
public long getTimestamp() {
return timestamp_;
}
/**
*
* unixtime millis
*
*
* uint64 timestamp = 1 [json_name = "timestamp"];
* @param value The timestamp to set.
*/
private void setTimestamp(long value) {
timestamp_ = value;
}
/**
*
* unixtime millis
*
*
* uint64 timestamp = 1 [json_name = "timestamp"];
*/
private void clearTimestamp() {
timestamp_ = 0L;
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions 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.common.QuestionAutoPostStartOptions.ScheduleOptions 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.common.QuestionAutoPostStartOptions.ScheduleOptions 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.common.QuestionAutoPostStartOptions.ScheduleOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions 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.common.QuestionAutoPostStartOptions.ScheduleOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions 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.common.QuestionAutoPostStartOptions.ScheduleOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions 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.common.QuestionAutoPostStartOptions.ScheduleOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions 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.common.QuestionAutoPostStartOptions.ScheduleOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions)
com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptionsOrBuilder {
// Construct using com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* unixtime millis
*
*
* uint64 timestamp = 1 [json_name = "timestamp"];
* @return The timestamp.
*/
@java.lang.Override
public long getTimestamp() {
return instance.getTimestamp();
}
/**
*
* unixtime millis
*
*
* uint64 timestamp = 1 [json_name = "timestamp"];
* @param value The timestamp to set.
* @return This builder for chaining.
*/
public Builder setTimestamp(long value) {
copyOnWrite();
instance.setTimestamp(value);
return this;
}
/**
*
* unixtime millis
*
*
* uint64 timestamp = 1 [json_name = "timestamp"];
* @return This builder for chaining.
*/
public Builder clearTimestamp() {
copyOnWrite();
instance.clearTimestamp();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions)
}
@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.common.QuestionAutoPostStartOptions.ScheduleOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"timestamp_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\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.common.QuestionAutoPostStartOptions.ScheduleOptions.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.QuestionAutoPostStartOptions.ScheduleOptions)
private static final com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions DEFAULT_INSTANCE;
static {
ScheduleOptions defaultInstance = new ScheduleOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ScheduleOptions.class, defaultInstance);
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions 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 optionsCase_ = 0;
private java.lang.Object options_;
public enum OptionsCase {
SCHEDULE(1),
OPTIONS_NOT_SET(0);
private final int value;
private OptionsCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static OptionsCase valueOf(int value) {
return forNumber(value);
}
public static OptionsCase forNumber(int value) {
switch (value) {
case 1: return SCHEDULE;
case 0: return OPTIONS_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public OptionsCase
getOptionsCase() {
return OptionsCase.forNumber(
optionsCase_);
}
private void clearOptions() {
optionsCase_ = 0;
options_ = null;
}
public static final int SCHEDULE_FIELD_NUMBER = 1;
/**
* .streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions schedule = 1 [json_name = "schedule"];
*/
@java.lang.Override
public boolean hasSchedule() {
return optionsCase_ == 1;
}
/**
* .streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions schedule = 1 [json_name = "schedule"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions getSchedule() {
if (optionsCase_ == 1) {
return (com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions) options_;
}
return com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions.getDefaultInstance();
}
/**
* .streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions schedule = 1 [json_name = "schedule"];
*/
private void setSchedule(com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions value) {
value.getClass();
options_ = value;
optionsCase_ = 1;
}
/**
* .streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions schedule = 1 [json_name = "schedule"];
*/
private void mergeSchedule(com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions value) {
value.getClass();
if (optionsCase_ == 1 &&
options_ != com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions.getDefaultInstance()) {
options_ = com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions.newBuilder((com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions) options_)
.mergeFrom(value).buildPartial();
} else {
options_ = value;
}
optionsCase_ = 1;
}
/**
* .streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions schedule = 1 [json_name = "schedule"];
*/
private void clearSchedule() {
if (optionsCase_ == 1) {
optionsCase_ = 0;
options_ = null;
}
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions 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.common.QuestionAutoPostStartOptions 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.common.QuestionAutoPostStartOptions 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.common.QuestionAutoPostStartOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions 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.common.QuestionAutoPostStartOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions 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.common.QuestionAutoPostStartOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions 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.common.QuestionAutoPostStartOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions 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.common.QuestionAutoPostStartOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionAutoPostStartOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.common.QuestionAutoPostStartOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.QuestionAutoPostStartOptions)
com.streamlayer.interactive.common.QuestionAutoPostStartOptionsOrBuilder {
// Construct using com.streamlayer.interactive.common.QuestionAutoPostStartOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public OptionsCase
getOptionsCase() {
return instance.getOptionsCase();
}
public Builder clearOptions() {
copyOnWrite();
instance.clearOptions();
return this;
}
/**
* .streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions schedule = 1 [json_name = "schedule"];
*/
@java.lang.Override
public boolean hasSchedule() {
return instance.hasSchedule();
}
/**
* .streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions schedule = 1 [json_name = "schedule"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions getSchedule() {
return instance.getSchedule();
}
/**
* .streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions schedule = 1 [json_name = "schedule"];
*/
public Builder setSchedule(com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions value) {
copyOnWrite();
instance.setSchedule(value);
return this;
}
/**
* .streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions schedule = 1 [json_name = "schedule"];
*/
public Builder setSchedule(
com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions.Builder builderForValue) {
copyOnWrite();
instance.setSchedule(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions schedule = 1 [json_name = "schedule"];
*/
public Builder mergeSchedule(com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions value) {
copyOnWrite();
instance.mergeSchedule(value);
return this;
}
/**
* .streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions schedule = 1 [json_name = "schedule"];
*/
public Builder clearSchedule() {
copyOnWrite();
instance.clearSchedule();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.QuestionAutoPostStartOptions)
}
@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.common.QuestionAutoPostStartOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"options_",
"optionsCase_",
com.streamlayer.interactive.common.QuestionAutoPostStartOptions.ScheduleOptions.class,
};
java.lang.String info =
"\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.interactive.common.QuestionAutoPostStartOptions.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.QuestionAutoPostStartOptions)
private static final com.streamlayer.interactive.common.QuestionAutoPostStartOptions DEFAULT_INSTANCE;
static {
QuestionAutoPostStartOptions defaultInstance = new QuestionAutoPostStartOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
QuestionAutoPostStartOptions.class, defaultInstance);
}
public static com.streamlayer.interactive.common.QuestionAutoPostStartOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}