Uses of Enum Class
com.google.protobuf.WireFormat.FieldType
Packages that use WireFormat.FieldType
-
Uses of WireFormat.FieldType in com.google.protobuf
Fields in com.google.protobuf declared as WireFormat.FieldTypeModifier and TypeFieldDescriptionfinal WireFormat.FieldType
MapEntryLite.Metadata.keyType
private static final WireFormat.FieldType[]
Descriptors.FieldDescriptor.table
(package private) final WireFormat.FieldType
GeneratedMessageLite.ExtensionDescriptor.type
final WireFormat.FieldType
MapEntryLite.Metadata.valueType
Methods in com.google.protobuf that return WireFormat.FieldTypeModifier and TypeMethodDescriptionDescriptors.FieldDescriptor.getLiteType()
For internal use only.abstract WireFormat.FieldType
ExtensionLite.getLiteType()
Returns the type of the field.FieldSet.FieldDescriptorLite.getLiteType()
GeneratedMessage.GeneratedExtension.getLiteType()
GeneratedMessageLite.ExtensionDescriptor.getLiteType()
GeneratedMessageLite.GeneratedExtension.getLiteType()
static WireFormat.FieldType
Returns the enum constant of this class with the specified name.static WireFormat.FieldType[]
WireFormat.FieldType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.google.protobuf with parameters of type WireFormat.FieldTypeModifier and TypeMethodDescription(package private) static int
FieldSet.computeElementSize
(WireFormat.FieldType type, int number, Object value) Compute the number of bytes that would be needed to encode a single tag/value pair of arbitrary type.(package private) static int
FieldSet.computeElementSizeNoTag
(WireFormat.FieldType type, Object value) Compute the number of bytes that would be needed to encode a particular value of arbitrary type, excluding tag.private int
MessageSchema.decodeMapEntryValue
(byte[] data, int position, int limit, WireFormat.FieldType fieldType, Class<?> messageType, ArrayDecoders.Registers registers) Decodes a map entry key or value.(package private) static int
FieldSet.getWireFormatForFieldType
(WireFormat.FieldType type, boolean isPacked) Given a field type, return the wire type.private static boolean
FieldSet.isValidType
(WireFormat.FieldType type, Object value) static <K,
V> MapEntry <K, V> MapEntry.newDefaultInstance
(Descriptors.Descriptor descriptor, WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) Create a default MapEntry instance.static <K,
V> MapEntryLite <K, V> MapEntryLite.newDefaultInstance
(WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) Creates a default MapEntryLite message instance.static <ContainingType extends MessageLite,
Type>
GeneratedMessageLite.GeneratedExtension<ContainingType, Type> GeneratedMessageLite.newRepeatedGeneratedExtension
(ContainingType containingTypeDefaultInstance, MessageLite messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, boolean isPacked, Class singularType) For use by generated code only.static <ContainingType extends MessageLite,
Type>
GeneratedMessageLite.GeneratedExtension<ContainingType, Type> GeneratedMessageLite.newSingularGeneratedExtension
(ContainingType containingTypeDefaultInstance, Type defaultValue, MessageLite messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, Class singularType) For use by generated code only.(package private) static <T> T
MapEntryLite.parseField
(CodedInputStream input, ExtensionRegistryLite extensionRegistry, WireFormat.FieldType type, T value) private Object
BinaryReader.SafeHeapReader.readField
(WireFormat.FieldType fieldType, Class<?> messageType, ExtensionRegistryLite extensionRegistry) private Object
CodedInputStreamReader.readField
(WireFormat.FieldType fieldType, Class<?> messageType, ExtensionRegistryLite extensionRegistry) static Object
FieldSet.readPrimitiveField
(CodedInputStream input, WireFormat.FieldType type, boolean checkUtf8) Read a field of any primitive type for immutable messages from a CodedInputStream.(package private) static Object
WireFormat.readPrimitiveField
(CodedInputStream input, WireFormat.FieldType type, WireFormat.Utf8Validation utf8Validation) Read a field of any primitive type for immutable messages from a CodedInputStream.(package private) static void
FieldSet.writeElement
(CodedOutputStream output, WireFormat.FieldType type, int number, Object value) Write a single tag-value pair to the stream.(package private) static void
FieldSet.writeElementNoTag
(CodedOutputStream output, WireFormat.FieldType type, Object value) Write a field of arbitrary type, without its tag, to the stream.(package private) static final void
BinaryWriter.writeMapEntryField
(Writer writer, int fieldNumber, WireFormat.FieldType fieldType, Object object) Constructors in com.google.protobuf with parameters of type WireFormat.FieldTypeModifierConstructorDescription(package private)
ExtensionDescriptor
(Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, boolean isRepeated, boolean isPacked) private
MapEntry
(Descriptors.Descriptor descriptor, WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) Create a default MapEntry instance.private
MapEntryLite
(WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) Creates a default MapEntryLite message instance.Metadata
(Descriptors.Descriptor descriptor, MapEntry<K, V> defaultInstance, WireFormat.FieldType keyType, WireFormat.FieldType valueType) Metadata
(WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue)