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

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

The 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.5

package com.google.protobuf;

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

  /**
   * .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.Struct struct_value = 5 [json_name = "structValue"];
   */
  com.google.protobuf.StructOrBuilder getStructValueOrBuilder();

  /**
   * .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();
  /**
   * .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
   */
  com.google.protobuf.ListValueOrBuilder getListValueOrBuilder();

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy