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 booleangetBooleanValue()A boolean.doublegetDoubleValue()A double.floatgetFloatValue()A float.longgetInt64Value()An int64.java.lang.StringgetStringValue()A string.com.google.protobuf.ByteStringgetStringValueBytes()A string.Value.ValueCasegetValueCase()booleanhasBooleanValue()A boolean.booleanhasDoubleValue()A double.booleanhasFloatValue()A float.booleanhasInt64Value()An int64.booleanhasStringValue()A string.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBooleanValue
boolean hasBooleanValue()
A boolean.
bool boolean_value = 1;- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
boolean getBooleanValue()
A boolean.
bool boolean_value = 1;- Returns:
- The booleanValue.
-
hasInt64Value
boolean hasInt64Value()
An int64.
int64 int64_value = 2;- Returns:
- Whether the int64Value field is set.
-
getInt64Value
long getInt64Value()
An int64.
int64 int64_value = 2;- Returns:
- The int64Value.
-
hasFloatValue
boolean hasFloatValue()
A float.
float float_value = 3;- Returns:
- Whether the floatValue field is set.
-
getFloatValue
float getFloatValue()
A float.
float float_value = 3;- Returns:
- The floatValue.
-
hasDoubleValue
boolean hasDoubleValue()
A double.
double double_value = 4;- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
double getDoubleValue()
A double.
double double_value = 4;- Returns:
- The doubleValue.
-
hasStringValue
boolean hasStringValue()
A string.
string string_value = 5;- Returns:
- Whether the stringValue field is set.
-
getStringValue
java.lang.String getStringValue()
A string.
string string_value = 5;- Returns:
- The stringValue.
-
getStringValueBytes
com.google.protobuf.ByteString getStringValueBytes()
A string.
string string_value = 5;- Returns:
- The bytes for stringValue.
-
getValueCase
Value.ValueCase getValueCase()
-
-