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

com.hedera.services.stream.proto.ContractStateChanges Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: contract_state_change.proto

package com.hedera.services.stream.proto;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private ContractStateChanges(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              contractStateChanges_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            contractStateChanges_.add(
                input.readMessage(com.hedera.services.stream.proto.ContractStateChange.parser(), extensionRegistry));
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        contractStateChanges_ = java.util.Collections.unmodifiableList(contractStateChanges_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.hedera.services.stream.proto.ContractStateChangeOuterClass.internal_static_proto_ContractStateChanges_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.hedera.services.stream.proto.ContractStateChangeOuterClass.internal_static_proto_ContractStateChanges_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.hedera.services.stream.proto.ContractStateChanges.class, com.hedera.services.stream.proto.ContractStateChanges.Builder.class);
  }

  public static final int CONTRACT_STATE_CHANGES_FIELD_NUMBER = 1;
  private java.util.List contractStateChanges_;
  /**
   * repeated .proto.ContractStateChange contract_state_changes = 1;
   */
  @java.lang.Override
  public java.util.List getContractStateChangesList() {
    return contractStateChanges_;
  }
  /**
   * repeated .proto.ContractStateChange contract_state_changes = 1;
   */
  @java.lang.Override
  public java.util.List 
      getContractStateChangesOrBuilderList() {
    return contractStateChanges_;
  }
  /**
   * repeated .proto.ContractStateChange contract_state_changes = 1;
   */
  @java.lang.Override
  public int getContractStateChangesCount() {
    return contractStateChanges_.size();
  }
  /**
   * repeated .proto.ContractStateChange contract_state_changes = 1;
   */
  @java.lang.Override
  public com.hedera.services.stream.proto.ContractStateChange getContractStateChanges(int index) {
    return contractStateChanges_.get(index);
  }
  /**
   * repeated .proto.ContractStateChange contract_state_changes = 1;
   */
  @java.lang.Override
  public com.hedera.services.stream.proto.ContractStateChangeOrBuilder getContractStateChangesOrBuilder(
      int index) {
    return contractStateChanges_.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 {
    for (int i = 0; i < contractStateChanges_.size(); i++) {
      output.writeMessage(1, contractStateChanges_.get(i));
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    for (int i = 0; i < contractStateChanges_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, contractStateChanges_.get(i));
    }
    size += unknownFields.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.hedera.services.stream.proto.ContractStateChanges)) {
      return super.equals(obj);
    }
    com.hedera.services.stream.proto.ContractStateChanges other = (com.hedera.services.stream.proto.ContractStateChanges) obj;

    if (!getContractStateChangesList()
        .equals(other.getContractStateChangesList())) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (getContractStateChangesCount() > 0) {
      hash = (37 * hash) + CONTRACT_STATE_CHANGES_FIELD_NUMBER;
      hash = (53 * hash) + getContractStateChangesList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.hedera.services.stream.proto.ContractStateChanges parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.hedera.services.stream.proto.ContractStateChanges parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.hedera.services.stream.proto.ContractStateChanges parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.hedera.services.stream.proto.ContractStateChanges parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.hedera.services.stream.proto.ContractStateChanges parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.hedera.services.stream.proto.ContractStateChanges parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.hedera.services.stream.proto.ContractStateChanges parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.hedera.services.stream.proto.ContractStateChanges 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.hedera.services.stream.proto.ContractStateChanges parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.hedera.services.stream.proto.ContractStateChanges 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.hedera.services.stream.proto.ContractStateChanges parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.hedera.services.stream.proto.ContractStateChanges 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.hedera.services.stream.proto.ContractStateChanges 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 proto.ContractStateChanges}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:proto.ContractStateChanges)
      com.hedera.services.stream.proto.ContractStateChangesOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.hedera.services.stream.proto.ContractStateChangeOuterClass.internal_static_proto_ContractStateChanges_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.hedera.services.stream.proto.ContractStateChangeOuterClass.internal_static_proto_ContractStateChanges_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.hedera.services.stream.proto.ContractStateChanges.class, com.hedera.services.stream.proto.ContractStateChanges.Builder.class);
    }

    // Construct using com.hedera.services.stream.proto.ContractStateChanges.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getContractStateChangesFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (contractStateChangesBuilder_ == null) {
        contractStateChanges_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        contractStateChangesBuilder_.clear();
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.hedera.services.stream.proto.ContractStateChangeOuterClass.internal_static_proto_ContractStateChanges_descriptor;
    }

    @java.lang.Override
    public com.hedera.services.stream.proto.ContractStateChanges getDefaultInstanceForType() {
      return com.hedera.services.stream.proto.ContractStateChanges.getDefaultInstance();
    }

    @java.lang.Override
    public com.hedera.services.stream.proto.ContractStateChanges build() {
      com.hedera.services.stream.proto.ContractStateChanges result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.hedera.services.stream.proto.ContractStateChanges buildPartial() {
      com.hedera.services.stream.proto.ContractStateChanges result = new com.hedera.services.stream.proto.ContractStateChanges(this);
      int from_bitField0_ = bitField0_;
      if (contractStateChangesBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          contractStateChanges_ = java.util.Collections.unmodifiableList(contractStateChanges_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.contractStateChanges_ = contractStateChanges_;
      } else {
        result.contractStateChanges_ = contractStateChangesBuilder_.build();
      }
      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 com.hedera.services.stream.proto.ContractStateChanges) {
        return mergeFrom((com.hedera.services.stream.proto.ContractStateChanges)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.hedera.services.stream.proto.ContractStateChanges other) {
      if (other == com.hedera.services.stream.proto.ContractStateChanges.getDefaultInstance()) return this;
      if (contractStateChangesBuilder_ == null) {
        if (!other.contractStateChanges_.isEmpty()) {
          if (contractStateChanges_.isEmpty()) {
            contractStateChanges_ = other.contractStateChanges_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureContractStateChangesIsMutable();
            contractStateChanges_.addAll(other.contractStateChanges_);
          }
          onChanged();
        }
      } else {
        if (!other.contractStateChanges_.isEmpty()) {
          if (contractStateChangesBuilder_.isEmpty()) {
            contractStateChangesBuilder_.dispose();
            contractStateChangesBuilder_ = null;
            contractStateChanges_ = other.contractStateChanges_;
            bitField0_ = (bitField0_ & ~0x00000001);
            contractStateChangesBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getContractStateChangesFieldBuilder() : null;
          } else {
            contractStateChangesBuilder_.addAllMessages(other.contractStateChanges_);
          }
        }
      }
      this.mergeUnknownFields(other.unknownFields);
      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 {
      com.hedera.services.stream.proto.ContractStateChanges parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.hedera.services.stream.proto.ContractStateChanges) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private java.util.List contractStateChanges_ =
      java.util.Collections.emptyList();
    private void ensureContractStateChangesIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        contractStateChanges_ = new java.util.ArrayList(contractStateChanges_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.hedera.services.stream.proto.ContractStateChange, com.hedera.services.stream.proto.ContractStateChange.Builder, com.hedera.services.stream.proto.ContractStateChangeOrBuilder> contractStateChangesBuilder_;

    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public java.util.List getContractStateChangesList() {
      if (contractStateChangesBuilder_ == null) {
        return java.util.Collections.unmodifiableList(contractStateChanges_);
      } else {
        return contractStateChangesBuilder_.getMessageList();
      }
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public int getContractStateChangesCount() {
      if (contractStateChangesBuilder_ == null) {
        return contractStateChanges_.size();
      } else {
        return contractStateChangesBuilder_.getCount();
      }
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public com.hedera.services.stream.proto.ContractStateChange getContractStateChanges(int index) {
      if (contractStateChangesBuilder_ == null) {
        return contractStateChanges_.get(index);
      } else {
        return contractStateChangesBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public Builder setContractStateChanges(
        int index, com.hedera.services.stream.proto.ContractStateChange value) {
      if (contractStateChangesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureContractStateChangesIsMutable();
        contractStateChanges_.set(index, value);
        onChanged();
      } else {
        contractStateChangesBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public Builder setContractStateChanges(
        int index, com.hedera.services.stream.proto.ContractStateChange.Builder builderForValue) {
      if (contractStateChangesBuilder_ == null) {
        ensureContractStateChangesIsMutable();
        contractStateChanges_.set(index, builderForValue.build());
        onChanged();
      } else {
        contractStateChangesBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public Builder addContractStateChanges(com.hedera.services.stream.proto.ContractStateChange value) {
      if (contractStateChangesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureContractStateChangesIsMutable();
        contractStateChanges_.add(value);
        onChanged();
      } else {
        contractStateChangesBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public Builder addContractStateChanges(
        int index, com.hedera.services.stream.proto.ContractStateChange value) {
      if (contractStateChangesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureContractStateChangesIsMutable();
        contractStateChanges_.add(index, value);
        onChanged();
      } else {
        contractStateChangesBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public Builder addContractStateChanges(
        com.hedera.services.stream.proto.ContractStateChange.Builder builderForValue) {
      if (contractStateChangesBuilder_ == null) {
        ensureContractStateChangesIsMutable();
        contractStateChanges_.add(builderForValue.build());
        onChanged();
      } else {
        contractStateChangesBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public Builder addContractStateChanges(
        int index, com.hedera.services.stream.proto.ContractStateChange.Builder builderForValue) {
      if (contractStateChangesBuilder_ == null) {
        ensureContractStateChangesIsMutable();
        contractStateChanges_.add(index, builderForValue.build());
        onChanged();
      } else {
        contractStateChangesBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public Builder addAllContractStateChanges(
        java.lang.Iterable values) {
      if (contractStateChangesBuilder_ == null) {
        ensureContractStateChangesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, contractStateChanges_);
        onChanged();
      } else {
        contractStateChangesBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public Builder clearContractStateChanges() {
      if (contractStateChangesBuilder_ == null) {
        contractStateChanges_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        contractStateChangesBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public Builder removeContractStateChanges(int index) {
      if (contractStateChangesBuilder_ == null) {
        ensureContractStateChangesIsMutable();
        contractStateChanges_.remove(index);
        onChanged();
      } else {
        contractStateChangesBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public com.hedera.services.stream.proto.ContractStateChange.Builder getContractStateChangesBuilder(
        int index) {
      return getContractStateChangesFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public com.hedera.services.stream.proto.ContractStateChangeOrBuilder getContractStateChangesOrBuilder(
        int index) {
      if (contractStateChangesBuilder_ == null) {
        return contractStateChanges_.get(index);  } else {
        return contractStateChangesBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public java.util.List 
         getContractStateChangesOrBuilderList() {
      if (contractStateChangesBuilder_ != null) {
        return contractStateChangesBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(contractStateChanges_);
      }
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public com.hedera.services.stream.proto.ContractStateChange.Builder addContractStateChangesBuilder() {
      return getContractStateChangesFieldBuilder().addBuilder(
          com.hedera.services.stream.proto.ContractStateChange.getDefaultInstance());
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public com.hedera.services.stream.proto.ContractStateChange.Builder addContractStateChangesBuilder(
        int index) {
      return getContractStateChangesFieldBuilder().addBuilder(
          index, com.hedera.services.stream.proto.ContractStateChange.getDefaultInstance());
    }
    /**
     * repeated .proto.ContractStateChange contract_state_changes = 1;
     */
    public java.util.List 
         getContractStateChangesBuilderList() {
      return getContractStateChangesFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.hedera.services.stream.proto.ContractStateChange, com.hedera.services.stream.proto.ContractStateChange.Builder, com.hedera.services.stream.proto.ContractStateChangeOrBuilder> 
        getContractStateChangesFieldBuilder() {
      if (contractStateChangesBuilder_ == null) {
        contractStateChangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.hedera.services.stream.proto.ContractStateChange, com.hedera.services.stream.proto.ContractStateChange.Builder, com.hedera.services.stream.proto.ContractStateChangeOrBuilder>(
                contractStateChanges_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        contractStateChanges_ = null;
      }
      return contractStateChangesBuilder_;
    }
    @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:proto.ContractStateChanges)
  }

  // @@protoc_insertion_point(class_scope:proto.ContractStateChanges)
  private static final com.hedera.services.stream.proto.ContractStateChanges DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.hedera.services.stream.proto.ContractStateChanges();
  }

  public static com.hedera.services.stream.proto.ContractStateChanges getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public ContractStateChanges parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new ContractStateChanges(input, extensionRegistry);
    }
  };

  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.hedera.services.stream.proto.ContractStateChanges getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy