Package com.google.protobuf
Interface ValueOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
Value
,Value.Builder
public interface ValueOrBuilder extends 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.ByteString
getStringValueBytes()
Represents a string value.Struct
getStructValue()
Represents a structured value.StructOrBuilder
getStructValueOrBuilder()
Represents a structured value.boolean
hasBoolValue()
Represents a boolean value.boolean
hasListValue()
Represents a repeated `Value`.boolean
hasNullValue()
Represents a null value.boolean
hasNumberValue()
Represents a double value.boolean
hasStringValue()
Represents a string value.boolean
hasStructValue()
Represents a structured value.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
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
String getStringValue()
Represents a string value.
string string_value = 3;
- Returns:
- The stringValue.
-
getStringValueBytes
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()
-
-