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
Modifier and TypeMethodDescriptionboolean
Represents a boolean value.Represents a repeated `Value`.Represents a repeated `Value`.Represents a null value.int
Represents a null value.double
Represents a double value.Represents a string value.com.google.protobuf.ByteString
Represents a string value.Represents a structured value.Represents a structured value.boolean
Represents a boolean value.boolean
Represents a repeated `Value`.boolean
Represents a null value.boolean
Represents a double value.boolean
Represents a string value.boolean
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 Details
-
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
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()
-