java.io.deephaven.proto.backplane.grpc.TimeTableRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-proto-backplane-grpc Show documentation
Show all versions of deephaven-proto-backplane-grpc Show documentation
The Deephaven proto-backplane-grpc
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: deephaven/proto/table.proto
// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.grpc;
/**
* Protobuf type {@code io.deephaven.proto.backplane.grpc.TimeTableRequest}
*/
public final class TimeTableRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.TimeTableRequest)
TimeTableRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use TimeTableRequest.newBuilder() to construct.
private TimeTableRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TimeTableRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TimeTableRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_TimeTableRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_TimeTableRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.TimeTableRequest.class, io.deephaven.proto.backplane.grpc.TimeTableRequest.Builder.class);
}
private int bitField0_;
private int startTimeCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object startTime_;
public enum StartTimeCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
START_TIME_NANOS(2),
START_TIME_STRING(5),
STARTTIME_NOT_SET(0);
private final int value;
private StartTimeCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static StartTimeCase valueOf(int value) {
return forNumber(value);
}
public static StartTimeCase forNumber(int value) {
switch (value) {
case 2: return START_TIME_NANOS;
case 5: return START_TIME_STRING;
case 0: return STARTTIME_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public StartTimeCase
getStartTimeCase() {
return StartTimeCase.forNumber(
startTimeCase_);
}
private int periodCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object period_;
public enum PeriodCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
PERIOD_NANOS(3),
PERIOD_STRING(6),
PERIOD_NOT_SET(0);
private final int value;
private PeriodCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PeriodCase valueOf(int value) {
return forNumber(value);
}
public static PeriodCase forNumber(int value) {
switch (value) {
case 3: return PERIOD_NANOS;
case 6: return PERIOD_STRING;
case 0: return PERIOD_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public PeriodCase
getPeriodCase() {
return PeriodCase.forNumber(
periodCase_);
}
public static final int RESULT_ID_FIELD_NUMBER = 1;
private io.deephaven.proto.backplane.grpc.Ticket resultId_;
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
* @return Whether the resultId field is set.
*/
@java.lang.Override
public boolean hasResultId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
* @return The resultId.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getResultId() {
return resultId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultId_;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getResultIdOrBuilder() {
return resultId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultId_;
}
public static final int START_TIME_NANOS_FIELD_NUMBER = 2;
/**
* sint64 start_time_nanos = 2 [jstype = JS_STRING];
* @return Whether the startTimeNanos field is set.
*/
@java.lang.Override
public boolean hasStartTimeNanos() {
return startTimeCase_ == 2;
}
/**
* sint64 start_time_nanos = 2 [jstype = JS_STRING];
* @return The startTimeNanos.
*/
@java.lang.Override
public long getStartTimeNanos() {
if (startTimeCase_ == 2) {
return (java.lang.Long) startTime_;
}
return 0L;
}
public static final int START_TIME_STRING_FIELD_NUMBER = 5;
/**
* string start_time_string = 5;
* @return Whether the startTimeString field is set.
*/
public boolean hasStartTimeString() {
return startTimeCase_ == 5;
}
/**
* string start_time_string = 5;
* @return The startTimeString.
*/
public java.lang.String getStartTimeString() {
java.lang.Object ref = "";
if (startTimeCase_ == 5) {
ref = startTime_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (startTimeCase_ == 5) {
startTime_ = s;
}
return s;
}
}
/**
* string start_time_string = 5;
* @return The bytes for startTimeString.
*/
public com.google.protobuf.ByteString
getStartTimeStringBytes() {
java.lang.Object ref = "";
if (startTimeCase_ == 5) {
ref = startTime_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (startTimeCase_ == 5) {
startTime_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PERIOD_NANOS_FIELD_NUMBER = 3;
/**
* sint64 period_nanos = 3 [jstype = JS_STRING];
* @return Whether the periodNanos field is set.
*/
@java.lang.Override
public boolean hasPeriodNanos() {
return periodCase_ == 3;
}
/**
* sint64 period_nanos = 3 [jstype = JS_STRING];
* @return The periodNanos.
*/
@java.lang.Override
public long getPeriodNanos() {
if (periodCase_ == 3) {
return (java.lang.Long) period_;
}
return 0L;
}
public static final int PERIOD_STRING_FIELD_NUMBER = 6;
/**
* string period_string = 6;
* @return Whether the periodString field is set.
*/
public boolean hasPeriodString() {
return periodCase_ == 6;
}
/**
* string period_string = 6;
* @return The periodString.
*/
public java.lang.String getPeriodString() {
java.lang.Object ref = "";
if (periodCase_ == 6) {
ref = period_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (periodCase_ == 6) {
period_ = s;
}
return s;
}
}
/**
* string period_string = 6;
* @return The bytes for periodString.
*/
public com.google.protobuf.ByteString
getPeriodStringBytes() {
java.lang.Object ref = "";
if (periodCase_ == 6) {
ref = period_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (periodCase_ == 6) {
period_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BLINK_TABLE_FIELD_NUMBER = 4;
private boolean blinkTable_ = false;
/**
* bool blink_table = 4;
* @return The blinkTable.
*/
@java.lang.Override
public boolean getBlinkTable() {
return blinkTable_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getResultId());
}
if (startTimeCase_ == 2) {
output.writeSInt64(
2, (long)((java.lang.Long) startTime_));
}
if (periodCase_ == 3) {
output.writeSInt64(
3, (long)((java.lang.Long) period_));
}
if (blinkTable_ != false) {
output.writeBool(4, blinkTable_);
}
if (startTimeCase_ == 5) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, startTime_);
}
if (periodCase_ == 6) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, period_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getResultId());
}
if (startTimeCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeSInt64Size(
2, (long)((java.lang.Long) startTime_));
}
if (periodCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeSInt64Size(
3, (long)((java.lang.Long) period_));
}
if (blinkTable_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, blinkTable_);
}
if (startTimeCase_ == 5) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, startTime_);
}
if (periodCase_ == 6) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, period_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.deephaven.proto.backplane.grpc.TimeTableRequest)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.grpc.TimeTableRequest other = (io.deephaven.proto.backplane.grpc.TimeTableRequest) obj;
if (hasResultId() != other.hasResultId()) return false;
if (hasResultId()) {
if (!getResultId()
.equals(other.getResultId())) return false;
}
if (getBlinkTable()
!= other.getBlinkTable()) return false;
if (!getStartTimeCase().equals(other.getStartTimeCase())) return false;
switch (startTimeCase_) {
case 2:
if (getStartTimeNanos()
!= other.getStartTimeNanos()) return false;
break;
case 5:
if (!getStartTimeString()
.equals(other.getStartTimeString())) return false;
break;
case 0:
default:
}
if (!getPeriodCase().equals(other.getPeriodCase())) return false;
switch (periodCase_) {
case 3:
if (getPeriodNanos()
!= other.getPeriodNanos()) return false;
break;
case 6:
if (!getPeriodString()
.equals(other.getPeriodString())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasResultId()) {
hash = (37 * hash) + RESULT_ID_FIELD_NUMBER;
hash = (53 * hash) + getResultId().hashCode();
}
hash = (37 * hash) + BLINK_TABLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getBlinkTable());
switch (startTimeCase_) {
case 2:
hash = (37 * hash) + START_TIME_NANOS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartTimeNanos());
break;
case 5:
hash = (37 * hash) + START_TIME_STRING_FIELD_NUMBER;
hash = (53 * hash) + getStartTimeString().hashCode();
break;
case 0:
default:
}
switch (periodCase_) {
case 3:
hash = (37 * hash) + PERIOD_NANOS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPeriodNanos());
break;
case 6:
hash = (37 * hash) + PERIOD_STRING_FIELD_NUMBER;
hash = (53 * hash) + getPeriodString().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.grpc.TimeTableRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.TimeTableRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.TimeTableRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.TimeTableRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.TimeTableRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.TimeTableRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.TimeTableRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.TimeTableRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.TimeTableRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.TimeTableRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.TimeTableRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.TimeTableRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.deephaven.proto.backplane.grpc.TimeTableRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code io.deephaven.proto.backplane.grpc.TimeTableRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.TimeTableRequest)
io.deephaven.proto.backplane.grpc.TimeTableRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_TimeTableRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_TimeTableRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.TimeTableRequest.class, io.deephaven.proto.backplane.grpc.TimeTableRequest.Builder.class);
}
// Construct using io.deephaven.proto.backplane.grpc.TimeTableRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getResultIdFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
resultId_ = null;
if (resultIdBuilder_ != null) {
resultIdBuilder_.dispose();
resultIdBuilder_ = null;
}
blinkTable_ = false;
startTimeCase_ = 0;
startTime_ = null;
periodCase_ = 0;
period_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_TimeTableRequest_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TimeTableRequest getDefaultInstanceForType() {
return io.deephaven.proto.backplane.grpc.TimeTableRequest.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TimeTableRequest build() {
io.deephaven.proto.backplane.grpc.TimeTableRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TimeTableRequest buildPartial() {
io.deephaven.proto.backplane.grpc.TimeTableRequest result = new io.deephaven.proto.backplane.grpc.TimeTableRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(io.deephaven.proto.backplane.grpc.TimeTableRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.resultId_ = resultIdBuilder_ == null
? resultId_
: resultIdBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.blinkTable_ = blinkTable_;
}
result.bitField0_ |= to_bitField0_;
}
private void buildPartialOneofs(io.deephaven.proto.backplane.grpc.TimeTableRequest result) {
result.startTimeCase_ = startTimeCase_;
result.startTime_ = this.startTime_;
result.periodCase_ = periodCase_;
result.period_ = this.period_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.deephaven.proto.backplane.grpc.TimeTableRequest) {
return mergeFrom((io.deephaven.proto.backplane.grpc.TimeTableRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.grpc.TimeTableRequest other) {
if (other == io.deephaven.proto.backplane.grpc.TimeTableRequest.getDefaultInstance()) return this;
if (other.hasResultId()) {
mergeResultId(other.getResultId());
}
if (other.getBlinkTable() != false) {
setBlinkTable(other.getBlinkTable());
}
switch (other.getStartTimeCase()) {
case START_TIME_NANOS: {
setStartTimeNanos(other.getStartTimeNanos());
break;
}
case START_TIME_STRING: {
startTimeCase_ = 5;
startTime_ = other.startTime_;
onChanged();
break;
}
case STARTTIME_NOT_SET: {
break;
}
}
switch (other.getPeriodCase()) {
case PERIOD_NANOS: {
setPeriodNanos(other.getPeriodNanos());
break;
}
case PERIOD_STRING: {
periodCase_ = 6;
period_ = other.period_;
onChanged();
break;
}
case PERIOD_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getResultIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
startTime_ = input.readSInt64();
startTimeCase_ = 2;
break;
} // case 16
case 24: {
period_ = input.readSInt64();
periodCase_ = 3;
break;
} // case 24
case 32: {
blinkTable_ = input.readBool();
bitField0_ |= 0x00000020;
break;
} // case 32
case 42: {
java.lang.String s = input.readStringRequireUtf8();
startTimeCase_ = 5;
startTime_ = s;
break;
} // case 42
case 50: {
java.lang.String s = input.readStringRequireUtf8();
periodCase_ = 6;
period_ = s;
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int startTimeCase_ = 0;
private java.lang.Object startTime_;
public StartTimeCase
getStartTimeCase() {
return StartTimeCase.forNumber(
startTimeCase_);
}
public Builder clearStartTime() {
startTimeCase_ = 0;
startTime_ = null;
onChanged();
return this;
}
private int periodCase_ = 0;
private java.lang.Object period_;
public PeriodCase
getPeriodCase() {
return PeriodCase.forNumber(
periodCase_);
}
public Builder clearPeriod() {
periodCase_ = 0;
period_ = null;
onChanged();
return this;
}
private int bitField0_;
private io.deephaven.proto.backplane.grpc.Ticket resultId_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> resultIdBuilder_;
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
* @return Whether the resultId field is set.
*/
public boolean hasResultId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
* @return The resultId.
*/
public io.deephaven.proto.backplane.grpc.Ticket getResultId() {
if (resultIdBuilder_ == null) {
return resultId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultId_;
} else {
return resultIdBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
*/
public Builder setResultId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (resultIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
resultId_ = value;
} else {
resultIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
*/
public Builder setResultId(
io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) {
if (resultIdBuilder_ == null) {
resultId_ = builderForValue.build();
} else {
resultIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
*/
public Builder mergeResultId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (resultIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
resultId_ != null &&
resultId_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) {
getResultIdBuilder().mergeFrom(value);
} else {
resultId_ = value;
}
} else {
resultIdBuilder_.mergeFrom(value);
}
if (resultId_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
*/
public Builder clearResultId() {
bitField0_ = (bitField0_ & ~0x00000001);
resultId_ = null;
if (resultIdBuilder_ != null) {
resultIdBuilder_.dispose();
resultIdBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getResultIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getResultIdFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
*/
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getResultIdOrBuilder() {
if (resultIdBuilder_ != null) {
return resultIdBuilder_.getMessageOrBuilder();
} else {
return resultId_ == null ?
io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultId_;
}
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>
getResultIdFieldBuilder() {
if (resultIdBuilder_ == null) {
resultIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>(
getResultId(),
getParentForChildren(),
isClean());
resultId_ = null;
}
return resultIdBuilder_;
}
/**
* sint64 start_time_nanos = 2 [jstype = JS_STRING];
* @return Whether the startTimeNanos field is set.
*/
public boolean hasStartTimeNanos() {
return startTimeCase_ == 2;
}
/**
* sint64 start_time_nanos = 2 [jstype = JS_STRING];
* @return The startTimeNanos.
*/
public long getStartTimeNanos() {
if (startTimeCase_ == 2) {
return (java.lang.Long) startTime_;
}
return 0L;
}
/**
* sint64 start_time_nanos = 2 [jstype = JS_STRING];
* @param value The startTimeNanos to set.
* @return This builder for chaining.
*/
public Builder setStartTimeNanos(long value) {
startTimeCase_ = 2;
startTime_ = value;
onChanged();
return this;
}
/**
* sint64 start_time_nanos = 2 [jstype = JS_STRING];
* @return This builder for chaining.
*/
public Builder clearStartTimeNanos() {
if (startTimeCase_ == 2) {
startTimeCase_ = 0;
startTime_ = null;
onChanged();
}
return this;
}
/**
* string start_time_string = 5;
* @return Whether the startTimeString field is set.
*/
@java.lang.Override
public boolean hasStartTimeString() {
return startTimeCase_ == 5;
}
/**
* string start_time_string = 5;
* @return The startTimeString.
*/
@java.lang.Override
public java.lang.String getStartTimeString() {
java.lang.Object ref = "";
if (startTimeCase_ == 5) {
ref = startTime_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (startTimeCase_ == 5) {
startTime_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string start_time_string = 5;
* @return The bytes for startTimeString.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStartTimeStringBytes() {
java.lang.Object ref = "";
if (startTimeCase_ == 5) {
ref = startTime_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (startTimeCase_ == 5) {
startTime_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string start_time_string = 5;
* @param value The startTimeString to set.
* @return This builder for chaining.
*/
public Builder setStartTimeString(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
startTimeCase_ = 5;
startTime_ = value;
onChanged();
return this;
}
/**
* string start_time_string = 5;
* @return This builder for chaining.
*/
public Builder clearStartTimeString() {
if (startTimeCase_ == 5) {
startTimeCase_ = 0;
startTime_ = null;
onChanged();
}
return this;
}
/**
* string start_time_string = 5;
* @param value The bytes for startTimeString to set.
* @return This builder for chaining.
*/
public Builder setStartTimeStringBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
startTimeCase_ = 5;
startTime_ = value;
onChanged();
return this;
}
/**
* sint64 period_nanos = 3 [jstype = JS_STRING];
* @return Whether the periodNanos field is set.
*/
public boolean hasPeriodNanos() {
return periodCase_ == 3;
}
/**
* sint64 period_nanos = 3 [jstype = JS_STRING];
* @return The periodNanos.
*/
public long getPeriodNanos() {
if (periodCase_ == 3) {
return (java.lang.Long) period_;
}
return 0L;
}
/**
* sint64 period_nanos = 3 [jstype = JS_STRING];
* @param value The periodNanos to set.
* @return This builder for chaining.
*/
public Builder setPeriodNanos(long value) {
periodCase_ = 3;
period_ = value;
onChanged();
return this;
}
/**
* sint64 period_nanos = 3 [jstype = JS_STRING];
* @return This builder for chaining.
*/
public Builder clearPeriodNanos() {
if (periodCase_ == 3) {
periodCase_ = 0;
period_ = null;
onChanged();
}
return this;
}
/**
* string period_string = 6;
* @return Whether the periodString field is set.
*/
@java.lang.Override
public boolean hasPeriodString() {
return periodCase_ == 6;
}
/**
* string period_string = 6;
* @return The periodString.
*/
@java.lang.Override
public java.lang.String getPeriodString() {
java.lang.Object ref = "";
if (periodCase_ == 6) {
ref = period_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (periodCase_ == 6) {
period_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string period_string = 6;
* @return The bytes for periodString.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPeriodStringBytes() {
java.lang.Object ref = "";
if (periodCase_ == 6) {
ref = period_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (periodCase_ == 6) {
period_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string period_string = 6;
* @param value The periodString to set.
* @return This builder for chaining.
*/
public Builder setPeriodString(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
periodCase_ = 6;
period_ = value;
onChanged();
return this;
}
/**
* string period_string = 6;
* @return This builder for chaining.
*/
public Builder clearPeriodString() {
if (periodCase_ == 6) {
periodCase_ = 0;
period_ = null;
onChanged();
}
return this;
}
/**
* string period_string = 6;
* @param value The bytes for periodString to set.
* @return This builder for chaining.
*/
public Builder setPeriodStringBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
periodCase_ = 6;
period_ = value;
onChanged();
return this;
}
private boolean blinkTable_ ;
/**
* bool blink_table = 4;
* @return The blinkTable.
*/
@java.lang.Override
public boolean getBlinkTable() {
return blinkTable_;
}
/**
* bool blink_table = 4;
* @param value The blinkTable to set.
* @return This builder for chaining.
*/
public Builder setBlinkTable(boolean value) {
blinkTable_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* bool blink_table = 4;
* @return This builder for chaining.
*/
public Builder clearBlinkTable() {
bitField0_ = (bitField0_ & ~0x00000020);
blinkTable_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:io.deephaven.proto.backplane.grpc.TimeTableRequest)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.TimeTableRequest)
private static final io.deephaven.proto.backplane.grpc.TimeTableRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.TimeTableRequest();
}
public static io.deephaven.proto.backplane.grpc.TimeTableRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TimeTableRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TimeTableRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}