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

com.facebook.presto.grpc.udf.GrpcSerializedPage Maven / Gradle / Ivy

There is a newer version: 0.289
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: GrpcUdfInvoke.proto

// Protobuf Java Version: 3.25.1
package com.facebook.presto.grpc.udf;

/**
 * Protobuf type {@code udf.GrpcSerializedPage}
 */
public final class GrpcSerializedPage extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:udf.GrpcSerializedPage)
    GrpcSerializedPageOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GrpcSerializedPage.newBuilder() to construct.
  private GrpcSerializedPage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private GrpcSerializedPage() {
    sliceBytes_ = com.google.protobuf.ByteString.EMPTY;
    pageCodecMarkers_ = com.google.protobuf.ByteString.EMPTY;
  }

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

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.facebook.presto.grpc.udf.GrpcUdfService.internal_static_udf_GrpcSerializedPage_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.facebook.presto.grpc.udf.GrpcUdfService.internal_static_udf_GrpcSerializedPage_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.facebook.presto.grpc.udf.GrpcSerializedPage.class, com.facebook.presto.grpc.udf.GrpcSerializedPage.Builder.class);
  }

  public static final int SLICEBYTES_FIELD_NUMBER = 1;
  private com.google.protobuf.ByteString sliceBytes_ = com.google.protobuf.ByteString.EMPTY;
  /**
   * bytes sliceBytes = 1;
   * @return The sliceBytes.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getSliceBytes() {
    return sliceBytes_;
  }

  public static final int POSITIONCOUNT_FIELD_NUMBER = 2;
  private long positionCount_ = 0L;
  /**
   * sint64 positionCount = 2;
   * @return The positionCount.
   */
  @java.lang.Override
  public long getPositionCount() {
    return positionCount_;
  }

  public static final int UNCOMPRESSEDSIZEINBYTES_FIELD_NUMBER = 3;
  private long uncompressedSizeInBytes_ = 0L;
  /**
   * sint64 uncompressedSizeInBytes = 3;
   * @return The uncompressedSizeInBytes.
   */
  @java.lang.Override
  public long getUncompressedSizeInBytes() {
    return uncompressedSizeInBytes_;
  }

  public static final int PAGECODECMARKERS_FIELD_NUMBER = 4;
  private com.google.protobuf.ByteString pageCodecMarkers_ = com.google.protobuf.ByteString.EMPTY;
  /**
   * bytes pageCodecMarkers = 4;
   * @return The pageCodecMarkers.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getPageCodecMarkers() {
    return pageCodecMarkers_;
  }

  public static final int CHECKSUM_FIELD_NUMBER = 5;
  private long checksum_ = 0L;
  /**
   * sint64 checksum = 5;
   * @return The checksum.
   */
  @java.lang.Override
  public long getChecksum() {
    return checksum_;
  }

  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 (!sliceBytes_.isEmpty()) {
      output.writeBytes(1, sliceBytes_);
    }
    if (positionCount_ != 0L) {
      output.writeSInt64(2, positionCount_);
    }
    if (uncompressedSizeInBytes_ != 0L) {
      output.writeSInt64(3, uncompressedSizeInBytes_);
    }
    if (!pageCodecMarkers_.isEmpty()) {
      output.writeBytes(4, pageCodecMarkers_);
    }
    if (checksum_ != 0L) {
      output.writeSInt64(5, checksum_);
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!sliceBytes_.isEmpty()) {
      size += com.google.protobuf.CodedOutputStream
        .computeBytesSize(1, sliceBytes_);
    }
    if (positionCount_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeSInt64Size(2, positionCount_);
    }
    if (uncompressedSizeInBytes_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeSInt64Size(3, uncompressedSizeInBytes_);
    }
    if (!pageCodecMarkers_.isEmpty()) {
      size += com.google.protobuf.CodedOutputStream
        .computeBytesSize(4, pageCodecMarkers_);
    }
    if (checksum_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeSInt64Size(5, checksum_);
    }
    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 com.facebook.presto.grpc.udf.GrpcSerializedPage)) {
      return super.equals(obj);
    }
    com.facebook.presto.grpc.udf.GrpcSerializedPage other = (com.facebook.presto.grpc.udf.GrpcSerializedPage) obj;

    if (!getSliceBytes()
        .equals(other.getSliceBytes())) return false;
    if (getPositionCount()
        != other.getPositionCount()) return false;
    if (getUncompressedSizeInBytes()
        != other.getUncompressedSizeInBytes()) return false;
    if (!getPageCodecMarkers()
        .equals(other.getPageCodecMarkers())) return false;
    if (getChecksum()
        != other.getChecksum()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + SLICEBYTES_FIELD_NUMBER;
    hash = (53 * hash) + getSliceBytes().hashCode();
    hash = (37 * hash) + POSITIONCOUNT_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getPositionCount());
    hash = (37 * hash) + UNCOMPRESSEDSIZEINBYTES_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getUncompressedSizeInBytes());
    hash = (37 * hash) + PAGECODECMARKERS_FIELD_NUMBER;
    hash = (53 * hash) + getPageCodecMarkers().hashCode();
    hash = (37 * hash) + CHECKSUM_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getChecksum());
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.facebook.presto.grpc.udf.GrpcSerializedPage parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.facebook.presto.grpc.udf.GrpcSerializedPage parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.facebook.presto.grpc.udf.GrpcSerializedPage parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.facebook.presto.grpc.udf.GrpcSerializedPage parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.facebook.presto.grpc.udf.GrpcSerializedPage parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.facebook.presto.grpc.udf.GrpcSerializedPage parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.facebook.presto.grpc.udf.GrpcSerializedPage parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.facebook.presto.grpc.udf.GrpcSerializedPage 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 com.facebook.presto.grpc.udf.GrpcSerializedPage parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }

  public static com.facebook.presto.grpc.udf.GrpcSerializedPage 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 com.facebook.presto.grpc.udf.GrpcSerializedPage parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.facebook.presto.grpc.udf.GrpcSerializedPage 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(com.facebook.presto.grpc.udf.GrpcSerializedPage 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 udf.GrpcSerializedPage}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:udf.GrpcSerializedPage)
      com.facebook.presto.grpc.udf.GrpcSerializedPageOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.facebook.presto.grpc.udf.GrpcUdfService.internal_static_udf_GrpcSerializedPage_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.facebook.presto.grpc.udf.GrpcUdfService.internal_static_udf_GrpcSerializedPage_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.facebook.presto.grpc.udf.GrpcSerializedPage.class, com.facebook.presto.grpc.udf.GrpcSerializedPage.Builder.class);
    }

    // Construct using com.facebook.presto.grpc.udf.GrpcSerializedPage.newBuilder()
    private Builder() {

    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      sliceBytes_ = com.google.protobuf.ByteString.EMPTY;
      positionCount_ = 0L;
      uncompressedSizeInBytes_ = 0L;
      pageCodecMarkers_ = com.google.protobuf.ByteString.EMPTY;
      checksum_ = 0L;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.facebook.presto.grpc.udf.GrpcUdfService.internal_static_udf_GrpcSerializedPage_descriptor;
    }

    @java.lang.Override
    public com.facebook.presto.grpc.udf.GrpcSerializedPage getDefaultInstanceForType() {
      return com.facebook.presto.grpc.udf.GrpcSerializedPage.getDefaultInstance();
    }

    @java.lang.Override
    public com.facebook.presto.grpc.udf.GrpcSerializedPage build() {
      com.facebook.presto.grpc.udf.GrpcSerializedPage result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.facebook.presto.grpc.udf.GrpcSerializedPage buildPartial() {
      com.facebook.presto.grpc.udf.GrpcSerializedPage result = new com.facebook.presto.grpc.udf.GrpcSerializedPage(this);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartial0(com.facebook.presto.grpc.udf.GrpcSerializedPage result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.sliceBytes_ = sliceBytes_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.positionCount_ = positionCount_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.uncompressedSizeInBytes_ = uncompressedSizeInBytes_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.pageCodecMarkers_ = pageCodecMarkers_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.checksum_ = checksum_;
      }
    }

    @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 com.facebook.presto.grpc.udf.GrpcSerializedPage) {
        return mergeFrom((com.facebook.presto.grpc.udf.GrpcSerializedPage)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.facebook.presto.grpc.udf.GrpcSerializedPage other) {
      if (other == com.facebook.presto.grpc.udf.GrpcSerializedPage.getDefaultInstance()) return this;
      if (other.getSliceBytes() != com.google.protobuf.ByteString.EMPTY) {
        setSliceBytes(other.getSliceBytes());
      }
      if (other.getPositionCount() != 0L) {
        setPositionCount(other.getPositionCount());
      }
      if (other.getUncompressedSizeInBytes() != 0L) {
        setUncompressedSizeInBytes(other.getUncompressedSizeInBytes());
      }
      if (other.getPageCodecMarkers() != com.google.protobuf.ByteString.EMPTY) {
        setPageCodecMarkers(other.getPageCodecMarkers());
      }
      if (other.getChecksum() != 0L) {
        setChecksum(other.getChecksum());
      }
      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: {
              sliceBytes_ = input.readBytes();
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 16: {
              positionCount_ = input.readSInt64();
              bitField0_ |= 0x00000002;
              break;
            } // case 16
            case 24: {
              uncompressedSizeInBytes_ = input.readSInt64();
              bitField0_ |= 0x00000004;
              break;
            } // case 24
            case 34: {
              pageCodecMarkers_ = input.readBytes();
              bitField0_ |= 0x00000008;
              break;
            } // case 34
            case 40: {
              checksum_ = input.readSInt64();
              bitField0_ |= 0x00000010;
              break;
            } // case 40
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

    private com.google.protobuf.ByteString sliceBytes_ = com.google.protobuf.ByteString.EMPTY;
    /**
     * bytes sliceBytes = 1;
     * @return The sliceBytes.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getSliceBytes() {
      return sliceBytes_;
    }
    /**
     * bytes sliceBytes = 1;
     * @param value The sliceBytes to set.
     * @return This builder for chaining.
     */
    public Builder setSliceBytes(com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      sliceBytes_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * bytes sliceBytes = 1;
     * @return This builder for chaining.
     */
    public Builder clearSliceBytes() {
      bitField0_ = (bitField0_ & ~0x00000001);
      sliceBytes_ = getDefaultInstance().getSliceBytes();
      onChanged();
      return this;
    }

    private long positionCount_ ;
    /**
     * sint64 positionCount = 2;
     * @return The positionCount.
     */
    @java.lang.Override
    public long getPositionCount() {
      return positionCount_;
    }
    /**
     * sint64 positionCount = 2;
     * @param value The positionCount to set.
     * @return This builder for chaining.
     */
    public Builder setPositionCount(long value) {

      positionCount_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * sint64 positionCount = 2;
     * @return This builder for chaining.
     */
    public Builder clearPositionCount() {
      bitField0_ = (bitField0_ & ~0x00000002);
      positionCount_ = 0L;
      onChanged();
      return this;
    }

    private long uncompressedSizeInBytes_ ;
    /**
     * sint64 uncompressedSizeInBytes = 3;
     * @return The uncompressedSizeInBytes.
     */
    @java.lang.Override
    public long getUncompressedSizeInBytes() {
      return uncompressedSizeInBytes_;
    }
    /**
     * sint64 uncompressedSizeInBytes = 3;
     * @param value The uncompressedSizeInBytes to set.
     * @return This builder for chaining.
     */
    public Builder setUncompressedSizeInBytes(long value) {

      uncompressedSizeInBytes_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * sint64 uncompressedSizeInBytes = 3;
     * @return This builder for chaining.
     */
    public Builder clearUncompressedSizeInBytes() {
      bitField0_ = (bitField0_ & ~0x00000004);
      uncompressedSizeInBytes_ = 0L;
      onChanged();
      return this;
    }

    private com.google.protobuf.ByteString pageCodecMarkers_ = com.google.protobuf.ByteString.EMPTY;
    /**
     * bytes pageCodecMarkers = 4;
     * @return The pageCodecMarkers.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getPageCodecMarkers() {
      return pageCodecMarkers_;
    }
    /**
     * bytes pageCodecMarkers = 4;
     * @param value The pageCodecMarkers to set.
     * @return This builder for chaining.
     */
    public Builder setPageCodecMarkers(com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      pageCodecMarkers_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * bytes pageCodecMarkers = 4;
     * @return This builder for chaining.
     */
    public Builder clearPageCodecMarkers() {
      bitField0_ = (bitField0_ & ~0x00000008);
      pageCodecMarkers_ = getDefaultInstance().getPageCodecMarkers();
      onChanged();
      return this;
    }

    private long checksum_ ;
    /**
     * sint64 checksum = 5;
     * @return The checksum.
     */
    @java.lang.Override
    public long getChecksum() {
      return checksum_;
    }
    /**
     * sint64 checksum = 5;
     * @param value The checksum to set.
     * @return This builder for chaining.
     */
    public Builder setChecksum(long value) {

      checksum_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * sint64 checksum = 5;
     * @return This builder for chaining.
     */
    public Builder clearChecksum() {
      bitField0_ = (bitField0_ & ~0x00000010);
      checksum_ = 0L;
      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:udf.GrpcSerializedPage)
  }

  // @@protoc_insertion_point(class_scope:udf.GrpcSerializedPage)
  private static final com.facebook.presto.grpc.udf.GrpcSerializedPage DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.facebook.presto.grpc.udf.GrpcSerializedPage();
  }

  public static com.facebook.presto.grpc.udf.GrpcSerializedPage getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public GrpcSerializedPage 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 com.facebook.presto.grpc.udf.GrpcSerializedPage getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy