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
      boolean getBoolValue()
      Represents a boolean value.
      double getDoubleValue()
      Represents a double value.
      long getInt64Value()
      Represents an int64 value.
      Value.KindCase getKindCase()  
      com.google.protobuf.Any getProtoValue()
      Represents an 'Any' proto value.
      com.google.protobuf.AnyOrBuilder getProtoValueOrBuilder()
      Represents an 'Any' proto value.
      String getStringValue()
      Represents a string value.
      com.google.protobuf.ByteString getStringValueBytes()
      Represents a string value.
      boolean hasBoolValue()
      Represents a boolean value.
      boolean hasDoubleValue()
      Represents a double value.
      boolean hasInt64Value()
      Represents an int64 value.
      boolean hasProtoValue()
      Represents an 'Any' proto value.
      boolean hasStringValue()
      Represents a string value.
      • 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 Detail

      • hasInt64Value

        boolean hasInt64Value()
         Represents an int64 value.
         
        int64 int64_value = 1;
        Returns:
        Whether the int64Value field is set.
      • getInt64Value

        long getInt64Value()
         Represents an int64 value.
         
        int64 int64_value = 1;
        Returns:
        The int64Value.
      • hasStringValue

        boolean hasStringValue()
         Represents a string value.
         
        string string_value = 2;
        Returns:
        Whether the stringValue field is set.
      • getStringValue

        String getStringValue()
         Represents a string value.
         
        string string_value = 2;
        Returns:
        The stringValue.
      • getStringValueBytes

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

        boolean hasDoubleValue()
         Represents a double value.
         
        double double_value = 3;
        Returns:
        Whether the doubleValue field is set.
      • getDoubleValue

        double getDoubleValue()
         Represents a double value.
         
        double double_value = 3;
        Returns:
        The doubleValue.
      • hasProtoValue

        boolean hasProtoValue()
         Represents an 'Any' proto value.
         
        .google.protobuf.Any proto_value = 4;
        Returns:
        Whether the protoValue field is set.
      • getProtoValue

        com.google.protobuf.Any getProtoValue()
         Represents an 'Any' proto value.
         
        .google.protobuf.Any proto_value = 4;
        Returns:
        The protoValue.
      • getProtoValueOrBuilder

        com.google.protobuf.AnyOrBuilder getProtoValueOrBuilder()
         Represents an 'Any' proto value.
         
        .google.protobuf.Any proto_value = 4;
      • hasBoolValue

        boolean hasBoolValue()
         Represents a boolean value.
         
        bool bool_value = 5;
        Returns:
        Whether the boolValue field is set.
      • getBoolValue

        boolean getBoolValue()
         Represents a boolean value.
         
        bool bool_value = 5;
        Returns:
        The boolValue.