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

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

Go to download

Kotlin core 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.2
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.29.1

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