java.io.deephaven.proto.backplane.grpc.GetTableRequest 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/partitionedtable.proto
// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.grpc;
/**
* Protobuf type {@code io.deephaven.proto.backplane.grpc.GetTableRequest}
*/
public final class GetTableRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.GetTableRequest)
GetTableRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTableRequest.newBuilder() to construct.
private GetTableRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTableRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTableRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Partitionedtable.internal_static_io_deephaven_proto_backplane_grpc_GetTableRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Partitionedtable.internal_static_io_deephaven_proto_backplane_grpc_GetTableRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.GetTableRequest.class, io.deephaven.proto.backplane.grpc.GetTableRequest.Builder.class);
}
private int bitField0_;
public static final int PARTITIONED_TABLE_FIELD_NUMBER = 1;
private io.deephaven.proto.backplane.grpc.Ticket partitionedTable_;
/**
*
* The ticket for the PartitionedTable object to query.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket partitioned_table = 1;
* @return Whether the partitionedTable field is set.
*/
@java.lang.Override
public boolean hasPartitionedTable() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The ticket for the PartitionedTable object to query.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket partitioned_table = 1;
* @return The partitionedTable.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getPartitionedTable() {
return partitionedTable_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : partitionedTable_;
}
/**
*
* The ticket for the PartitionedTable object to query.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket partitioned_table = 1;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getPartitionedTableOrBuilder() {
return partitionedTable_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : partitionedTable_;
}
public static final int KEY_TABLE_TICKET_FIELD_NUMBER = 2;
private io.deephaven.proto.backplane.grpc.Ticket keyTableTicket_;
/**
*
* The ticket for the table containing the key to fetch from the partitioned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket key_table_ticket = 2;
* @return Whether the keyTableTicket field is set.
*/
@java.lang.Override
public boolean hasKeyTableTicket() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* The ticket for the table containing the key to fetch from the partitioned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket key_table_ticket = 2;
* @return The keyTableTicket.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getKeyTableTicket() {
return keyTableTicket_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : keyTableTicket_;
}
/**
*
* The ticket for the table containing the key to fetch from the partitioned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket key_table_ticket = 2;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getKeyTableTicketOrBuilder() {
return keyTableTicket_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : keyTableTicket_;
}
public static final int RESULT_ID_FIELD_NUMBER = 4;
private io.deephaven.proto.backplane.grpc.Ticket resultId_;
/**
*
* The ticket to use to hold the newly returned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 4;
* @return Whether the resultId field is set.
*/
@java.lang.Override
public boolean hasResultId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* The ticket to use to hold the newly returned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 4;
* @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_;
}
/**
*
* The ticket to use to hold the newly returned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 4;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getResultIdOrBuilder() {
return resultId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultId_;
}
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, getPartitionedTable());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getKeyTableTicket());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(4, getResultId());
}
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, getPartitionedTable());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getKeyTableTicket());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getResultId());
}
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.GetTableRequest)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.grpc.GetTableRequest other = (io.deephaven.proto.backplane.grpc.GetTableRequest) obj;
if (hasPartitionedTable() != other.hasPartitionedTable()) return false;
if (hasPartitionedTable()) {
if (!getPartitionedTable()
.equals(other.getPartitionedTable())) return false;
}
if (hasKeyTableTicket() != other.hasKeyTableTicket()) return false;
if (hasKeyTableTicket()) {
if (!getKeyTableTicket()
.equals(other.getKeyTableTicket())) return false;
}
if (hasResultId() != other.hasResultId()) return false;
if (hasResultId()) {
if (!getResultId()
.equals(other.getResultId())) 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 (hasPartitionedTable()) {
hash = (37 * hash) + PARTITIONED_TABLE_FIELD_NUMBER;
hash = (53 * hash) + getPartitionedTable().hashCode();
}
if (hasKeyTableTicket()) {
hash = (37 * hash) + KEY_TABLE_TICKET_FIELD_NUMBER;
hash = (53 * hash) + getKeyTableTicket().hashCode();
}
if (hasResultId()) {
hash = (37 * hash) + RESULT_ID_FIELD_NUMBER;
hash = (53 * hash) + getResultId().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.grpc.GetTableRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.GetTableRequest 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.GetTableRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.GetTableRequest 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.GetTableRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.GetTableRequest 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.GetTableRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.GetTableRequest 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.GetTableRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.GetTableRequest 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.GetTableRequest 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.GetTableRequest 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.GetTableRequest 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.GetTableRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.GetTableRequest)
io.deephaven.proto.backplane.grpc.GetTableRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Partitionedtable.internal_static_io_deephaven_proto_backplane_grpc_GetTableRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Partitionedtable.internal_static_io_deephaven_proto_backplane_grpc_GetTableRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.GetTableRequest.class, io.deephaven.proto.backplane.grpc.GetTableRequest.Builder.class);
}
// Construct using io.deephaven.proto.backplane.grpc.GetTableRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPartitionedTableFieldBuilder();
getKeyTableTicketFieldBuilder();
getResultIdFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
partitionedTable_ = null;
if (partitionedTableBuilder_ != null) {
partitionedTableBuilder_.dispose();
partitionedTableBuilder_ = null;
}
keyTableTicket_ = null;
if (keyTableTicketBuilder_ != null) {
keyTableTicketBuilder_.dispose();
keyTableTicketBuilder_ = null;
}
resultId_ = null;
if (resultIdBuilder_ != null) {
resultIdBuilder_.dispose();
resultIdBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.deephaven.proto.backplane.grpc.Partitionedtable.internal_static_io_deephaven_proto_backplane_grpc_GetTableRequest_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.GetTableRequest getDefaultInstanceForType() {
return io.deephaven.proto.backplane.grpc.GetTableRequest.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.GetTableRequest build() {
io.deephaven.proto.backplane.grpc.GetTableRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.GetTableRequest buildPartial() {
io.deephaven.proto.backplane.grpc.GetTableRequest result = new io.deephaven.proto.backplane.grpc.GetTableRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.deephaven.proto.backplane.grpc.GetTableRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.partitionedTable_ = partitionedTableBuilder_ == null
? partitionedTable_
: partitionedTableBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.keyTableTicket_ = keyTableTicketBuilder_ == null
? keyTableTicket_
: keyTableTicketBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.resultId_ = resultIdBuilder_ == null
? resultId_
: resultIdBuilder_.build();
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@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.GetTableRequest) {
return mergeFrom((io.deephaven.proto.backplane.grpc.GetTableRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.grpc.GetTableRequest other) {
if (other == io.deephaven.proto.backplane.grpc.GetTableRequest.getDefaultInstance()) return this;
if (other.hasPartitionedTable()) {
mergePartitionedTable(other.getPartitionedTable());
}
if (other.hasKeyTableTicket()) {
mergeKeyTableTicket(other.getKeyTableTicket());
}
if (other.hasResultId()) {
mergeResultId(other.getResultId());
}
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(
getPartitionedTableFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getKeyTableTicketFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 34: {
input.readMessage(
getResultIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 34
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 bitField0_;
private io.deephaven.proto.backplane.grpc.Ticket partitionedTable_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> partitionedTableBuilder_;
/**
*
* The ticket for the PartitionedTable object to query.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket partitioned_table = 1;
* @return Whether the partitionedTable field is set.
*/
public boolean hasPartitionedTable() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The ticket for the PartitionedTable object to query.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket partitioned_table = 1;
* @return The partitionedTable.
*/
public io.deephaven.proto.backplane.grpc.Ticket getPartitionedTable() {
if (partitionedTableBuilder_ == null) {
return partitionedTable_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : partitionedTable_;
} else {
return partitionedTableBuilder_.getMessage();
}
}
/**
*
* The ticket for the PartitionedTable object to query.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket partitioned_table = 1;
*/
public Builder setPartitionedTable(io.deephaven.proto.backplane.grpc.Ticket value) {
if (partitionedTableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
partitionedTable_ = value;
} else {
partitionedTableBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The ticket for the PartitionedTable object to query.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket partitioned_table = 1;
*/
public Builder setPartitionedTable(
io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) {
if (partitionedTableBuilder_ == null) {
partitionedTable_ = builderForValue.build();
} else {
partitionedTableBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The ticket for the PartitionedTable object to query.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket partitioned_table = 1;
*/
public Builder mergePartitionedTable(io.deephaven.proto.backplane.grpc.Ticket value) {
if (partitionedTableBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
partitionedTable_ != null &&
partitionedTable_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) {
getPartitionedTableBuilder().mergeFrom(value);
} else {
partitionedTable_ = value;
}
} else {
partitionedTableBuilder_.mergeFrom(value);
}
if (partitionedTable_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
*
* The ticket for the PartitionedTable object to query.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket partitioned_table = 1;
*/
public Builder clearPartitionedTable() {
bitField0_ = (bitField0_ & ~0x00000001);
partitionedTable_ = null;
if (partitionedTableBuilder_ != null) {
partitionedTableBuilder_.dispose();
partitionedTableBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* The ticket for the PartitionedTable object to query.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket partitioned_table = 1;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getPartitionedTableBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPartitionedTableFieldBuilder().getBuilder();
}
/**
*
* The ticket for the PartitionedTable object to query.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket partitioned_table = 1;
*/
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getPartitionedTableOrBuilder() {
if (partitionedTableBuilder_ != null) {
return partitionedTableBuilder_.getMessageOrBuilder();
} else {
return partitionedTable_ == null ?
io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : partitionedTable_;
}
}
/**
*
* The ticket for the PartitionedTable object to query.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket partitioned_table = 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>
getPartitionedTableFieldBuilder() {
if (partitionedTableBuilder_ == null) {
partitionedTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>(
getPartitionedTable(),
getParentForChildren(),
isClean());
partitionedTable_ = null;
}
return partitionedTableBuilder_;
}
private io.deephaven.proto.backplane.grpc.Ticket keyTableTicket_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> keyTableTicketBuilder_;
/**
*
* The ticket for the table containing the key to fetch from the partitioned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket key_table_ticket = 2;
* @return Whether the keyTableTicket field is set.
*/
public boolean hasKeyTableTicket() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* The ticket for the table containing the key to fetch from the partitioned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket key_table_ticket = 2;
* @return The keyTableTicket.
*/
public io.deephaven.proto.backplane.grpc.Ticket getKeyTableTicket() {
if (keyTableTicketBuilder_ == null) {
return keyTableTicket_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : keyTableTicket_;
} else {
return keyTableTicketBuilder_.getMessage();
}
}
/**
*
* The ticket for the table containing the key to fetch from the partitioned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket key_table_ticket = 2;
*/
public Builder setKeyTableTicket(io.deephaven.proto.backplane.grpc.Ticket value) {
if (keyTableTicketBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
keyTableTicket_ = value;
} else {
keyTableTicketBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* The ticket for the table containing the key to fetch from the partitioned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket key_table_ticket = 2;
*/
public Builder setKeyTableTicket(
io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) {
if (keyTableTicketBuilder_ == null) {
keyTableTicket_ = builderForValue.build();
} else {
keyTableTicketBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* The ticket for the table containing the key to fetch from the partitioned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket key_table_ticket = 2;
*/
public Builder mergeKeyTableTicket(io.deephaven.proto.backplane.grpc.Ticket value) {
if (keyTableTicketBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
keyTableTicket_ != null &&
keyTableTicket_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) {
getKeyTableTicketBuilder().mergeFrom(value);
} else {
keyTableTicket_ = value;
}
} else {
keyTableTicketBuilder_.mergeFrom(value);
}
if (keyTableTicket_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
*
* The ticket for the table containing the key to fetch from the partitioned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket key_table_ticket = 2;
*/
public Builder clearKeyTableTicket() {
bitField0_ = (bitField0_ & ~0x00000002);
keyTableTicket_ = null;
if (keyTableTicketBuilder_ != null) {
keyTableTicketBuilder_.dispose();
keyTableTicketBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* The ticket for the table containing the key to fetch from the partitioned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket key_table_ticket = 2;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getKeyTableTicketBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getKeyTableTicketFieldBuilder().getBuilder();
}
/**
*
* The ticket for the table containing the key to fetch from the partitioned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket key_table_ticket = 2;
*/
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getKeyTableTicketOrBuilder() {
if (keyTableTicketBuilder_ != null) {
return keyTableTicketBuilder_.getMessageOrBuilder();
} else {
return keyTableTicket_ == null ?
io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : keyTableTicket_;
}
}
/**
*
* The ticket for the table containing the key to fetch from the partitioned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket key_table_ticket = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>
getKeyTableTicketFieldBuilder() {
if (keyTableTicketBuilder_ == null) {
keyTableTicketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>(
getKeyTableTicket(),
getParentForChildren(),
isClean());
keyTableTicket_ = null;
}
return keyTableTicketBuilder_;
}
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_;
/**
*
* The ticket to use to hold the newly returned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 4;
* @return Whether the resultId field is set.
*/
public boolean hasResultId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* The ticket to use to hold the newly returned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 4;
* @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();
}
}
/**
*
* The ticket to use to hold the newly returned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 4;
*/
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_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* The ticket to use to hold the newly returned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 4;
*/
public Builder setResultId(
io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) {
if (resultIdBuilder_ == null) {
resultId_ = builderForValue.build();
} else {
resultIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* The ticket to use to hold the newly returned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 4;
*/
public Builder mergeResultId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (resultIdBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 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_ |= 0x00000004;
onChanged();
}
return this;
}
/**
*
* The ticket to use to hold the newly returned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 4;
*/
public Builder clearResultId() {
bitField0_ = (bitField0_ & ~0x00000004);
resultId_ = null;
if (resultIdBuilder_ != null) {
resultIdBuilder_.dispose();
resultIdBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* The ticket to use to hold the newly returned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 4;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getResultIdBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getResultIdFieldBuilder().getBuilder();
}
/**
*
* The ticket to use to hold the newly returned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 4;
*/
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_;
}
}
/**
*
* The ticket to use to hold the newly returned table.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_id = 4;
*/
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_;
}
@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.GetTableRequest)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.GetTableRequest)
private static final io.deephaven.proto.backplane.grpc.GetTableRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.GetTableRequest();
}
public static io.deephaven.proto.backplane.grpc.GetTableRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTableRequest 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.GetTableRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}