Package com.google.protobuf
Interface ValueOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Value,Value.Builder
@Generated
public interface ValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanRepresents a boolean value.Represents a repeated `Value`.Represents a repeated `Value`.Represents a null value.intRepresents a null value.doubleRepresents a double value.Represents a string value.com.google.protobuf.ByteStringRepresents a string value.Represents a structured value.Represents a structured value.booleanRepresents a boolean value.booleanRepresents a repeated `Value`.booleanRepresents a null value.booleanRepresents a double value.booleanRepresents a string value.booleanRepresents a structured value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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()
-