Interface Operand.ConstantOperandOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Operand.ConstantOperand,Operand.ConstantOperand.Builder
- Enclosing class:
- Operand
public static interface Operand.ConstantOperandOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanBoolean value of the operand if it is a boolean type.doubleDouble value of the operand if it is a double type.longInt64 value of the operand if it is a int64 type.String value of the operand if it is a string type.com.google.protobuf.ByteStringString value of the operand if it is a string type.booleanBoolean value of the operand if it is a boolean type.booleanDouble value of the operand if it is a double type.booleanInt64 value of the operand if it is a int64 type.booleanString value of the operand if it is a string type.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
-
hasStringValue
boolean hasStringValue()String value of the operand if it is a string type.
string string_value = 5;- Returns:
- Whether the stringValue field is set.
-
getStringValue
String getStringValue()String value of the operand if it is a string type.
string string_value = 5;- Returns:
- The stringValue.
-
getStringValueBytes
com.google.protobuf.ByteString getStringValueBytes()String value of the operand if it is a string type.
string string_value = 5;- Returns:
- The bytes for stringValue.
-
hasLongValue
boolean hasLongValue()Int64 value of the operand if it is a int64 type.
int64 long_value = 6;- Returns:
- Whether the longValue field is set.
-
getLongValue
long getLongValue()Int64 value of the operand if it is a int64 type.
int64 long_value = 6;- Returns:
- The longValue.
-
hasBooleanValue
boolean hasBooleanValue()Boolean value of the operand if it is a boolean type.
bool boolean_value = 7;- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
boolean getBooleanValue()Boolean value of the operand if it is a boolean type.
bool boolean_value = 7;- Returns:
- The booleanValue.
-
hasDoubleValue
boolean hasDoubleValue()Double value of the operand if it is a double type.
double double_value = 8;- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
double getDoubleValue()Double value of the operand if it is a double type.
double double_value = 8;- Returns:
- The doubleValue.
-
getConstantOperandValueCase
Operand.ConstantOperand.ConstantOperandValueCase getConstantOperandValueCase()
-