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

cz.proto.JobProfiling Maven / Gradle / Ivy

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

package cz.proto;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private JobProfiling(
      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)) {
              profiling_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            profiling_.add(
                input.readMessage(cz.proto.JobProfiling.JobProfilingItem.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)) {
        profiling_ = java.util.Collections.unmodifiableList(profiling_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobProfiling_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobProfiling_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            cz.proto.JobProfiling.class, cz.proto.JobProfiling.Builder.class);
  }

  public interface JobProfilingItemOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.JobProfiling.JobProfilingItem)
      com.google.protobuf.MessageOrBuilder {

    /**
     * int32 e = 1;
     * @return The e.
     */
    int getE();

    /**
     * int64 t = 2;
     * @return The t.
     */
    long getT();
  }
  /**
   * Protobuf type {@code cz.proto.JobProfiling.JobProfilingItem}
   */
  public static final class JobProfilingItem extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cz.proto.JobProfiling.JobProfilingItem)
      JobProfilingItemOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use JobProfilingItem.newBuilder() to construct.
    private JobProfilingItem(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private JobProfilingItem() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private JobProfilingItem(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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 8: {

              e_ = input.readInt32();
              break;
            }
            case 16: {

              t_ = input.readInt64();
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobProfiling_JobProfilingItem_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobProfiling_JobProfilingItem_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.JobProfiling.JobProfilingItem.class, cz.proto.JobProfiling.JobProfilingItem.Builder.class);
    }

    public static final int E_FIELD_NUMBER = 1;
    private int e_;
    /**
     * int32 e = 1;
     * @return The e.
     */
    @java.lang.Override
    public int getE() {
      return e_;
    }

    public static final int T_FIELD_NUMBER = 2;
    private long t_;
    /**
     * int64 t = 2;
     * @return The t.
     */
    @java.lang.Override
    public long getT() {
      return t_;
    }

    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 (e_ != 0) {
        output.writeInt32(1, e_);
      }
      if (t_ != 0L) {
        output.writeInt64(2, t_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (e_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, e_);
      }
      if (t_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, t_);
      }
      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 cz.proto.JobProfiling.JobProfilingItem)) {
        return super.equals(obj);
      }
      cz.proto.JobProfiling.JobProfilingItem other = (cz.proto.JobProfiling.JobProfilingItem) obj;

      if (getE()
          != other.getE()) return false;
      if (getT()
          != other.getT()) 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();
      hash = (37 * hash) + E_FIELD_NUMBER;
      hash = (53 * hash) + getE();
      hash = (37 * hash) + T_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getT());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobProfiling_JobProfilingItem_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cz.proto.JobProfiling.JobProfilingItem.class, cz.proto.JobProfiling.JobProfilingItem.Builder.class);
      }

      // Construct using cz.proto.JobProfiling.JobProfilingItem.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        e_ = 0;

        t_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobProfiling_JobProfilingItem_descriptor;
      }

      @java.lang.Override
      public cz.proto.JobProfiling.JobProfilingItem getDefaultInstanceForType() {
        return cz.proto.JobProfiling.JobProfilingItem.getDefaultInstance();
      }

      @java.lang.Override
      public cz.proto.JobProfiling.JobProfilingItem build() {
        cz.proto.JobProfiling.JobProfilingItem result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cz.proto.JobProfiling.JobProfilingItem buildPartial() {
        cz.proto.JobProfiling.JobProfilingItem result = new cz.proto.JobProfiling.JobProfilingItem(this);
        result.e_ = e_;
        result.t_ = t_;
        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 cz.proto.JobProfiling.JobProfilingItem) {
          return mergeFrom((cz.proto.JobProfiling.JobProfilingItem)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cz.proto.JobProfiling.JobProfilingItem other) {
        if (other == cz.proto.JobProfiling.JobProfilingItem.getDefaultInstance()) return this;
        if (other.getE() != 0) {
          setE(other.getE());
        }
        if (other.getT() != 0L) {
          setT(other.getT());
        }
        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 {
        cz.proto.JobProfiling.JobProfilingItem parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cz.proto.JobProfiling.JobProfilingItem) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int e_ ;
      /**
       * int32 e = 1;
       * @return The e.
       */
      @java.lang.Override
      public int getE() {
        return e_;
      }
      /**
       * int32 e = 1;
       * @param value The e to set.
       * @return This builder for chaining.
       */
      public Builder setE(int value) {
        
        e_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 e = 1;
       * @return This builder for chaining.
       */
      public Builder clearE() {
        
        e_ = 0;
        onChanged();
        return this;
      }

      private long t_ ;
      /**
       * int64 t = 2;
       * @return The t.
       */
      @java.lang.Override
      public long getT() {
        return t_;
      }
      /**
       * int64 t = 2;
       * @param value The t to set.
       * @return This builder for chaining.
       */
      public Builder setT(long value) {
        
        t_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 t = 2;
       * @return This builder for chaining.
       */
      public Builder clearT() {
        
        t_ = 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:cz.proto.JobProfiling.JobProfilingItem)
    }

    // @@protoc_insertion_point(class_scope:cz.proto.JobProfiling.JobProfilingItem)
    private static final cz.proto.JobProfiling.JobProfilingItem DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cz.proto.JobProfiling.JobProfilingItem();
    }

    public static cz.proto.JobProfiling.JobProfilingItem getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public static final int PROFILING_FIELD_NUMBER = 1;
  private java.util.List profiling_;
  /**
   * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
   */
  @java.lang.Override
  public java.util.List getProfilingList() {
    return profiling_;
  }
  /**
   * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
   */
  @java.lang.Override
  public java.util.List 
      getProfilingOrBuilderList() {
    return profiling_;
  }
  /**
   * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
   */
  @java.lang.Override
  public int getProfilingCount() {
    return profiling_.size();
  }
  /**
   * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
   */
  @java.lang.Override
  public cz.proto.JobProfiling.JobProfilingItem getProfiling(int index) {
    return profiling_.get(index);
  }
  /**
   * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
   */
  @java.lang.Override
  public cz.proto.JobProfiling.JobProfilingItemOrBuilder getProfilingOrBuilder(
      int index) {
    return profiling_.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 < profiling_.size(); i++) {
      output.writeMessage(1, profiling_.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 < profiling_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, profiling_.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 cz.proto.JobProfiling)) {
      return super.equals(obj);
    }
    cz.proto.JobProfiling other = (cz.proto.JobProfiling) obj;

    if (!getProfilingList()
        .equals(other.getProfilingList())) 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 (getProfilingCount() > 0) {
      hash = (37 * hash) + PROFILING_FIELD_NUMBER;
      hash = (53 * hash) + getProfilingList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobProfiling_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.JobProfiling.class, cz.proto.JobProfiling.Builder.class);
    }

    // Construct using cz.proto.JobProfiling.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

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

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobProfiling_descriptor;
    }

    @java.lang.Override
    public cz.proto.JobProfiling getDefaultInstanceForType() {
      return cz.proto.JobProfiling.getDefaultInstance();
    }

    @java.lang.Override
    public cz.proto.JobProfiling build() {
      cz.proto.JobProfiling result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public cz.proto.JobProfiling buildPartial() {
      cz.proto.JobProfiling result = new cz.proto.JobProfiling(this);
      int from_bitField0_ = bitField0_;
      if (profilingBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          profiling_ = java.util.Collections.unmodifiableList(profiling_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.profiling_ = profiling_;
      } else {
        result.profiling_ = profilingBuilder_.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 cz.proto.JobProfiling) {
        return mergeFrom((cz.proto.JobProfiling)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(cz.proto.JobProfiling other) {
      if (other == cz.proto.JobProfiling.getDefaultInstance()) return this;
      if (profilingBuilder_ == null) {
        if (!other.profiling_.isEmpty()) {
          if (profiling_.isEmpty()) {
            profiling_ = other.profiling_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureProfilingIsMutable();
            profiling_.addAll(other.profiling_);
          }
          onChanged();
        }
      } else {
        if (!other.profiling_.isEmpty()) {
          if (profilingBuilder_.isEmpty()) {
            profilingBuilder_.dispose();
            profilingBuilder_ = null;
            profiling_ = other.profiling_;
            bitField0_ = (bitField0_ & ~0x00000001);
            profilingBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getProfilingFieldBuilder() : null;
          } else {
            profilingBuilder_.addAllMessages(other.profiling_);
          }
        }
      }
      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 {
      cz.proto.JobProfiling parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (cz.proto.JobProfiling) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

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

    private com.google.protobuf.RepeatedFieldBuilderV3<
        cz.proto.JobProfiling.JobProfilingItem, cz.proto.JobProfiling.JobProfilingItem.Builder, cz.proto.JobProfiling.JobProfilingItemOrBuilder> profilingBuilder_;

    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public java.util.List getProfilingList() {
      if (profilingBuilder_ == null) {
        return java.util.Collections.unmodifiableList(profiling_);
      } else {
        return profilingBuilder_.getMessageList();
      }
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public int getProfilingCount() {
      if (profilingBuilder_ == null) {
        return profiling_.size();
      } else {
        return profilingBuilder_.getCount();
      }
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public cz.proto.JobProfiling.JobProfilingItem getProfiling(int index) {
      if (profilingBuilder_ == null) {
        return profiling_.get(index);
      } else {
        return profilingBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public Builder setProfiling(
        int index, cz.proto.JobProfiling.JobProfilingItem value) {
      if (profilingBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureProfilingIsMutable();
        profiling_.set(index, value);
        onChanged();
      } else {
        profilingBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public Builder setProfiling(
        int index, cz.proto.JobProfiling.JobProfilingItem.Builder builderForValue) {
      if (profilingBuilder_ == null) {
        ensureProfilingIsMutable();
        profiling_.set(index, builderForValue.build());
        onChanged();
      } else {
        profilingBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public Builder addProfiling(cz.proto.JobProfiling.JobProfilingItem value) {
      if (profilingBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureProfilingIsMutable();
        profiling_.add(value);
        onChanged();
      } else {
        profilingBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public Builder addProfiling(
        int index, cz.proto.JobProfiling.JobProfilingItem value) {
      if (profilingBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureProfilingIsMutable();
        profiling_.add(index, value);
        onChanged();
      } else {
        profilingBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public Builder addProfiling(
        cz.proto.JobProfiling.JobProfilingItem.Builder builderForValue) {
      if (profilingBuilder_ == null) {
        ensureProfilingIsMutable();
        profiling_.add(builderForValue.build());
        onChanged();
      } else {
        profilingBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public Builder addProfiling(
        int index, cz.proto.JobProfiling.JobProfilingItem.Builder builderForValue) {
      if (profilingBuilder_ == null) {
        ensureProfilingIsMutable();
        profiling_.add(index, builderForValue.build());
        onChanged();
      } else {
        profilingBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public Builder addAllProfiling(
        java.lang.Iterable values) {
      if (profilingBuilder_ == null) {
        ensureProfilingIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, profiling_);
        onChanged();
      } else {
        profilingBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public Builder clearProfiling() {
      if (profilingBuilder_ == null) {
        profiling_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        profilingBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public Builder removeProfiling(int index) {
      if (profilingBuilder_ == null) {
        ensureProfilingIsMutable();
        profiling_.remove(index);
        onChanged();
      } else {
        profilingBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public cz.proto.JobProfiling.JobProfilingItem.Builder getProfilingBuilder(
        int index) {
      return getProfilingFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public cz.proto.JobProfiling.JobProfilingItemOrBuilder getProfilingOrBuilder(
        int index) {
      if (profilingBuilder_ == null) {
        return profiling_.get(index);  } else {
        return profilingBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public java.util.List 
         getProfilingOrBuilderList() {
      if (profilingBuilder_ != null) {
        return profilingBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(profiling_);
      }
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public cz.proto.JobProfiling.JobProfilingItem.Builder addProfilingBuilder() {
      return getProfilingFieldBuilder().addBuilder(
          cz.proto.JobProfiling.JobProfilingItem.getDefaultInstance());
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public cz.proto.JobProfiling.JobProfilingItem.Builder addProfilingBuilder(
        int index) {
      return getProfilingFieldBuilder().addBuilder(
          index, cz.proto.JobProfiling.JobProfilingItem.getDefaultInstance());
    }
    /**
     * repeated .cz.proto.JobProfiling.JobProfilingItem profiling = 1;
     */
    public java.util.List 
         getProfilingBuilderList() {
      return getProfilingFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        cz.proto.JobProfiling.JobProfilingItem, cz.proto.JobProfiling.JobProfilingItem.Builder, cz.proto.JobProfiling.JobProfilingItemOrBuilder> 
        getProfilingFieldBuilder() {
      if (profilingBuilder_ == null) {
        profilingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            cz.proto.JobProfiling.JobProfilingItem, cz.proto.JobProfiling.JobProfilingItem.Builder, cz.proto.JobProfiling.JobProfilingItemOrBuilder>(
                profiling_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        profiling_ = null;
      }
      return profilingBuilder_;
    }
    @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:cz.proto.JobProfiling)
  }

  // @@protoc_insertion_point(class_scope:cz.proto.JobProfiling)
  private static final cz.proto.JobProfiling DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new cz.proto.JobProfiling();
  }

  public static cz.proto.JobProfiling getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy