Interface Generated.IntOrStringOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.IntOrString,Generated.IntOrString.Builder
- Enclosing class:
- Generated
public static interface Generated.IntOrStringOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetIntVal()optional int32 intVal = 2;StringgetStrVal()optional string strVal = 3;com.google.protobuf.ByteStringgetStrValBytes()optional string strVal = 3;longgetType()optional int64 type = 1;booleanhasIntVal()optional int32 intVal = 2;booleanhasStrVal()optional string strVal = 3;booleanhasType()optional int64 type = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasType
boolean hasType()
optional int64 type = 1;- Returns:
- Whether the type field is set.
-
getType
long getType()
optional int64 type = 1;- Returns:
- The type.
-
hasIntVal
boolean hasIntVal()
optional int32 intVal = 2;- Returns:
- Whether the intVal field is set.
-
getIntVal
int getIntVal()
optional int32 intVal = 2;- Returns:
- The intVal.
-
hasStrVal
boolean hasStrVal()
optional string strVal = 3;- Returns:
- Whether the strVal field is set.
-
getStrVal
String getStrVal()
optional string strVal = 3;- Returns:
- The strVal.
-
getStrValBytes
com.google.protobuf.ByteString getStrValBytes()
optional string strVal = 3;- Returns:
- The bytes for strVal.
-
-