com.google.protobuf.ValueOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/struct.proto
package com.google.protobuf;
public interface ValueOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.Value)
com.google.protobuf.MessageOrBuilder {
/**
*
* Represents a null value.
*
*
* .google.protobuf.NullValue null_value = 1;
* @return Whether the nullValue field is set.
*/
boolean hasNullValue();
/**
*
* Represents a null value.
*
*
* .google.protobuf.NullValue null_value = 1;
* @return The enum numeric value on the wire for nullValue.
*/
int getNullValueValue();
/**
*
* Represents a null value.
*
*
* .google.protobuf.NullValue null_value = 1;
* @return The nullValue.
*/
com.google.protobuf.NullValue getNullValue();
/**
*
* Represents a double value.
*
*
* double number_value = 2;
* @return Whether the numberValue field is set.
*/
boolean hasNumberValue();
/**
*
* Represents a double value.
*
*
* double number_value = 2;
* @return The numberValue.
*/
double getNumberValue();
/**
*
* Represents a string value.
*
*
* string string_value = 3;
* @return Whether the stringValue field is set.
*/
boolean hasStringValue();
/**
*
* Represents a string value.
*
*
* string string_value = 3;
* @return The stringValue.
*/
java.lang.String getStringValue();
/**
*
* Represents a string value.
*
*
* string string_value = 3;
* @return The bytes for stringValue.
*/
com.google.protobuf.ByteString
getStringValueBytes();
/**
*
* Represents a boolean value.
*
*
* bool bool_value = 4;
* @return Whether the boolValue field is set.
*/
boolean hasBoolValue();
/**
*
* Represents a boolean value.
*
*
* bool bool_value = 4;
* @return The boolValue.
*/
boolean getBoolValue();
/**
*
* Represents a structured value.
*
*
* .google.protobuf.Struct struct_value = 5;
* @return Whether the structValue field is set.
*/
boolean hasStructValue();
/**
*
* Represents a structured value.
*
*
* .google.protobuf.Struct struct_value = 5;
* @return The structValue.
*/
com.google.protobuf.Struct getStructValue();
/**
*
* Represents a structured value.
*
*
* .google.protobuf.Struct struct_value = 5;
*/
com.google.protobuf.StructOrBuilder getStructValueOrBuilder();
/**
*
* Represents a repeated `Value`.
*
*
* .google.protobuf.ListValue list_value = 6;
* @return Whether the listValue field is set.
*/
boolean hasListValue();
/**
*
* Represents a repeated `Value`.
*
*
* .google.protobuf.ListValue list_value = 6;
* @return The listValue.
*/
com.google.protobuf.ListValue getListValue();
/**
*
* Represents a repeated `Value`.
*
*
* .google.protobuf.ListValue list_value = 6;
*/
com.google.protobuf.ListValueOrBuilder getListValueOrBuilder();
public com.google.protobuf.Value.KindCase getKindCase();
}