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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetBooleanValue()Boolean value of the operand if it is a boolean type.Operand.ConstantOperand.ConstantOperandValueCasegetConstantOperandValueCase()doublegetDoubleValue()Double value of the operand if it is a double type.longgetLongValue()Int64 value of the operand if it is a int64 type.java.lang.StringgetStringValue()String value of the operand if it is a string type.com.google.protobuf.ByteStringgetStringValueBytes()String value of the operand if it is a string type.booleanhasBooleanValue()Boolean value of the operand if it is a boolean type.booleanhasDoubleValue()Double value of the operand if it is a double type.booleanhasLongValue()Int64 value of the operand if it is a int64 type.booleanhasStringValue()String value of the operand if it is a string type.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.lang.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()
-
-