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 boolean
getBoolValue()
Represents a boolean value.Value.KindCase
getKindCase()
ListValue
getListValue()
Represents a repeated `Value`.ListValueOrBuilder
getListValueOrBuilder()
Represents a repeated `Value`.NullValue
getNullValue()
Represents a null value.int
getNullValueValue()
Represents a null value.double
getNumberValue()
Represents a double value.String
getStringValue()
Represents a string value.com.google.protobuf.ByteString
getStringValueBytes()
Represents a string value.Struct
getStructValue()
Represents a structured value.StructOrBuilder
getStructValueOrBuilder()
Represents a structured value.boolean
hasListValue()
Represents a repeated `Value`.boolean
hasStructValue()
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
-
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.
-
getNumberValue
double getNumberValue()
Represents a double value.
double number_value = 2;
- Returns:
- The numberValue.
-
getStringValue
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.
-
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()
-
-