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

org.jetbrains.kotlin.backend.common.serialization.proto.IrConst Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: compiler/ir/serialization.common/src/KotlinIr.proto

package org.jetbrains.kotlin.backend.common.serialization.proto;

/**
 * Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrConst}
 */
public final class IrConst extends
    org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
    // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrConst)
    IrConstOrBuilder {
  // Use IrConst.newBuilder() to construct.
  private IrConst(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
    super(builder);
    this.unknownFields = builder.getUnknownFields();
  }
  private IrConst(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}

  private static final IrConst defaultInstance;
  public static IrConst getDefaultInstance() {
    return defaultInstance;
  }

  public IrConst getDefaultInstanceForType() {
    return defaultInstance;
  }

  private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
  private IrConst(
      org.jetbrains.kotlin.protobuf.CodedInputStream input,
      org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
      throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
    initFields();
    int mutable_bitField0_ = 0;
    org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
        org.jetbrains.kotlin.protobuf.ByteString.newOutput();
    org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
        org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
            unknownFieldsOutput, 1);
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          default: {
            if (!parseUnknownField(input, unknownFieldsCodedOutput,
                                   extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
          case 8: {
            valueCase_ = 1;
            value_ = input.readBool();
            break;
          }
          case 16: {
            valueCase_ = 2;
            value_ = input.readBool();
            break;
          }
          case 24: {
            valueCase_ = 3;
            value_ = input.readInt32();
            break;
          }
          case 32: {
            valueCase_ = 4;
            value_ = input.readInt32();
            break;
          }
          case 40: {
            valueCase_ = 5;
            value_ = input.readInt32();
            break;
          }
          case 48: {
            valueCase_ = 6;
            value_ = input.readInt32();
            break;
          }
          case 56: {
            valueCase_ = 7;
            value_ = input.readInt64();
            break;
          }
          case 69: {
            valueCase_ = 8;
            value_ = input.readFixed32();
            break;
          }
          case 73: {
            valueCase_ = 9;
            value_ = input.readFixed64();
            break;
          }
          case 80: {
            valueCase_ = 10;
            value_ = input.readInt32();
            break;
          }
        }
      }
    } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException(
          e.getMessage()).setUnfinishedMessage(this);
    } finally {
      try {
        unknownFieldsCodedOutput.flush();
      } catch (java.io.IOException e) {
      // Should not happen
      } finally {
        unknownFields = unknownFieldsOutput.toByteString();
      }
      makeExtensionsImmutable();
    }
  }
  public static org.jetbrains.kotlin.protobuf.Parser PARSER =
      new org.jetbrains.kotlin.protobuf.AbstractParser() {
    public IrConst parsePartialFrom(
        org.jetbrains.kotlin.protobuf.CodedInputStream input,
        org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
      return new IrConst(input, extensionRegistry);
    }
  };

  @java.lang.Override
  public org.jetbrains.kotlin.protobuf.Parser getParserForType() {
    return PARSER;
  }

  private int bitField0_;
  private int valueCase_ = 0;
  private java.lang.Object value_;
  public enum ValueCase
      implements org.jetbrains.kotlin.protobuf.Internal.EnumLite {
    NULL(1),
    BOOLEAN(2),
    CHAR(3),
    BYTE(4),
    SHORT(5),
    INT(6),
    LONG(7),
    FLOAT_BITS(8),
    DOUBLE_BITS(9),
    STRING(10),
    VALUE_NOT_SET(0);
    private int value = 0;
    private ValueCase(int value) {
      this.value = value;
    }
    public static ValueCase valueOf(int value) {
      switch (value) {
        case 1: return NULL;
        case 2: return BOOLEAN;
        case 3: return CHAR;
        case 4: return BYTE;
        case 5: return SHORT;
        case 6: return INT;
        case 7: return LONG;
        case 8: return FLOAT_BITS;
        case 9: return DOUBLE_BITS;
        case 10: return STRING;
        case 0: return VALUE_NOT_SET;
        default: throw new java.lang.IllegalArgumentException(
          "Value is undefined for this oneof enum.");
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public ValueCase
  getValueCase() {
    return ValueCase.valueOf(
        valueCase_);
  }

  public static final int NULL_FIELD_NUMBER = 1;
  /**
   * optional bool null = 1;
   */
  public boolean hasNull() {
    return valueCase_ == 1;
  }
  /**
   * optional bool null = 1;
   */
  public boolean getNull() {
    if (valueCase_ == 1) {
      return (java.lang.Boolean) value_;
    }
    return false;
  }

  public static final int BOOLEAN_FIELD_NUMBER = 2;
  /**
   * optional bool boolean = 2;
   */
  public boolean hasBoolean() {
    return valueCase_ == 2;
  }
  /**
   * optional bool boolean = 2;
   */
  public boolean getBoolean() {
    if (valueCase_ == 2) {
      return (java.lang.Boolean) value_;
    }
    return false;
  }

  public static final int CHAR_FIELD_NUMBER = 3;
  /**
   * optional int32 char = 3;
   */
  public boolean hasChar() {
    return valueCase_ == 3;
  }
  /**
   * optional int32 char = 3;
   */
  public int getChar() {
    if (valueCase_ == 3) {
      return (java.lang.Integer) value_;
    }
    return 0;
  }

  public static final int BYTE_FIELD_NUMBER = 4;
  /**
   * optional int32 byte = 4;
   */
  public boolean hasByte() {
    return valueCase_ == 4;
  }
  /**
   * optional int32 byte = 4;
   */
  public int getByte() {
    if (valueCase_ == 4) {
      return (java.lang.Integer) value_;
    }
    return 0;
  }

  public static final int SHORT_FIELD_NUMBER = 5;
  /**
   * optional int32 short = 5;
   */
  public boolean hasShort() {
    return valueCase_ == 5;
  }
  /**
   * optional int32 short = 5;
   */
  public int getShort() {
    if (valueCase_ == 5) {
      return (java.lang.Integer) value_;
    }
    return 0;
  }

  public static final int INT_FIELD_NUMBER = 6;
  /**
   * optional int32 int = 6;
   */
  public boolean hasInt() {
    return valueCase_ == 6;
  }
  /**
   * optional int32 int = 6;
   */
  public int getInt() {
    if (valueCase_ == 6) {
      return (java.lang.Integer) value_;
    }
    return 0;
  }

  public static final int LONG_FIELD_NUMBER = 7;
  /**
   * optional int64 long = 7;
   */
  public boolean hasLong() {
    return valueCase_ == 7;
  }
  /**
   * optional int64 long = 7;
   */
  public long getLong() {
    if (valueCase_ == 7) {
      return (java.lang.Long) value_;
    }
    return 0L;
  }

  public static final int FLOAT_BITS_FIELD_NUMBER = 8;
  /**
   * optional fixed32 float_bits = 8;
   *
   * 
   * float/double is stored via fixed 32/64 bit value to avoid raw bit conversion
   * 
*/ public boolean hasFloatBits() { return valueCase_ == 8; } /** * optional fixed32 float_bits = 8; * *
   * float/double is stored via fixed 32/64 bit value to avoid raw bit conversion
   * 
*/ public int getFloatBits() { if (valueCase_ == 8) { return (java.lang.Integer) value_; } return 0; } public static final int DOUBLE_BITS_FIELD_NUMBER = 9; /** * optional fixed64 double_bits = 9; */ public boolean hasDoubleBits() { return valueCase_ == 9; } /** * optional fixed64 double_bits = 9; */ public long getDoubleBits() { if (valueCase_ == 9) { return (java.lang.Long) value_; } return 0L; } public static final int STRING_FIELD_NUMBER = 10; /** * optional int32 string = 10; */ public boolean hasString() { return valueCase_ == 10; } /** * optional int32 string = 10; */ public int getString() { if (valueCase_ == 10) { return (java.lang.Integer) value_; } return 0; } private void initFields() { } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (valueCase_ == 1) { output.writeBool( 1, (boolean)((java.lang.Boolean) value_)); } if (valueCase_ == 2) { output.writeBool( 2, (boolean)((java.lang.Boolean) value_)); } if (valueCase_ == 3) { output.writeInt32( 3, (int)((java.lang.Integer) value_)); } if (valueCase_ == 4) { output.writeInt32( 4, (int)((java.lang.Integer) value_)); } if (valueCase_ == 5) { output.writeInt32( 5, (int)((java.lang.Integer) value_)); } if (valueCase_ == 6) { output.writeInt32( 6, (int)((java.lang.Integer) value_)); } if (valueCase_ == 7) { output.writeInt64( 7, (long)((java.lang.Long) value_)); } if (valueCase_ == 8) { output.writeFixed32( 8, (int)((java.lang.Integer) value_)); } if (valueCase_ == 9) { output.writeFixed64( 9, (long)((java.lang.Long) value_)); } if (valueCase_ == 10) { output.writeInt32( 10, (int)((java.lang.Integer) value_)); } output.writeRawBytes(unknownFields); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (valueCase_ == 1) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeBoolSize( 1, (boolean)((java.lang.Boolean) value_)); } if (valueCase_ == 2) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeBoolSize( 2, (boolean)((java.lang.Boolean) value_)); } if (valueCase_ == 3) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size( 3, (int)((java.lang.Integer) value_)); } if (valueCase_ == 4) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size( 4, (int)((java.lang.Integer) value_)); } if (valueCase_ == 5) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size( 5, (int)((java.lang.Integer) value_)); } if (valueCase_ == 6) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size( 6, (int)((java.lang.Integer) value_)); } if (valueCase_ == 7) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt64Size( 7, (long)((java.lang.Long) value_)); } if (valueCase_ == 8) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeFixed32Size( 8, (int)((java.lang.Integer) value_)); } if (valueCase_ == 9) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeFixed64Size( 9, (long)((java.lang.Long) value_)); } if (valueCase_ == 10) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size( 10, (int)((java.lang.Integer) value_)); } size += unknownFields.size(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.jetbrains.kotlin.backend.common.serialization.proto.IrConst parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.backend.common.serialization.proto.IrConst parseFrom( org.jetbrains.kotlin.protobuf.ByteString data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.backend.common.serialization.proto.IrConst parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.backend.common.serialization.proto.IrConst parseFrom( byte[] data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.jetbrains.kotlin.backend.common.serialization.proto.IrConst parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.backend.common.serialization.proto.IrConst parseFrom( java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.backend.common.serialization.proto.IrConst parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.backend.common.serialization.proto.IrConst parseDelimitedFrom( java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.jetbrains.kotlin.backend.common.serialization.proto.IrConst parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.backend.common.serialization.proto.IrConst parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.kotlin.backend.common.serialization.proto.IrConst prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrConst} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.backend.common.serialization.proto.IrConst, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrConst) org.jetbrains.kotlin.backend.common.serialization.proto.IrConstOrBuilder { // Construct using org.jetbrains.kotlin.backend.common.serialization.proto.IrConst.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); valueCase_ = 0; value_ = null; return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.backend.common.serialization.proto.IrConst getDefaultInstanceForType() { return org.jetbrains.kotlin.backend.common.serialization.proto.IrConst.getDefaultInstance(); } public org.jetbrains.kotlin.backend.common.serialization.proto.IrConst build() { org.jetbrains.kotlin.backend.common.serialization.proto.IrConst result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.backend.common.serialization.proto.IrConst buildPartial() { org.jetbrains.kotlin.backend.common.serialization.proto.IrConst result = new org.jetbrains.kotlin.backend.common.serialization.proto.IrConst(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (valueCase_ == 1) { result.value_ = value_; } if (valueCase_ == 2) { result.value_ = value_; } if (valueCase_ == 3) { result.value_ = value_; } if (valueCase_ == 4) { result.value_ = value_; } if (valueCase_ == 5) { result.value_ = value_; } if (valueCase_ == 6) { result.value_ = value_; } if (valueCase_ == 7) { result.value_ = value_; } if (valueCase_ == 8) { result.value_ = value_; } if (valueCase_ == 9) { result.value_ = value_; } if (valueCase_ == 10) { result.value_ = value_; } result.bitField0_ = to_bitField0_; result.valueCase_ = valueCase_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrConst other) { if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrConst.getDefaultInstance()) return this; switch (other.getValueCase()) { case NULL: { setNull(other.getNull()); break; } case BOOLEAN: { setBoolean(other.getBoolean()); break; } case CHAR: { setChar(other.getChar()); break; } case BYTE: { setByte(other.getByte()); break; } case SHORT: { setShort(other.getShort()); break; } case INT: { setInt(other.getInt()); break; } case LONG: { setLong(other.getLong()); break; } case FLOAT_BITS: { setFloatBits(other.getFloatBits()); break; } case DOUBLE_BITS: { setDoubleBits(other.getDoubleBits()); break; } case STRING: { setString(other.getString()); break; } case VALUE_NOT_SET: { break; } } setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.jetbrains.kotlin.backend.common.serialization.proto.IrConst parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.backend.common.serialization.proto.IrConst) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int valueCase_ = 0; private java.lang.Object value_; public ValueCase getValueCase() { return ValueCase.valueOf( valueCase_); } public Builder clearValue() { valueCase_ = 0; value_ = null; return this; } private int bitField0_; /** * optional bool null = 1; */ public boolean hasNull() { return valueCase_ == 1; } /** * optional bool null = 1; */ public boolean getNull() { if (valueCase_ == 1) { return (java.lang.Boolean) value_; } return false; } /** * optional bool null = 1; */ public Builder setNull(boolean value) { valueCase_ = 1; value_ = value; return this; } /** * optional bool null = 1; */ public Builder clearNull() { if (valueCase_ == 1) { valueCase_ = 0; value_ = null; } return this; } /** * optional bool boolean = 2; */ public boolean hasBoolean() { return valueCase_ == 2; } /** * optional bool boolean = 2; */ public boolean getBoolean() { if (valueCase_ == 2) { return (java.lang.Boolean) value_; } return false; } /** * optional bool boolean = 2; */ public Builder setBoolean(boolean value) { valueCase_ = 2; value_ = value; return this; } /** * optional bool boolean = 2; */ public Builder clearBoolean() { if (valueCase_ == 2) { valueCase_ = 0; value_ = null; } return this; } /** * optional int32 char = 3; */ public boolean hasChar() { return valueCase_ == 3; } /** * optional int32 char = 3; */ public int getChar() { if (valueCase_ == 3) { return (java.lang.Integer) value_; } return 0; } /** * optional int32 char = 3; */ public Builder setChar(int value) { valueCase_ = 3; value_ = value; return this; } /** * optional int32 char = 3; */ public Builder clearChar() { if (valueCase_ == 3) { valueCase_ = 0; value_ = null; } return this; } /** * optional int32 byte = 4; */ public boolean hasByte() { return valueCase_ == 4; } /** * optional int32 byte = 4; */ public int getByte() { if (valueCase_ == 4) { return (java.lang.Integer) value_; } return 0; } /** * optional int32 byte = 4; */ public Builder setByte(int value) { valueCase_ = 4; value_ = value; return this; } /** * optional int32 byte = 4; */ public Builder clearByte() { if (valueCase_ == 4) { valueCase_ = 0; value_ = null; } return this; } /** * optional int32 short = 5; */ public boolean hasShort() { return valueCase_ == 5; } /** * optional int32 short = 5; */ public int getShort() { if (valueCase_ == 5) { return (java.lang.Integer) value_; } return 0; } /** * optional int32 short = 5; */ public Builder setShort(int value) { valueCase_ = 5; value_ = value; return this; } /** * optional int32 short = 5; */ public Builder clearShort() { if (valueCase_ == 5) { valueCase_ = 0; value_ = null; } return this; } /** * optional int32 int = 6; */ public boolean hasInt() { return valueCase_ == 6; } /** * optional int32 int = 6; */ public int getInt() { if (valueCase_ == 6) { return (java.lang.Integer) value_; } return 0; } /** * optional int32 int = 6; */ public Builder setInt(int value) { valueCase_ = 6; value_ = value; return this; } /** * optional int32 int = 6; */ public Builder clearInt() { if (valueCase_ == 6) { valueCase_ = 0; value_ = null; } return this; } /** * optional int64 long = 7; */ public boolean hasLong() { return valueCase_ == 7; } /** * optional int64 long = 7; */ public long getLong() { if (valueCase_ == 7) { return (java.lang.Long) value_; } return 0L; } /** * optional int64 long = 7; */ public Builder setLong(long value) { valueCase_ = 7; value_ = value; return this; } /** * optional int64 long = 7; */ public Builder clearLong() { if (valueCase_ == 7) { valueCase_ = 0; value_ = null; } return this; } /** * optional fixed32 float_bits = 8; * *
     * float/double is stored via fixed 32/64 bit value to avoid raw bit conversion
     * 
*/ public boolean hasFloatBits() { return valueCase_ == 8; } /** * optional fixed32 float_bits = 8; * *
     * float/double is stored via fixed 32/64 bit value to avoid raw bit conversion
     * 
*/ public int getFloatBits() { if (valueCase_ == 8) { return (java.lang.Integer) value_; } return 0; } /** * optional fixed32 float_bits = 8; * *
     * float/double is stored via fixed 32/64 bit value to avoid raw bit conversion
     * 
*/ public Builder setFloatBits(int value) { valueCase_ = 8; value_ = value; return this; } /** * optional fixed32 float_bits = 8; * *
     * float/double is stored via fixed 32/64 bit value to avoid raw bit conversion
     * 
*/ public Builder clearFloatBits() { if (valueCase_ == 8) { valueCase_ = 0; value_ = null; } return this; } /** * optional fixed64 double_bits = 9; */ public boolean hasDoubleBits() { return valueCase_ == 9; } /** * optional fixed64 double_bits = 9; */ public long getDoubleBits() { if (valueCase_ == 9) { return (java.lang.Long) value_; } return 0L; } /** * optional fixed64 double_bits = 9; */ public Builder setDoubleBits(long value) { valueCase_ = 9; value_ = value; return this; } /** * optional fixed64 double_bits = 9; */ public Builder clearDoubleBits() { if (valueCase_ == 9) { valueCase_ = 0; value_ = null; } return this; } /** * optional int32 string = 10; */ public boolean hasString() { return valueCase_ == 10; } /** * optional int32 string = 10; */ public int getString() { if (valueCase_ == 10) { return (java.lang.Integer) value_; } return 0; } /** * optional int32 string = 10; */ public Builder setString(int value) { valueCase_ = 10; value_ = value; return this; } /** * optional int32 string = 10; */ public Builder clearString() { if (valueCase_ == 10) { valueCase_ = 0; value_ = null; } return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrConst) } static { defaultInstance = new IrConst(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrConst) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy