Interface LiteralOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Literal, Literal.Builder

public interface LiteralOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    bool bool_value = 3;
    double
    double double_value = 2;
    long
    sint64 long_value = 4 [jstype = JS_STRING];
    long
    nanos since the epoch
    string string_value = 1;
    com.google.protobuf.ByteString
    string string_value = 1;
     
    boolean
    bool bool_value = 3;
    boolean
    double double_value = 2;
    boolean
    sint64 long_value = 4 [jstype = JS_STRING];
    boolean
    nanos since the epoch
    boolean
    string string_value = 1;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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 string_value = 1;
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      String getStringValue()
      string string_value = 1;
      Returns:
      The stringValue.
    • getStringValueBytes

      com.google.protobuf.ByteString getStringValueBytes()
      string string_value = 1;
      Returns:
      The bytes for stringValue.
    • hasDoubleValue

      boolean hasDoubleValue()
      double double_value = 2;
      Returns:
      Whether the doubleValue field is set.
    • getDoubleValue

      double getDoubleValue()
      double double_value = 2;
      Returns:
      The doubleValue.
    • hasBoolValue

      boolean hasBoolValue()
      bool bool_value = 3;
      Returns:
      Whether the boolValue field is set.
    • getBoolValue

      boolean getBoolValue()
      bool bool_value = 3;
      Returns:
      The boolValue.
    • hasLongValue

      boolean hasLongValue()
      sint64 long_value = 4 [jstype = JS_STRING];
      Returns:
      Whether the longValue field is set.
    • getLongValue

      long getLongValue()
      sint64 long_value = 4 [jstype = JS_STRING];
      Returns:
      The longValue.
    • hasNanoTimeValue

      boolean hasNanoTimeValue()
       nanos since the epoch
       
      sint64 nano_time_value = 5 [jstype = JS_STRING];
      Returns:
      Whether the nanoTimeValue field is set.
    • getNanoTimeValue

      long getNanoTimeValue()
       nanos since the epoch
       
      sint64 nano_time_value = 5 [jstype = JS_STRING];
      Returns:
      The nanoTimeValue.
    • getValueCase

      Literal.ValueCase getValueCase()