Class Value

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, ValueOrBuilder

    @Generated
    public final class Value
    extends com.google.protobuf.GeneratedMessageLite<Value,​Value.Builder>
    implements ValueOrBuilder
    Protobuf type google.protobuf.Value
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Value.Builder
      Protobuf type google.protobuf.Value
      static class  Value.KindCase  
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

        com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,​?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,​Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      boolean getBoolValue()
      bool bool_value = 4 [json_name = "boolValue"];
      static Value getDefaultInstance()  
      Value.KindCase getKindCase()  
      ListValue getListValue()
      .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
      NullValue getNullValue()
      .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
      int getNullValueValue()
      .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
      double getNumberValue()
      double number_value = 2 [json_name = "numberValue"];
      java.lang.String getStringValue()
      string string_value = 3 [json_name = "stringValue"];
      com.google.protobuf.ByteString getStringValueBytes()
      string string_value = 3 [json_name = "stringValue"];
      Struct getStructValue()
      .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
      boolean hasBoolValue()
      bool bool_value = 4 [json_name = "boolValue"];
      boolean hasListValue()
      .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
      boolean hasNullValue()
      .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
      boolean hasNumberValue()
      double number_value = 2 [json_name = "numberValue"];
      boolean hasStringValue()
      string string_value = 3 [json_name = "stringValue"];
      boolean hasStructValue()
      .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
      static Value.Builder newBuilder()  
      static Value.Builder newBuilder​(Value prototype)  
      static Value parseDelimitedFrom​(java.io.InputStream input)  
      static Value parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Value parseFrom​(byte[] data)  
      static Value parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Value parseFrom​(com.google.protobuf.ByteString data)  
      static Value parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Value parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Value parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Value parseFrom​(java.io.InputStream input)  
      static Value parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Value parseFrom​(java.nio.ByteBuffer data)  
      static Value parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Value> parser()  
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite

        createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • hasNullValue

        public boolean hasNullValue()
        .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
        Specified by:
        hasNullValue in interface ValueOrBuilder
        Returns:
        Whether the nullValue field is set.
      • getNullValueValue

        public int getNullValueValue()
        .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
        Specified by:
        getNullValueValue in interface ValueOrBuilder
        Returns:
        The enum numeric value on the wire for nullValue.
      • getNullValue

        public NullValue getNullValue()
        .google.protobuf.NullValue null_value = 1 [json_name = "nullValue"];
        Specified by:
        getNullValue in interface ValueOrBuilder
        Returns:
        The nullValue.
      • hasNumberValue

        public boolean hasNumberValue()
        double number_value = 2 [json_name = "numberValue"];
        Specified by:
        hasNumberValue in interface ValueOrBuilder
        Returns:
        Whether the numberValue field is set.
      • getNumberValue

        public double getNumberValue()
        double number_value = 2 [json_name = "numberValue"];
        Specified by:
        getNumberValue in interface ValueOrBuilder
        Returns:
        The numberValue.
      • hasStringValue

        public boolean hasStringValue()
        string string_value = 3 [json_name = "stringValue"];
        Specified by:
        hasStringValue in interface ValueOrBuilder
        Returns:
        Whether the stringValue field is set.
      • getStringValue

        public java.lang.String getStringValue()
        string string_value = 3 [json_name = "stringValue"];
        Specified by:
        getStringValue in interface ValueOrBuilder
        Returns:
        The stringValue.
      • getStringValueBytes

        public com.google.protobuf.ByteString getStringValueBytes()
        string string_value = 3 [json_name = "stringValue"];
        Specified by:
        getStringValueBytes in interface ValueOrBuilder
        Returns:
        The bytes for stringValue.
      • hasBoolValue

        public boolean hasBoolValue()
        bool bool_value = 4 [json_name = "boolValue"];
        Specified by:
        hasBoolValue in interface ValueOrBuilder
        Returns:
        Whether the boolValue field is set.
      • getBoolValue

        public boolean getBoolValue()
        bool bool_value = 4 [json_name = "boolValue"];
        Specified by:
        getBoolValue in interface ValueOrBuilder
        Returns:
        The boolValue.
      • hasStructValue

        public boolean hasStructValue()
        .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
        Specified by:
        hasStructValue in interface ValueOrBuilder
        Returns:
        Whether the structValue field is set.
      • getStructValue

        public Struct getStructValue()
        .google.protobuf.Struct struct_value = 5 [json_name = "structValue"];
        Specified by:
        getStructValue in interface ValueOrBuilder
        Returns:
        The structValue.
      • hasListValue

        public boolean hasListValue()
        .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
        Specified by:
        hasListValue in interface ValueOrBuilder
        Returns:
        Whether the listValue field is set.
      • getListValue

        public ListValue getListValue()
        .google.protobuf.ListValue list_value = 6 [json_name = "listValue"];
        Specified by:
        getListValue in interface ValueOrBuilder
        Returns:
        The listValue.
      • parseFrom

        public static Value parseFrom​(java.nio.ByteBuffer data)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Value parseFrom​(java.nio.ByteBuffer data,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Value parseFrom​(com.google.protobuf.ByteString data)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Value parseFrom​(com.google.protobuf.ByteString data,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Value parseFrom​(byte[] data)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Value parseFrom​(byte[] data,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Value parseFrom​(java.io.InputStream input)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Value parseFrom​(java.io.InputStream input,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Value parseDelimitedFrom​(java.io.InputStream input)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Value parseDelimitedFrom​(java.io.InputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Value parseFrom​(com.google.protobuf.CodedInputStream input)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Value parseFrom​(com.google.protobuf.CodedInputStream input,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Value,​Value.Builder>
      • getDefaultInstance

        public static Value getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Value> parser()