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

com.alibaba.graphscope.proto.groot.OperationBatchPb Maven / Gradle / Ivy

There is a newer version: 0.28.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: groot/sdk/model.proto

package com.alibaba.graphscope.proto.groot;

/**
 * Protobuf type {@code gs.rpc.groot.OperationBatchPb}
 */
public final class OperationBatchPb extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:gs.rpc.groot.OperationBatchPb)
    OperationBatchPbOrBuilder {
private static final long serialVersionUID = 0L;
  // Use OperationBatchPb.newBuilder() to construct.
  private OperationBatchPb(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private OperationBatchPb() {
    operations_ = java.util.Collections.emptyList();
  }

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

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.alibaba.graphscope.proto.groot.Model.internal_static_gs_rpc_groot_OperationBatchPb_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.alibaba.graphscope.proto.groot.Model.internal_static_gs_rpc_groot_OperationBatchPb_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.alibaba.graphscope.proto.groot.OperationBatchPb.class, com.alibaba.graphscope.proto.groot.OperationBatchPb.Builder.class);
  }

  public static final int LATESTSNAPSHOTID_FIELD_NUMBER = 1;
  private long latestSnapshotId_ = 0L;
  /**
   * int64 latestSnapshotId = 1;
   * @return The latestSnapshotId.
   */
  @java.lang.Override
  public long getLatestSnapshotId() {
    return latestSnapshotId_;
  }

  public static final int OPERATIONS_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private java.util.List operations_;
  /**
   * repeated .gs.rpc.groot.OperationPb operations = 2;
   */
  @java.lang.Override
  public java.util.List getOperationsList() {
    return operations_;
  }
  /**
   * repeated .gs.rpc.groot.OperationPb operations = 2;
   */
  @java.lang.Override
  public java.util.List 
      getOperationsOrBuilderList() {
    return operations_;
  }
  /**
   * repeated .gs.rpc.groot.OperationPb operations = 2;
   */
  @java.lang.Override
  public int getOperationsCount() {
    return operations_.size();
  }
  /**
   * repeated .gs.rpc.groot.OperationPb operations = 2;
   */
  @java.lang.Override
  public com.alibaba.graphscope.proto.groot.OperationPb getOperations(int index) {
    return operations_.get(index);
  }
  /**
   * repeated .gs.rpc.groot.OperationPb operations = 2;
   */
  @java.lang.Override
  public com.alibaba.graphscope.proto.groot.OperationPbOrBuilder getOperationsOrBuilder(
      int index) {
    return operations_.get(index);
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (latestSnapshotId_ != 0L) {
      output.writeInt64(1, latestSnapshotId_);
    }
    for (int i = 0; i < operations_.size(); i++) {
      output.writeMessage(2, operations_.get(i));
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (latestSnapshotId_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(1, latestSnapshotId_);
    }
    for (int i = 0; i < operations_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, operations_.get(i));
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.alibaba.graphscope.proto.groot.OperationBatchPb)) {
      return super.equals(obj);
    }
    com.alibaba.graphscope.proto.groot.OperationBatchPb other = (com.alibaba.graphscope.proto.groot.OperationBatchPb) obj;

    if (getLatestSnapshotId()
        != other.getLatestSnapshotId()) return false;
    if (!getOperationsList()
        .equals(other.getOperationsList())) 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) + LATESTSNAPSHOTID_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getLatestSnapshotId());
    if (getOperationsCount() > 0) {
      hash = (37 * hash) + OPERATIONS_FIELD_NUMBER;
      hash = (53 * hash) + getOperationsList().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.alibaba.graphscope.proto.groot.OperationBatchPb parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.alibaba.graphscope.proto.groot.OperationBatchPb parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.alibaba.graphscope.proto.groot.OperationBatchPb parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.alibaba.graphscope.proto.groot.OperationBatchPb parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.alibaba.graphscope.proto.groot.OperationBatchPb parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.alibaba.graphscope.proto.groot.OperationBatchPb parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.alibaba.graphscope.proto.groot.OperationBatchPb parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.alibaba.graphscope.proto.groot.OperationBatchPb 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.alibaba.graphscope.proto.groot.OperationBatchPb parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.alibaba.graphscope.proto.groot.OperationBatchPb 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.alibaba.graphscope.proto.groot.OperationBatchPb parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.alibaba.graphscope.proto.groot.OperationBatchPb 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.alibaba.graphscope.proto.groot.OperationBatchPb 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 gs.rpc.groot.OperationBatchPb}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:gs.rpc.groot.OperationBatchPb)
      com.alibaba.graphscope.proto.groot.OperationBatchPbOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.alibaba.graphscope.proto.groot.Model.internal_static_gs_rpc_groot_OperationBatchPb_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.alibaba.graphscope.proto.groot.Model.internal_static_gs_rpc_groot_OperationBatchPb_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.alibaba.graphscope.proto.groot.OperationBatchPb.class, com.alibaba.graphscope.proto.groot.OperationBatchPb.Builder.class);
    }

    // Construct using com.alibaba.graphscope.proto.groot.OperationBatchPb.newBuilder()
    private Builder() {

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      latestSnapshotId_ = 0L;
      if (operationsBuilder_ == null) {
        operations_ = java.util.Collections.emptyList();
      } else {
        operations_ = null;
        operationsBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000002);
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.alibaba.graphscope.proto.groot.Model.internal_static_gs_rpc_groot_OperationBatchPb_descriptor;
    }

    @java.lang.Override
    public com.alibaba.graphscope.proto.groot.OperationBatchPb getDefaultInstanceForType() {
      return com.alibaba.graphscope.proto.groot.OperationBatchPb.getDefaultInstance();
    }

    @java.lang.Override
    public com.alibaba.graphscope.proto.groot.OperationBatchPb build() {
      com.alibaba.graphscope.proto.groot.OperationBatchPb result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.alibaba.graphscope.proto.groot.OperationBatchPb buildPartial() {
      com.alibaba.graphscope.proto.groot.OperationBatchPb result = new com.alibaba.graphscope.proto.groot.OperationBatchPb(this);
      buildPartialRepeatedFields(result);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartialRepeatedFields(com.alibaba.graphscope.proto.groot.OperationBatchPb result) {
      if (operationsBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)) {
          operations_ = java.util.Collections.unmodifiableList(operations_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.operations_ = operations_;
      } else {
        result.operations_ = operationsBuilder_.build();
      }
    }

    private void buildPartial0(com.alibaba.graphscope.proto.groot.OperationBatchPb result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.latestSnapshotId_ = latestSnapshotId_;
      }
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.alibaba.graphscope.proto.groot.OperationBatchPb) {
        return mergeFrom((com.alibaba.graphscope.proto.groot.OperationBatchPb)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.alibaba.graphscope.proto.groot.OperationBatchPb other) {
      if (other == com.alibaba.graphscope.proto.groot.OperationBatchPb.getDefaultInstance()) return this;
      if (other.getLatestSnapshotId() != 0L) {
        setLatestSnapshotId(other.getLatestSnapshotId());
      }
      if (operationsBuilder_ == null) {
        if (!other.operations_.isEmpty()) {
          if (operations_.isEmpty()) {
            operations_ = other.operations_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureOperationsIsMutable();
            operations_.addAll(other.operations_);
          }
          onChanged();
        }
      } else {
        if (!other.operations_.isEmpty()) {
          if (operationsBuilder_.isEmpty()) {
            operationsBuilder_.dispose();
            operationsBuilder_ = null;
            operations_ = other.operations_;
            bitField0_ = (bitField0_ & ~0x00000002);
            operationsBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getOperationsFieldBuilder() : null;
          } else {
            operationsBuilder_.addAllMessages(other.operations_);
          }
        }
      }
      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 8: {
              latestSnapshotId_ = input.readInt64();
              bitField0_ |= 0x00000001;
              break;
            } // case 8
            case 18: {
              com.alibaba.graphscope.proto.groot.OperationPb m =
                  input.readMessage(
                      com.alibaba.graphscope.proto.groot.OperationPb.parser(),
                      extensionRegistry);
              if (operationsBuilder_ == null) {
                ensureOperationsIsMutable();
                operations_.add(m);
              } else {
                operationsBuilder_.addMessage(m);
              }
              break;
            } // case 18
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

    private long latestSnapshotId_ ;
    /**
     * int64 latestSnapshotId = 1;
     * @return The latestSnapshotId.
     */
    @java.lang.Override
    public long getLatestSnapshotId() {
      return latestSnapshotId_;
    }
    /**
     * int64 latestSnapshotId = 1;
     * @param value The latestSnapshotId to set.
     * @return This builder for chaining.
     */
    public Builder setLatestSnapshotId(long value) {

      latestSnapshotId_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * int64 latestSnapshotId = 1;
     * @return This builder for chaining.
     */
    public Builder clearLatestSnapshotId() {
      bitField0_ = (bitField0_ & ~0x00000001);
      latestSnapshotId_ = 0L;
      onChanged();
      return this;
    }

    private java.util.List operations_ =
      java.util.Collections.emptyList();
    private void ensureOperationsIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        operations_ = new java.util.ArrayList(operations_);
        bitField0_ |= 0x00000002;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.alibaba.graphscope.proto.groot.OperationPb, com.alibaba.graphscope.proto.groot.OperationPb.Builder, com.alibaba.graphscope.proto.groot.OperationPbOrBuilder> operationsBuilder_;

    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public java.util.List getOperationsList() {
      if (operationsBuilder_ == null) {
        return java.util.Collections.unmodifiableList(operations_);
      } else {
        return operationsBuilder_.getMessageList();
      }
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public int getOperationsCount() {
      if (operationsBuilder_ == null) {
        return operations_.size();
      } else {
        return operationsBuilder_.getCount();
      }
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public com.alibaba.graphscope.proto.groot.OperationPb getOperations(int index) {
      if (operationsBuilder_ == null) {
        return operations_.get(index);
      } else {
        return operationsBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public Builder setOperations(
        int index, com.alibaba.graphscope.proto.groot.OperationPb value) {
      if (operationsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureOperationsIsMutable();
        operations_.set(index, value);
        onChanged();
      } else {
        operationsBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public Builder setOperations(
        int index, com.alibaba.graphscope.proto.groot.OperationPb.Builder builderForValue) {
      if (operationsBuilder_ == null) {
        ensureOperationsIsMutable();
        operations_.set(index, builderForValue.build());
        onChanged();
      } else {
        operationsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public Builder addOperations(com.alibaba.graphscope.proto.groot.OperationPb value) {
      if (operationsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureOperationsIsMutable();
        operations_.add(value);
        onChanged();
      } else {
        operationsBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public Builder addOperations(
        int index, com.alibaba.graphscope.proto.groot.OperationPb value) {
      if (operationsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureOperationsIsMutable();
        operations_.add(index, value);
        onChanged();
      } else {
        operationsBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public Builder addOperations(
        com.alibaba.graphscope.proto.groot.OperationPb.Builder builderForValue) {
      if (operationsBuilder_ == null) {
        ensureOperationsIsMutable();
        operations_.add(builderForValue.build());
        onChanged();
      } else {
        operationsBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public Builder addOperations(
        int index, com.alibaba.graphscope.proto.groot.OperationPb.Builder builderForValue) {
      if (operationsBuilder_ == null) {
        ensureOperationsIsMutable();
        operations_.add(index, builderForValue.build());
        onChanged();
      } else {
        operationsBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public Builder addAllOperations(
        java.lang.Iterable values) {
      if (operationsBuilder_ == null) {
        ensureOperationsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, operations_);
        onChanged();
      } else {
        operationsBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public Builder clearOperations() {
      if (operationsBuilder_ == null) {
        operations_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
      } else {
        operationsBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public Builder removeOperations(int index) {
      if (operationsBuilder_ == null) {
        ensureOperationsIsMutable();
        operations_.remove(index);
        onChanged();
      } else {
        operationsBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public com.alibaba.graphscope.proto.groot.OperationPb.Builder getOperationsBuilder(
        int index) {
      return getOperationsFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public com.alibaba.graphscope.proto.groot.OperationPbOrBuilder getOperationsOrBuilder(
        int index) {
      if (operationsBuilder_ == null) {
        return operations_.get(index);  } else {
        return operationsBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public java.util.List 
         getOperationsOrBuilderList() {
      if (operationsBuilder_ != null) {
        return operationsBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(operations_);
      }
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public com.alibaba.graphscope.proto.groot.OperationPb.Builder addOperationsBuilder() {
      return getOperationsFieldBuilder().addBuilder(
          com.alibaba.graphscope.proto.groot.OperationPb.getDefaultInstance());
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public com.alibaba.graphscope.proto.groot.OperationPb.Builder addOperationsBuilder(
        int index) {
      return getOperationsFieldBuilder().addBuilder(
          index, com.alibaba.graphscope.proto.groot.OperationPb.getDefaultInstance());
    }
    /**
     * repeated .gs.rpc.groot.OperationPb operations = 2;
     */
    public java.util.List 
         getOperationsBuilderList() {
      return getOperationsFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.alibaba.graphscope.proto.groot.OperationPb, com.alibaba.graphscope.proto.groot.OperationPb.Builder, com.alibaba.graphscope.proto.groot.OperationPbOrBuilder> 
        getOperationsFieldBuilder() {
      if (operationsBuilder_ == null) {
        operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.alibaba.graphscope.proto.groot.OperationPb, com.alibaba.graphscope.proto.groot.OperationPb.Builder, com.alibaba.graphscope.proto.groot.OperationPbOrBuilder>(
                operations_,
                ((bitField0_ & 0x00000002) != 0),
                getParentForChildren(),
                isClean());
        operations_ = null;
      }
      return operationsBuilder_;
    }
    @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:gs.rpc.groot.OperationBatchPb)
  }

  // @@protoc_insertion_point(class_scope:gs.rpc.groot.OperationBatchPb)
  private static final com.alibaba.graphscope.proto.groot.OperationBatchPb DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.alibaba.graphscope.proto.groot.OperationBatchPb();
  }

  public static com.alibaba.graphscope.proto.groot.OperationBatchPb getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public OperationBatchPb 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.alibaba.graphscope.proto.groot.OperationBatchPb getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy