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

java.io.deephaven.proto.backplane.grpc.CreateInputTableRequest 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/table.proto

// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.grpc;

/**
 * Protobuf type {@code io.deephaven.proto.backplane.grpc.CreateInputTableRequest}
 */
public final class CreateInputTableRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.CreateInputTableRequest)
    CreateInputTableRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use CreateInputTableRequest.newBuilder() to construct.
  private CreateInputTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private CreateInputTableRequest() {
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new CreateInputTableRequest();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.deephaven.proto.backplane.grpc.CreateInputTableRequest.class, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.Builder.class);
  }

  public interface InputTableKindOrBuilder extends
      // @@protoc_insertion_point(interface_extends:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1;
     * @return Whether the inMemoryAppendOnly field is set.
     */
    boolean hasInMemoryAppendOnly();
    /**
     * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1;
     * @return The inMemoryAppendOnly.
     */
    io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly getInMemoryAppendOnly();
    /**
     * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1;
     */
    io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnlyOrBuilder getInMemoryAppendOnlyOrBuilder();

    /**
     * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2;
     * @return Whether the inMemoryKeyBacked field is set.
     */
    boolean hasInMemoryKeyBacked();
    /**
     * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2;
     * @return The inMemoryKeyBacked.
     */
    io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked getInMemoryKeyBacked();
    /**
     * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2;
     */
    io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBackedOrBuilder getInMemoryKeyBackedOrBuilder();

    /**
     * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3;
     * @return Whether the blink field is set.
     */
    boolean hasBlink();
    /**
     * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3;
     * @return The blink.
     */
    io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink getBlink();
    /**
     * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3;
     */
    io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.BlinkOrBuilder getBlinkOrBuilder();

    io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.KindCase getKindCase();
  }
  /**
   * Protobuf type {@code io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind}
   */
  public static final class InputTableKind extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind)
      InputTableKindOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use InputTableKind.newBuilder() to construct.
    private InputTableKind(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private InputTableKind() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new InputTableKind();
    }

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.class, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Builder.class);
    }

    public interface InMemoryAppendOnlyOrBuilder extends
        // @@protoc_insertion_point(interface_extends:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly)
        com.google.protobuf.MessageOrBuilder {
    }
    /**
     * 
     * Creates an in-memory append-only table - rows cannot be modified or deleted.
     * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly} */ public static final class InMemoryAppendOnly extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) InMemoryAppendOnlyOrBuilder { private static final long serialVersionUID = 0L; // Use InMemoryAppendOnly.newBuilder() to construct. private InMemoryAppendOnly(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InMemoryAppendOnly() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InMemoryAppendOnly(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_InMemoryAppendOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_InMemoryAppendOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.class, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.Builder.class); } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly other = (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) obj; 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly 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.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly 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.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly 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.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly 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.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly 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.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly 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.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly 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.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly 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; } /** *
       * Creates an in-memory append-only table - rows cannot be modified or deleted.
       * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnlyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_InMemoryAppendOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_InMemoryAppendOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.class, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_InMemoryAppendOnly_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly build() { io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly buildPartial() { io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly result = new io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) { return mergeFrom((io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly other) { if (other == io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.getDefaultInstance()) return this; 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; 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; } @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.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) private static final io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly(); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InMemoryAppendOnly 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.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InMemoryKeyBackedOrBuilder extends // @@protoc_insertion_point(interface_extends:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) com.google.protobuf.MessageOrBuilder { /** * repeated string key_columns = 1; * @return A list containing the keyColumns. */ java.util.List getKeyColumnsList(); /** * repeated string key_columns = 1; * @return The count of keyColumns. */ int getKeyColumnsCount(); /** * repeated string key_columns = 1; * @param index The index of the element to return. * @return The keyColumns at the given index. */ java.lang.String getKeyColumns(int index); /** * repeated string key_columns = 1; * @param index The index of the value to return. * @return The bytes of the keyColumns at the given index. */ com.google.protobuf.ByteString getKeyColumnsBytes(int index); } /** *
     * Creates an in-memory table that supports updates and deletes by keys.
     * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked} */ public static final class InMemoryKeyBacked extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) InMemoryKeyBackedOrBuilder { private static final long serialVersionUID = 0L; // Use InMemoryKeyBacked.newBuilder() to construct. private InMemoryKeyBacked(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InMemoryKeyBacked() { keyColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InMemoryKeyBacked(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_InMemoryKeyBacked_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_InMemoryKeyBacked_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.class, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.Builder.class); } public static final int KEY_COLUMNS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList keyColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string key_columns = 1; * @return A list containing the keyColumns. */ public com.google.protobuf.ProtocolStringList getKeyColumnsList() { return keyColumns_; } /** * repeated string key_columns = 1; * @return The count of keyColumns. */ public int getKeyColumnsCount() { return keyColumns_.size(); } /** * repeated string key_columns = 1; * @param index The index of the element to return. * @return The keyColumns at the given index. */ public java.lang.String getKeyColumns(int index) { return keyColumns_.get(index); } /** * repeated string key_columns = 1; * @param index The index of the value to return. * @return The bytes of the keyColumns at the given index. */ public com.google.protobuf.ByteString getKeyColumnsBytes(int index) { return keyColumns_.getByteString(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 { for (int i = 0; i < keyColumns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyColumns_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < keyColumns_.size(); i++) { dataSize += computeStringSizeNoTag(keyColumns_.getRaw(i)); } size += dataSize; size += 1 * getKeyColumnsList().size(); } 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.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked other = (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) obj; if (!getKeyColumnsList() .equals(other.getKeyColumnsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getKeyColumnsCount() > 0) { hash = (37 * hash) + KEY_COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getKeyColumnsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked 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.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked 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.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked 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.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked 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.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked 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.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked 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.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked 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.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked 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; } /** *
       * Creates an in-memory table that supports updates and deletes by keys.
       * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBackedOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_InMemoryKeyBacked_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_InMemoryKeyBacked_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.class, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; keyColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_InMemoryKeyBacked_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked build() { io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked buildPartial() { io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked result = new io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { keyColumns_.makeImmutable(); result.keyColumns_ = keyColumns_; } } @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.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) { return mergeFrom((io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked other) { if (other == io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.getDefaultInstance()) return this; if (!other.keyColumns_.isEmpty()) { if (keyColumns_.isEmpty()) { keyColumns_ = other.keyColumns_; bitField0_ |= 0x00000001; } else { ensureKeyColumnsIsMutable(); keyColumns_.addAll(other.keyColumns_); } onChanged(); } 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: { java.lang.String s = input.readStringRequireUtf8(); ensureKeyColumnsIsMutable(); keyColumns_.add(s); break; } // case 10 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.LazyStringArrayList keyColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureKeyColumnsIsMutable() { if (!keyColumns_.isModifiable()) { keyColumns_ = new com.google.protobuf.LazyStringArrayList(keyColumns_); } bitField0_ |= 0x00000001; } /** * repeated string key_columns = 1; * @return A list containing the keyColumns. */ public com.google.protobuf.ProtocolStringList getKeyColumnsList() { keyColumns_.makeImmutable(); return keyColumns_; } /** * repeated string key_columns = 1; * @return The count of keyColumns. */ public int getKeyColumnsCount() { return keyColumns_.size(); } /** * repeated string key_columns = 1; * @param index The index of the element to return. * @return The keyColumns at the given index. */ public java.lang.String getKeyColumns(int index) { return keyColumns_.get(index); } /** * repeated string key_columns = 1; * @param index The index of the value to return. * @return The bytes of the keyColumns at the given index. */ public com.google.protobuf.ByteString getKeyColumnsBytes(int index) { return keyColumns_.getByteString(index); } /** * repeated string key_columns = 1; * @param index The index to set the value at. * @param value The keyColumns to set. * @return This builder for chaining. */ public Builder setKeyColumns( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeyColumnsIsMutable(); keyColumns_.set(index, value); bitField0_ |= 0x00000001; onChanged(); return this; } /** * repeated string key_columns = 1; * @param value The keyColumns to add. * @return This builder for chaining. */ public Builder addKeyColumns( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeyColumnsIsMutable(); keyColumns_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } /** * repeated string key_columns = 1; * @param values The keyColumns to add. * @return This builder for chaining. */ public Builder addAllKeyColumns( java.lang.Iterable values) { ensureKeyColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, keyColumns_); bitField0_ |= 0x00000001; onChanged(); return this; } /** * repeated string key_columns = 1; * @return This builder for chaining. */ public Builder clearKeyColumns() { keyColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** * repeated string key_columns = 1; * @param value The bytes of the keyColumns to add. * @return This builder for chaining. */ public Builder addKeyColumnsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKeyColumnsIsMutable(); keyColumns_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) private static final io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked(); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InMemoryKeyBacked 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.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlinkOrBuilder extends // @@protoc_insertion_point(interface_extends:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink} */ public static final class Blink extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) BlinkOrBuilder { private static final long serialVersionUID = 0L; // Use Blink.newBuilder() to construct. private Blink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Blink() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Blink(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_Blink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_Blink_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.class, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.Builder.class); } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.CreateInputTableRequest.InputTableKind.Blink)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink other = (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) obj; 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink 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.CreateInputTableRequest.InputTableKind.Blink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink 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.CreateInputTableRequest.InputTableKind.Blink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink 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.CreateInputTableRequest.InputTableKind.Blink parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink 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.CreateInputTableRequest.InputTableKind.Blink parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink 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.CreateInputTableRequest.InputTableKind.Blink 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.CreateInputTableRequest.InputTableKind.Blink 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.CreateInputTableRequest.InputTableKind.Blink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.BlinkOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_Blink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_Blink_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.class, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_Blink_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink build() { io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink buildPartial() { io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink result = new io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) { return mergeFrom((io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink other) { if (other == io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.getDefaultInstance()) return this; 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; 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; } @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.CreateInputTableRequest.InputTableKind.Blink) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) private static final io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink(); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Blink 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.CreateInputTableRequest.InputTableKind.Blink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int kindCase_ = 0; @SuppressWarnings("serial") private java.lang.Object kind_; public enum KindCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { IN_MEMORY_APPEND_ONLY(1), IN_MEMORY_KEY_BACKED(2), BLINK(3), KIND_NOT_SET(0); private final int value; private KindCase(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 KindCase valueOf(int value) { return forNumber(value); } public static KindCase forNumber(int value) { switch (value) { case 1: return IN_MEMORY_APPEND_ONLY; case 2: return IN_MEMORY_KEY_BACKED; case 3: return BLINK; case 0: return KIND_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public KindCase getKindCase() { return KindCase.forNumber( kindCase_); } public static final int IN_MEMORY_APPEND_ONLY_FIELD_NUMBER = 1; /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1; * @return Whether the inMemoryAppendOnly field is set. */ @java.lang.Override public boolean hasInMemoryAppendOnly() { return kindCase_ == 1; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1; * @return The inMemoryAppendOnly. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly getInMemoryAppendOnly() { if (kindCase_ == 1) { return (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) kind_; } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.getDefaultInstance(); } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnlyOrBuilder getInMemoryAppendOnlyOrBuilder() { if (kindCase_ == 1) { return (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) kind_; } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.getDefaultInstance(); } public static final int IN_MEMORY_KEY_BACKED_FIELD_NUMBER = 2; /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2; * @return Whether the inMemoryKeyBacked field is set. */ @java.lang.Override public boolean hasInMemoryKeyBacked() { return kindCase_ == 2; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2; * @return The inMemoryKeyBacked. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked getInMemoryKeyBacked() { if (kindCase_ == 2) { return (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) kind_; } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.getDefaultInstance(); } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBackedOrBuilder getInMemoryKeyBackedOrBuilder() { if (kindCase_ == 2) { return (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) kind_; } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.getDefaultInstance(); } public static final int BLINK_FIELD_NUMBER = 3; /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3; * @return Whether the blink field is set. */ @java.lang.Override public boolean hasBlink() { return kindCase_ == 3; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3; * @return The blink. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink getBlink() { if (kindCase_ == 3) { return (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) kind_; } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.getDefaultInstance(); } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.BlinkOrBuilder getBlinkOrBuilder() { if (kindCase_ == 3) { return (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) kind_; } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.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 (kindCase_ == 1) { output.writeMessage(1, (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) kind_); } if (kindCase_ == 2) { output.writeMessage(2, (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) kind_); } if (kindCase_ == 3) { output.writeMessage(3, (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) kind_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (kindCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) kind_); } if (kindCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) kind_); } if (kindCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) kind_); } 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.CreateInputTableRequest.InputTableKind)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind other = (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind) obj; if (!getKindCase().equals(other.getKindCase())) return false; switch (kindCase_) { case 1: if (!getInMemoryAppendOnly() .equals(other.getInMemoryAppendOnly())) return false; break; case 2: if (!getInMemoryKeyBacked() .equals(other.getInMemoryKeyBacked())) return false; break; case 3: if (!getBlink() .equals(other.getBlink())) 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 (kindCase_) { case 1: hash = (37 * hash) + IN_MEMORY_APPEND_ONLY_FIELD_NUMBER; hash = (53 * hash) + getInMemoryAppendOnly().hashCode(); break; case 2: hash = (37 * hash) + IN_MEMORY_KEY_BACKED_FIELD_NUMBER; hash = (53 * hash) + getInMemoryKeyBacked().hashCode(); break; case 3: hash = (37 * hash) + BLINK_FIELD_NUMBER; hash = (53 * hash) + getBlink().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind 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.CreateInputTableRequest.InputTableKind parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind 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.CreateInputTableRequest.InputTableKind parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind 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.CreateInputTableRequest.InputTableKind parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind 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.CreateInputTableRequest.InputTableKind parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind 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.CreateInputTableRequest.InputTableKind 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.CreateInputTableRequest.InputTableKind 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.CreateInputTableRequest.InputTableKind prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind) io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKindOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.class, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (inMemoryAppendOnlyBuilder_ != null) { inMemoryAppendOnlyBuilder_.clear(); } if (inMemoryKeyBackedBuilder_ != null) { inMemoryKeyBackedBuilder_.clear(); } if (blinkBuilder_ != null) { blinkBuilder_.clear(); } kindCase_ = 0; kind_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_InputTableKind_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind build() { io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind buildPartial() { io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind result = new io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind result) { result.kindCase_ = kindCase_; result.kind_ = this.kind_; if (kindCase_ == 1 && inMemoryAppendOnlyBuilder_ != null) { result.kind_ = inMemoryAppendOnlyBuilder_.build(); } if (kindCase_ == 2 && inMemoryKeyBackedBuilder_ != null) { result.kind_ = inMemoryKeyBackedBuilder_.build(); } if (kindCase_ == 3 && blinkBuilder_ != null) { result.kind_ = blinkBuilder_.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.CreateInputTableRequest.InputTableKind) { return mergeFrom((io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind other) { if (other == io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.getDefaultInstance()) return this; switch (other.getKindCase()) { case IN_MEMORY_APPEND_ONLY: { mergeInMemoryAppendOnly(other.getInMemoryAppendOnly()); break; } case IN_MEMORY_KEY_BACKED: { mergeInMemoryKeyBacked(other.getInMemoryKeyBacked()); break; } case BLINK: { mergeBlink(other.getBlink()); break; } case KIND_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( getInMemoryAppendOnlyFieldBuilder().getBuilder(), extensionRegistry); kindCase_ = 1; break; } // case 10 case 18: { input.readMessage( getInMemoryKeyBackedFieldBuilder().getBuilder(), extensionRegistry); kindCase_ = 2; break; } // case 18 case 26: { input.readMessage( getBlinkFieldBuilder().getBuilder(), extensionRegistry); kindCase_ = 3; break; } // case 26 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 kindCase_ = 0; private java.lang.Object kind_; public KindCase getKindCase() { return KindCase.forNumber( kindCase_); } public Builder clearKind() { kindCase_ = 0; kind_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.Builder, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnlyOrBuilder> inMemoryAppendOnlyBuilder_; /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1; * @return Whether the inMemoryAppendOnly field is set. */ @java.lang.Override public boolean hasInMemoryAppendOnly() { return kindCase_ == 1; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1; * @return The inMemoryAppendOnly. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly getInMemoryAppendOnly() { if (inMemoryAppendOnlyBuilder_ == null) { if (kindCase_ == 1) { return (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) kind_; } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.getDefaultInstance(); } else { if (kindCase_ == 1) { return inMemoryAppendOnlyBuilder_.getMessage(); } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1; */ public Builder setInMemoryAppendOnly(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly value) { if (inMemoryAppendOnlyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } kind_ = value; onChanged(); } else { inMemoryAppendOnlyBuilder_.setMessage(value); } kindCase_ = 1; return this; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1; */ public Builder setInMemoryAppendOnly( io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.Builder builderForValue) { if (inMemoryAppendOnlyBuilder_ == null) { kind_ = builderForValue.build(); onChanged(); } else { inMemoryAppendOnlyBuilder_.setMessage(builderForValue.build()); } kindCase_ = 1; return this; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1; */ public Builder mergeInMemoryAppendOnly(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly value) { if (inMemoryAppendOnlyBuilder_ == null) { if (kindCase_ == 1 && kind_ != io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.getDefaultInstance()) { kind_ = io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.newBuilder((io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) kind_) .mergeFrom(value).buildPartial(); } else { kind_ = value; } onChanged(); } else { if (kindCase_ == 1) { inMemoryAppendOnlyBuilder_.mergeFrom(value); } else { inMemoryAppendOnlyBuilder_.setMessage(value); } } kindCase_ = 1; return this; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1; */ public Builder clearInMemoryAppendOnly() { if (inMemoryAppendOnlyBuilder_ == null) { if (kindCase_ == 1) { kindCase_ = 0; kind_ = null; onChanged(); } } else { if (kindCase_ == 1) { kindCase_ = 0; kind_ = null; } inMemoryAppendOnlyBuilder_.clear(); } return this; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1; */ public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.Builder getInMemoryAppendOnlyBuilder() { return getInMemoryAppendOnlyFieldBuilder().getBuilder(); } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnlyOrBuilder getInMemoryAppendOnlyOrBuilder() { if ((kindCase_ == 1) && (inMemoryAppendOnlyBuilder_ != null)) { return inMemoryAppendOnlyBuilder_.getMessageOrBuilder(); } else { if (kindCase_ == 1) { return (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) kind_; } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly in_memory_append_only = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.Builder, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnlyOrBuilder> getInMemoryAppendOnlyFieldBuilder() { if (inMemoryAppendOnlyBuilder_ == null) { if (!(kindCase_ == 1)) { kind_ = io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.getDefaultInstance(); } inMemoryAppendOnlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly.Builder, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnlyOrBuilder>( (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryAppendOnly) kind_, getParentForChildren(), isClean()); kind_ = null; } kindCase_ = 1; onChanged(); return inMemoryAppendOnlyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.Builder, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBackedOrBuilder> inMemoryKeyBackedBuilder_; /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2; * @return Whether the inMemoryKeyBacked field is set. */ @java.lang.Override public boolean hasInMemoryKeyBacked() { return kindCase_ == 2; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2; * @return The inMemoryKeyBacked. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked getInMemoryKeyBacked() { if (inMemoryKeyBackedBuilder_ == null) { if (kindCase_ == 2) { return (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) kind_; } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.getDefaultInstance(); } else { if (kindCase_ == 2) { return inMemoryKeyBackedBuilder_.getMessage(); } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2; */ public Builder setInMemoryKeyBacked(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked value) { if (inMemoryKeyBackedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } kind_ = value; onChanged(); } else { inMemoryKeyBackedBuilder_.setMessage(value); } kindCase_ = 2; return this; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2; */ public Builder setInMemoryKeyBacked( io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.Builder builderForValue) { if (inMemoryKeyBackedBuilder_ == null) { kind_ = builderForValue.build(); onChanged(); } else { inMemoryKeyBackedBuilder_.setMessage(builderForValue.build()); } kindCase_ = 2; return this; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2; */ public Builder mergeInMemoryKeyBacked(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked value) { if (inMemoryKeyBackedBuilder_ == null) { if (kindCase_ == 2 && kind_ != io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.getDefaultInstance()) { kind_ = io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.newBuilder((io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) kind_) .mergeFrom(value).buildPartial(); } else { kind_ = value; } onChanged(); } else { if (kindCase_ == 2) { inMemoryKeyBackedBuilder_.mergeFrom(value); } else { inMemoryKeyBackedBuilder_.setMessage(value); } } kindCase_ = 2; return this; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2; */ public Builder clearInMemoryKeyBacked() { if (inMemoryKeyBackedBuilder_ == null) { if (kindCase_ == 2) { kindCase_ = 0; kind_ = null; onChanged(); } } else { if (kindCase_ == 2) { kindCase_ = 0; kind_ = null; } inMemoryKeyBackedBuilder_.clear(); } return this; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2; */ public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.Builder getInMemoryKeyBackedBuilder() { return getInMemoryKeyBackedFieldBuilder().getBuilder(); } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBackedOrBuilder getInMemoryKeyBackedOrBuilder() { if ((kindCase_ == 2) && (inMemoryKeyBackedBuilder_ != null)) { return inMemoryKeyBackedBuilder_.getMessageOrBuilder(); } else { if (kindCase_ == 2) { return (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) kind_; } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked in_memory_key_backed = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.Builder, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBackedOrBuilder> getInMemoryKeyBackedFieldBuilder() { if (inMemoryKeyBackedBuilder_ == null) { if (!(kindCase_ == 2)) { kind_ = io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.getDefaultInstance(); } inMemoryKeyBackedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked.Builder, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBackedOrBuilder>( (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.InMemoryKeyBacked) kind_, getParentForChildren(), isClean()); kind_ = null; } kindCase_ = 2; onChanged(); return inMemoryKeyBackedBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.Builder, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.BlinkOrBuilder> blinkBuilder_; /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3; * @return Whether the blink field is set. */ @java.lang.Override public boolean hasBlink() { return kindCase_ == 3; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3; * @return The blink. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink getBlink() { if (blinkBuilder_ == null) { if (kindCase_ == 3) { return (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) kind_; } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.getDefaultInstance(); } else { if (kindCase_ == 3) { return blinkBuilder_.getMessage(); } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3; */ public Builder setBlink(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink value) { if (blinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); } kind_ = value; onChanged(); } else { blinkBuilder_.setMessage(value); } kindCase_ = 3; return this; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3; */ public Builder setBlink( io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.Builder builderForValue) { if (blinkBuilder_ == null) { kind_ = builderForValue.build(); onChanged(); } else { blinkBuilder_.setMessage(builderForValue.build()); } kindCase_ = 3; return this; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3; */ public Builder mergeBlink(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink value) { if (blinkBuilder_ == null) { if (kindCase_ == 3 && kind_ != io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.getDefaultInstance()) { kind_ = io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.newBuilder((io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) kind_) .mergeFrom(value).buildPartial(); } else { kind_ = value; } onChanged(); } else { if (kindCase_ == 3) { blinkBuilder_.mergeFrom(value); } else { blinkBuilder_.setMessage(value); } } kindCase_ = 3; return this; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3; */ public Builder clearBlink() { if (blinkBuilder_ == null) { if (kindCase_ == 3) { kindCase_ = 0; kind_ = null; onChanged(); } } else { if (kindCase_ == 3) { kindCase_ = 0; kind_ = null; } blinkBuilder_.clear(); } return this; } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3; */ public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.Builder getBlinkBuilder() { return getBlinkFieldBuilder().getBuilder(); } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.BlinkOrBuilder getBlinkOrBuilder() { if ((kindCase_ == 3) && (blinkBuilder_ != null)) { return blinkBuilder_.getMessageOrBuilder(); } else { if (kindCase_ == 3) { return (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) kind_; } return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink blink = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.Builder, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.BlinkOrBuilder> getBlinkFieldBuilder() { if (blinkBuilder_ == null) { if (!(kindCase_ == 3)) { kind_ = io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.getDefaultInstance(); } blinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink.Builder, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.BlinkOrBuilder>( (io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Blink) kind_, getParentForChildren(), isClean()); kind_ = null; } kindCase_ = 3; onChanged(); return blinkBuilder_; } @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.CreateInputTableRequest.InputTableKind) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind) private static final io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind(); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InputTableKind 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.CreateInputTableRequest.InputTableKind getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; private int definitionCase_ = 0; @SuppressWarnings("serial") private java.lang.Object definition_; public enum DefinitionCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SOURCE_TABLE_ID(2), SCHEMA(3), DEFINITION_NOT_SET(0); private final int value; private DefinitionCase(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 DefinitionCase valueOf(int value) { return forNumber(value); } public static DefinitionCase forNumber(int value) { switch (value) { case 2: return SOURCE_TABLE_ID; case 3: return SCHEMA; case 0: return DEFINITION_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DefinitionCase getDefinitionCase() { return DefinitionCase.forNumber( definitionCase_); } public static final int RESULT_ID_FIELD_NUMBER = 1; private io.deephaven.proto.backplane.grpc.Ticket resultId_; /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; * @return Whether the resultId field is set. */ @java.lang.Override public boolean hasResultId() { return ((bitField0_ & 0x00000001) != 0); } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; * @return The resultId. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Ticket getResultId() { return resultId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultId_; } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.TicketOrBuilder getResultIdOrBuilder() { return resultId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultId_; } public static final int SOURCE_TABLE_ID_FIELD_NUMBER = 2; /** *
   * Optional, either this or schema must be specified, not both.
   * 
* * .io.deephaven.proto.backplane.grpc.TableReference source_table_id = 2; * @return Whether the sourceTableId field is set. */ @java.lang.Override public boolean hasSourceTableId() { return definitionCase_ == 2; } /** *
   * Optional, either this or schema must be specified, not both.
   * 
* * .io.deephaven.proto.backplane.grpc.TableReference source_table_id = 2; * @return The sourceTableId. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.TableReference getSourceTableId() { if (definitionCase_ == 2) { return (io.deephaven.proto.backplane.grpc.TableReference) definition_; } return io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance(); } /** *
   * Optional, either this or schema must be specified, not both.
   * 
* * .io.deephaven.proto.backplane.grpc.TableReference source_table_id = 2; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder getSourceTableIdOrBuilder() { if (definitionCase_ == 2) { return (io.deephaven.proto.backplane.grpc.TableReference) definition_; } return io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance(); } public static final int SCHEMA_FIELD_NUMBER = 3; /** *
   * Schema as described in Arrow Message.fbs::Message. Optional, either this or source_table_id must be specified.
   * 
* * bytes schema = 3; * @return Whether the schema field is set. */ @java.lang.Override public boolean hasSchema() { return definitionCase_ == 3; } /** *
   * Schema as described in Arrow Message.fbs::Message. Optional, either this or source_table_id must be specified.
   * 
* * bytes schema = 3; * @return The schema. */ @java.lang.Override public com.google.protobuf.ByteString getSchema() { if (definitionCase_ == 3) { return (com.google.protobuf.ByteString) definition_; } return com.google.protobuf.ByteString.EMPTY; } public static final int KIND_FIELD_NUMBER = 4; private io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind_; /** *
   * Specifies what type of input table to create.
   * 
* * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind = 4; * @return Whether the kind field is set. */ @java.lang.Override public boolean hasKind() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Specifies what type of input table to create.
   * 
* * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind = 4; * @return The kind. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind getKind() { return kind_ == null ? io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.getDefaultInstance() : kind_; } /** *
   * Specifies what type of input table to create.
   * 
* * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind = 4; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKindOrBuilder getKindOrBuilder() { return kind_ == null ? io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.getDefaultInstance() : kind_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getResultId()); } if (definitionCase_ == 2) { output.writeMessage(2, (io.deephaven.proto.backplane.grpc.TableReference) definition_); } if (definitionCase_ == 3) { output.writeBytes( 3, (com.google.protobuf.ByteString) definition_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(4, getKind()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getResultId()); } if (definitionCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (io.deephaven.proto.backplane.grpc.TableReference) definition_); } if (definitionCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeBytesSize( 3, (com.google.protobuf.ByteString) definition_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getKind()); } 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.CreateInputTableRequest)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.CreateInputTableRequest other = (io.deephaven.proto.backplane.grpc.CreateInputTableRequest) obj; if (hasResultId() != other.hasResultId()) return false; if (hasResultId()) { if (!getResultId() .equals(other.getResultId())) return false; } if (hasKind() != other.hasKind()) return false; if (hasKind()) { if (!getKind() .equals(other.getKind())) return false; } if (!getDefinitionCase().equals(other.getDefinitionCase())) return false; switch (definitionCase_) { case 2: if (!getSourceTableId() .equals(other.getSourceTableId())) return false; break; case 3: if (!getSchema() .equals(other.getSchema())) 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(); if (hasResultId()) { hash = (37 * hash) + RESULT_ID_FIELD_NUMBER; hash = (53 * hash) + getResultId().hashCode(); } if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + getKind().hashCode(); } switch (definitionCase_) { case 2: hash = (37 * hash) + SOURCE_TABLE_ID_FIELD_NUMBER; hash = (53 * hash) + getSourceTableId().hashCode(); break; case 3: hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getSchema().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest 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.CreateInputTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest 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.CreateInputTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest 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.CreateInputTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest 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.CreateInputTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest 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.CreateInputTableRequest 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.CreateInputTableRequest 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.CreateInputTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.CreateInputTableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.CreateInputTableRequest) io.deephaven.proto.backplane.grpc.CreateInputTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.CreateInputTableRequest.class, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.CreateInputTableRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getResultIdFieldBuilder(); getKindFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; resultId_ = null; if (resultIdBuilder_ != null) { resultIdBuilder_.dispose(); resultIdBuilder_ = null; } if (sourceTableIdBuilder_ != null) { sourceTableIdBuilder_.clear(); } kind_ = null; if (kindBuilder_ != null) { kindBuilder_.dispose(); kindBuilder_ = null; } definitionCase_ = 0; definition_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CreateInputTableRequest_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.CreateInputTableRequest.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest build() { io.deephaven.proto.backplane.grpc.CreateInputTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.CreateInputTableRequest buildPartial() { io.deephaven.proto.backplane.grpc.CreateInputTableRequest result = new io.deephaven.proto.backplane.grpc.CreateInputTableRequest(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.CreateInputTableRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.resultId_ = resultIdBuilder_ == null ? resultId_ : resultIdBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.kind_ = kindBuilder_ == null ? kind_ : kindBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(io.deephaven.proto.backplane.grpc.CreateInputTableRequest result) { result.definitionCase_ = definitionCase_; result.definition_ = this.definition_; if (definitionCase_ == 2 && sourceTableIdBuilder_ != null) { result.definition_ = sourceTableIdBuilder_.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.CreateInputTableRequest) { return mergeFrom((io.deephaven.proto.backplane.grpc.CreateInputTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.CreateInputTableRequest other) { if (other == io.deephaven.proto.backplane.grpc.CreateInputTableRequest.getDefaultInstance()) return this; if (other.hasResultId()) { mergeResultId(other.getResultId()); } if (other.hasKind()) { mergeKind(other.getKind()); } switch (other.getDefinitionCase()) { case SOURCE_TABLE_ID: { mergeSourceTableId(other.getSourceTableId()); break; } case SCHEMA: { setSchema(other.getSchema()); break; } case DEFINITION_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( getResultIdFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getSourceTableIdFieldBuilder().getBuilder(), extensionRegistry); definitionCase_ = 2; break; } // case 18 case 26: { definition_ = input.readBytes(); definitionCase_ = 3; break; } // case 26 case 34: { input.readMessage( getKindFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int definitionCase_ = 0; private java.lang.Object definition_; public DefinitionCase getDefinitionCase() { return DefinitionCase.forNumber( definitionCase_); } public Builder clearDefinition() { definitionCase_ = 0; definition_ = null; onChanged(); return this; } private int bitField0_; private io.deephaven.proto.backplane.grpc.Ticket resultId_; private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> resultIdBuilder_; /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; * @return Whether the resultId field is set. */ public boolean hasResultId() { return ((bitField0_ & 0x00000001) != 0); } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; * @return The resultId. */ public io.deephaven.proto.backplane.grpc.Ticket getResultId() { if (resultIdBuilder_ == null) { return resultId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultId_; } else { return resultIdBuilder_.getMessage(); } } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ public Builder setResultId(io.deephaven.proto.backplane.grpc.Ticket value) { if (resultIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resultId_ = value; } else { resultIdBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ public Builder setResultId( io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) { if (resultIdBuilder_ == null) { resultId_ = builderForValue.build(); } else { resultIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ public Builder mergeResultId(io.deephaven.proto.backplane.grpc.Ticket value) { if (resultIdBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && resultId_ != null && resultId_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) { getResultIdBuilder().mergeFrom(value); } else { resultId_ = value; } } else { resultIdBuilder_.mergeFrom(value); } if (resultId_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ public Builder clearResultId() { bitField0_ = (bitField0_ & ~0x00000001); resultId_ = null; if (resultIdBuilder_ != null) { resultIdBuilder_.dispose(); resultIdBuilder_ = null; } onChanged(); return this; } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ public io.deephaven.proto.backplane.grpc.Ticket.Builder getResultIdBuilder() { bitField0_ |= 0x00000001; onChanged(); return getResultIdFieldBuilder().getBuilder(); } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ public io.deephaven.proto.backplane.grpc.TicketOrBuilder getResultIdOrBuilder() { if (resultIdBuilder_ != null) { return resultIdBuilder_.getMessageOrBuilder(); } else { return resultId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultId_; } } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> getResultIdFieldBuilder() { if (resultIdBuilder_ == null) { resultIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>( getResultId(), getParentForChildren(), isClean()); resultId_ = null; } return resultIdBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.TableReference, io.deephaven.proto.backplane.grpc.TableReference.Builder, io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder> sourceTableIdBuilder_; /** *
     * Optional, either this or schema must be specified, not both.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference source_table_id = 2; * @return Whether the sourceTableId field is set. */ @java.lang.Override public boolean hasSourceTableId() { return definitionCase_ == 2; } /** *
     * Optional, either this or schema must be specified, not both.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference source_table_id = 2; * @return The sourceTableId. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.TableReference getSourceTableId() { if (sourceTableIdBuilder_ == null) { if (definitionCase_ == 2) { return (io.deephaven.proto.backplane.grpc.TableReference) definition_; } return io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance(); } else { if (definitionCase_ == 2) { return sourceTableIdBuilder_.getMessage(); } return io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance(); } } /** *
     * Optional, either this or schema must be specified, not both.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference source_table_id = 2; */ public Builder setSourceTableId(io.deephaven.proto.backplane.grpc.TableReference value) { if (sourceTableIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } definition_ = value; onChanged(); } else { sourceTableIdBuilder_.setMessage(value); } definitionCase_ = 2; return this; } /** *
     * Optional, either this or schema must be specified, not both.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference source_table_id = 2; */ public Builder setSourceTableId( io.deephaven.proto.backplane.grpc.TableReference.Builder builderForValue) { if (sourceTableIdBuilder_ == null) { definition_ = builderForValue.build(); onChanged(); } else { sourceTableIdBuilder_.setMessage(builderForValue.build()); } definitionCase_ = 2; return this; } /** *
     * Optional, either this or schema must be specified, not both.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference source_table_id = 2; */ public Builder mergeSourceTableId(io.deephaven.proto.backplane.grpc.TableReference value) { if (sourceTableIdBuilder_ == null) { if (definitionCase_ == 2 && definition_ != io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance()) { definition_ = io.deephaven.proto.backplane.grpc.TableReference.newBuilder((io.deephaven.proto.backplane.grpc.TableReference) definition_) .mergeFrom(value).buildPartial(); } else { definition_ = value; } onChanged(); } else { if (definitionCase_ == 2) { sourceTableIdBuilder_.mergeFrom(value); } else { sourceTableIdBuilder_.setMessage(value); } } definitionCase_ = 2; return this; } /** *
     * Optional, either this or schema must be specified, not both.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference source_table_id = 2; */ public Builder clearSourceTableId() { if (sourceTableIdBuilder_ == null) { if (definitionCase_ == 2) { definitionCase_ = 0; definition_ = null; onChanged(); } } else { if (definitionCase_ == 2) { definitionCase_ = 0; definition_ = null; } sourceTableIdBuilder_.clear(); } return this; } /** *
     * Optional, either this or schema must be specified, not both.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference source_table_id = 2; */ public io.deephaven.proto.backplane.grpc.TableReference.Builder getSourceTableIdBuilder() { return getSourceTableIdFieldBuilder().getBuilder(); } /** *
     * Optional, either this or schema must be specified, not both.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference source_table_id = 2; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder getSourceTableIdOrBuilder() { if ((definitionCase_ == 2) && (sourceTableIdBuilder_ != null)) { return sourceTableIdBuilder_.getMessageOrBuilder(); } else { if (definitionCase_ == 2) { return (io.deephaven.proto.backplane.grpc.TableReference) definition_; } return io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance(); } } /** *
     * Optional, either this or schema must be specified, not both.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference source_table_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.TableReference, io.deephaven.proto.backplane.grpc.TableReference.Builder, io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder> getSourceTableIdFieldBuilder() { if (sourceTableIdBuilder_ == null) { if (!(definitionCase_ == 2)) { definition_ = io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance(); } sourceTableIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.TableReference, io.deephaven.proto.backplane.grpc.TableReference.Builder, io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder>( (io.deephaven.proto.backplane.grpc.TableReference) definition_, getParentForChildren(), isClean()); definition_ = null; } definitionCase_ = 2; onChanged(); return sourceTableIdBuilder_; } /** *
     * Schema as described in Arrow Message.fbs::Message. Optional, either this or source_table_id must be specified.
     * 
* * bytes schema = 3; * @return Whether the schema field is set. */ public boolean hasSchema() { return definitionCase_ == 3; } /** *
     * Schema as described in Arrow Message.fbs::Message. Optional, either this or source_table_id must be specified.
     * 
* * bytes schema = 3; * @return The schema. */ public com.google.protobuf.ByteString getSchema() { if (definitionCase_ == 3) { return (com.google.protobuf.ByteString) definition_; } return com.google.protobuf.ByteString.EMPTY; } /** *
     * Schema as described in Arrow Message.fbs::Message. Optional, either this or source_table_id must be specified.
     * 
* * bytes schema = 3; * @param value The schema to set. * @return This builder for chaining. */ public Builder setSchema(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } definitionCase_ = 3; definition_ = value; onChanged(); return this; } /** *
     * Schema as described in Arrow Message.fbs::Message. Optional, either this or source_table_id must be specified.
     * 
* * bytes schema = 3; * @return This builder for chaining. */ public Builder clearSchema() { if (definitionCase_ == 3) { definitionCase_ = 0; definition_ = null; onChanged(); } return this; } private io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind_; private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Builder, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKindOrBuilder> kindBuilder_; /** *
     * Specifies what type of input table to create.
     * 
* * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind = 4; * @return Whether the kind field is set. */ public boolean hasKind() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Specifies what type of input table to create.
     * 
* * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind = 4; * @return The kind. */ public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind getKind() { if (kindBuilder_ == null) { return kind_ == null ? io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.getDefaultInstance() : kind_; } else { return kindBuilder_.getMessage(); } } /** *
     * Specifies what type of input table to create.
     * 
* * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind = 4; */ public Builder setKind(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind value) { if (kindBuilder_ == null) { if (value == null) { throw new NullPointerException(); } kind_ = value; } else { kindBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Specifies what type of input table to create.
     * 
* * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind = 4; */ public Builder setKind( io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Builder builderForValue) { if (kindBuilder_ == null) { kind_ = builderForValue.build(); } else { kindBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Specifies what type of input table to create.
     * 
* * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind = 4; */ public Builder mergeKind(io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind value) { if (kindBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && kind_ != null && kind_ != io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.getDefaultInstance()) { getKindBuilder().mergeFrom(value); } else { kind_ = value; } } else { kindBuilder_.mergeFrom(value); } if (kind_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** *
     * Specifies what type of input table to create.
     * 
* * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind = 4; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000008); kind_ = null; if (kindBuilder_ != null) { kindBuilder_.dispose(); kindBuilder_ = null; } onChanged(); return this; } /** *
     * Specifies what type of input table to create.
     * 
* * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind = 4; */ public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Builder getKindBuilder() { bitField0_ |= 0x00000008; onChanged(); return getKindFieldBuilder().getBuilder(); } /** *
     * Specifies what type of input table to create.
     * 
* * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind = 4; */ public io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKindOrBuilder getKindOrBuilder() { if (kindBuilder_ != null) { return kindBuilder_.getMessageOrBuilder(); } else { return kind_ == null ? io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.getDefaultInstance() : kind_; } } /** *
     * Specifies what type of input table to create.
     * 
* * .io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind kind = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Builder, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKindOrBuilder> getKindFieldBuilder() { if (kindBuilder_ == null) { kindBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKind.Builder, io.deephaven.proto.backplane.grpc.CreateInputTableRequest.InputTableKindOrBuilder>( getKind(), getParentForChildren(), isClean()); kind_ = null; } return kindBuilder_; } @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.CreateInputTableRequest) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.CreateInputTableRequest) private static final io.deephaven.proto.backplane.grpc.CreateInputTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.CreateInputTableRequest(); } public static io.deephaven.proto.backplane.grpc.CreateInputTableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateInputTableRequest 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.CreateInputTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy