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

ai.promoted.proto.event.ErrorHistory Maven / Gradle / Ivy

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

package ai.promoted.proto.event;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private ErrorHistory(
      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)) {
              iosErrors_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            iosErrors_.add(
                input.readMessage(ai.promoted.proto.event.IOSError.parser(), extensionRegistry));
            break;
          }
          case 16: {

            totalErrors_ = input.readInt32();
            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)) {
        iosErrors_ = java.util.Collections.unmodifiableList(iosErrors_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return ai.promoted.proto.event.Event.internal_static_event_ErrorHistory_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return ai.promoted.proto.event.Event.internal_static_event_ErrorHistory_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            ai.promoted.proto.event.ErrorHistory.class, ai.promoted.proto.event.ErrorHistory.Builder.class);
  }

  public static final int IOS_ERRORS_FIELD_NUMBER = 1;
  private java.util.List iosErrors_;
  /**
   * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
   */
  @java.lang.Override
  public java.util.List getIosErrorsList() {
    return iosErrors_;
  }
  /**
   * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
   */
  @java.lang.Override
  public java.util.List 
      getIosErrorsOrBuilderList() {
    return iosErrors_;
  }
  /**
   * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
   */
  @java.lang.Override
  public int getIosErrorsCount() {
    return iosErrors_.size();
  }
  /**
   * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
   */
  @java.lang.Override
  public ai.promoted.proto.event.IOSError getIosErrors(int index) {
    return iosErrors_.get(index);
  }
  /**
   * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
   */
  @java.lang.Override
  public ai.promoted.proto.event.IOSErrorOrBuilder getIosErrorsOrBuilder(
      int index) {
    return iosErrors_.get(index);
  }

  public static final int TOTAL_ERRORS_FIELD_NUMBER = 2;
  private int totalErrors_;
  /**
   * int32 total_errors = 2 [json_name = "totalErrors"];
   * @return The totalErrors.
   */
  @java.lang.Override
  public int getTotalErrors() {
    return totalErrors_;
  }

  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 < iosErrors_.size(); i++) {
      output.writeMessage(1, iosErrors_.get(i));
    }
    if (totalErrors_ != 0) {
      output.writeInt32(2, totalErrors_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    for (int i = 0; i < iosErrors_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, iosErrors_.get(i));
    }
    if (totalErrors_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, totalErrors_);
    }
    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 ai.promoted.proto.event.ErrorHistory)) {
      return super.equals(obj);
    }
    ai.promoted.proto.event.ErrorHistory other = (ai.promoted.proto.event.ErrorHistory) obj;

    if (!getIosErrorsList()
        .equals(other.getIosErrorsList())) return false;
    if (getTotalErrors()
        != other.getTotalErrors()) 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 (getIosErrorsCount() > 0) {
      hash = (37 * hash) + IOS_ERRORS_FIELD_NUMBER;
      hash = (53 * hash) + getIosErrorsList().hashCode();
    }
    hash = (37 * hash) + TOTAL_ERRORS_FIELD_NUMBER;
    hash = (53 * hash) + getTotalErrors();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return ai.promoted.proto.event.Event.internal_static_event_ErrorHistory_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              ai.promoted.proto.event.ErrorHistory.class, ai.promoted.proto.event.ErrorHistory.Builder.class);
    }

    // Construct using ai.promoted.proto.event.ErrorHistory.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

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

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return ai.promoted.proto.event.Event.internal_static_event_ErrorHistory_descriptor;
    }

    @java.lang.Override
    public ai.promoted.proto.event.ErrorHistory getDefaultInstanceForType() {
      return ai.promoted.proto.event.ErrorHistory.getDefaultInstance();
    }

    @java.lang.Override
    public ai.promoted.proto.event.ErrorHistory build() {
      ai.promoted.proto.event.ErrorHistory result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public ai.promoted.proto.event.ErrorHistory buildPartial() {
      ai.promoted.proto.event.ErrorHistory result = new ai.promoted.proto.event.ErrorHistory(this);
      int from_bitField0_ = bitField0_;
      if (iosErrorsBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          iosErrors_ = java.util.Collections.unmodifiableList(iosErrors_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.iosErrors_ = iosErrors_;
      } else {
        result.iosErrors_ = iosErrorsBuilder_.build();
      }
      result.totalErrors_ = totalErrors_;
      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 ai.promoted.proto.event.ErrorHistory) {
        return mergeFrom((ai.promoted.proto.event.ErrorHistory)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(ai.promoted.proto.event.ErrorHistory other) {
      if (other == ai.promoted.proto.event.ErrorHistory.getDefaultInstance()) return this;
      if (iosErrorsBuilder_ == null) {
        if (!other.iosErrors_.isEmpty()) {
          if (iosErrors_.isEmpty()) {
            iosErrors_ = other.iosErrors_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureIosErrorsIsMutable();
            iosErrors_.addAll(other.iosErrors_);
          }
          onChanged();
        }
      } else {
        if (!other.iosErrors_.isEmpty()) {
          if (iosErrorsBuilder_.isEmpty()) {
            iosErrorsBuilder_.dispose();
            iosErrorsBuilder_ = null;
            iosErrors_ = other.iosErrors_;
            bitField0_ = (bitField0_ & ~0x00000001);
            iosErrorsBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getIosErrorsFieldBuilder() : null;
          } else {
            iosErrorsBuilder_.addAllMessages(other.iosErrors_);
          }
        }
      }
      if (other.getTotalErrors() != 0) {
        setTotalErrors(other.getTotalErrors());
      }
      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 {
      ai.promoted.proto.event.ErrorHistory parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (ai.promoted.proto.event.ErrorHistory) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

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

    private com.google.protobuf.RepeatedFieldBuilderV3<
        ai.promoted.proto.event.IOSError, ai.promoted.proto.event.IOSError.Builder, ai.promoted.proto.event.IOSErrorOrBuilder> iosErrorsBuilder_;

    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public java.util.List getIosErrorsList() {
      if (iosErrorsBuilder_ == null) {
        return java.util.Collections.unmodifiableList(iosErrors_);
      } else {
        return iosErrorsBuilder_.getMessageList();
      }
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public int getIosErrorsCount() {
      if (iosErrorsBuilder_ == null) {
        return iosErrors_.size();
      } else {
        return iosErrorsBuilder_.getCount();
      }
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public ai.promoted.proto.event.IOSError getIosErrors(int index) {
      if (iosErrorsBuilder_ == null) {
        return iosErrors_.get(index);
      } else {
        return iosErrorsBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public Builder setIosErrors(
        int index, ai.promoted.proto.event.IOSError value) {
      if (iosErrorsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureIosErrorsIsMutable();
        iosErrors_.set(index, value);
        onChanged();
      } else {
        iosErrorsBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public Builder setIosErrors(
        int index, ai.promoted.proto.event.IOSError.Builder builderForValue) {
      if (iosErrorsBuilder_ == null) {
        ensureIosErrorsIsMutable();
        iosErrors_.set(index, builderForValue.build());
        onChanged();
      } else {
        iosErrorsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public Builder addIosErrors(ai.promoted.proto.event.IOSError value) {
      if (iosErrorsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureIosErrorsIsMutable();
        iosErrors_.add(value);
        onChanged();
      } else {
        iosErrorsBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public Builder addIosErrors(
        int index, ai.promoted.proto.event.IOSError value) {
      if (iosErrorsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureIosErrorsIsMutable();
        iosErrors_.add(index, value);
        onChanged();
      } else {
        iosErrorsBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public Builder addIosErrors(
        ai.promoted.proto.event.IOSError.Builder builderForValue) {
      if (iosErrorsBuilder_ == null) {
        ensureIosErrorsIsMutable();
        iosErrors_.add(builderForValue.build());
        onChanged();
      } else {
        iosErrorsBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public Builder addIosErrors(
        int index, ai.promoted.proto.event.IOSError.Builder builderForValue) {
      if (iosErrorsBuilder_ == null) {
        ensureIosErrorsIsMutable();
        iosErrors_.add(index, builderForValue.build());
        onChanged();
      } else {
        iosErrorsBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public Builder addAllIosErrors(
        java.lang.Iterable values) {
      if (iosErrorsBuilder_ == null) {
        ensureIosErrorsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, iosErrors_);
        onChanged();
      } else {
        iosErrorsBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public Builder clearIosErrors() {
      if (iosErrorsBuilder_ == null) {
        iosErrors_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        iosErrorsBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public Builder removeIosErrors(int index) {
      if (iosErrorsBuilder_ == null) {
        ensureIosErrorsIsMutable();
        iosErrors_.remove(index);
        onChanged();
      } else {
        iosErrorsBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public ai.promoted.proto.event.IOSError.Builder getIosErrorsBuilder(
        int index) {
      return getIosErrorsFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public ai.promoted.proto.event.IOSErrorOrBuilder getIosErrorsOrBuilder(
        int index) {
      if (iosErrorsBuilder_ == null) {
        return iosErrors_.get(index);  } else {
        return iosErrorsBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public java.util.List 
         getIosErrorsOrBuilderList() {
      if (iosErrorsBuilder_ != null) {
        return iosErrorsBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(iosErrors_);
      }
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public ai.promoted.proto.event.IOSError.Builder addIosErrorsBuilder() {
      return getIosErrorsFieldBuilder().addBuilder(
          ai.promoted.proto.event.IOSError.getDefaultInstance());
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public ai.promoted.proto.event.IOSError.Builder addIosErrorsBuilder(
        int index) {
      return getIosErrorsFieldBuilder().addBuilder(
          index, ai.promoted.proto.event.IOSError.getDefaultInstance());
    }
    /**
     * repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
     */
    public java.util.List 
         getIosErrorsBuilderList() {
      return getIosErrorsFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        ai.promoted.proto.event.IOSError, ai.promoted.proto.event.IOSError.Builder, ai.promoted.proto.event.IOSErrorOrBuilder> 
        getIosErrorsFieldBuilder() {
      if (iosErrorsBuilder_ == null) {
        iosErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            ai.promoted.proto.event.IOSError, ai.promoted.proto.event.IOSError.Builder, ai.promoted.proto.event.IOSErrorOrBuilder>(
                iosErrors_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        iosErrors_ = null;
      }
      return iosErrorsBuilder_;
    }

    private int totalErrors_ ;
    /**
     * int32 total_errors = 2 [json_name = "totalErrors"];
     * @return The totalErrors.
     */
    @java.lang.Override
    public int getTotalErrors() {
      return totalErrors_;
    }
    /**
     * int32 total_errors = 2 [json_name = "totalErrors"];
     * @param value The totalErrors to set.
     * @return This builder for chaining.
     */
    public Builder setTotalErrors(int value) {
      
      totalErrors_ = value;
      onChanged();
      return this;
    }
    /**
     * int32 total_errors = 2 [json_name = "totalErrors"];
     * @return This builder for chaining.
     */
    public Builder clearTotalErrors() {
      
      totalErrors_ = 0;
      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:event.ErrorHistory)
  }

  // @@protoc_insertion_point(class_scope:event.ErrorHistory)
  private static final ai.promoted.proto.event.ErrorHistory DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new ai.promoted.proto.event.ErrorHistory();
  }

  public static ai.promoted.proto.event.ErrorHistory getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public ErrorHistory parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new ErrorHistory(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 ai.promoted.proto.event.ErrorHistory getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy