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
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: deephaven/proto/table.proto
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();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
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);
}
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 resultId_ != null;
}
/**
* .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 getResultId();
}
public static final int START_TIME_NANOS_FIELD_NUMBER = 2;
private long startTimeNanos_;
/**
* sint64 start_time_nanos = 2 [jstype = JS_STRING];
* @return The startTimeNanos.
*/
@java.lang.Override
public long getStartTimeNanos() {
return startTimeNanos_;
}
public static final int PERIOD_NANOS_FIELD_NUMBER = 3;
private long periodNanos_;
/**
* sint64 period_nanos = 3 [jstype = JS_STRING];
* @return The periodNanos.
*/
@java.lang.Override
public long getPeriodNanos() {
return periodNanos_;
}
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 (resultId_ != null) {
output.writeMessage(1, getResultId());
}
if (startTimeNanos_ != 0L) {
output.writeSInt64(2, startTimeNanos_);
}
if (periodNanos_ != 0L) {
output.writeSInt64(3, periodNanos_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (resultId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getResultId());
}
if (startTimeNanos_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeSInt64Size(2, startTimeNanos_);
}
if (periodNanos_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeSInt64Size(3, periodNanos_);
}
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 (getStartTimeNanos()
!= other.getStartTimeNanos()) return false;
if (getPeriodNanos()
!= other.getPeriodNanos()) return false;
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) + START_TIME_NANOS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartTimeNanos());
hash = (37 * hash) + PERIOD_NANOS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPeriodNanos());
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() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (resultIdBuilder_ == null) {
resultId_ = null;
} else {
resultId_ = null;
resultIdBuilder_ = null;
}
startTimeNanos_ = 0L;
periodNanos_ = 0L;
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 (resultIdBuilder_ == null) {
result.resultId_ = resultId_;
} else {
result.resultId_ = resultIdBuilder_.build();
}
result.startTimeNanos_ = startTimeNanos_;
result.periodNanos_ = periodNanos_;
onBuilt();
return result;
}
@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.getStartTimeNanos() != 0L) {
setStartTimeNanos(other.getStartTimeNanos());
}
if (other.getPeriodNanos() != 0L) {
setPeriodNanos(other.getPeriodNanos());
}
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);
break;
} // case 10
case 16: {
startTimeNanos_ = input.readSInt64();
break;
} // case 16
case 24: {
periodNanos_ = input.readSInt64();
break;
} // case 24
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 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 resultIdBuilder_ != null || resultId_ != null;
}
/**
* .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;
onChanged();
} else {
resultIdBuilder_.setMessage(value);
}
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();
onChanged();
} else {
resultIdBuilder_.setMessage(builderForValue.build());
}
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 (resultId_ != null) {
resultId_ =
io.deephaven.proto.backplane.grpc.Ticket.newBuilder(resultId_).mergeFrom(value).buildPartial();
} else {
resultId_ = value;
}
onChanged();
} else {
resultIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
*/
public Builder clearResultId() {
if (resultIdBuilder_ == null) {
resultId_ = null;
onChanged();
} else {
resultId_ = null;
resultIdBuilder_ = null;
}
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getResultIdBuilder() {
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_;
}
private long startTimeNanos_ ;
/**
* sint64 start_time_nanos = 2 [jstype = JS_STRING];
* @return The startTimeNanos.
*/
@java.lang.Override
public long getStartTimeNanos() {
return startTimeNanos_;
}
/**
* sint64 start_time_nanos = 2 [jstype = JS_STRING];
* @param value The startTimeNanos to set.
* @return This builder for chaining.
*/
public Builder setStartTimeNanos(long value) {
startTimeNanos_ = value;
onChanged();
return this;
}
/**
* sint64 start_time_nanos = 2 [jstype = JS_STRING];
* @return This builder for chaining.
*/
public Builder clearStartTimeNanos() {
startTimeNanos_ = 0L;
onChanged();
return this;
}
private long periodNanos_ ;
/**
* sint64 period_nanos = 3 [jstype = JS_STRING];
* @return The periodNanos.
*/
@java.lang.Override
public long getPeriodNanos() {
return periodNanos_;
}
/**
* sint64 period_nanos = 3 [jstype = JS_STRING];
* @param value The periodNanos to set.
* @return This builder for chaining.
*/
public Builder setPeriodNanos(long value) {
periodNanos_ = value;
onChanged();
return this;
}
/**
* sint64 period_nanos = 3 [jstype = JS_STRING];
* @return This builder for chaining.
*/
public Builder clearPeriodNanos() {
periodNanos_ = 0L;
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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy