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

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

Go to download

Lite version of Protocol Buffers library. This version is optimized for code size, but does not guarantee API/ABI stability.

There is a newer version: 4.29.0-RC2
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/protobuf/struct.proto

// Protobuf Java Version: 3.25.5
package com.google.protobuf;

public interface ValueOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.protobuf.Value)
    com.google.protobuf.MessageLiteOrBuilder {

  /**
   * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
   * @return Whether the nullValue field is set.
   */
  boolean hasNullValue();
  /**
   * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
   * @return The enum numeric value on the wire for nullValue.
   */
  int getNullValueValue();
  /**
   * .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
   * @return The nullValue.
   */
  com.google.protobuf.NullValue getNullValue();

  /**
   * double number_value = 2 [json_name = "numberValue"];
   * @return Whether the numberValue field is set.
   */
  boolean hasNumberValue();
  /**
   * double number_value = 2 [json_name = "numberValue"];
   * @return The numberValue.
   */
  double getNumberValue();

  /**
   * string string_value = 3 [json_name = "stringValue"];
   * @return Whether the stringValue field is set.
   */
  boolean hasStringValue();
  /**
   * string string_value = 3 [json_name = "stringValue"];
   * @return The stringValue.
   */
  java.lang.String getStringValue();
  /**
   * string string_value = 3 [json_name = "stringValue"];
   * @return The bytes for stringValue.
   */
  com.google.protobuf.ByteString
      getStringValueBytes();

  /**
   * bool bool_value = 4 [json_name = "boolValue"];
   * @return Whether the boolValue field is set.
   */
  boolean hasBoolValue();
  /**
   * bool bool_value = 4 [json_name = "boolValue"];
   * @return The boolValue.
   */
  boolean getBoolValue();

  /**
   * .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
   * @return Whether the structValue field is set.
   */
  boolean hasStructValue();
  /**
   * .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
   * @return The structValue.
   */
  com.google.protobuf.Struct getStructValue();

  /**
   * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
   * @return Whether the listValue field is set.
   */
  boolean hasListValue();
  /**
   * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
   * @return The listValue.
   */
  com.google.protobuf.ListValue getListValue();

  public com.google.protobuf.Value.KindCase getKindCase();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy