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

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

There is a newer version: 0.36.1
Show 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;

/**
 * 
 *
 * Client payload for the MessageStream.
 * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.StreamRequest} */ public final class StreamRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.StreamRequest) StreamRequestOrBuilder { private static final long serialVersionUID = 0L; // Use StreamRequest.newBuilder() to construct. private StreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StreamRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StreamRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Object.internal_static_io_deephaven_proto_backplane_grpc_StreamRequest_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_StreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.StreamRequest.class, io.deephaven.proto.backplane.grpc.StreamRequest.Builder.class); } private int messageCase_ = 0; @SuppressWarnings("serial") private java.lang.Object message_; public enum MessageCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CONNECT(1), DATA(2), MESSAGE_NOT_SET(0); private final int value; private MessageCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static MessageCase valueOf(int value) { return forNumber(value); } public static MessageCase forNumber(int value) { switch (value) { case 1: return CONNECT; case 2: return DATA; case 0: return MESSAGE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public MessageCase getMessageCase() { return MessageCase.forNumber( messageCase_); } public static final int CONNECT_FIELD_NUMBER = 1; /** *
   * Indicates that this is the first request of the stream, asking to connect to
   * a specific object on the server.
   * 
* * .io.deephaven.proto.backplane.grpc.ConnectRequest connect = 1; * @return Whether the connect field is set. */ @java.lang.Override public boolean hasConnect() { return messageCase_ == 1; } /** *
   * Indicates that this is the first request of the stream, asking to connect to
   * a specific object on the server.
   * 
* * .io.deephaven.proto.backplane.grpc.ConnectRequest connect = 1; * @return The connect. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.ConnectRequest getConnect() { if (messageCase_ == 1) { return (io.deephaven.proto.backplane.grpc.ConnectRequest) message_; } return io.deephaven.proto.backplane.grpc.ConnectRequest.getDefaultInstance(); } /** *
   * Indicates that this is the first request of the stream, asking to connect to
   * a specific object on the server.
   * 
* * .io.deephaven.proto.backplane.grpc.ConnectRequest connect = 1; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.ConnectRequestOrBuilder getConnectOrBuilder() { if (messageCase_ == 1) { return (io.deephaven.proto.backplane.grpc.ConnectRequest) message_; } return io.deephaven.proto.backplane.grpc.ConnectRequest.getDefaultInstance(); } public static final int DATA_FIELD_NUMBER = 2; /** *
   * Data to pass to the object on the server.
   * 
* * .io.deephaven.proto.backplane.grpc.ClientData data = 2; * @return Whether the data field is set. */ @java.lang.Override public boolean hasData() { return messageCase_ == 2; } /** *
   * Data to pass to the object on the server.
   * 
* * .io.deephaven.proto.backplane.grpc.ClientData data = 2; * @return The data. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.ClientData getData() { if (messageCase_ == 2) { return (io.deephaven.proto.backplane.grpc.ClientData) message_; } return io.deephaven.proto.backplane.grpc.ClientData.getDefaultInstance(); } /** *
   * Data to pass to the object on the server.
   * 
* * .io.deephaven.proto.backplane.grpc.ClientData data = 2; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.ClientDataOrBuilder getDataOrBuilder() { if (messageCase_ == 2) { return (io.deephaven.proto.backplane.grpc.ClientData) message_; } return io.deephaven.proto.backplane.grpc.ClientData.getDefaultInstance(); } 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 (messageCase_ == 1) { output.writeMessage(1, (io.deephaven.proto.backplane.grpc.ConnectRequest) message_); } if (messageCase_ == 2) { output.writeMessage(2, (io.deephaven.proto.backplane.grpc.ClientData) message_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (messageCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (io.deephaven.proto.backplane.grpc.ConnectRequest) message_); } if (messageCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (io.deephaven.proto.backplane.grpc.ClientData) message_); } 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.StreamRequest)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.StreamRequest other = (io.deephaven.proto.backplane.grpc.StreamRequest) obj; if (!getMessageCase().equals(other.getMessageCase())) return false; switch (messageCase_) { case 1: if (!getConnect() .equals(other.getConnect())) return false; break; case 2: if (!getData() .equals(other.getData())) return false; break; case 0: default: } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (messageCase_) { case 1: hash = (37 * hash) + CONNECT_FIELD_NUMBER; hash = (53 * hash) + getConnect().hashCode(); break; case 2: hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.StreamRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.StreamRequest 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.StreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.StreamRequest 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.StreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.StreamRequest 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.StreamRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.StreamRequest 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.StreamRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.StreamRequest 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.StreamRequest 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.StreamRequest 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.StreamRequest 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; } /** *
   *
   * Client payload for the MessageStream.
   * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.StreamRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.StreamRequest) io.deephaven.proto.backplane.grpc.StreamRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Object.internal_static_io_deephaven_proto_backplane_grpc_StreamRequest_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_StreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.StreamRequest.class, io.deephaven.proto.backplane.grpc.StreamRequest.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.StreamRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (connectBuilder_ != null) { connectBuilder_.clear(); } if (dataBuilder_ != null) { dataBuilder_.clear(); } messageCase_ = 0; message_ = null; 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_StreamRequest_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.StreamRequest getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.StreamRequest.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.StreamRequest build() { io.deephaven.proto.backplane.grpc.StreamRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.StreamRequest buildPartial() { io.deephaven.proto.backplane.grpc.StreamRequest result = new io.deephaven.proto.backplane.grpc.StreamRequest(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.StreamRequest result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(io.deephaven.proto.backplane.grpc.StreamRequest result) { result.messageCase_ = messageCase_; result.message_ = this.message_; if (messageCase_ == 1 && connectBuilder_ != null) { result.message_ = connectBuilder_.build(); } if (messageCase_ == 2 && dataBuilder_ != null) { result.message_ = dataBuilder_.build(); } } @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.StreamRequest) { return mergeFrom((io.deephaven.proto.backplane.grpc.StreamRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.StreamRequest other) { if (other == io.deephaven.proto.backplane.grpc.StreamRequest.getDefaultInstance()) return this; switch (other.getMessageCase()) { case CONNECT: { mergeConnect(other.getConnect()); break; } case DATA: { mergeData(other.getData()); break; } case MESSAGE_NOT_SET: { break; } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getConnectFieldBuilder().getBuilder(), extensionRegistry); messageCase_ = 1; break; } // case 10 case 18: { input.readMessage( getDataFieldBuilder().getBuilder(), extensionRegistry); messageCase_ = 2; 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 messageCase_ = 0; private java.lang.Object message_; public MessageCase getMessageCase() { return MessageCase.forNumber( messageCase_); } public Builder clearMessage() { messageCase_ = 0; message_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.ConnectRequest, io.deephaven.proto.backplane.grpc.ConnectRequest.Builder, io.deephaven.proto.backplane.grpc.ConnectRequestOrBuilder> connectBuilder_; /** *
     * Indicates that this is the first request of the stream, asking to connect to
     * a specific object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ConnectRequest connect = 1; * @return Whether the connect field is set. */ @java.lang.Override public boolean hasConnect() { return messageCase_ == 1; } /** *
     * Indicates that this is the first request of the stream, asking to connect to
     * a specific object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ConnectRequest connect = 1; * @return The connect. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.ConnectRequest getConnect() { if (connectBuilder_ == null) { if (messageCase_ == 1) { return (io.deephaven.proto.backplane.grpc.ConnectRequest) message_; } return io.deephaven.proto.backplane.grpc.ConnectRequest.getDefaultInstance(); } else { if (messageCase_ == 1) { return connectBuilder_.getMessage(); } return io.deephaven.proto.backplane.grpc.ConnectRequest.getDefaultInstance(); } } /** *
     * Indicates that this is the first request of the stream, asking to connect to
     * a specific object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ConnectRequest connect = 1; */ public Builder setConnect(io.deephaven.proto.backplane.grpc.ConnectRequest value) { if (connectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { connectBuilder_.setMessage(value); } messageCase_ = 1; return this; } /** *
     * Indicates that this is the first request of the stream, asking to connect to
     * a specific object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ConnectRequest connect = 1; */ public Builder setConnect( io.deephaven.proto.backplane.grpc.ConnectRequest.Builder builderForValue) { if (connectBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { connectBuilder_.setMessage(builderForValue.build()); } messageCase_ = 1; return this; } /** *
     * Indicates that this is the first request of the stream, asking to connect to
     * a specific object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ConnectRequest connect = 1; */ public Builder mergeConnect(io.deephaven.proto.backplane.grpc.ConnectRequest value) { if (connectBuilder_ == null) { if (messageCase_ == 1 && message_ != io.deephaven.proto.backplane.grpc.ConnectRequest.getDefaultInstance()) { message_ = io.deephaven.proto.backplane.grpc.ConnectRequest.newBuilder((io.deephaven.proto.backplane.grpc.ConnectRequest) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 1) { connectBuilder_.mergeFrom(value); } else { connectBuilder_.setMessage(value); } } messageCase_ = 1; return this; } /** *
     * Indicates that this is the first request of the stream, asking to connect to
     * a specific object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ConnectRequest connect = 1; */ public Builder clearConnect() { if (connectBuilder_ == null) { if (messageCase_ == 1) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 1) { messageCase_ = 0; message_ = null; } connectBuilder_.clear(); } return this; } /** *
     * Indicates that this is the first request of the stream, asking to connect to
     * a specific object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ConnectRequest connect = 1; */ public io.deephaven.proto.backplane.grpc.ConnectRequest.Builder getConnectBuilder() { return getConnectFieldBuilder().getBuilder(); } /** *
     * Indicates that this is the first request of the stream, asking to connect to
     * a specific object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ConnectRequest connect = 1; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.ConnectRequestOrBuilder getConnectOrBuilder() { if ((messageCase_ == 1) && (connectBuilder_ != null)) { return connectBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 1) { return (io.deephaven.proto.backplane.grpc.ConnectRequest) message_; } return io.deephaven.proto.backplane.grpc.ConnectRequest.getDefaultInstance(); } } /** *
     * Indicates that this is the first request of the stream, asking to connect to
     * a specific object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ConnectRequest connect = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.ConnectRequest, io.deephaven.proto.backplane.grpc.ConnectRequest.Builder, io.deephaven.proto.backplane.grpc.ConnectRequestOrBuilder> getConnectFieldBuilder() { if (connectBuilder_ == null) { if (!(messageCase_ == 1)) { message_ = io.deephaven.proto.backplane.grpc.ConnectRequest.getDefaultInstance(); } connectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.ConnectRequest, io.deephaven.proto.backplane.grpc.ConnectRequest.Builder, io.deephaven.proto.backplane.grpc.ConnectRequestOrBuilder>( (io.deephaven.proto.backplane.grpc.ConnectRequest) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 1; onChanged(); return connectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.ClientData, io.deephaven.proto.backplane.grpc.ClientData.Builder, io.deephaven.proto.backplane.grpc.ClientDataOrBuilder> dataBuilder_; /** *
     * Data to pass to the object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ClientData data = 2; * @return Whether the data field is set. */ @java.lang.Override public boolean hasData() { return messageCase_ == 2; } /** *
     * Data to pass to the object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ClientData data = 2; * @return The data. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.ClientData getData() { if (dataBuilder_ == null) { if (messageCase_ == 2) { return (io.deephaven.proto.backplane.grpc.ClientData) message_; } return io.deephaven.proto.backplane.grpc.ClientData.getDefaultInstance(); } else { if (messageCase_ == 2) { return dataBuilder_.getMessage(); } return io.deephaven.proto.backplane.grpc.ClientData.getDefaultInstance(); } } /** *
     * Data to pass to the object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ClientData data = 2; */ public Builder setData(io.deephaven.proto.backplane.grpc.ClientData value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { dataBuilder_.setMessage(value); } messageCase_ = 2; return this; } /** *
     * Data to pass to the object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ClientData data = 2; */ public Builder setData( io.deephaven.proto.backplane.grpc.ClientData.Builder builderForValue) { if (dataBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { dataBuilder_.setMessage(builderForValue.build()); } messageCase_ = 2; return this; } /** *
     * Data to pass to the object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ClientData data = 2; */ public Builder mergeData(io.deephaven.proto.backplane.grpc.ClientData value) { if (dataBuilder_ == null) { if (messageCase_ == 2 && message_ != io.deephaven.proto.backplane.grpc.ClientData.getDefaultInstance()) { message_ = io.deephaven.proto.backplane.grpc.ClientData.newBuilder((io.deephaven.proto.backplane.grpc.ClientData) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 2) { dataBuilder_.mergeFrom(value); } else { dataBuilder_.setMessage(value); } } messageCase_ = 2; return this; } /** *
     * Data to pass to the object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ClientData data = 2; */ public Builder clearData() { if (dataBuilder_ == null) { if (messageCase_ == 2) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 2) { messageCase_ = 0; message_ = null; } dataBuilder_.clear(); } return this; } /** *
     * Data to pass to the object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ClientData data = 2; */ public io.deephaven.proto.backplane.grpc.ClientData.Builder getDataBuilder() { return getDataFieldBuilder().getBuilder(); } /** *
     * Data to pass to the object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ClientData data = 2; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.ClientDataOrBuilder getDataOrBuilder() { if ((messageCase_ == 2) && (dataBuilder_ != null)) { return dataBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 2) { return (io.deephaven.proto.backplane.grpc.ClientData) message_; } return io.deephaven.proto.backplane.grpc.ClientData.getDefaultInstance(); } } /** *
     * Data to pass to the object on the server.
     * 
* * .io.deephaven.proto.backplane.grpc.ClientData data = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.ClientData, io.deephaven.proto.backplane.grpc.ClientData.Builder, io.deephaven.proto.backplane.grpc.ClientDataOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { if (!(messageCase_ == 2)) { message_ = io.deephaven.proto.backplane.grpc.ClientData.getDefaultInstance(); } dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.ClientData, io.deephaven.proto.backplane.grpc.ClientData.Builder, io.deephaven.proto.backplane.grpc.ClientDataOrBuilder>( (io.deephaven.proto.backplane.grpc.ClientData) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 2; onChanged(); return dataBuilder_; } @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.StreamRequest) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.StreamRequest) private static final io.deephaven.proto.backplane.grpc.StreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.StreamRequest(); } public static io.deephaven.proto.backplane.grpc.StreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StreamRequest 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.StreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy