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

com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue Maven / Gradle / Ivy

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

package com.navercorp.pinpoint.grpc.trace;

/**
 * Protobuf type {@code v1.PLongIntIntByteByteStringValue}
 */
public final class PLongIntIntByteByteStringValue extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:v1.PLongIntIntByteByteStringValue)
    PLongIntIntByteByteStringValueOrBuilder {
private static final long serialVersionUID = 0L;
  // Use PLongIntIntByteByteStringValue.newBuilder() to construct.
  private PLongIntIntByteByteStringValue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private PLongIntIntByteByteStringValue() {
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private PLongIntIntByteByteStringValue(
      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: {

            longValue_ = input.readInt64();
            break;
          }
          case 16: {

            intValue1_ = input.readInt32();
            break;
          }
          case 24: {

            intValue2_ = input.readInt32();
            break;
          }
          case 32: {

            byteValue1_ = input.readSInt32();
            break;
          }
          case 40: {

            byteValue2_ = input.readSInt32();
            break;
          }
          case 50: {
            com.google.protobuf.StringValue.Builder subBuilder = null;
            if (stringValue_ != null) {
              subBuilder = stringValue_.toBuilder();
            }
            stringValue_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(stringValue_);
              stringValue_ = subBuilder.buildPartial();
            }

            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 com.navercorp.pinpoint.grpc.trace.AnnotationProto.internal_static_v1_PLongIntIntByteByteStringValue_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.navercorp.pinpoint.grpc.trace.AnnotationProto.internal_static_v1_PLongIntIntByteByteStringValue_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue.class, com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue.Builder.class);
  }

  public static final int LONGVALUE_FIELD_NUMBER = 1;
  private long longValue_;
  /**
   * int64 longValue = 1;
   * @return The longValue.
   */
  @java.lang.Override
  public long getLongValue() {
    return longValue_;
  }

  public static final int INTVALUE1_FIELD_NUMBER = 2;
  private int intValue1_;
  /**
   * int32 intValue1 = 2;
   * @return The intValue1.
   */
  @java.lang.Override
  public int getIntValue1() {
    return intValue1_;
  }

  public static final int INTVALUE2_FIELD_NUMBER = 3;
  private int intValue2_;
  /**
   * int32 intValue2 = 3;
   * @return The intValue2.
   */
  @java.lang.Override
  public int getIntValue2() {
    return intValue2_;
  }

  public static final int BYTEVALUE1_FIELD_NUMBER = 4;
  private int byteValue1_;
  /**
   * sint32 byteValue1 = 4;
   * @return The byteValue1.
   */
  @java.lang.Override
  public int getByteValue1() {
    return byteValue1_;
  }

  public static final int BYTEVALUE2_FIELD_NUMBER = 5;
  private int byteValue2_;
  /**
   * sint32 byteValue2 = 5;
   * @return The byteValue2.
   */
  @java.lang.Override
  public int getByteValue2() {
    return byteValue2_;
  }

  public static final int STRINGVALUE_FIELD_NUMBER = 6;
  private com.google.protobuf.StringValue stringValue_;
  /**
   * .google.protobuf.StringValue stringValue = 6;
   * @return Whether the stringValue field is set.
   */
  @java.lang.Override
  public boolean hasStringValue() {
    return stringValue_ != null;
  }
  /**
   * .google.protobuf.StringValue stringValue = 6;
   * @return The stringValue.
   */
  @java.lang.Override
  public com.google.protobuf.StringValue getStringValue() {
    return stringValue_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : stringValue_;
  }
  /**
   * .google.protobuf.StringValue stringValue = 6;
   */
  @java.lang.Override
  public com.google.protobuf.StringValueOrBuilder getStringValueOrBuilder() {
    return getStringValue();
  }

  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 (longValue_ != 0L) {
      output.writeInt64(1, longValue_);
    }
    if (intValue1_ != 0) {
      output.writeInt32(2, intValue1_);
    }
    if (intValue2_ != 0) {
      output.writeInt32(3, intValue2_);
    }
    if (byteValue1_ != 0) {
      output.writeSInt32(4, byteValue1_);
    }
    if (byteValue2_ != 0) {
      output.writeSInt32(5, byteValue2_);
    }
    if (stringValue_ != null) {
      output.writeMessage(6, getStringValue());
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (longValue_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(1, longValue_);
    }
    if (intValue1_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, intValue1_);
    }
    if (intValue2_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(3, intValue2_);
    }
    if (byteValue1_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeSInt32Size(4, byteValue1_);
    }
    if (byteValue2_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeSInt32Size(5, byteValue2_);
    }
    if (stringValue_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, getStringValue());
    }
    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.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue)) {
      return super.equals(obj);
    }
    com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue other = (com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue) obj;

    if (getLongValue()
        != other.getLongValue()) return false;
    if (getIntValue1()
        != other.getIntValue1()) return false;
    if (getIntValue2()
        != other.getIntValue2()) return false;
    if (getByteValue1()
        != other.getByteValue1()) return false;
    if (getByteValue2()
        != other.getByteValue2()) return false;
    if (hasStringValue() != other.hasStringValue()) return false;
    if (hasStringValue()) {
      if (!getStringValue()
          .equals(other.getStringValue())) 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) + LONGVALUE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getLongValue());
    hash = (37 * hash) + INTVALUE1_FIELD_NUMBER;
    hash = (53 * hash) + getIntValue1();
    hash = (37 * hash) + INTVALUE2_FIELD_NUMBER;
    hash = (53 * hash) + getIntValue2();
    hash = (37 * hash) + BYTEVALUE1_FIELD_NUMBER;
    hash = (53 * hash) + getByteValue1();
    hash = (37 * hash) + BYTEVALUE2_FIELD_NUMBER;
    hash = (53 * hash) + getByteValue2();
    if (hasStringValue()) {
      hash = (37 * hash) + STRINGVALUE_FIELD_NUMBER;
      hash = (53 * hash) + getStringValue().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue 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.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue 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.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue 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.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue 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 v1.PLongIntIntByteByteStringValue}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:v1.PLongIntIntByteByteStringValue)
      com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValueOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.navercorp.pinpoint.grpc.trace.AnnotationProto.internal_static_v1_PLongIntIntByteByteStringValue_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.navercorp.pinpoint.grpc.trace.AnnotationProto.internal_static_v1_PLongIntIntByteByteStringValue_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue.class, com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue.Builder.class);
    }

    // Construct using com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue.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();
      longValue_ = 0L;

      intValue1_ = 0;

      intValue2_ = 0;

      byteValue1_ = 0;

      byteValue2_ = 0;

      if (stringValueBuilder_ == null) {
        stringValue_ = null;
      } else {
        stringValue_ = null;
        stringValueBuilder_ = null;
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.navercorp.pinpoint.grpc.trace.AnnotationProto.internal_static_v1_PLongIntIntByteByteStringValue_descriptor;
    }

    @java.lang.Override
    public com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue getDefaultInstanceForType() {
      return com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue.getDefaultInstance();
    }

    @java.lang.Override
    public com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue build() {
      com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue buildPartial() {
      com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue result = new com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue(this);
      result.longValue_ = longValue_;
      result.intValue1_ = intValue1_;
      result.intValue2_ = intValue2_;
      result.byteValue1_ = byteValue1_;
      result.byteValue2_ = byteValue2_;
      if (stringValueBuilder_ == null) {
        result.stringValue_ = stringValue_;
      } else {
        result.stringValue_ = stringValueBuilder_.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.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue) {
        return mergeFrom((com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue other) {
      if (other == com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue.getDefaultInstance()) return this;
      if (other.getLongValue() != 0L) {
        setLongValue(other.getLongValue());
      }
      if (other.getIntValue1() != 0) {
        setIntValue1(other.getIntValue1());
      }
      if (other.getIntValue2() != 0) {
        setIntValue2(other.getIntValue2());
      }
      if (other.getByteValue1() != 0) {
        setByteValue1(other.getByteValue1());
      }
      if (other.getByteValue2() != 0) {
        setByteValue2(other.getByteValue2());
      }
      if (other.hasStringValue()) {
        mergeStringValue(other.getStringValue());
      }
      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.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private long longValue_ ;
    /**
     * int64 longValue = 1;
     * @return The longValue.
     */
    @java.lang.Override
    public long getLongValue() {
      return longValue_;
    }
    /**
     * int64 longValue = 1;
     * @param value The longValue to set.
     * @return This builder for chaining.
     */
    public Builder setLongValue(long value) {
      
      longValue_ = value;
      onChanged();
      return this;
    }
    /**
     * int64 longValue = 1;
     * @return This builder for chaining.
     */
    public Builder clearLongValue() {
      
      longValue_ = 0L;
      onChanged();
      return this;
    }

    private int intValue1_ ;
    /**
     * int32 intValue1 = 2;
     * @return The intValue1.
     */
    @java.lang.Override
    public int getIntValue1() {
      return intValue1_;
    }
    /**
     * int32 intValue1 = 2;
     * @param value The intValue1 to set.
     * @return This builder for chaining.
     */
    public Builder setIntValue1(int value) {
      
      intValue1_ = value;
      onChanged();
      return this;
    }
    /**
     * int32 intValue1 = 2;
     * @return This builder for chaining.
     */
    public Builder clearIntValue1() {
      
      intValue1_ = 0;
      onChanged();
      return this;
    }

    private int intValue2_ ;
    /**
     * int32 intValue2 = 3;
     * @return The intValue2.
     */
    @java.lang.Override
    public int getIntValue2() {
      return intValue2_;
    }
    /**
     * int32 intValue2 = 3;
     * @param value The intValue2 to set.
     * @return This builder for chaining.
     */
    public Builder setIntValue2(int value) {
      
      intValue2_ = value;
      onChanged();
      return this;
    }
    /**
     * int32 intValue2 = 3;
     * @return This builder for chaining.
     */
    public Builder clearIntValue2() {
      
      intValue2_ = 0;
      onChanged();
      return this;
    }

    private int byteValue1_ ;
    /**
     * sint32 byteValue1 = 4;
     * @return The byteValue1.
     */
    @java.lang.Override
    public int getByteValue1() {
      return byteValue1_;
    }
    /**
     * sint32 byteValue1 = 4;
     * @param value The byteValue1 to set.
     * @return This builder for chaining.
     */
    public Builder setByteValue1(int value) {
      
      byteValue1_ = value;
      onChanged();
      return this;
    }
    /**
     * sint32 byteValue1 = 4;
     * @return This builder for chaining.
     */
    public Builder clearByteValue1() {
      
      byteValue1_ = 0;
      onChanged();
      return this;
    }

    private int byteValue2_ ;
    /**
     * sint32 byteValue2 = 5;
     * @return The byteValue2.
     */
    @java.lang.Override
    public int getByteValue2() {
      return byteValue2_;
    }
    /**
     * sint32 byteValue2 = 5;
     * @param value The byteValue2 to set.
     * @return This builder for chaining.
     */
    public Builder setByteValue2(int value) {
      
      byteValue2_ = value;
      onChanged();
      return this;
    }
    /**
     * sint32 byteValue2 = 5;
     * @return This builder for chaining.
     */
    public Builder clearByteValue2() {
      
      byteValue2_ = 0;
      onChanged();
      return this;
    }

    private com.google.protobuf.StringValue stringValue_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> stringValueBuilder_;
    /**
     * .google.protobuf.StringValue stringValue = 6;
     * @return Whether the stringValue field is set.
     */
    public boolean hasStringValue() {
      return stringValueBuilder_ != null || stringValue_ != null;
    }
    /**
     * .google.protobuf.StringValue stringValue = 6;
     * @return The stringValue.
     */
    public com.google.protobuf.StringValue getStringValue() {
      if (stringValueBuilder_ == null) {
        return stringValue_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : stringValue_;
      } else {
        return stringValueBuilder_.getMessage();
      }
    }
    /**
     * .google.protobuf.StringValue stringValue = 6;
     */
    public Builder setStringValue(com.google.protobuf.StringValue value) {
      if (stringValueBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        stringValue_ = value;
        onChanged();
      } else {
        stringValueBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .google.protobuf.StringValue stringValue = 6;
     */
    public Builder setStringValue(
        com.google.protobuf.StringValue.Builder builderForValue) {
      if (stringValueBuilder_ == null) {
        stringValue_ = builderForValue.build();
        onChanged();
      } else {
        stringValueBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .google.protobuf.StringValue stringValue = 6;
     */
    public Builder mergeStringValue(com.google.protobuf.StringValue value) {
      if (stringValueBuilder_ == null) {
        if (stringValue_ != null) {
          stringValue_ =
            com.google.protobuf.StringValue.newBuilder(stringValue_).mergeFrom(value).buildPartial();
        } else {
          stringValue_ = value;
        }
        onChanged();
      } else {
        stringValueBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .google.protobuf.StringValue stringValue = 6;
     */
    public Builder clearStringValue() {
      if (stringValueBuilder_ == null) {
        stringValue_ = null;
        onChanged();
      } else {
        stringValue_ = null;
        stringValueBuilder_ = null;
      }

      return this;
    }
    /**
     * .google.protobuf.StringValue stringValue = 6;
     */
    public com.google.protobuf.StringValue.Builder getStringValueBuilder() {
      
      onChanged();
      return getStringValueFieldBuilder().getBuilder();
    }
    /**
     * .google.protobuf.StringValue stringValue = 6;
     */
    public com.google.protobuf.StringValueOrBuilder getStringValueOrBuilder() {
      if (stringValueBuilder_ != null) {
        return stringValueBuilder_.getMessageOrBuilder();
      } else {
        return stringValue_ == null ?
            com.google.protobuf.StringValue.getDefaultInstance() : stringValue_;
      }
    }
    /**
     * .google.protobuf.StringValue stringValue = 6;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> 
        getStringValueFieldBuilder() {
      if (stringValueBuilder_ == null) {
        stringValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
                getStringValue(),
                getParentForChildren(),
                isClean());
        stringValue_ = null;
      }
      return stringValueBuilder_;
    }
    @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:v1.PLongIntIntByteByteStringValue)
  }

  // @@protoc_insertion_point(class_scope:v1.PLongIntIntByteByteStringValue)
  private static final com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue();
  }

  public static com.navercorp.pinpoint.grpc.trace.PLongIntIntByteByteStringValue getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy