All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.io.deephaven.proto.backplane.grpc.ServerData Maven / Gradle / Ivy

The newest version!
// 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 server to the client. The specific requirements and
 * guarantees of this are defined by the specific plugin.
 * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.ServerData} */ public final class ServerData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.ServerData) ServerDataOrBuilder { private static final long serialVersionUID = 0L; // Use ServerData.newBuilder() to construct. private ServerData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ServerData() { payload_ = com.google.protobuf.ByteString.EMPTY; exportedReferences_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ServerData(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Object.internal_static_io_deephaven_proto_backplane_grpc_ServerData_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_ServerData_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.ServerData.class, io.deephaven.proto.backplane.grpc.ServerData.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 EXPORTED_REFERENCES_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List exportedReferences_; /** *
   *
   * The exported references, may be empty.
   *
   * To correctly free up unused server resources, clients must take care to release
   * these exports when they will no longer be used. A reference may be missing a type,
   * meaning that the object cannot be used as the source_id for a ConnectRequest, but
   * it may still be passed back to the server as part of ClientData references, and
   * it still needs to be released when no longer used.
   * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ @java.lang.Override public java.util.List getExportedReferencesList() { return exportedReferences_; } /** *
   *
   * The exported references, may be empty.
   *
   * To correctly free up unused server resources, clients must take care to release
   * these exports when they will no longer be used. A reference may be missing a type,
   * meaning that the object cannot be used as the source_id for a ConnectRequest, but
   * it may still be passed back to the server as part of ClientData references, and
   * it still needs to be released when no longer used.
   * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ @java.lang.Override public java.util.List getExportedReferencesOrBuilderList() { return exportedReferences_; } /** *
   *
   * The exported references, may be empty.
   *
   * To correctly free up unused server resources, clients must take care to release
   * these exports when they will no longer be used. A reference may be missing a type,
   * meaning that the object cannot be used as the source_id for a ConnectRequest, but
   * it may still be passed back to the server as part of ClientData references, and
   * it still needs to be released when no longer used.
   * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ @java.lang.Override public int getExportedReferencesCount() { return exportedReferences_.size(); } /** *
   *
   * The exported references, may be empty.
   *
   * To correctly free up unused server resources, clients must take care to release
   * these exports when they will no longer be used. A reference may be missing a type,
   * meaning that the object cannot be used as the source_id for a ConnectRequest, but
   * it may still be passed back to the server as part of ClientData references, and
   * it still needs to be released when no longer used.
   * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.TypedTicket getExportedReferences(int index) { return exportedReferences_.get(index); } /** *
   *
   * The exported references, may be empty.
   *
   * To correctly free up unused server resources, clients must take care to release
   * these exports when they will no longer be used. A reference may be missing a type,
   * meaning that the object cannot be used as the source_id for a ConnectRequest, but
   * it may still be passed back to the server as part of ClientData references, and
   * it still needs to be released when no longer used.
   * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder getExportedReferencesOrBuilder( int index) { return exportedReferences_.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 < exportedReferences_.size(); i++) { output.writeMessage(2, exportedReferences_.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 < exportedReferences_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, exportedReferences_.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.ServerData)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.ServerData other = (io.deephaven.proto.backplane.grpc.ServerData) obj; if (!getPayload() .equals(other.getPayload())) return false; if (!getExportedReferencesList() .equals(other.getExportedReferencesList())) 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 (getExportedReferencesCount() > 0) { hash = (37 * hash) + EXPORTED_REFERENCES_FIELD_NUMBER; hash = (53 * hash) + getExportedReferencesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.ServerData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.ServerData 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.ServerData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.ServerData 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.ServerData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.ServerData 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.ServerData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.ServerData 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.ServerData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.ServerData 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.ServerData 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.ServerData 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.ServerData 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 server to the client. The specific requirements and
   * guarantees of this are defined by the specific plugin.
   * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.ServerData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.ServerData) io.deephaven.proto.backplane.grpc.ServerDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Object.internal_static_io_deephaven_proto_backplane_grpc_ServerData_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_ServerData_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.ServerData.class, io.deephaven.proto.backplane.grpc.ServerData.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.ServerData.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 (exportedReferencesBuilder_ == null) { exportedReferences_ = java.util.Collections.emptyList(); } else { exportedReferences_ = null; exportedReferencesBuilder_.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_ServerData_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.ServerData getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.ServerData.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.ServerData build() { io.deephaven.proto.backplane.grpc.ServerData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.ServerData buildPartial() { io.deephaven.proto.backplane.grpc.ServerData result = new io.deephaven.proto.backplane.grpc.ServerData(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(io.deephaven.proto.backplane.grpc.ServerData result) { if (exportedReferencesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { exportedReferences_ = java.util.Collections.unmodifiableList(exportedReferences_); bitField0_ = (bitField0_ & ~0x00000002); } result.exportedReferences_ = exportedReferences_; } else { result.exportedReferences_ = exportedReferencesBuilder_.build(); } } private void buildPartial0(io.deephaven.proto.backplane.grpc.ServerData 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.ServerData) { return mergeFrom((io.deephaven.proto.backplane.grpc.ServerData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.ServerData other) { if (other == io.deephaven.proto.backplane.grpc.ServerData.getDefaultInstance()) return this; if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) { setPayload(other.getPayload()); } if (exportedReferencesBuilder_ == null) { if (!other.exportedReferences_.isEmpty()) { if (exportedReferences_.isEmpty()) { exportedReferences_ = other.exportedReferences_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureExportedReferencesIsMutable(); exportedReferences_.addAll(other.exportedReferences_); } onChanged(); } } else { if (!other.exportedReferences_.isEmpty()) { if (exportedReferencesBuilder_.isEmpty()) { exportedReferencesBuilder_.dispose(); exportedReferencesBuilder_ = null; exportedReferences_ = other.exportedReferences_; bitField0_ = (bitField0_ & ~0x00000002); exportedReferencesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getExportedReferencesFieldBuilder() : null; } else { exportedReferencesBuilder_.addAllMessages(other.exportedReferences_); } } } 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 (exportedReferencesBuilder_ == null) { ensureExportedReferencesIsMutable(); exportedReferences_.add(m); } else { exportedReferencesBuilder_.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 exportedReferences_ = java.util.Collections.emptyList(); private void ensureExportedReferencesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { exportedReferences_ = new java.util.ArrayList(exportedReferences_); 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> exportedReferencesBuilder_; /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public java.util.List getExportedReferencesList() { if (exportedReferencesBuilder_ == null) { return java.util.Collections.unmodifiableList(exportedReferences_); } else { return exportedReferencesBuilder_.getMessageList(); } } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public int getExportedReferencesCount() { if (exportedReferencesBuilder_ == null) { return exportedReferences_.size(); } else { return exportedReferencesBuilder_.getCount(); } } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public io.deephaven.proto.backplane.grpc.TypedTicket getExportedReferences(int index) { if (exportedReferencesBuilder_ == null) { return exportedReferences_.get(index); } else { return exportedReferencesBuilder_.getMessage(index); } } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public Builder setExportedReferences( int index, io.deephaven.proto.backplane.grpc.TypedTicket value) { if (exportedReferencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExportedReferencesIsMutable(); exportedReferences_.set(index, value); onChanged(); } else { exportedReferencesBuilder_.setMessage(index, value); } return this; } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public Builder setExportedReferences( int index, io.deephaven.proto.backplane.grpc.TypedTicket.Builder builderForValue) { if (exportedReferencesBuilder_ == null) { ensureExportedReferencesIsMutable(); exportedReferences_.set(index, builderForValue.build()); onChanged(); } else { exportedReferencesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public Builder addExportedReferences(io.deephaven.proto.backplane.grpc.TypedTicket value) { if (exportedReferencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExportedReferencesIsMutable(); exportedReferences_.add(value); onChanged(); } else { exportedReferencesBuilder_.addMessage(value); } return this; } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public Builder addExportedReferences( int index, io.deephaven.proto.backplane.grpc.TypedTicket value) { if (exportedReferencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExportedReferencesIsMutable(); exportedReferences_.add(index, value); onChanged(); } else { exportedReferencesBuilder_.addMessage(index, value); } return this; } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public Builder addExportedReferences( io.deephaven.proto.backplane.grpc.TypedTicket.Builder builderForValue) { if (exportedReferencesBuilder_ == null) { ensureExportedReferencesIsMutable(); exportedReferences_.add(builderForValue.build()); onChanged(); } else { exportedReferencesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public Builder addExportedReferences( int index, io.deephaven.proto.backplane.grpc.TypedTicket.Builder builderForValue) { if (exportedReferencesBuilder_ == null) { ensureExportedReferencesIsMutable(); exportedReferences_.add(index, builderForValue.build()); onChanged(); } else { exportedReferencesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public Builder addAllExportedReferences( java.lang.Iterable values) { if (exportedReferencesBuilder_ == null) { ensureExportedReferencesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, exportedReferences_); onChanged(); } else { exportedReferencesBuilder_.addAllMessages(values); } return this; } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public Builder clearExportedReferences() { if (exportedReferencesBuilder_ == null) { exportedReferences_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { exportedReferencesBuilder_.clear(); } return this; } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public Builder removeExportedReferences(int index) { if (exportedReferencesBuilder_ == null) { ensureExportedReferencesIsMutable(); exportedReferences_.remove(index); onChanged(); } else { exportedReferencesBuilder_.remove(index); } return this; } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public io.deephaven.proto.backplane.grpc.TypedTicket.Builder getExportedReferencesBuilder( int index) { return getExportedReferencesFieldBuilder().getBuilder(index); } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder getExportedReferencesOrBuilder( int index) { if (exportedReferencesBuilder_ == null) { return exportedReferences_.get(index); } else { return exportedReferencesBuilder_.getMessageOrBuilder(index); } } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public java.util.List getExportedReferencesOrBuilderList() { if (exportedReferencesBuilder_ != null) { return exportedReferencesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(exportedReferences_); } } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public io.deephaven.proto.backplane.grpc.TypedTicket.Builder addExportedReferencesBuilder() { return getExportedReferencesFieldBuilder().addBuilder( io.deephaven.proto.backplane.grpc.TypedTicket.getDefaultInstance()); } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public io.deephaven.proto.backplane.grpc.TypedTicket.Builder addExportedReferencesBuilder( int index) { return getExportedReferencesFieldBuilder().addBuilder( index, io.deephaven.proto.backplane.grpc.TypedTicket.getDefaultInstance()); } /** *
     *
     * The exported references, may be empty.
     *
     * To correctly free up unused server resources, clients must take care to release
     * these exports when they will no longer be used. A reference may be missing a type,
     * meaning that the object cannot be used as the source_id for a ConnectRequest, but
     * it may still be passed back to the server as part of ClientData references, and
     * it still needs to be released when no longer used.
     * 
* * repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2; */ public java.util.List getExportedReferencesBuilderList() { return getExportedReferencesFieldBuilder().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> getExportedReferencesFieldBuilder() { if (exportedReferencesBuilder_ == null) { exportedReferencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.deephaven.proto.backplane.grpc.TypedTicket, io.deephaven.proto.backplane.grpc.TypedTicket.Builder, io.deephaven.proto.backplane.grpc.TypedTicketOrBuilder>( exportedReferences_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); exportedReferences_ = null; } return exportedReferencesBuilder_; } @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.ServerData) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.ServerData) private static final io.deephaven.proto.backplane.grpc.ServerData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.ServerData(); } public static io.deephaven.proto.backplane.grpc.ServerData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ServerData 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.ServerData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy