Top Description Fields Constructors Methods
com.google.protobuf

public final Enum NullValue

extends Enum<NullValue>
implements ProtocolMessageEnum
Class Inheritance
All Implemented Interfaces
com.google.protobuf.ProtocolMessageEnum, com.google.protobuf.Internal.EnumLite

`NullValue` is a singleton enumeration to represent the null value for the
`Value` type union.
 The JSON representation for `NullValue` is JSON `null`.
Protobuf enum google.protobuf.NullValue

Field Summary

Modifier and TypeField and Description
private static final Internal.EnumLiteMap<NullValue>
public static final NullValue
NULL_VALUE

Null value.
public static final int
NULL_VALUE_VALUE

Null value.
public static final NullValue
private final int
private static final NullValue[]

Constructor Summary

AccessConstructor and Description
private
NullValue(int value)

Method Summary

Modifier and TypeMethod and Description
public static NullValue
forNumber(int value)

public static final Descriptors.EnumDescriptor
public final Descriptors.EnumDescriptor
getDescriptorForType()

Implements com.google.protobuf.ProtocolMessageEnum.getDescriptorForType.

Return the enum type's descriptor, which contains information about each defined value, etc.
public final int
getNumber()

Implements com.google.protobuf.ProtocolMessageEnum.getNumber.

Return the value's numeric value as defined in the .proto file.
public final Descriptors.EnumValueDescriptor
getValueDescriptor()

Implements com.google.protobuf.ProtocolMessageEnum.getValueDescriptor.

Return the value's descriptor, which contains information such as value name, number, and type.
public static Internal.EnumLiteMap<NullValue>
public static NullValue
public static NullValue
valueOf(int value)

Deprecated Use forNumber(int) instead.
public static NullValue
public static NullValue[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

internalValueMapback to summary
private static final Internal.EnumLiteMap<NullValue> internalValueMap
NULL_VALUEback to summary
public static final NullValue NULL_VALUE
Null value.
NULL_VALUE = 0;
NULL_VALUE_VALUEback to summary
public static final int NULL_VALUE_VALUE
Null value.
NULL_VALUE = 0;
UNRECOGNIZEDback to summary
public static final NullValue UNRECOGNIZED
valueback to summary
private final int value
VALUESback to summary
private static final NullValue[] VALUES

Constructor Detail

NullValueback to summary
private NullValue(int value)

Method Detail

forNumberback to summary
public static NullValue forNumber(int value)
getDescriptorback to summary
public static final Descriptors.EnumDescriptor getDescriptor()
getDescriptorForTypeback to summary
public final Descriptors.EnumDescriptor getDescriptorForType()

Implements com.google.protobuf.ProtocolMessageEnum.getDescriptorForType.

Doc from com.google.protobuf.ProtocolMessageEnum.getDescriptorForType.

Return the enum type's descriptor, which contains information about each defined value, etc.

getNumberback to summary
public final int getNumber()

Implements com.google.protobuf.ProtocolMessageEnum.getNumber.

Doc from com.google.protobuf.ProtocolMessageEnum.getNumber.

Return the value's numeric value as defined in the .proto file.

getValueDescriptorback to summary
public final Descriptors.EnumValueDescriptor getValueDescriptor()

Implements com.google.protobuf.ProtocolMessageEnum.getValueDescriptor.

Doc from com.google.protobuf.ProtocolMessageEnum.getValueDescriptor.

Return the value's descriptor, which contains information such as value name, number, and type.

internalGetValueMapback to summary
public static Internal.EnumLiteMap<NullValue> internalGetValueMap()
valueOfback to summary
public static NullValue valueOf(String name)
valueOfback to summary
public static NullValue valueOf(int value)

Deprecated

Use forNumber(int) instead.

Annotations
@Deprecated
valueOfback to summary
public static NullValue valueOf(Descriptors.EnumValueDescriptor desc)
valuesback to summary
public static NullValue[] values()