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

com.google.protobuf.Value Maven / Gradle / Ivy

Go to download

Kotlin lite Protocol Buffers library. Protocol Buffers are a way of encoding structured data in an efficient yet extensible format.

There is a newer version: 4.29.0-RC3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/protobuf/struct.proto
// Protobuf Java Version: 4.27.4

package com.google.protobuf;

/**
 * Protobuf type {@code google.protobuf.Value}
 */
public  final class Value extends
    com.google.protobuf.GeneratedMessageLite<
        Value, Value.Builder> implements
    // @@protoc_insertion_point(message_implements:google.protobuf.Value)
    ValueOrBuilder {
  private Value() {
  }
  private int kindCase_ = 0;
  private java.lang.Object kind_;
  public enum KindCase {
    NULL_VALUE(1),
    NUMBER_VALUE(2),
    STRING_VALUE(3),
    BOOL_VALUE(4),
    STRUCT_VALUE(5),
    LIST_VALUE(6),
    KIND_NOT_SET(0);
    private final int value;
    private KindCase(int value) {
      this.value = value;
    }
    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static KindCase valueOf(int value) {
      return forNumber(value);
    }

    public static KindCase forNumber(int value) {
      switch (value) {
        case 1: return NULL_VALUE;
        case 2: return NUMBER_VALUE;
        case 3: return STRING_VALUE;
        case 4: return BOOL_VALUE;
        case 5: return STRUCT_VALUE;
        case 6: return LIST_VALUE;
        case 0: return KIND_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  @java.lang.Override
  public KindCase
  getKindCase() {
    return KindCase.forNumber(
        kindCase_);
  }

  private void clearKind() {
    kindCase_ = 0;
    kind_ = null;
  }

  public static final int NULL_VALUE_FIELD_NUMBER = 1;
  /**
   * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
   * @return Whether the nullValue field is set.
   */
  @java.lang.Override
  public boolean hasNullValue() {
    return kindCase_ == 1;
  }
  /**
   * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
   * @return The enum numeric value on the wire for nullValue.
   */
  @java.lang.Override
  public int getNullValueValue() {
    if (kindCase_ == 1) {
      return (java.lang.Integer) kind_;
    }
    return 0;
  }
  /**
   * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
   * @return The nullValue.
   */
  @java.lang.Override
  public com.google.protobuf.NullValue getNullValue() {
    if (kindCase_ == 1) {
      com.google.protobuf.NullValue result = com.google.protobuf.NullValue.forNumber((java.lang.Integer) kind_);
      return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result;
    }
    return com.google.protobuf.NullValue.NULL_VALUE;
  }
  /**
   * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
   * @param value The enum numeric value on the wire for nullValue to set.
   */
  private void setNullValueValue(int value) {
    kindCase_ = 1;
    kind_ = value;
  }
  /**
   * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
   * @param value The nullValue to set.
   */
  private void setNullValue(com.google.protobuf.NullValue value) {
    kind_ = value.getNumber();
    kindCase_ = 1;
  }
  /**
   * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
   */
  private void clearNullValue() {
    if (kindCase_ == 1) {
      kindCase_ = 0;
      kind_ = null;
    }
  }

  public static final int NUMBER_VALUE_FIELD_NUMBER = 2;
  /**
   * double number_value = 2 [json_name = "numberValue"];
   * @return Whether the numberValue field is set.
   */
  @java.lang.Override
  public boolean hasNumberValue() {
    return kindCase_ == 2;
  }
  /**
   * double number_value = 2 [json_name = "numberValue"];
   * @return The numberValue.
   */
  @java.lang.Override
  public double getNumberValue() {
    if (kindCase_ == 2) {
      return (java.lang.Double) kind_;
    }
    return 0D;
  }
  /**
   * double number_value = 2 [json_name = "numberValue"];
   * @param value The numberValue to set.
   */
  private void setNumberValue(double value) {
    kindCase_ = 2;
    kind_ = value;
  }
  /**
   * double number_value = 2 [json_name = "numberValue"];
   */
  private void clearNumberValue() {
    if (kindCase_ == 2) {
      kindCase_ = 0;
      kind_ = null;
    }
  }

  public static final int STRING_VALUE_FIELD_NUMBER = 3;
  /**
   * string string_value = 3 [json_name = "stringValue"];
   * @return Whether the stringValue field is set.
   */
  @java.lang.Override
  public boolean hasStringValue() {
    return kindCase_ == 3;
  }
  /**
   * string string_value = 3 [json_name = "stringValue"];
   * @return The stringValue.
   */
  @java.lang.Override
  public java.lang.String getStringValue() {
    java.lang.String ref = "";
    if (kindCase_ == 3) {
      ref = (java.lang.String) kind_;
    }
    return ref;
  }
  /**
   * string string_value = 3 [json_name = "stringValue"];
   * @return The bytes for stringValue.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStringValueBytes() {
    java.lang.String ref = "";
    if (kindCase_ == 3) {
      ref = (java.lang.String) kind_;
    }
    return com.google.protobuf.ByteString.copyFromUtf8(ref);
  }
  /**
   * string string_value = 3 [json_name = "stringValue"];
   * @param value The stringValue to set.
   */
  private void setStringValue(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  kindCase_ = 3;
    kind_ = value;
  }
  /**
   * string string_value = 3 [json_name = "stringValue"];
   */
  private void clearStringValue() {
    if (kindCase_ == 3) {
      kindCase_ = 0;
      kind_ = null;
    }
  }
  /**
   * string string_value = 3 [json_name = "stringValue"];
   * @param value The bytes for stringValue to set.
   */
  private void setStringValueBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    kind_ = value.toStringUtf8();
    kindCase_ = 3;
  }

  public static final int BOOL_VALUE_FIELD_NUMBER = 4;
  /**
   * bool bool_value = 4 [json_name = "boolValue"];
   * @return Whether the boolValue field is set.
   */
  @java.lang.Override
  public boolean hasBoolValue() {
    return kindCase_ == 4;
  }
  /**
   * bool bool_value = 4 [json_name = "boolValue"];
   * @return The boolValue.
   */
  @java.lang.Override
  public boolean getBoolValue() {
    if (kindCase_ == 4) {
      return (java.lang.Boolean) kind_;
    }
    return false;
  }
  /**
   * bool bool_value = 4 [json_name = "boolValue"];
   * @param value The boolValue to set.
   */
  private void setBoolValue(boolean value) {
    kindCase_ = 4;
    kind_ = value;
  }
  /**
   * bool bool_value = 4 [json_name = "boolValue"];
   */
  private void clearBoolValue() {
    if (kindCase_ == 4) {
      kindCase_ = 0;
      kind_ = null;
    }
  }

  public static final int STRUCT_VALUE_FIELD_NUMBER = 5;
  /**
   * .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
   */
  @java.lang.Override
  public boolean hasStructValue() {
    return kindCase_ == 5;
  }
  /**
   * .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
   */
  @java.lang.Override
  public com.google.protobuf.Struct getStructValue() {
    if (kindCase_ == 5) {
       return (com.google.protobuf.Struct) kind_;
    }
    return com.google.protobuf.Struct.getDefaultInstance();
  }
  /**
   * .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
   */
  private void setStructValue(com.google.protobuf.Struct value) {
    value.getClass();
  kind_ = value;
    kindCase_ = 5;
  }
  /**
   * .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
   */
  private void mergeStructValue(com.google.protobuf.Struct value) {
    value.getClass();
  if (kindCase_ == 5 &&
        kind_ != com.google.protobuf.Struct.getDefaultInstance()) {
      kind_ = com.google.protobuf.Struct.newBuilder((com.google.protobuf.Struct) kind_)
          .mergeFrom(value).buildPartial();
    } else {
      kind_ = value;
    }
    kindCase_ = 5;
  }
  /**
   * .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
   */
  private void clearStructValue() {
    if (kindCase_ == 5) {
      kindCase_ = 0;
      kind_ = null;
    }
  }

  public static final int LIST_VALUE_FIELD_NUMBER = 6;
  /**
   * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
   */
  @java.lang.Override
  public boolean hasListValue() {
    return kindCase_ == 6;
  }
  /**
   * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
   */
  @java.lang.Override
  public com.google.protobuf.ListValue getListValue() {
    if (kindCase_ == 6) {
       return (com.google.protobuf.ListValue) kind_;
    }
    return com.google.protobuf.ListValue.getDefaultInstance();
  }
  /**
   * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
   */
  private void setListValue(com.google.protobuf.ListValue value) {
    value.getClass();
  kind_ = value;
    kindCase_ = 6;
  }
  /**
   * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
   */
  private void mergeListValue(com.google.protobuf.ListValue value) {
    value.getClass();
  if (kindCase_ == 6 &&
        kind_ != com.google.protobuf.ListValue.getDefaultInstance()) {
      kind_ = com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) kind_)
          .mergeFrom(value).buildPartial();
    } else {
      kind_ = value;
    }
    kindCase_ = 6;
  }
  /**
   * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
   */
  private void clearListValue() {
    if (kindCase_ == 6) {
      kindCase_ = 0;
      kind_ = null;
    }
  }

  public static com.google.protobuf.Value parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.google.protobuf.Value parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static com.google.protobuf.Value parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.google.protobuf.Value parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static com.google.protobuf.Value parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.google.protobuf.Value parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static com.google.protobuf.Value parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.google.protobuf.Value parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input, extensionRegistry);
  }

  public static com.google.protobuf.Value parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }

  public static com.google.protobuf.Value parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static com.google.protobuf.Value parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.google.protobuf.Value parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input, extensionRegistry);
  }

  public static Builder newBuilder() {
    return (Builder) DEFAULT_INSTANCE.createBuilder();
  }
  public static Builder newBuilder(com.google.protobuf.Value prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

  /**
   * Protobuf type {@code google.protobuf.Value}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageLite.Builder<
        com.google.protobuf.Value, Builder> implements
      // @@protoc_insertion_point(builder_implements:google.protobuf.Value)
      com.google.protobuf.ValueOrBuilder {
    // Construct using com.google.protobuf.Value.newBuilder()
    private Builder() {
      super(DEFAULT_INSTANCE);
    }

    @java.lang.Override
    public KindCase
        getKindCase() {
      return instance.getKindCase();
    }

    public Builder clearKind() {
      copyOnWrite();
      instance.clearKind();
      return this;
    }


    /**
     * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
     * @return Whether the nullValue field is set.
     */
    @java.lang.Override
    public boolean hasNullValue() {
      return instance.hasNullValue();
    }
    /**
     * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
     * @return The enum numeric value on the wire for nullValue.
     */
    @java.lang.Override
    public int getNullValueValue() {
      return instance.getNullValueValue();
    }
    /**
     * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
     * @param value The enum numeric value on the wire for nullValue to set.
     * @return This builder for chaining.
     */
    public Builder setNullValueValue(int value) {
      copyOnWrite();
      instance.setNullValueValue(value);
      return this;
    }
    /**
     * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
     * @return The nullValue.
     */
    @java.lang.Override
    public com.google.protobuf.NullValue getNullValue() {
      return instance.getNullValue();
    }
    /**
     * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
     * @param value The nullValue to set.
     * @return This builder for chaining.
     */
    public Builder setNullValue(com.google.protobuf.NullValue value) {
      copyOnWrite();
      instance.setNullValue(value);
      return this;
    }
    /**
     * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
     * @return This builder for chaining.
     */
    public Builder clearNullValue() {
      copyOnWrite();
      instance.clearNullValue();
      return this;
    }

    /**
     * double number_value = 2 [json_name = "numberValue"];
     * @return Whether the numberValue field is set.
     */
    @java.lang.Override
    public boolean hasNumberValue() {
      return instance.hasNumberValue();
    }
    /**
     * double number_value = 2 [json_name = "numberValue"];
     * @return The numberValue.
     */
    @java.lang.Override
    public double getNumberValue() {
      return instance.getNumberValue();
    }
    /**
     * double number_value = 2 [json_name = "numberValue"];
     * @param value The numberValue to set.
     * @return This builder for chaining.
     */
    public Builder setNumberValue(double value) {
      copyOnWrite();
      instance.setNumberValue(value);
      return this;
    }
    /**
     * double number_value = 2 [json_name = "numberValue"];
     * @return This builder for chaining.
     */
    public Builder clearNumberValue() {
      copyOnWrite();
      instance.clearNumberValue();
      return this;
    }

    /**
     * string string_value = 3 [json_name = "stringValue"];
     * @return Whether the stringValue field is set.
     */
    @java.lang.Override
    public boolean hasStringValue() {
      return instance.hasStringValue();
    }
    /**
     * string string_value = 3 [json_name = "stringValue"];
     * @return The stringValue.
     */
    @java.lang.Override
    public java.lang.String getStringValue() {
      return instance.getStringValue();
    }
    /**
     * string string_value = 3 [json_name = "stringValue"];
     * @return The bytes for stringValue.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getStringValueBytes() {
      return instance.getStringValueBytes();
    }
    /**
     * string string_value = 3 [json_name = "stringValue"];
     * @param value The stringValue to set.
     * @return This builder for chaining.
     */
    public Builder setStringValue(
        java.lang.String value) {
      copyOnWrite();
      instance.setStringValue(value);
      return this;
    }
    /**
     * string string_value = 3 [json_name = "stringValue"];
     * @return This builder for chaining.
     */
    public Builder clearStringValue() {
      copyOnWrite();
      instance.clearStringValue();
      return this;
    }
    /**
     * string string_value = 3 [json_name = "stringValue"];
     * @param value The bytes for stringValue to set.
     * @return This builder for chaining.
     */
    public Builder setStringValueBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setStringValueBytes(value);
      return this;
    }

    /**
     * bool bool_value = 4 [json_name = "boolValue"];
     * @return Whether the boolValue field is set.
     */
    @java.lang.Override
    public boolean hasBoolValue() {
      return instance.hasBoolValue();
    }
    /**
     * bool bool_value = 4 [json_name = "boolValue"];
     * @return The boolValue.
     */
    @java.lang.Override
    public boolean getBoolValue() {
      return instance.getBoolValue();
    }
    /**
     * bool bool_value = 4 [json_name = "boolValue"];
     * @param value The boolValue to set.
     * @return This builder for chaining.
     */
    public Builder setBoolValue(boolean value) {
      copyOnWrite();
      instance.setBoolValue(value);
      return this;
    }
    /**
     * bool bool_value = 4 [json_name = "boolValue"];
     * @return This builder for chaining.
     */
    public Builder clearBoolValue() {
      copyOnWrite();
      instance.clearBoolValue();
      return this;
    }

    /**
     * .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
     */
    @java.lang.Override
    public boolean hasStructValue() {
      return instance.hasStructValue();
    }
    /**
     * .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
     */
    @java.lang.Override
    public com.google.protobuf.Struct getStructValue() {
      return instance.getStructValue();
    }
    /**
     * .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
     */
    public Builder setStructValue(com.google.protobuf.Struct value) {
      copyOnWrite();
      instance.setStructValue(value);
      return this;
    }
    /**
     * .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
     */
    public Builder setStructValue(
        com.google.protobuf.Struct.Builder builderForValue) {
      copyOnWrite();
      instance.setStructValue(builderForValue.build());
      return this;
    }
    /**
     * .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
     */
    public Builder mergeStructValue(com.google.protobuf.Struct value) {
      copyOnWrite();
      instance.mergeStructValue(value);
      return this;
    }
    /**
     * .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
     */
    public Builder clearStructValue() {
      copyOnWrite();
      instance.clearStructValue();
      return this;
    }

    /**
     * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
     */
    @java.lang.Override
    public boolean hasListValue() {
      return instance.hasListValue();
    }
    /**
     * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
     */
    @java.lang.Override
    public com.google.protobuf.ListValue getListValue() {
      return instance.getListValue();
    }
    /**
     * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
     */
    public Builder setListValue(com.google.protobuf.ListValue value) {
      copyOnWrite();
      instance.setListValue(value);
      return this;
    }
    /**
     * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
     */
    public Builder setListValue(
        com.google.protobuf.ListValue.Builder builderForValue) {
      copyOnWrite();
      instance.setListValue(builderForValue.build());
      return this;
    }
    /**
     * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
     */
    public Builder mergeListValue(com.google.protobuf.ListValue value) {
      copyOnWrite();
      instance.mergeListValue(value);
      return this;
    }
    /**
     * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
     */
    public Builder clearListValue() {
      copyOnWrite();
      instance.clearListValue();
      return this;
    }

    // @@protoc_insertion_point(builder_scope:google.protobuf.Value)
  }
  @java.lang.Override
  @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
  protected final java.lang.Object dynamicMethod(
      com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
      java.lang.Object arg0, java.lang.Object arg1) {
    switch (method) {
      case NEW_MUTABLE_INSTANCE: {
        return new com.google.protobuf.Value();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "kind_",
            "kindCase_",
            com.google.protobuf.Struct.class,
            com.google.protobuf.ListValue.class,
          };
          java.lang.String info =
              "\u0000\u0006\u0001\u0000\u0001\u0006\u0006\u0000\u0000\u0000\u0001?\u0000\u00023" +
              "\u0000\u0003\u023b\u0000\u0004:\u0000\u0005<\u0000\u0006<\u0000";
          return newMessageInfo(DEFAULT_INSTANCE, info, objects);
      }
      // fall through
      case GET_DEFAULT_INSTANCE: {
        return DEFAULT_INSTANCE;
      }
      case GET_PARSER: {
        com.google.protobuf.Parser parser = PARSER;
        if (parser == null) {
          synchronized (com.google.protobuf.Value.class) {
            parser = PARSER;
            if (parser == null) {
              parser =
                  new DefaultInstanceBasedParser(
                      DEFAULT_INSTANCE);
              PARSER = parser;
            }
          }
        }
        return parser;
    }
    case GET_MEMOIZED_IS_INITIALIZED: {
      return (byte) 1;
    }
    case SET_MEMOIZED_IS_INITIALIZED: {
      return null;
    }
    }
    throw new UnsupportedOperationException();
  }


  // @@protoc_insertion_point(class_scope:google.protobuf.Value)
  private static final com.google.protobuf.Value DEFAULT_INSTANCE;
  static {
    Value defaultInstance = new Value();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      Value.class, defaultInstance);
  }

  public static com.google.protobuf.Value getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static volatile com.google.protobuf.Parser PARSER;

  public static com.google.protobuf.Parser parser() {
    return DEFAULT_INSTANCE.getParserForType();
  }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy