java.io.deephaven.proto.backplane.grpc.ClientData 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/object.proto
// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.grpc;
/**
*
*
* A generic payload sent from the client to the server. The specific requirements and
* guarantees are defined by the specific plugin.
*
*
* Protobuf type {@code io.deephaven.proto.backplane.grpc.ClientData}
*/
public final class ClientData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.ClientData)
ClientDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use ClientData.newBuilder() to construct.
private ClientData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ClientData() {
payload_ = com.google.protobuf.ByteString.EMPTY;
references_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ClientData();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Object.internal_static_io_deephaven_proto_backplane_grpc_ClientData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Object.internal_static_io_deephaven_proto_backplane_grpc_ClientData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.ClientData.class, io.deephaven.proto.backplane.grpc.ClientData.Builder.class);
}
public static final int PAYLOAD_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The payload, may be empty.
*
*
* bytes payload = 1;
* @return The payload.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
public static final int REFERENCES_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List references_;
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
@java.lang.Override
public java.util.List getReferencesList() {
return references_;
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
@java.lang.Override
public java.util.List extends io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder>
getReferencesOrBuilderList() {
return references_;
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
@java.lang.Override
public int getReferencesCount() {
return references_.size();
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TypedTicket getReferences(int index) {
return references_.get(index);
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder getReferencesOrBuilder(
int index) {
return references_.get(index);
}
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 (!payload_.isEmpty()) {
output.writeBytes(1, payload_);
}
for (int i = 0; i < references_.size(); i++) {
output.writeMessage(2, references_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!payload_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, payload_);
}
for (int i = 0; i < references_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, references_.get(i));
}
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.ClientData)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.grpc.ClientData other = (io.deephaven.proto.backplane.grpc.ClientData) obj;
if (!getPayload()
.equals(other.getPayload())) return false;
if (!getReferencesList()
.equals(other.getReferencesList())) 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();
hash = (37 * hash) + PAYLOAD_FIELD_NUMBER;
hash = (53 * hash) + getPayload().hashCode();
if (getReferencesCount() > 0) {
hash = (37 * hash) + REFERENCES_FIELD_NUMBER;
hash = (53 * hash) + getReferencesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.grpc.ClientData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.ClientData 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.ClientData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.ClientData 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.ClientData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.ClientData 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.ClientData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.ClientData 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.ClientData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.ClientData 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.ClientData 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.ClientData 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.ClientData 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;
}
/**
*
*
* A generic payload sent from the client to the server. The specific requirements and
* guarantees are defined by the specific plugin.
*
*
* Protobuf type {@code io.deephaven.proto.backplane.grpc.ClientData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.ClientData)
io.deephaven.proto.backplane.grpc.ClientDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Object.internal_static_io_deephaven_proto_backplane_grpc_ClientData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Object.internal_static_io_deephaven_proto_backplane_grpc_ClientData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.ClientData.class, io.deephaven.proto.backplane.grpc.ClientData.Builder.class);
}
// Construct using io.deephaven.proto.backplane.grpc.ClientData.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
payload_ = com.google.protobuf.ByteString.EMPTY;
if (referencesBuilder_ == null) {
references_ = java.util.Collections.emptyList();
} else {
references_ = null;
referencesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.deephaven.proto.backplane.grpc.Object.internal_static_io_deephaven_proto_backplane_grpc_ClientData_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.ClientData getDefaultInstanceForType() {
return io.deephaven.proto.backplane.grpc.ClientData.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.ClientData build() {
io.deephaven.proto.backplane.grpc.ClientData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.ClientData buildPartial() {
io.deephaven.proto.backplane.grpc.ClientData result = new io.deephaven.proto.backplane.grpc.ClientData(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(io.deephaven.proto.backplane.grpc.ClientData result) {
if (referencesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
references_ = java.util.Collections.unmodifiableList(references_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.references_ = references_;
} else {
result.references_ = referencesBuilder_.build();
}
}
private void buildPartial0(io.deephaven.proto.backplane.grpc.ClientData result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.payload_ = payload_;
}
}
@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.ClientData) {
return mergeFrom((io.deephaven.proto.backplane.grpc.ClientData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.grpc.ClientData other) {
if (other == io.deephaven.proto.backplane.grpc.ClientData.getDefaultInstance()) return this;
if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) {
setPayload(other.getPayload());
}
if (referencesBuilder_ == null) {
if (!other.references_.isEmpty()) {
if (references_.isEmpty()) {
references_ = other.references_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureReferencesIsMutable();
references_.addAll(other.references_);
}
onChanged();
}
} else {
if (!other.references_.isEmpty()) {
if (referencesBuilder_.isEmpty()) {
referencesBuilder_.dispose();
referencesBuilder_ = null;
references_ = other.references_;
bitField0_ = (bitField0_ & ~0x00000002);
referencesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getReferencesFieldBuilder() : null;
} else {
referencesBuilder_.addAllMessages(other.references_);
}
}
}
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: {
payload_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
io.deephaven.proto.backplane.grpc.TypedTicket m =
input.readMessage(
io.deephaven.proto.backplane.grpc.TypedTicket.parser(),
extensionRegistry);
if (referencesBuilder_ == null) {
ensureReferencesIsMutable();
references_.add(m);
} else {
referencesBuilder_.addMessage(m);
}
break;
} // case 18
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 com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The payload, may be empty.
*
*
* bytes payload = 1;
* @return The payload.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
/**
*
* The payload, may be empty.
*
*
* bytes payload = 1;
* @param value The payload to set.
* @return This builder for chaining.
*/
public Builder setPayload(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
payload_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The payload, may be empty.
*
*
* bytes payload = 1;
* @return This builder for chaining.
*/
public Builder clearPayload() {
bitField0_ = (bitField0_ & ~0x00000001);
payload_ = getDefaultInstance().getPayload();
onChanged();
return this;
}
private java.util.List references_ =
java.util.Collections.emptyList();
private void ensureReferencesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
references_ = new java.util.ArrayList(references_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.grpc.TypedTicket, io.deephaven.proto.backplane.grpc.TypedTicket.Builder, io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder> referencesBuilder_;
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public java.util.List getReferencesList() {
if (referencesBuilder_ == null) {
return java.util.Collections.unmodifiableList(references_);
} else {
return referencesBuilder_.getMessageList();
}
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public int getReferencesCount() {
if (referencesBuilder_ == null) {
return references_.size();
} else {
return referencesBuilder_.getCount();
}
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public io.deephaven.proto.backplane.grpc.TypedTicket getReferences(int index) {
if (referencesBuilder_ == null) {
return references_.get(index);
} else {
return referencesBuilder_.getMessage(index);
}
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public Builder setReferences(
int index, io.deephaven.proto.backplane.grpc.TypedTicket value) {
if (referencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReferencesIsMutable();
references_.set(index, value);
onChanged();
} else {
referencesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public Builder setReferences(
int index, io.deephaven.proto.backplane.grpc.TypedTicket.Builder builderForValue) {
if (referencesBuilder_ == null) {
ensureReferencesIsMutable();
references_.set(index, builderForValue.build());
onChanged();
} else {
referencesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public Builder addReferences(io.deephaven.proto.backplane.grpc.TypedTicket value) {
if (referencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReferencesIsMutable();
references_.add(value);
onChanged();
} else {
referencesBuilder_.addMessage(value);
}
return this;
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public Builder addReferences(
int index, io.deephaven.proto.backplane.grpc.TypedTicket value) {
if (referencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReferencesIsMutable();
references_.add(index, value);
onChanged();
} else {
referencesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public Builder addReferences(
io.deephaven.proto.backplane.grpc.TypedTicket.Builder builderForValue) {
if (referencesBuilder_ == null) {
ensureReferencesIsMutable();
references_.add(builderForValue.build());
onChanged();
} else {
referencesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public Builder addReferences(
int index, io.deephaven.proto.backplane.grpc.TypedTicket.Builder builderForValue) {
if (referencesBuilder_ == null) {
ensureReferencesIsMutable();
references_.add(index, builderForValue.build());
onChanged();
} else {
referencesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public Builder addAllReferences(
java.lang.Iterable extends io.deephaven.proto.backplane.grpc.TypedTicket> values) {
if (referencesBuilder_ == null) {
ensureReferencesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, references_);
onChanged();
} else {
referencesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public Builder clearReferences() {
if (referencesBuilder_ == null) {
references_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
referencesBuilder_.clear();
}
return this;
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public Builder removeReferences(int index) {
if (referencesBuilder_ == null) {
ensureReferencesIsMutable();
references_.remove(index);
onChanged();
} else {
referencesBuilder_.remove(index);
}
return this;
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public io.deephaven.proto.backplane.grpc.TypedTicket.Builder getReferencesBuilder(
int index) {
return getReferencesFieldBuilder().getBuilder(index);
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder getReferencesOrBuilder(
int index) {
if (referencesBuilder_ == null) {
return references_.get(index); } else {
return referencesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public java.util.List extends io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder>
getReferencesOrBuilderList() {
if (referencesBuilder_ != null) {
return referencesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(references_);
}
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public io.deephaven.proto.backplane.grpc.TypedTicket.Builder addReferencesBuilder() {
return getReferencesFieldBuilder().addBuilder(
io.deephaven.proto.backplane.grpc.TypedTicket.getDefaultInstance());
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public io.deephaven.proto.backplane.grpc.TypedTicket.Builder addReferencesBuilder(
int index) {
return getReferencesFieldBuilder().addBuilder(
index, io.deephaven.proto.backplane.grpc.TypedTicket.getDefaultInstance());
}
/**
*
*
* The typed references, may be empty.
*
* These references may be any ticket, resolved or not. This lets the client reference
* objects that already exist on the server or are still pending. Note that pending
* tickets require the server to wait until that object exists before passing this request
* to the server plugin, and since messages are always processed in order, later requests
* will also be delayed.
*
*
* repeated .io.deephaven.proto.backplane.grpc.TypedTicket references = 2;
*/
public java.util.List
getReferencesBuilderList() {
return getReferencesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.grpc.TypedTicket, io.deephaven.proto.backplane.grpc.TypedTicket.Builder, io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder>
getReferencesFieldBuilder() {
if (referencesBuilder_ == null) {
referencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.grpc.TypedTicket, io.deephaven.proto.backplane.grpc.TypedTicket.Builder, io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder>(
references_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
references_ = null;
}
return referencesBuilder_;
}
@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.ClientData)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.ClientData)
private static final io.deephaven.proto.backplane.grpc.ClientData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.ClientData();
}
public static io.deephaven.proto.backplane.grpc.ClientData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ClientData 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.ClientData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}