Package com.google.protobuf
Interface ValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Value,Value.Builder
public interface ValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetBoolValue()Represents a boolean value.Value.KindCasegetKindCase()ListValuegetListValue()Represents a repeated `Value`.ListValueOrBuildergetListValueOrBuilder()Represents a repeated `Value`.NullValuegetNullValue()Represents a null value.intgetNullValueValue()Represents a null value.doublegetNumberValue()Represents a double value.java.lang.StringgetStringValue()Represents a string value.com.google.protobuf.ByteStringgetStringValueBytes()Represents a string value.StructgetStructValue()Represents a structured value.StructOrBuildergetStructValueOrBuilder()Represents a structured value.booleanhasBoolValue()Represents a boolean value.booleanhasListValue()Represents a repeated `Value`.booleanhasNullValue()Represents a null value.booleanhasNumberValue()Represents a double value.booleanhasStringValue()Represents a string value.booleanhasStructValue()Represents a structured value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasNullValue
boolean hasNullValue()
Represents a null value.
.google.protobuf.NullValue null_value = 1;- Returns:
- Whether the nullValue field is set.
-
getNullValueValue
int getNullValueValue()
Represents a null value.
.google.protobuf.NullValue null_value = 1;- Returns:
- The enum numeric value on the wire for nullValue.
-
getNullValue
NullValue getNullValue()
Represents a null value.
.google.protobuf.NullValue null_value = 1;- Returns:
- The nullValue.
-
hasNumberValue
boolean hasNumberValue()
Represents a double value.
double number_value = 2;- Returns:
- Whether the numberValue field is set.
-
getNumberValue
double getNumberValue()
Represents a double value.
double number_value = 2;- Returns:
- The numberValue.
-
hasStringValue
boolean hasStringValue()
Represents a string value.
string string_value = 3;- Returns:
- Whether the stringValue field is set.
-
getStringValue
java.lang.String getStringValue()
Represents a string value.
string string_value = 3;- Returns:
- The stringValue.
-
getStringValueBytes
com.google.protobuf.ByteString getStringValueBytes()
Represents a string value.
string string_value = 3;- Returns:
- The bytes for stringValue.
-
hasBoolValue
boolean hasBoolValue()
Represents a boolean value.
bool bool_value = 4;- Returns:
- Whether the boolValue field is set.
-
getBoolValue
boolean getBoolValue()
Represents a boolean value.
bool bool_value = 4;- Returns:
- The boolValue.
-
hasStructValue
boolean hasStructValue()
Represents a structured value.
.google.protobuf.Struct struct_value = 5;- Returns:
- Whether the structValue field is set.
-
getStructValue
Struct getStructValue()
Represents a structured value.
.google.protobuf.Struct struct_value = 5;- Returns:
- The structValue.
-
getStructValueOrBuilder
StructOrBuilder getStructValueOrBuilder()
Represents a structured value.
.google.protobuf.Struct struct_value = 5;
-
hasListValue
boolean hasListValue()
Represents a repeated `Value`.
.google.protobuf.ListValue list_value = 6;- Returns:
- Whether the listValue field is set.
-
getListValue
ListValue getListValue()
Represents a repeated `Value`.
.google.protobuf.ListValue list_value = 6;- Returns:
- The listValue.
-
getListValueOrBuilder
ListValueOrBuilder getListValueOrBuilder()
Represents a repeated `Value`.
.google.protobuf.ListValue list_value = 6;
-
getKindCase
Value.KindCase getKindCase()
-
-