A B C D E F G H I L M N P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractMessageLite<MessageType extends AbstractMessageLite<MessageType,BuilderType>,BuilderType extends AbstractMessageLite.Builder<MessageType,BuilderType>> - Class in com.google.protobuf
-
A partial implementation of the
MessageLiteinterface which implements as many methods of that interface as possible in terms of other methods. - AbstractMessageLite() - Constructor for class com.google.protobuf.AbstractMessageLite
- AbstractMessageLite.Builder<MessageType extends AbstractMessageLite<MessageType,BuilderType>,BuilderType extends AbstractMessageLite.Builder<MessageType,BuilderType>> - Class in com.google.protobuf
-
A partial implementation of the
Message.Builderinterface which implements as many methods of that interface as possible in terms of other methods. - AbstractMessageLite.InternalOneOfEnum - Interface in com.google.protobuf
-
Interface for an enum which signifies which field in a
oneofwas specified. - AbstractParser<MessageType extends MessageLite> - Class in com.google.protobuf
-
A partial implementation of the
Parserinterface which implements as many methods of that interface as possible in terms of other methods. - AbstractParser() - Constructor for class com.google.protobuf.AbstractParser
- add(byte[]) - Method in class com.google.protobuf.LazyStringArrayList
- add(byte[]) - Method in interface com.google.protobuf.LazyStringList
-
Appends the specified element to the end of this list (optional operation).
- add(byte[]) - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- add(int, String) - Method in class com.google.protobuf.LazyStringArrayList
- add(ByteString) - Method in class com.google.protobuf.LazyStringArrayList
- add(ByteString) - Method in interface com.google.protobuf.LazyStringList
-
Appends the specified element to the end of this list (optional operation).
- add(ByteString) - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- add(ExtensionLite<?, ?>) - Method in class com.google.protobuf.ExtensionRegistryLite
-
Add an extension from a lite generated file to the registry only if it is a non-lite extension i.e.
- add(GeneratedMessageLite.GeneratedExtension<?, ?>) - Method in class com.google.protobuf.ExtensionRegistryLite
-
Add an extension from a lite generated file to the registry.
- add(String) - Method in class com.google.protobuf.LazyStringArrayList
- addAll(int, Collection<? extends String>) - Method in class com.google.protobuf.LazyStringArrayList
- addAll(Iterable<T>, Collection<? super T>) - Static method in class com.google.protobuf.AbstractMessageLite.Builder
-
Deprecated.
- addAll(Iterable<T>, List<? super T>) - Static method in class com.google.protobuf.AbstractMessageLite
- addAll(Iterable<T>, List<? super T>) - Static method in class com.google.protobuf.AbstractMessageLite.Builder
-
Adds the
valuesto thelist. - addAll(Collection<? extends String>) - Method in class com.google.protobuf.LazyStringArrayList
- addAllByteArray(Collection<byte[]>) - Method in class com.google.protobuf.LazyStringArrayList
- addAllByteArray(Collection<byte[]>) - Method in interface com.google.protobuf.LazyStringList
-
Appends all elements in the specified byte[] collection to the end of this list.
- addAllByteArray(Collection<byte[]>) - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- addAllByteString(Collection<? extends ByteString>) - Method in class com.google.protobuf.LazyStringArrayList
- addAllByteString(Collection<? extends ByteString>) - Method in interface com.google.protobuf.LazyStringList
-
Appends all elements in the specified ByteString collection to the end of this list.
- addAllByteString(Collection<? extends ByteString>) - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- addBoolean(boolean) - Method in interface com.google.protobuf.Internal.BooleanList
-
Like
List.add(Object)but more efficient in that it doesn't box the element. - addDouble(double) - Method in interface com.google.protobuf.Internal.DoubleList
-
Like
List.add(Object)but more efficient in that it doesn't box the element. - addFloat(float) - Method in interface com.google.protobuf.Internal.FloatList
-
Like
List.add(Object)but more efficient in that it doesn't box the element. - addInt(int) - Method in interface com.google.protobuf.Internal.IntList
-
Like
List.add(Object)but more efficient in that it doesn't box the element. - addLong(long) - Method in interface com.google.protobuf.Internal.LongList
-
Like
List.add(Object)but more efficient in that it doesn't box the element. - addRepeatedExtension(GeneratedMessageLite.GeneratedExtension<?, List<Type>>, Type) - Method in class com.google.protobuf.MicroEJMessageLite
-
Add a repeated extension value.
- asByteArrayList() - Method in class com.google.protobuf.LazyStringArrayList
- asByteArrayList() - Method in interface com.google.protobuf.LazyStringList
-
Returns a mutable view of this list.
- asByteArrayList() - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- asByteStringList() - Method in class com.google.protobuf.LazyStringArrayList
- asByteStringList() - Method in interface com.google.protobuf.ProtocolStringList
-
Returns a view of the data as a list of ByteStrings.
- asByteStringList() - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- asInvalidProtocolBufferException() - Method in exception com.google.protobuf.UninitializedMessageException
-
Converts this exception to an
InvalidProtocolBufferException. - asReadOnlyByteBuffer() - Method in class com.google.protobuf.ByteString
-
Constructs a read-only
java.nio.ByteBufferwhose content is equal to the contents of this byte string. - asReadOnlyByteBufferList() - Method in class com.google.protobuf.ByteString
-
Constructs a list of read-only
java.nio.ByteBufferobjects such that the concatenation of their contents is equal to the contents of this byte string.
B
- BOOL - com.google.protobuf.WireFormat.FieldType
- BOOLEAN - com.google.protobuf.WireFormat.JavaType
- build() - Method in interface com.google.protobuf.MessageLite.Builder
-
Constructs the message based on the state of the Builder.
- Builder() - Constructor for class com.google.protobuf.AbstractMessageLite.Builder
- Builder() - Constructor for class com.google.protobuf.GeneratedMessageLite.Builder
- buildPartial() - Method in interface com.google.protobuf.MessageLite.Builder
-
Like
MessageLite.Builder.build(), but does not throw an exception if the message is missing required fields. - BYTE_STRING - com.google.protobuf.WireFormat.JavaType
- byteArrayDefaultValue(String) - Static method in class com.google.protobuf.Internal
-
Helper called by generated code to construct default values for bytes fields.
- byteAt(int) - Method in class com.google.protobuf.ByteString
-
Gets the byte at the given index.
- byteBufferDefaultValue(String) - Static method in class com.google.protobuf.Internal
-
Helper called by generated code to construct default values for bytes fields.
- ByteOutput - Class in com.google.protobuf
-
An output target for raw bytes.
- ByteOutput() - Constructor for class com.google.protobuf.ByteOutput
- BYTES - com.google.protobuf.WireFormat.FieldType
- bytesDefaultValue(String) - Static method in class com.google.protobuf.Internal
-
Helper called by generated code to construct default values for bytes fields.
- ByteString - Class in com.google.protobuf
-
Immutable sequence of bytes.
- ByteString.ByteIterator - Interface in com.google.protobuf
-
This interface extends
Iterator<Byte>, so that we can return an unboxedbyte. - ByteString.Output - Class in com.google.protobuf
-
Outputs to a
ByteStringinstance.
C
- checkByteStringIsUtf8(ByteString) - Static method in class com.google.protobuf.AbstractMessageLite
- checkLastTagWas(int) - Method in class com.google.protobuf.CodedInputStream
-
Verifies that the last call to readTag() returned the given tag value.
- checkNoSpaceLeft() - Method in class com.google.protobuf.CodedOutputStream
-
Verifies that
CodedOutputStream.spaceLeft()does not return a positive value. - checkRecursionLimit() - Method in class com.google.protobuf.CodedInputStream
- checkValidEndTag() - Method in class com.google.protobuf.CodedInputStream
-
Verifies that the last tag was 0 if we aren't inside a group.
- clear() - Method in class com.google.protobuf.LazyFieldLite
-
Clears the value state of this instance.
- clear() - Method in class com.google.protobuf.LazyStringArrayList
- clear() - Method in class com.google.protobuf.MapFieldLite
- clear() - Method in interface com.google.protobuf.MessageLite.Builder
-
Resets all fields to their default values.
- clearExtension(GeneratedMessageLite.GeneratedExtension<?, ?>) - Method in class com.google.protobuf.MicroEJMessageLite
-
Clear an extension.
- clone() - Method in class com.google.protobuf.AbstractMessageLite.Builder
- clone() - Method in interface com.google.protobuf.MessageLite.Builder
-
Clones the Builder.
- CodedInputStream - Class in com.google.protobuf
-
Reads and decodes protocol message fields.
- CodedOutputStream - Class in com.google.protobuf
-
Encodes and writes protocol message fields.
- CodedOutputStream.OutOfSpaceException - Exception in com.google.protobuf
-
If you create a CodedOutputStream around a simple flat array, you must not attempt to write more bytes than the array has space.
- com.google.protobuf - package com.google.protobuf
- computeBoolSize(int, boolean) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
boolfield, including tag. - computeBoolSizeNoTag(boolean) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
boolfield. - computeByteArraySize(int, byte[]) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
bytesfield, including tag. - computeByteArraySizeNoTag(byte[]) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
bytesfield. - computeByteBufferSize(int, ByteBuffer) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
bytesfield, including tag. - computeByteBufferSizeNoTag(ByteBuffer) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
bytesfield. - computeBytesSize(int, ByteString) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
bytesfield, including tag. - computeBytesSizeNoTag(ByteString) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
bytesfield. - computeDoubleSize(int, double) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
doublefield, including tag. - computeDoubleSizeNoTag(double) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
doublefield. - computeEnumSize(int, int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an enum field, including tag.
- computeEnumSizeNoTag(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an enum field.
- computeFixed32Size(int, int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
fixed32field, including tag. - computeFixed32SizeNoTag(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
fixed32field. - computeFixed64Size(int, long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
fixed64field, including tag. - computeFixed64SizeNoTag(long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
fixed64field. - computeFloatSize(int, float) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
floatfield, including tag. - computeFloatSizeNoTag(float) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
floatfield. - computeGroupSize(int, MessageLite) - Static method in class com.google.protobuf.CodedOutputStream
-
Deprecated.groups are deprecated.
- computeGroupSizeNoTag(MessageLite) - Static method in class com.google.protobuf.CodedOutputStream
-
Deprecated.
- computeInt32Size(int, int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an
int32field, including tag. - computeInt32SizeNoTag(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an
int32field, excluding tag. - computeInt64Size(int, long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an
int64field, including tag. - computeInt64SizeNoTag(long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an
int64field. - computeLazyFieldMessageSetExtensionSize(int, LazyFieldLite) - Static method in class com.google.protobuf.CodedOutputStream
-
Deprecated.
- computeLazyFieldSize(int, LazyFieldLite) - Static method in class com.google.protobuf.CodedOutputStream
-
Deprecated.
- computeLazyFieldSizeNoTag(LazyFieldLite) - Static method in class com.google.protobuf.CodedOutputStream
-
Deprecated.
- computeMessageSetExtensionSize(int) - Method in class com.google.protobuf.LazyFieldLite
-
Compute the number of bytes that would be needed to encode a lazily parsed MessageSet extension field to the stream.
- computeMessageSetExtensionSize(int, MessageLite) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a MessageSet extension to the stream.
- computeMessageSize(int, MessageLite) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an embedded message field, including tag.
- computeMessageSize(int, K, V) - Method in class com.google.protobuf.MapEntryLite
-
Computes the message size for the provided key and value as though they were wrapped by a
MapEntryLite. - computeMessageSizeNoTag(MessageLite) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an embedded message field.
- computeRawMessageSetExtensionSize(int, ByteString) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an unparsed MessageSet extension field to the stream.
- computeRawVarint32Size(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Deprecated.use
CodedOutputStream.computeUInt32SizeNoTag(int)instead. - computeRawVarint64Size(long) - Static method in class com.google.protobuf.CodedOutputStream
-
Deprecated.use
CodedOutputStream.computeUInt64SizeNoTag(long)instead. - computeSFixed32Size(int, int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an
sfixed32field, including tag. - computeSFixed32SizeNoTag(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an
sfixed32field. - computeSFixed64Size(int, long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an
sfixed64field, including tag. - computeSFixed64SizeNoTag(long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an
sfixed64field. - computeSInt32Size(int, int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an
sint32field, including tag. - computeSInt32SizeNoTag(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an
sint32field. - computeSInt64Size(int, long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an
sint64field, including tag. - computeSInt64SizeNoTag(long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an
sint64field. - computeSize(int) - Method in class com.google.protobuf.LazyFieldLite
-
Compute the number of bytes that would be needed to encode an embedded message in lazy field, including tag.
- computeSizeNoTag() - Method in class com.google.protobuf.LazyFieldLite
-
Compute the number of bytes that would be needed to encode an embedded message stored in lazy field.
- computeStringSize(int, String) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
stringfield, including tag. - computeStringSizeNoTag(String) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
stringfield. - computeTagSize(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a tag.
- computeUInt32Size(int, int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
uint32field, including tag. - computeUInt32SizeNoTag(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
uint32field. - computeUInt64Size(int, long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
uint64field, including tag. - computeUInt64SizeNoTag(long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
uint64field. - concat(ByteString) - Method in class com.google.protobuf.ByteString
-
Concatenate the given
ByteStringto this one. - containsDefaultInstance() - Method in class com.google.protobuf.LazyFieldLite
-
Determines whether this LazyFieldLite instance represents the default instance of this type.
- convert(int) - Method in interface com.google.protobuf.Internal.IntListAdapter.IntConverter
- convert(F) - Method in interface com.google.protobuf.Internal.ListAdapter.Converter
- copyByteBuffer(ByteBuffer) - Static method in class com.google.protobuf.Internal
-
Create a new ByteBuffer and copy all the content of
sourceByteBuffer to the new ByteBuffer. - copyExtensionsFrom(MicroEJMessageLite) - Method in class com.google.protobuf.MicroEJMessageLite
-
Copy all extensions from another message.
- copyFrom(byte[]) - Static method in class com.google.protobuf.ByteString
-
Copies the given bytes into a
ByteString. - copyFrom(byte[], int, int) - Static method in class com.google.protobuf.ByteString
-
Copies the given bytes into a
ByteString. - copyFrom(Iterable<ByteString>) - Static method in class com.google.protobuf.ByteString
-
Concatenates all byte strings in the iterable and returns the result.
- copyFrom(String, String) - Static method in class com.google.protobuf.ByteString
-
Deprecated.Use
ByteString.copyFromUtf8(String)instead. - copyFrom(ByteBuffer) - Static method in class com.google.protobuf.ByteString
-
Copies the remaining bytes from a
java.nio.ByteBufferinto aByteString. - copyFrom(ByteBuffer, int) - Static method in class com.google.protobuf.ByteString
-
Copies the next
sizebytes from ajava.nio.ByteBufferinto aByteString. - copyFromUtf8(String) - Static method in class com.google.protobuf.ByteString
-
Encodes
textinto a sequence of UTF-8 bytes and returns the result as aByteString. - copyTo(byte[], int) - Method in class com.google.protobuf.ByteString
-
Copies bytes into a buffer at the given offset.
- copyTo(byte[], int, int, int) - Method in class com.google.protobuf.ByteString
-
Deprecated.Use
byteString.substringNoCopy(sourceOffset, sourceOffset + numberToCopy).copyTo(target, targetOffset)instead. - copyTo(ByteBuffer) - Method in class com.google.protobuf.ByteString
-
Copies bytes into a ByteBuffer.
- copyToInternal(byte[], int, int, int) - Method in class com.google.protobuf.ByteString
-
Internal (package private) implementation of
ByteString.copyTo(byte[],int,int,int).
D
- decodeZigZag32(int) - Static method in class com.google.protobuf.CodedInputStream
-
Decode a ZigZag-encoded 32-bit value.
- decodeZigZag64(long) - Static method in class com.google.protobuf.CodedInputStream
-
Decode a ZigZag-encoded 64-bit value.
- decrementGroupDepth() - Method in class com.google.protobuf.CodedInputStream
-
Decrement the group depth counter.
- DEFAULT_BUFFER_SIZE - Static variable in class com.google.protobuf.CodedOutputStream
-
The buffer size used in
CodedOutputStream.newInstance(OutputStream). - doBackward(B) - Method in interface com.google.protobuf.Internal.MapAdapter.Converter
- doForward(A) - Method in interface com.google.protobuf.Internal.MapAdapter.Converter
- DOUBLE - com.google.protobuf.WireFormat.FieldType
- DOUBLE - com.google.protobuf.WireFormat.JavaType
E
- empty() - Static method in class com.google.protobuf.ByteString
-
Returns an empty
ByteStringof size0. - EMPTY - Static variable in class com.google.protobuf.ByteString
-
Empty
ByteString. - EMPTY - Static variable in class com.google.protobuf.LazyStringArrayList
-
Deprecated.use
LazyStringArrayList.emptyList()instead - EMPTY_BYTE_ARRAY - Static variable in class com.google.protobuf.Internal
-
An empty byte array constant used in generated code.
- EMPTY_BYTE_BUFFER - Static variable in class com.google.protobuf.Internal
-
An empty byte array constant used in generated code.
- EMPTY_CODED_INPUT_STREAM - Static variable in class com.google.protobuf.Internal
-
An empty coded input stream constant used in generated code.
- emptyList() - Static method in class com.google.protobuf.LazyStringArrayList
-
Returns an empty immutable
LazyStringArrayListinstance - emptyMapField() - Static method in class com.google.protobuf.MapFieldLite
-
Returns a singleton immutable empty MapFieldLite instance.
- enableAliasing(boolean) - Method in class com.google.protobuf.CodedInputStream
-
Enables aliasing of the underlying input buffer for buffer-backed decoders.
- encodeZigZag32(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Encode a ZigZag-encoded 32-bit value.
- encodeZigZag64(long) - Static method in class com.google.protobuf.CodedOutputStream
-
Encode a ZigZag-encoded 64-bit value.
- endsWith(ByteString) - Method in class com.google.protobuf.ByteString
-
Tests if this bytestring ends with the specified suffix.
- ensureExtensionsAreMutable() - Method in class com.google.protobuf.MicroEJMessageLite
-
Ensure the extension FieldSet is mutable.
- ensureInitialized(MessageLite) - Method in class com.google.protobuf.LazyFieldLite
-
Might lazily parse the bytes that were previously passed in.
- entrySet() - Method in class com.google.protobuf.Internal.MapAdapter
- entrySet() - Method in class com.google.protobuf.MapFieldLite
- ENUM - com.google.protobuf.WireFormat.FieldType
- ENUM - com.google.protobuf.WireFormat.JavaType
- equals(Object) - Method in class com.google.protobuf.ByteString
- equals(Object) - Method in class com.google.protobuf.LazyField
- equals(Object) - Method in class com.google.protobuf.LazyFieldLite
- equals(Object) - Method in class com.google.protobuf.MapFieldLite
-
Checks whether two map fields are equal.
- equals(Object) - Method in class com.google.protobuf.UnknownFieldSetLite
- equals(List<byte[]>, List<byte[]>) - Static method in class com.google.protobuf.Internal
-
Helper method for implementing
Message.equals(Object)for bytes field. - equalsByteBuffer(ByteBuffer, ByteBuffer) - Static method in class com.google.protobuf.Internal
-
Helper method for implementing
Message.equals(Object)for bytes field. - equalsByteBuffer(List<ByteBuffer>, List<ByteBuffer>) - Static method in class com.google.protobuf.Internal
-
Helper method for implementing
Message.equals(Object)for bytes field. - equalsInternal(ByteString) - Method in class com.google.protobuf.ByteString
-
Internal portion of the equals check: as a precondition the caller has already checked most fast properties that are common (including reference identity, null, size, cached hash codes if available) are the same.
- ExperimentalApi - Annotation Type in com.google.protobuf
-
Indicates a public API that can change at any time, and has no guarantee of API stability and backward-compatibility.
- ExtensionLite<ContainingType extends MessageLite,Type> - Class in com.google.protobuf
-
Lite interface that generated extensions implement.
- ExtensionLite() - Constructor for class com.google.protobuf.ExtensionLite
- ExtensionRegistryLite - Class in com.google.protobuf
-
Equivalent to
ExtensionRegistrybut supports only "lite" types. - extensions - Variable in class com.google.protobuf.MicroEJMessageLite
-
Extension fields for extensible messages.
- extensionsAreEmpty() - Method in class com.google.protobuf.MicroEJMessageLite
-
Check if extensions are empty.
- extensionsAreEqual(MicroEJMessageLite) - Method in class com.google.protobuf.MicroEJMessageLite
-
Compare extensions with another message.
- extensionsHashCode() - Method in class com.google.protobuf.MicroEJMessageLite
-
Hash code of extensions.
- extensionsMakeImmutable() - Method in class com.google.protobuf.MicroEJMessageLite
-
Make extensions immutable.
- extensionsSerializedSize() - Method in class com.google.protobuf.MicroEJMessageLite
-
Returns the serialized size of all extension fields.
- ExtensionWriter() - Constructor for class com.google.protobuf.MicroEJMessageLite.ExtensionWriter
F
- findLiteExtensionByNumber(ContainingType, int) - Method in class com.google.protobuf.ExtensionRegistryLite
-
Find an extension by containing type and field number.
- findLiteExtensionByNumberObject(Object, int) - Method in class com.google.protobuf.ExtensionRegistryLite
-
[MicroEJ Port] Find an extension by containing type default instance (as Object) and field number.
- findValueByNumber(int) - Method in interface com.google.protobuf.Internal.EnumLiteMap
- FIXED32 - com.google.protobuf.WireFormat.FieldType
- FIXED64 - com.google.protobuf.WireFormat.FieldType
- FLOAT - com.google.protobuf.WireFormat.FieldType
- FLOAT - com.google.protobuf.WireFormat.JavaType
- flush() - Method in class com.google.protobuf.CodedOutputStream
-
Flushes the stream and forces any buffered bytes to be written.
- fromHex(String) - Static method in class com.google.protobuf.ByteString
-
Returns a
ByteStringfrom a hexadecimal String. - fromValue(MessageLite) - Static method in class com.google.protobuf.LazyFieldLite
-
Constructs a LazyFieldLite instance with a value.
G
- Generated - Annotation Type in com.google.protobuf
-
Marks protobuf implementations generated by the
protoccompiler. - GeneratedMessageLite<MessageType extends GeneratedMessageLite<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.Builder<MessageType,BuilderType>> - Class in com.google.protobuf
-
Lite version of
GeneratedMessage. - GeneratedMessageLite() - Constructor for class com.google.protobuf.GeneratedMessageLite
- GeneratedMessageLite.Builder<MessageType extends GeneratedMessageLite<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.Builder<MessageType,BuilderType>> - Class in com.google.protobuf
- GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type> - Class in com.google.protobuf
-
Lite equivalent to
GeneratedMessage.GeneratedExtension. - get(int) - Method in class com.google.protobuf.Internal.IntListAdapter
- get(int) - Method in class com.google.protobuf.Internal.ListAdapter
- get(int) - Method in class com.google.protobuf.LazyStringArrayList
- get(int) - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- get(Object) - Method in class com.google.protobuf.Internal.MapAdapter
- getBoolean(int) - Method in interface com.google.protobuf.Internal.BooleanList
-
Like
List.get(int)but more efficient in that it doesn't box the returned value. - getByteArray(int) - Method in class com.google.protobuf.LazyStringArrayList
- getByteArray(int) - Method in interface com.google.protobuf.LazyStringList
-
Returns the element at the specified position in this list as byte[].
- getByteArray(int) - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- getByteString(int) - Method in class com.google.protobuf.LazyStringArrayList
- getByteString(int) - Method in interface com.google.protobuf.LazyStringList
-
Returns the element at the specified position in this list as a ByteString.
- getByteString(int) - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- getBytesUntilLimit() - Method in class com.google.protobuf.CodedInputStream
-
Returns the number of bytes to be read before the current limit.
- getContainingTypeDefaultInstance() - Method in class com.google.protobuf.GeneratedMessageLite.GeneratedExtension
-
Default instance of the type being extended, used to identify that type.
- getContainingTypeDefaultInstanceObject() - Method in class com.google.protobuf.GeneratedMessageLite.GeneratedExtension
-
Default instance of the type being extended, as Object (for MicroEJ compatibility).
- getDefaultInstance() - Static method in class com.google.protobuf.UnknownFieldSetLite
-
Get an empty
UnknownFieldSetLite. - getDefaultInstance(Class<T>) - Static method in class com.google.protobuf.Internal
-
[MicroEJ Port] java.lang.reflect.Method not available.
- getDefaultInstanceForType() - Method in interface com.google.protobuf.MessageLiteOrBuilder
-
Get an instance of the type with no fields set.
- getDefaultInstanceForType() - Method in class com.google.protobuf.MicroEJMessageLite
-
Returns a new default (empty) instance of this message type.
- getDefaultValue() - Method in class com.google.protobuf.ExtensionLite
-
Returns the default value of the extension field.
- getDefaultValue() - Method in class com.google.protobuf.GeneratedMessageLite.GeneratedExtension
- getDouble(int) - Method in interface com.google.protobuf.Internal.DoubleList
-
Like
List.get(int)but more efficient in that it doesn't box the returned value. - getEmptyRegistry() - Static method in class com.google.protobuf.ExtensionRegistryLite
-
Get the unmodifiable singleton empty instance.
- getExtension(GeneratedMessageLite.GeneratedExtension<?, List<Type>>, int) - Method in class com.google.protobuf.MicroEJMessageLite
-
Get one element of a repeated extension.
- getExtension(GeneratedMessageLite.GeneratedExtension<?, Type>) - Method in class com.google.protobuf.MicroEJMessageLite
-
Get the value of an extension.
- getExtensionCount(GeneratedMessageLite.GeneratedExtension<?, List<Type>>) - Method in class com.google.protobuf.MicroEJMessageLite
-
Get the number of elements in a repeated extension.
- getFloat(int) - Method in interface com.google.protobuf.Internal.FloatList
-
Like
List.get(int)but more efficient in that it doesn't box the returned value. - getInt(int) - Method in interface com.google.protobuf.Internal.IntList
-
Like
List.get(int)but more efficient in that it doesn't box the returned value. - getJavaType() - Method in enum com.google.protobuf.WireFormat.FieldType
- getKey() - Method in class com.google.protobuf.MapEntryLite
- getLastTag() - Method in class com.google.protobuf.CodedInputStream
- getLiteType() - Method in class com.google.protobuf.ExtensionLite
-
Returns the type of the field.
- getLiteType() - Method in class com.google.protobuf.GeneratedMessageLite.GeneratedExtension
- getLong(int) - Method in interface com.google.protobuf.Internal.LongList
-
Like
List.get(int)but more efficient in that it doesn't box the returned value. - getMessageDefaultInstance() - Method in class com.google.protobuf.ExtensionLite
-
Returns the default instance of the extension field, if it's a message extension.
- getMessageDefaultInstance() - Method in class com.google.protobuf.GeneratedMessageLite.GeneratedExtension
-
If the extension is an embedded message or group, returns the default instance of the message.
- getMessageDefaultInstanceObject() - Method in class com.google.protobuf.GeneratedMessageLite.GeneratedExtension
-
Returns the message default instance as Object (for MicroEJ compatibility).
- getMissingFields() - Method in exception com.google.protobuf.UninitializedMessageException
-
Get a list of human-readable names of required fields missing from this message.
- getNumber() - Method in interface com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Retrieves the field number of the field which was set in this
oneof, or0if none were. - getNumber() - Method in class com.google.protobuf.ExtensionLite
-
Returns the field number of the extension.
- getNumber() - Method in class com.google.protobuf.GeneratedMessageLite.GeneratedExtension
-
Get the field number.
- getNumber() - Method in interface com.google.protobuf.Internal.EnumLite
- getParserForType() - Method in interface com.google.protobuf.MessageLite
-
Gets the parser for a message of the same type as this message.
- getRaw(int) - Method in class com.google.protobuf.LazyStringArrayList
- getRaw(int) - Method in interface com.google.protobuf.LazyStringList
-
Returns the element at the specified position in this list as an Object that will either be a String or a ByteString.
- getRaw(int) - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- getSerializedSize() - Method in class com.google.protobuf.LazyFieldLite
-
Due to the optional field can be duplicated at the end of serialized bytes, which will make the serialized size changed after LazyField parsed.
- getSerializedSize() - Method in interface com.google.protobuf.MessageLite
-
Get the number of bytes required to encode this message.
- getSerializedSize() - Method in class com.google.protobuf.MicroEJMessageLite
-
Returns the number of bytes required to serialize this message.
- getSerializedSize() - Method in class com.google.protobuf.UnknownFieldSetLite
-
Get the number of bytes required to encode this set.
- getSerializedSizeAsMessageSet() - Method in class com.google.protobuf.UnknownFieldSetLite
-
Get the number of bytes required to encode this field, including field number, using
MessageSetwire format. - getTagFieldNumber(int) - Static method in class com.google.protobuf.WireFormat
-
Given a tag value, determines the field number (the upper 29 bits).
- getTagWireType(int) - Static method in class com.google.protobuf.WireFormat
-
Given a tag value, determines the wire type (the lower 3 bits).
- getTotalBytesRead() - Method in class com.google.protobuf.CodedInputStream
-
The total bytes read up to the current position.
- getTotalBytesWritten() - Method in class com.google.protobuf.CodedOutputStream
-
Get the total number of bytes successfully written to this stream.
- getTreeDepth() - Method in class com.google.protobuf.ByteString
-
Return the depth of the tree representing this
ByteString, if any, whose root is this node. - getUnderlyingElements() - Method in class com.google.protobuf.LazyStringArrayList
- getUnderlyingElements() - Method in interface com.google.protobuf.LazyStringList
-
Returns an unmodifiable List of the underlying elements, each of which is either a
Stringor its equivalent UTF-8 encodedByteStringor byte[]. - getUnderlyingElements() - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- getUnfinishedMessage() - Method in exception com.google.protobuf.InvalidProtocolBufferException
-
Returns the unfinished message attached to the exception, or null if no message is attached.
- getUnknownFields() - Method in class com.google.protobuf.MicroEJMessageLite
-
Returns the unknown fields stored during parsing.
- getUnmodifiable() - Method in class com.google.protobuf.ExtensionRegistryLite
-
Returns an unmodifiable view of the registry.
- getUnmodifiableView() - Method in class com.google.protobuf.LazyStringArrayList
- getUnmodifiableView() - Method in interface com.google.protobuf.LazyStringList
-
Returns an unmodifiable view of the list.
- getUnmodifiableView() - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- getValue() - Method in class com.google.protobuf.LazyFieldLite
-
Gets the value of this field by parsing the bytes if necessary.
- getValue() - Method in class com.google.protobuf.MapEntryLite
- getValue(MessageLite) - Method in class com.google.protobuf.LazyFieldLite
-
Deprecated.Use
LazyFieldLite.getValue()instead. Parsed value will be cached, so calling this method with different default instances will not affect the cache and may result in unexpected behavior. - getWireType() - Method in enum com.google.protobuf.WireFormat.FieldType
- GROUP - com.google.protobuf.WireFormat.FieldType
H
- hasExtension(GeneratedMessageLite.GeneratedExtension<?, Type>) - Method in class com.google.protobuf.MicroEJMessageLite
-
Check if a singular extension is present.
- hashBoolean(boolean) - Static method in class com.google.protobuf.Internal
-
Helper method for implementing
Message.hashCode()for booleans. - hashCode() - Method in class com.google.protobuf.ByteString
-
Compute the hashCode using the traditional algorithm from
ByteString. - hashCode() - Method in class com.google.protobuf.LazyField
- hashCode() - Method in class com.google.protobuf.LazyFieldLite
- hashCode() - Method in class com.google.protobuf.MapFieldLite
- hashCode() - Method in class com.google.protobuf.UnknownFieldSetLite
- hashCode(byte[]) - Static method in class com.google.protobuf.Internal
-
Helper method for implementing
Message.hashCode()for bytes field. - hashCode(List<byte[]>) - Static method in class com.google.protobuf.Internal
-
Helper method for implementing
Message.hashCode()for bytes field. - hashCodeByteBuffer(ByteBuffer) - Static method in class com.google.protobuf.Internal
-
Helper method for implementing
Message.hashCode()for bytes field. - hashCodeByteBuffer(List<ByteBuffer>) - Static method in class com.google.protobuf.Internal
-
Helper method for implementing
Message.hashCode()for bytes field. - hashEnum(Internal.EnumLite) - Static method in class com.google.protobuf.Internal
-
Helper method for implementing
Message.hashCode()for enums. - hashEnumList(List<? extends Internal.EnumLite>) - Static method in class com.google.protobuf.Internal
-
Helper method for implementing
Message.hashCode()for enum lists. - hashLong(long) - Static method in class com.google.protobuf.Internal
-
Helper method for implementing
Message.hashCode()for longs.
I
- incrementGroupDepth() - Method in class com.google.protobuf.CodedInputStream
-
Increment the group depth counter.
- initialize() - Static method in class com.google.protobuf.ProtobufKernel
-
When the Protobuf library is exposed as Kernel API, this method should be called before a Feature calls one of the Protobuf APIs.
- INT - com.google.protobuf.WireFormat.JavaType
- INT32 - com.google.protobuf.WireFormat.FieldType
- INT64 - com.google.protobuf.WireFormat.FieldType
- Internal - Class in com.google.protobuf
-
The classes contained within are used internally by the Protocol Buffer library and generated message implementations.
- Internal.BooleanList - Interface in com.google.protobuf
-
A
Listimplementation that avoids boxing the elements into Booleans if possible. - Internal.DoubleList - Interface in com.google.protobuf
-
A
Listimplementation that avoids boxing the elements into Doubles if possible. - Internal.EnumLite - Interface in com.google.protobuf
-
Interface for an enum value or value descriptor, to be used in FieldSet.
- Internal.EnumLiteMap<T extends Internal.EnumLite> - Interface in com.google.protobuf
-
Interface for an object which maps integers to
Internal.EnumLites. - Internal.EnumVerifier - Interface in com.google.protobuf
-
Interface for an object which verifies integers are in range.
- Internal.FloatList - Interface in com.google.protobuf
-
A
Listimplementation that avoids boxing the elements into Floats if possible. - Internal.IntList - Interface in com.google.protobuf
-
A
Listimplementation that avoids boxing the elements into Integers if possible. - Internal.IntListAdapter<T> - Class in com.google.protobuf
-
Provides an immutable view of
List<T>around anIntList. - Internal.IntListAdapter.IntConverter<T> - Interface in com.google.protobuf
-
Convert individual elements of the List from int to T.
- Internal.ListAdapter<F,T> - Class in com.google.protobuf
-
Provides an immutable view of
List<T>around aList<F>. - Internal.ListAdapter.Converter<F,T> - Interface in com.google.protobuf
-
Convert individual elements of the List from F to T.
- Internal.LongList - Interface in com.google.protobuf
-
A
Listimplementation that avoids boxing the elements into Longs if possible. - Internal.MapAdapter<K,V,RealValue> - Class in com.google.protobuf
-
Wrap around a
Map<K, RealValue>and provide aMap<K, V>interface. - Internal.MapAdapter.Converter<A,B> - Interface in com.google.protobuf
-
An interface used to convert between two types.
- Internal.ProtobufList<E> - Interface in com.google.protobuf
-
Extends
Listto add the capability to make the list immutable and inspect if it is modifiable. - internalMergeFrom(MessageType) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- IntListAdapter(Internal.IntList, Internal.IntListAdapter.IntConverter<T>) - Constructor for class com.google.protobuf.Internal.IntListAdapter
- InvalidProtocolBufferException - Exception in com.google.protobuf
-
Thrown when a protocol message being parsed is invalid in some way.
- InvalidProtocolBufferException(IOException) - Constructor for exception com.google.protobuf.InvalidProtocolBufferException
- InvalidProtocolBufferException(Exception) - Constructor for exception com.google.protobuf.InvalidProtocolBufferException
- InvalidProtocolBufferException(String) - Constructor for exception com.google.protobuf.InvalidProtocolBufferException
- InvalidProtocolBufferException(String, IOException) - Constructor for exception com.google.protobuf.InvalidProtocolBufferException
- InvalidProtocolBufferException(String, Exception) - Constructor for exception com.google.protobuf.InvalidProtocolBufferException
- InvalidProtocolBufferException.InvalidWireTypeException - Exception in com.google.protobuf
-
Exception indicating that an unexpected wire type was encountered for a field.
- InvalidWireTypeException(String) - Constructor for exception com.google.protobuf.InvalidProtocolBufferException.InvalidWireTypeException
- isAtEnd() - Method in class com.google.protobuf.CodedInputStream
-
Returns true if the stream has reached the end of the input.
- isBalanced() - Method in class com.google.protobuf.ByteString
-
Return
trueif this ByteString is literal (a leaf node) or a flat-enough tree in the sense ofRopeByteString. - isEagerlyParseMessageSets() - Static method in class com.google.protobuf.ExtensionRegistryLite
- isEmpty() - Method in class com.google.protobuf.ByteString
-
Returns
trueif the size is0,falseotherwise. - isInitialized() - Method in interface com.google.protobuf.MessageLiteOrBuilder
-
Returns true if all required fields in the message and all embedded messages are set, false otherwise.
- isInitialized() - Method in class com.google.protobuf.MicroEJMessageLite
-
Returns true if all required fields are set (always true for proto3).
- isInRange(int) - Method in interface com.google.protobuf.Internal.EnumVerifier
- isModifiable() - Method in interface com.google.protobuf.Internal.ProtobufList
-
Returns whether this list can be modified via the publicly accessible
Listmethods. - isMutable() - Method in class com.google.protobuf.MapFieldLite
-
Returns whether this field can be modified.
- isPackable() - Method in enum com.google.protobuf.WireFormat.FieldType
- isRepeated() - Method in class com.google.protobuf.ExtensionLite
-
Returns whether it is a repeated field.
- isRepeated() - Method in class com.google.protobuf.GeneratedMessageLite.GeneratedExtension
- isValidUtf8() - Method in class com.google.protobuf.ByteString
-
Tells whether this
ByteStringrepresents a well-formed UTF-8 byte sequence, such that the original bytes can be converted to a String object and then round tripped back to bytes without loss. - isValidUtf8(byte[]) - Static method in class com.google.protobuf.Internal
-
Like
Internal.isValidUtf8(ByteString)but for byte arrays. - isValidUtf8(ByteString) - Static method in class com.google.protobuf.Internal
-
Helper called by generated code to determine if a byte array is a valid UTF-8 encoded string such that the original bytes can be converted to a String object and then back to a byte array round tripping the bytes without loss.
- iterator() - Method in class com.google.protobuf.ByteString
-
Return a
ByteString.ByteIteratorover the bytes in the ByteString. - iterator() - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
L
- LazyField - Class in com.google.protobuf
-
LazyField encapsulates the logic of lazily parsing message fields.
- LazyField(MessageLite, ExtensionRegistryLite, ByteString) - Constructor for class com.google.protobuf.LazyField
- LazyFieldLite - Class in com.google.protobuf
-
LazyFieldLite encapsulates the logic of lazily parsing message fields.
- LazyFieldLite() - Constructor for class com.google.protobuf.LazyFieldLite
-
Constructs a LazyFieldLite with no contents, and no ability to parse extensions.
- LazyFieldLite(ExtensionRegistryLite, ByteString) - Constructor for class com.google.protobuf.LazyFieldLite
-
Constructs a LazyFieldLite with bytes that will be parsed lazily.
- LazyStringArrayList - Class in com.google.protobuf
-
An implementation of
LazyStringListthat wraps anArrayList. - LazyStringArrayList() - Constructor for class com.google.protobuf.LazyStringArrayList
- LazyStringArrayList(int) - Constructor for class com.google.protobuf.LazyStringArrayList
- LazyStringArrayList(LazyStringList) - Constructor for class com.google.protobuf.LazyStringArrayList
- LazyStringArrayList(List<String>) - Constructor for class com.google.protobuf.LazyStringArrayList
- LazyStringList - Interface in com.google.protobuf
-
An interface extending
List<String>that also provides access to the items of the list as UTF8-encoded ByteString or byte[] objects. - ListAdapter(List<F>, Internal.ListAdapter.Converter<F, T>) - Constructor for class com.google.protobuf.Internal.ListAdapter
- listIterator(int) - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- LITTLE_ENDIAN_32_SIZE - Static variable in class com.google.protobuf.CodedOutputStream
-
Deprecated.Use
CodedOutputStream.computeFixed32SizeNoTag(int)instead. - LONG - com.google.protobuf.WireFormat.JavaType
M
- makeImmutable() - Method in class com.google.protobuf.GeneratedMessageLite
-
Called by subclasses to complete parsing.
- makeImmutable() - Method in interface com.google.protobuf.Internal.ProtobufList
-
Makes this list immutable.
- makeImmutable() - Method in class com.google.protobuf.MapFieldLite
-
Makes this field immutable.
- makeImmutable() - Method in class com.google.protobuf.UnknownFieldSetLite
-
Marks this object as immutable.
- MapAdapter(Map<K, RealValue>, Internal.MapAdapter.Converter<RealValue, V>) - Constructor for class com.google.protobuf.Internal.MapAdapter
- MapEntryLite<K,V> - Class in com.google.protobuf
-
Implements the lite version of map entry messages.
- MapFieldLite<K,V> - Class in com.google.protobuf
-
Internal representation of map fields in generated lite-runtime messages.
- memoizedHashCode - Variable in class com.google.protobuf.AbstractMessageLite
- memoizedSerializedSize - Variable in class com.google.protobuf.MicroEJMessageLite
- merge(LazyFieldLite) - Method in class com.google.protobuf.LazyFieldLite
-
Merges another instance's contents.
- mergeDelimitedFrom(InputStream) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- mergeDelimitedFrom(InputStream) - Method in interface com.google.protobuf.MessageLite.Builder
-
Like
MessageLite.Builder.mergeFrom(InputStream), but does not read until EOF. - mergeDelimitedFrom(InputStream, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- mergeDelimitedFrom(InputStream, ExtensionRegistryLite) - Method in interface com.google.protobuf.MessageLite.Builder
-
Like
MessageLite.Builder.mergeDelimitedFrom(InputStream)but supporting extensions. - mergeExtensionFields(MicroEJMessageLite) - Method in class com.google.protobuf.MicroEJMessageLite
-
Merge extension fields from another message.
- mergeFrom(byte[]) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- mergeFrom(byte[]) - Method in interface com.google.protobuf.MessageLite.Builder
-
Parse
dataas a message of this type and merge it with the message being built. - mergeFrom(byte[], int, int) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- mergeFrom(byte[], int, int) - Method in interface com.google.protobuf.MessageLite.Builder
-
Parse
dataas a message of this type and merge it with the message being built. - mergeFrom(byte[], int, int, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- mergeFrom(byte[], int, int, ExtensionRegistryLite) - Method in interface com.google.protobuf.MessageLite.Builder
-
Parse
dataas a message of this type and merge it with the message being built. - mergeFrom(byte[], ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- mergeFrom(byte[], ExtensionRegistryLite) - Method in interface com.google.protobuf.MessageLite.Builder
-
Parse
dataas a message of this type and merge it with the message being built. - mergeFrom(ByteString) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- mergeFrom(ByteString) - Method in interface com.google.protobuf.MessageLite.Builder
-
Parse
dataas a message of this type and merge it with the message being built. - mergeFrom(ByteString, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- mergeFrom(ByteString, ExtensionRegistryLite) - Method in interface com.google.protobuf.MessageLite.Builder
-
Parse
dataas a message of this type and merge it with the message being built. - mergeFrom(CodedInputStream) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- mergeFrom(CodedInputStream) - Method in interface com.google.protobuf.MessageLite.Builder
-
Parses a message of this type from the input and merges it with this message.
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.protobuf.LazyFieldLite
-
Merges another instance's contents from a stream.
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in interface com.google.protobuf.MessageLite.Builder
-
Like
MessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. - mergeFrom(LazyStringList) - Method in class com.google.protobuf.LazyStringArrayList
- mergeFrom(LazyStringList) - Method in interface com.google.protobuf.LazyStringList
-
Merges all elements from another LazyStringList into this one.
- mergeFrom(LazyStringList) - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- mergeFrom(MapFieldLite<K, V>) - Method in class com.google.protobuf.MapFieldLite
- mergeFrom(MessageLite) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- mergeFrom(MessageLite) - Method in interface com.google.protobuf.MessageLite.Builder
-
Merge
otherinto the message being built. - mergeFrom(InputStream) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- mergeFrom(InputStream) - Method in interface com.google.protobuf.MessageLite.Builder
-
Parse a message of this type from
inputand merge it with the message being built. - mergeFrom(InputStream, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractMessageLite.Builder
- mergeFrom(InputStream, ExtensionRegistryLite) - Method in interface com.google.protobuf.MessageLite.Builder
-
Parse a message of this type from
inputand merge it with the message being built. - MESSAGE - com.google.protobuf.WireFormat.FieldType
- MESSAGE - com.google.protobuf.WireFormat.JavaType
- MessageLite - Interface in com.google.protobuf
-
Abstract interface implemented by Protocol Message objects.
- MessageLite.Builder - Interface in com.google.protobuf
-
Abstract interface implemented by Protocol Message builders.
- MessageLiteOrBuilder - Interface in com.google.protobuf
-
Base interface for methods common to
MessageLiteandMessageLite.Builderto provide type equivalency. - microejMerge(MicroEJMessageLite) - Method in class com.google.protobuf.MicroEJMessageLite
-
Create a new message by merging this message with another of the same type.
- MicroEJMessageLite - Class in com.google.protobuf
-
Base class for MicroEJ-generated protobuf messages.
- MicroEJMessageLite() - Constructor for class com.google.protobuf.MicroEJMessageLite
- MicroEJMessageLite.ExtensionWriter - Class in com.google.protobuf
-
Used by subclasses to serialize extensions.
- microejParseFrom(CodedInputStream) - Method in class com.google.protobuf.MicroEJMessageLite
-
Parse a new instance of this message type from a stream.
- mutableCopy() - Method in class com.google.protobuf.MapFieldLite
-
Returns a deep copy of this map field.
- mutableCopyWithCapacity(int) - Method in interface com.google.protobuf.Internal.BooleanList
-
Returns a mutable clone of this list with the specified capacity.
- mutableCopyWithCapacity(int) - Method in interface com.google.protobuf.Internal.DoubleList
-
Returns a mutable clone of this list with the specified capacity.
- mutableCopyWithCapacity(int) - Method in interface com.google.protobuf.Internal.FloatList
-
Returns a mutable clone of this list with the specified capacity.
- mutableCopyWithCapacity(int) - Method in interface com.google.protobuf.Internal.IntList
-
Returns a mutable clone of this list with the specified capacity.
- mutableCopyWithCapacity(int) - Method in interface com.google.protobuf.Internal.LongList
-
Returns a mutable clone of this list with the specified capacity.
- mutableCopyWithCapacity(int) - Method in interface com.google.protobuf.Internal.ProtobufList
-
Returns a mutable clone of this list with the specified capacity.
- mutableCopyWithCapacity(int) - Method in class com.google.protobuf.LazyStringArrayList
N
- newBuilderForType() - Method in interface com.google.protobuf.MessageLite
-
Constructs a new builder for a message of the same type as this message.
- newCodedInput() - Method in class com.google.protobuf.ByteString
-
Creates a
CodedInputStreamwhich can be used to read the bytes. - newDefaultInstance(WireFormat.FieldType, K, WireFormat.FieldType, V) - Static method in class com.google.protobuf.MapEntryLite
-
Creates a default MapEntryLite message instance.
- newEnumConverter(Internal.EnumLiteMap<T>, T) - Static method in class com.google.protobuf.Internal.MapAdapter
- newExtensionWriter() - Method in class com.google.protobuf.MicroEJMessageLite
- newInput() - Method in class com.google.protobuf.ByteString
-
Creates an
InputStreamwhich can be used to read the bytes. - newInstance() - Static method in class com.google.protobuf.ExtensionRegistryLite
-
Construct a new, empty instance.
- newInstance(byte[]) - Static method in class com.google.protobuf.CodedInputStream
-
Create a new CodedInputStream wrapping the given byte array.
- newInstance(byte[]) - Static method in class com.google.protobuf.CodedOutputStream
-
Create a new
CodedOutputStreamthat writes directly to the given byte array. - newInstance(byte[], int, int) - Static method in class com.google.protobuf.CodedInputStream
-
Create a new CodedInputStream wrapping the given byte array slice.
- newInstance(byte[], int, int) - Static method in class com.google.protobuf.CodedOutputStream
-
Create a new
CodedOutputStreamthat writes directly to the given byte array slice. - newInstance(InputStream) - Static method in class com.google.protobuf.CodedInputStream
-
Create a new CodedInputStream wrapping the given InputStream.
- newInstance(InputStream, int) - Static method in class com.google.protobuf.CodedInputStream
-
Create a new CodedInputStream wrapping the given InputStream, with a specified buffer size.
- newInstance(OutputStream) - Static method in class com.google.protobuf.CodedOutputStream
-
Create a new
CodedOutputStreamwrapping the givenOutputStream. - newInstance(OutputStream, int) - Static method in class com.google.protobuf.CodedOutputStream
-
Create a new
CodedOutputStreamwrapping the givenOutputStreamwith a given buffer size. - newInstance(Iterable<ByteBuffer>) - Static method in class com.google.protobuf.CodedInputStream
-
Create a new CodedInputStream wrapping the given
Iterable <ByteBuffer>. - newInstance(ByteBuffer) - Static method in class com.google.protobuf.CodedInputStream
-
Create a new CodedInputStream wrapping the given ByteBuffer.
- newInstance(ByteBuffer) - Static method in class com.google.protobuf.CodedOutputStream
-
Create a new
CodedOutputStreamthat writes to the givenByteBuffer. - newInstance(ByteBuffer, int) - Static method in class com.google.protobuf.CodedOutputStream
-
Deprecated.the size parameter is no longer used since use of an internal buffer is useless (and wasteful) when writing to a
ByteBuffer. UseCodedOutputStream.newInstance(ByteBuffer)instead. - newOutput() - Static method in class com.google.protobuf.ByteString
-
Creates a new
ByteString.Output. - newOutput(int) - Static method in class com.google.protobuf.ByteString
-
Creates a new
ByteString.Outputwith the given initial capacity. - newRepeatedGeneratedExtension(ContainingType, MessageLite, Internal.EnumLiteMap<?>, int, WireFormat.FieldType, boolean, Class<?>) - Static method in class com.google.protobuf.GeneratedMessageLite
-
For use by generated code only.
- newRepeatedGeneratedExtensionMicroEJ(Object, Object, Internal.EnumLiteMap<?>, int, WireFormat.FieldType, boolean, Class<?>) - Static method in class com.google.protobuf.GeneratedMessageLite
-
MicroEJ-compatible factory for repeated extensions.
- newSingularGeneratedExtension(ContainingType, Type, MessageLite, Internal.EnumLiteMap<?>, int, WireFormat.FieldType, Class<?>) - Static method in class com.google.protobuf.GeneratedMessageLite
-
For use by generated code only.
- newSingularGeneratedExtensionMicroEJ(Object, Object, Object, Internal.EnumLiteMap<?>, int, WireFormat.FieldType, Class<?>) - Static method in class com.google.protobuf.GeneratedMessageLite
-
MicroEJ-compatible factory for singular extensions.
- newUninitializedMessageException(MessageLite) - Static method in class com.google.protobuf.AbstractMessageLite.Builder
-
Construct an UninitializedMessageException reporting missing fields in the given message.
- nextByte() - Method in interface com.google.protobuf.ByteString.ByteIterator
-
An alternative to
Iterator.next()that returns an unboxed primitivebyte.
P
- parseDelimitedFrom(InputStream) - Method in class com.google.protobuf.AbstractParser
- parseDelimitedFrom(InputStream) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseFrom(InputStream), but does not read until EOF. - parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractParser
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseDelimitedFrom(InputStream)but supporting extensions. - parseEntry(ByteString, ExtensionRegistryLite) - Method in class com.google.protobuf.MapEntryLite
-
Parses an entry off of the input as a
Map.Entry. - parseFrom(byte[]) - Method in class com.google.protobuf.AbstractParser
- parseFrom(byte[]) - Method in interface com.google.protobuf.Parser
-
Parses
dataas a message ofMessageType. - parseFrom(byte[], int, int) - Method in class com.google.protobuf.AbstractParser
- parseFrom(byte[], int, int) - Method in interface com.google.protobuf.Parser
-
Parses
dataas a message ofMessageType. - parseFrom(byte[], int, int, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractParser
- parseFrom(byte[], int, int, ExtensionRegistryLite) - Method in interface com.google.protobuf.Parser
-
Parses
dataas a message ofMessageType. - parseFrom(byte[], ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractParser
- parseFrom(byte[], ExtensionRegistryLite) - Method in interface com.google.protobuf.Parser
-
Parses
dataas a message ofMessageType. - parseFrom(ByteString) - Method in class com.google.protobuf.AbstractParser
- parseFrom(ByteString) - Method in interface com.google.protobuf.Parser
-
Parses
dataas a message ofMessageType. - parseFrom(ByteString, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractParser
- parseFrom(ByteString, ExtensionRegistryLite) - Method in interface com.google.protobuf.Parser
-
Parses
dataas a message ofMessageType. - parseFrom(CodedInputStream) - Method in class com.google.protobuf.AbstractParser
- parseFrom(CodedInputStream) - Method in interface com.google.protobuf.Parser
-
Parses a message of
MessageTypefrom the input. - parseFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractParser
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseFrom(CodedInputStream), but also parses extensions. - parseFrom(InputStream) - Method in class com.google.protobuf.AbstractParser
- parseFrom(InputStream) - Method in interface com.google.protobuf.Parser
-
Parse a message of
MessageTypefrominput. - parseFrom(InputStream, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractParser
- parseFrom(InputStream, ExtensionRegistryLite) - Method in interface com.google.protobuf.Parser
-
Parses a message of
MessageTypefrominput. - parseFrom(ByteBuffer) - Method in class com.google.protobuf.AbstractParser
- parseFrom(ByteBuffer) - Method in interface com.google.protobuf.Parser
-
Parses
dataas a message ofMessageType. - parseFrom(ByteBuffer, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractParser
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Method in interface com.google.protobuf.Parser
-
Parses
dataas a message ofMessageType. - parseInto(MapFieldLite<K, V>, CodedInputStream, ExtensionRegistryLite) - Method in class com.google.protobuf.MapEntryLite
-
Parses an entry off of the input into the map.
- parsePartialDelimitedFrom(InputStream) - Method in class com.google.protobuf.AbstractParser
- parsePartialDelimitedFrom(InputStream) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseDelimitedFrom(InputStream), but does not throw an exception if the message is missing required fields. - parsePartialDelimitedFrom(InputStream, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractParser
- parsePartialDelimitedFrom(InputStream, ExtensionRegistryLite) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseDelimitedFrom(InputStream, ExtensionRegistryLite), but does not throw an exception if the message is missing required fields. - parsePartialFrom(byte[]) - Method in class com.google.protobuf.AbstractParser
- parsePartialFrom(byte[]) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseFrom(byte[]), but does not throw an exception if the message is missing required fields. - parsePartialFrom(byte[], int, int) - Method in class com.google.protobuf.AbstractParser
- parsePartialFrom(byte[], int, int) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseFrom(byte[], int, int), but does not throw an exception if the message is missing required fields. - parsePartialFrom(byte[], int, int, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractParser
- parsePartialFrom(byte[], int, int, ExtensionRegistryLite) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseFrom(ByteString, ExtensionRegistryLite), but does not throw an exception if the message is missing required fields. - parsePartialFrom(byte[], ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractParser
- parsePartialFrom(byte[], ExtensionRegistryLite) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseFrom(byte[], ExtensionRegistryLite), but does not throw an exception if the message is missing required fields. - parsePartialFrom(ByteString) - Method in class com.google.protobuf.AbstractParser
- parsePartialFrom(ByteString) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseFrom(ByteString), but does not throw an exception if the message is missing required fields. - parsePartialFrom(ByteString, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractParser
- parsePartialFrom(ByteString, ExtensionRegistryLite) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseFrom(ByteString, ExtensionRegistryLite), but does not throw an exception if the message is missing required fields. - parsePartialFrom(CodedInputStream) - Method in class com.google.protobuf.AbstractParser
- parsePartialFrom(CodedInputStream) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseFrom(CodedInputStream), but does not throw an exception if the message is missing required fields. - parsePartialFrom(CodedInputStream, ExtensionRegistryLite) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseFrom(CodedInputStream input, ExtensionRegistryLite), but does not throw an exception if the message is missing required fields. - parsePartialFrom(InputStream) - Method in class com.google.protobuf.AbstractParser
- parsePartialFrom(InputStream) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseFrom(InputStream), but does not throw an exception if the message is missing required fields. - parsePartialFrom(InputStream, ExtensionRegistryLite) - Method in class com.google.protobuf.AbstractParser
- parsePartialFrom(InputStream, ExtensionRegistryLite) - Method in interface com.google.protobuf.Parser
-
Like
Parser.parseFrom(InputStream, ExtensionRegistryLite), but does not throw an exception if the message is missing required fields. - Parser<MessageType> - Interface in com.google.protobuf
-
Abstract interface for parsing Protocol Messages.
- parseUnknownField(int, CodedInputStream) - Method in class com.google.protobuf.MicroEJMessageLite
-
Parses an unknown field during
mergeFromand stores it for round-trip preservation. - parseUnknownField(MicroEJMessageLite, CodedInputStream, ExtensionRegistryLite, int) - Method in class com.google.protobuf.MicroEJMessageLite
-
Parse an extension or unknown field.
- partialHash(int, int, int) - Method in class com.google.protobuf.ByteString
-
Compute the hash across the value bytes starting with the given hash, and return the result.
- peekCachedHashCode() - Method in class com.google.protobuf.ByteString
-
Return the cached hash code if available.
- popLimit(int) - Method in class com.google.protobuf.CodedInputStream
-
Discards the current limit, returning to the previous limit.
- ProtobufKernel - Class in com.google.protobuf
-
Provides a utility method to initialize Protobuf library when it is embedded in a Kernel and its APIs are exposed to Features.
- ProtocolStringList - Interface in com.google.protobuf
-
An interface extending
List<String>used for repeated string fields to provide optional access to the data as a list of ByteStrings. - pushLimit(int) - Method in class com.google.protobuf.CodedInputStream
-
Sets
currentLimitto (current position) +byteLimit. - put(Map.Entry<K, V>) - Method in class com.google.protobuf.MapFieldLite
- put(K, V) - Method in class com.google.protobuf.Internal.MapAdapter
- put(K, V) - Method in class com.google.protobuf.MapFieldLite
- putAll(Map<? extends K, ? extends V>) - Method in class com.google.protobuf.MapFieldLite
R
- readBool() - Method in class com.google.protobuf.CodedInputStream
-
Read a
boolfield value from the stream. - readByteArray() - Method in class com.google.protobuf.CodedInputStream
-
Read a
bytesfield value from the stream. - readByteBuffer() - Method in class com.google.protobuf.CodedInputStream
-
Read a
bytesfield value from the stream. - readBytes() - Method in class com.google.protobuf.CodedInputStream
-
Read a
bytesfield value from the stream. - readDouble() - Method in class com.google.protobuf.CodedInputStream
-
Read a
doublefield value from the stream. - readEnum() - Method in class com.google.protobuf.CodedInputStream
-
Read an enum field value from the stream.
- readFixed32() - Method in class com.google.protobuf.CodedInputStream
-
Read a
fixed32field value from the stream. - readFixed64() - Method in class com.google.protobuf.CodedInputStream
-
Read a
fixed64field value from the stream. - readFloat() - Method in class com.google.protobuf.CodedInputStream
-
Read a
floatfield value from the stream. - readFrom(InputStream) - Static method in class com.google.protobuf.ByteString
-
Completely reads the given stream's bytes into a
ByteString, blocking if necessary until all bytes are read through to the end of the stream. - readFrom(InputStream, int) - Static method in class com.google.protobuf.ByteString
-
Completely reads the given stream's bytes into a
ByteString, blocking if necessary until all bytes are read through to the end of the stream. - readFrom(InputStream, int, int) - Static method in class com.google.protobuf.ByteString
-
Helper method that takes the chunk size range as a parameter.
- readGroup(int, MessageLite.Builder, ExtensionRegistryLite) - Method in class com.google.protobuf.CodedInputStream
-
Read a
groupfield value from the stream. - readGroup(int, Parser<T>, ExtensionRegistryLite) - Method in class com.google.protobuf.CodedInputStream
-
Read a
groupfield value from the stream. - readInt32() - Method in class com.google.protobuf.CodedInputStream
-
Read an
int32field value from the stream. - readInt64() - Method in class com.google.protobuf.CodedInputStream
-
Read an
int64field value from the stream. - readMessage(MessageLite.Builder, ExtensionRegistryLite) - Method in class com.google.protobuf.CodedInputStream
-
Read an embedded message field value from the stream.
- readMessage(Parser<T>, ExtensionRegistryLite) - Method in class com.google.protobuf.CodedInputStream
-
Read an embedded message field value from the stream.
- readRawByte() - Method in class com.google.protobuf.CodedInputStream
-
Read one byte from the input.
- readRawBytes(int) - Method in class com.google.protobuf.CodedInputStream
-
Read a fixed size of bytes from the input.
- readRawLittleEndian32() - Method in class com.google.protobuf.CodedInputStream
-
Read a 32-bit little-endian integer from the stream.
- readRawLittleEndian64() - Method in class com.google.protobuf.CodedInputStream
-
Read a 64-bit little-endian integer from the stream.
- readRawVarint32() - Method in class com.google.protobuf.CodedInputStream
-
Read a raw Varint from the stream.
- readRawVarint32(int, InputStream) - Static method in class com.google.protobuf.CodedInputStream
-
Like
CodedInputStream.readRawVarint32(InputStream), but expects that the caller has already read one byte. - readRawVarint32(InputStream) - Static method in class com.google.protobuf.CodedInputStream
-
Reads a varint from the input one byte at a time, so that it does not read any bytes after the end of the varint.
- readRawVarint64() - Method in class com.google.protobuf.CodedInputStream
-
Read a raw Varint from the stream.
- readSFixed32() - Method in class com.google.protobuf.CodedInputStream
-
Read an
sfixed32field value from the stream. - readSFixed64() - Method in class com.google.protobuf.CodedInputStream
-
Read an
sfixed64field value from the stream. - readSInt32() - Method in class com.google.protobuf.CodedInputStream
-
Read an
sint32field value from the stream. - readSInt64() - Method in class com.google.protobuf.CodedInputStream
-
Read an
sint64field value from the stream. - readString() - Method in class com.google.protobuf.CodedInputStream
-
Read a
stringfield value from the stream. - readStringRequireUtf8() - Method in class com.google.protobuf.CodedInputStream
-
Read a
stringfield value from the stream. - readTag() - Method in class com.google.protobuf.CodedInputStream
-
Attempt to read a field tag, returning zero if we have reached EOF.
- readUInt32() - Method in class com.google.protobuf.CodedInputStream
-
Read a
uint32field value from the stream. - readUInt64() - Method in class com.google.protobuf.CodedInputStream
-
Read a
uint64field value from the stream. - readUnknownGroup(int, MessageLite.Builder) - Method in class com.google.protobuf.CodedInputStream
-
Deprecated.UnknownFieldSet.Builder now implements MessageLite.Builder, so you can just call
CodedInputStream.readGroup(int, com.google.protobuf.MessageLite.Builder, com.google.protobuf.ExtensionRegistryLite). - remove(int) - Method in class com.google.protobuf.LazyStringArrayList
- remove(Object) - Method in class com.google.protobuf.MapFieldLite
- reset() - Method in class com.google.protobuf.ByteString.Output
-
Resets this stream, so that all currently accumulated output in the output stream is discarded.
- resetSizeCounter() - Method in class com.google.protobuf.CodedInputStream
-
Resets the current size counter to zero (see
CodedInputStream.setSizeLimit(int)).
S
- serializeTo(CodedOutputStream, int, K, V) - Method in class com.google.protobuf.MapEntryLite
-
Serializes the provided key and value as though they were wrapped by a
MapEntryLiteto the output stream. - set(int, byte[]) - Method in class com.google.protobuf.LazyStringArrayList
- set(int, byte[]) - Method in interface com.google.protobuf.LazyStringList
-
Replaces the element at the specified position in this list with the specified element (optional operation).
- set(int, byte[]) - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- set(int, ByteString) - Method in class com.google.protobuf.LazyStringArrayList
- set(int, ByteString) - Method in interface com.google.protobuf.LazyStringList
-
Replaces the element at the specified position in this list with the specified element (optional operation).
- set(int, ByteString) - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- set(int, String) - Method in class com.google.protobuf.LazyStringArrayList
- set(LazyFieldLite) - Method in class com.google.protobuf.LazyFieldLite
-
Overrides the contents of this LazyField.
- setBoolean(int, boolean) - Method in interface com.google.protobuf.Internal.BooleanList
-
Like
List.set(int, Object)but more efficient in that it doesn't box the element. - setByteString(ByteString, ExtensionRegistryLite) - Method in class com.google.protobuf.LazyFieldLite
-
Sets this field with bytes to delay-parse.
- setDouble(int, double) - Method in interface com.google.protobuf.Internal.DoubleList
-
Like
List.set(int, Object)but more efficient in that it doesn't box the element. - setEagerlyParseMessageSets(boolean) - Static method in class com.google.protobuf.ExtensionRegistryLite
- setExtension(GeneratedMessageLite.GeneratedExtension<?, Type>, Type) - Method in class com.google.protobuf.MicroEJMessageLite
-
Set a singular extension value.
- setFloat(int, float) - Method in interface com.google.protobuf.Internal.FloatList
-
Like
List.set(int, Object)but more efficient in that it doesn't box the element. - setInt(int, int) - Method in interface com.google.protobuf.Internal.IntList
-
Like
List.set(int, Object)but more efficient in that it doesn't box the element. - setLong(int, long) - Method in interface com.google.protobuf.Internal.LongList
-
Like
List.set(int, Object)but more efficient in that it doesn't box the element. - setRecursionLimit(int) - Method in class com.google.protobuf.CodedInputStream
-
Set the maximum message recursion depth.
- setSizeLimit(int) - Method in class com.google.protobuf.CodedInputStream
-
Only valid for
InputStream-backed streams. - setUnfinishedMessage(MessageLite) - Method in exception com.google.protobuf.InvalidProtocolBufferException
-
Attaches an unfinished message to the exception to support best-effort parsing in
Parserinterface. - setValue(MessageLite) - Method in class com.google.protobuf.LazyFieldLite
-
Sets the value of the instance and returns the old value without delay parsing anything.
- SFIXED32 - com.google.protobuf.WireFormat.FieldType
- SFIXED64 - com.google.protobuf.WireFormat.FieldType
- SINT32 - com.google.protobuf.WireFormat.FieldType
- SINT64 - com.google.protobuf.WireFormat.FieldType
- size() - Method in class com.google.protobuf.ByteString.Output
-
Returns the current size of the output stream.
- size() - Method in class com.google.protobuf.ByteString
-
Gets the number of bytes.
- size() - Method in class com.google.protobuf.Internal.IntListAdapter
- size() - Method in class com.google.protobuf.Internal.ListAdapter
- size() - Method in class com.google.protobuf.LazyStringArrayList
- size() - Method in class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- skipField(int) - Method in class com.google.protobuf.CodedInputStream
-
Reads and discards a single field, given its tag value.
- skipField(int, CodedOutputStream) - Method in class com.google.protobuf.CodedInputStream
-
Deprecated.use
UnknownFieldSetorUnknownFieldSetLiteto skip to an output stream. - skipMessage() - Method in class com.google.protobuf.CodedInputStream
-
Reads and discards an entire message.
- skipMessage(CodedOutputStream) - Method in class com.google.protobuf.CodedInputStream
-
Reads an entire message and writes it to output in wire format.
- skipRawBytes(int) - Method in class com.google.protobuf.CodedInputStream
-
Reads and discards
sizebytes. - spaceLeft() - Method in class com.google.protobuf.CodedOutputStream
-
If writing to a flat array, return the space left in the array, which can be a negative value if writing past the limit specified in
CodedOutputStream.newInstance(byte[], int, int)but before the end of the array. - startsWith(ByteString) - Method in class com.google.protobuf.ByteString
-
Tests if this bytestring starts with the specified prefix.
- STRING - com.google.protobuf.WireFormat.FieldType
- STRING - com.google.protobuf.WireFormat.JavaType
- stringDefaultValue(String) - Static method in class com.google.protobuf.Internal
-
Helper called by generated code to construct default values for string fields.
- substring(int) - Method in class com.google.protobuf.ByteString
-
Return the substring from
beginIndex, inclusive, to the end of the string. - substring(int, int) - Method in class com.google.protobuf.ByteString
-
Return the substring from
beginIndex, inclusive, toendIndex, exclusive. - substringNoCopy(int) - Method in class com.google.protobuf.ByteString
-
Return the substring from
beginIndex, inclusive, to the end of the string. - substringNoCopy(int, int) - Method in class com.google.protobuf.ByteString
-
Return the substring from
beginIndex, inclusive, toendIndex, exclusive.
T
- toBuilder() - Method in interface com.google.protobuf.MessageLite
-
Constructs a builder initialized with the current message.
- toByteArray() - Method in class com.google.protobuf.AbstractMessageLite
- toByteArray() - Method in class com.google.protobuf.ByteString
-
Copies bytes to a
byte[]. - toByteArray() - Method in interface com.google.protobuf.MessageLite
-
Serializes the message to a
bytearray and returns it. - toByteArray() - Method in class com.google.protobuf.MicroEJMessageLite
-
Serializes this message to a byte array.
- toByteArray(String) - Static method in class com.google.protobuf.Internal
-
Helper method to get the UTF-8 bytes of a string.
- toByteString() - Method in class com.google.protobuf.AbstractMessageLite
- toByteString() - Method in class com.google.protobuf.ByteString.Output
-
Creates a byte string with the size and contents of this output stream.
- toByteString() - Method in class com.google.protobuf.LazyFieldLite
-
Returns a BytesString for this field in a thread-safe way.
- toByteString() - Method in interface com.google.protobuf.MessageLite
-
Serializes the message to a
ByteStringand returns it. - toByteString() - Method in class com.google.protobuf.MicroEJMessageLite
-
Returns a
ByteStringcontaining the serialized message. - toString() - Method in class com.google.protobuf.ByteString.Output
- toString() - Method in class com.google.protobuf.ByteString
- toString() - Method in class com.google.protobuf.LazyField
- toString(String) - Method in class com.google.protobuf.ByteString
-
Deprecated.Use
ByteString.toStringUtf8()instead. - toStringInternal(String) - Method in class com.google.protobuf.ByteString
-
Constructs a new
Stringby decoding the bytes using the specified charset name. - toStringUtf8() - Method in class com.google.protobuf.ByteString
-
Constructs a new
Stringby decoding the bytes as UTF-8. - toStringUtf8(byte[]) - Static method in class com.google.protobuf.Internal
-
Helper method to convert a byte array to a string using UTF-8 encoding.
U
- UINT32 - com.google.protobuf.WireFormat.FieldType
- UINT64 - com.google.protobuf.WireFormat.FieldType
- UninitializedMessageException - Exception in com.google.protobuf
-
Thrown when attempting to build a protocol message that is missing required fields.
- UninitializedMessageException(MessageLite) - Constructor for exception com.google.protobuf.UninitializedMessageException
- UninitializedMessageException(List<String>) - Constructor for exception com.google.protobuf.UninitializedMessageException
- unknownFields - Variable in class com.google.protobuf.GeneratedMessageLite
-
For use by generated code only.
- unknownFields - Variable in class com.google.protobuf.MicroEJMessageLite
- UnknownFieldSetLite - Class in com.google.protobuf
-
UnknownFieldSetLiteis used to keep track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized. - UnmodifiableLazyStringList - Class in com.google.protobuf
-
Deprecated.use
Internal.ProtobufList.makeImmutable()instead. - UnmodifiableLazyStringList(LazyStringList) - Constructor for class com.google.protobuf.UnmodifiableLazyStringList
-
Deprecated.
- unsignedLexicographicalComparator() - Static method in class com.google.protobuf.ByteString
-
Returns a
Comparatorwhich comparesByteString-s lexicographically as sequences of unsigned bytes (i.e. - unwrapIOException() - Method in exception com.google.protobuf.InvalidProtocolBufferException
-
Unwraps the underlying
IOExceptionif this exception was caused by an I/O problem. - useDeterministicSerialization() - Method in class com.google.protobuf.CodedOutputStream
-
Configures serialization to be deterministic.
V
- value - Variable in class com.google.protobuf.LazyFieldLite
-
The parsed value.
- value() - Method in annotation type com.google.protobuf.ExperimentalApi
-
Context information such as links to discussion thread, tracking issue etc.
- valueOf(String) - Static method in enum com.google.protobuf.WireFormat.FieldType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.protobuf.WireFormat.JavaType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.google.protobuf.WireFormat.FieldType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.protobuf.WireFormat.JavaType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WireFormat - Class in com.google.protobuf
-
This class is used internally by the Protocol Buffer library and generated message implementations.
- WireFormat.FieldType - Enum in com.google.protobuf
-
Lite equivalent to
Descriptors.FieldDescriptor.Type. - WireFormat.JavaType - Enum in com.google.protobuf
-
Lite equivalent to
Descriptors.FieldDescriptor.JavaType. - WIRETYPE_END_GROUP - Static variable in class com.google.protobuf.WireFormat
- WIRETYPE_FIXED32 - Static variable in class com.google.protobuf.WireFormat
- WIRETYPE_FIXED64 - Static variable in class com.google.protobuf.WireFormat
- WIRETYPE_LENGTH_DELIMITED - Static variable in class com.google.protobuf.WireFormat
- WIRETYPE_START_GROUP - Static variable in class com.google.protobuf.WireFormat
- WIRETYPE_VARINT - Static variable in class com.google.protobuf.WireFormat
- write(byte) - Method in class com.google.protobuf.ByteOutput
-
Writes a single byte.
- write(byte) - Method in class com.google.protobuf.CodedOutputStream
- write(byte[], int, int) - Method in class com.google.protobuf.ByteOutput
-
Writes a sequence of bytes.
- write(byte[], int, int) - Method in class com.google.protobuf.ByteString.Output
- write(byte[], int, int) - Method in class com.google.protobuf.CodedOutputStream
- write(int) - Method in class com.google.protobuf.ByteString.Output
- write(ByteBuffer) - Method in class com.google.protobuf.ByteOutput
-
Writes a sequence of bytes.
- write(ByteBuffer) - Method in class com.google.protobuf.CodedOutputStream
- writeAsMessageSetTo(CodedOutputStream) - Method in class com.google.protobuf.UnknownFieldSetLite
-
Serializes the set and writes it to
outputusingMessageSetwire format. - writeBool(int, boolean) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
boolfield, including tag, to the stream. - writeBoolNoTag(boolean) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
boolfield to the stream. - writeByteArray(int, byte[]) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
bytesfield, including tag, to the stream. - writeByteArray(int, byte[], int, int) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
bytesfield, including tag, to the stream. - writeByteArrayNoTag(byte[]) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
bytesfield to the stream. - writeByteBuffer(int, ByteBuffer) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
bytesfield, including tag, to the stream. - writeBytes(int, ByteString) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
bytesfield, including tag, to the stream. - writeBytesNoTag(ByteString) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
bytesfield to the stream. - writeDelimitedTo(OutputStream) - Method in class com.google.protobuf.AbstractMessageLite
- writeDelimitedTo(OutputStream) - Method in interface com.google.protobuf.MessageLite
-
Like
MessageLite.writeTo(OutputStream), but writes the size of the message as a varint before writing the data. - writeDelimitedTo(OutputStream) - Method in class com.google.protobuf.MicroEJMessageLite
-
Serializes this message with a varint length prefix to an
OutputStream. - writeDouble(int, double) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
doublefield, including tag, to the stream. - writeDoubleNoTag(double) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
doublefield to the stream. - writeEnum(int, int) - Method in class com.google.protobuf.CodedOutputStream
-
Write an enum field, including tag, to the stream.
- writeEnumNoTag(int) - Method in class com.google.protobuf.CodedOutputStream
-
Write an enum field to the stream.
- writeFixed32(int, int) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
fixed32field, including tag, to the stream. - writeFixed32NoTag(int) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
fixed32field to the stream. - writeFixed64(int, long) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
fixed64field, including tag, to the stream. - writeFixed64NoTag(long) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
fixed64field to the stream. - writeFloat(int, float) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
floatfield, including tag, to the stream. - writeFloatNoTag(float) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
floatfield to the stream. - writeGroup(int, MessageLite) - Method in class com.google.protobuf.CodedOutputStream
-
Deprecated.groups are deprecated.
- writeGroupNoTag(MessageLite) - Method in class com.google.protobuf.CodedOutputStream
-
Deprecated.groups are deprecated.
- writeInt32(int, int) - Method in class com.google.protobuf.CodedOutputStream
-
Write an
int32field, including tag, to the stream. - writeInt32NoTag(int) - Method in class com.google.protobuf.CodedOutputStream
-
Write an
int32field to the stream. - writeInt64(int, long) - Method in class com.google.protobuf.CodedOutputStream
-
Write an
int64field, including tag, to the stream. - writeInt64NoTag(long) - Method in class com.google.protobuf.CodedOutputStream
-
Write an
int64field to the stream. - writeLazy(byte[], int, int) - Method in class com.google.protobuf.ByteOutput
-
Writes a sequence of bytes.
- writeLazy(byte[], int, int) - Method in class com.google.protobuf.CodedOutputStream
- writeLazy(ByteBuffer) - Method in class com.google.protobuf.ByteOutput
-
Writes a sequence of bytes.
- writeLazy(ByteBuffer) - Method in class com.google.protobuf.CodedOutputStream
- writeMessage(int, MessageLite) - Method in class com.google.protobuf.CodedOutputStream
-
Write an embedded message field, including tag, to the stream.
- writeMessageNoTag(MessageLite) - Method in class com.google.protobuf.CodedOutputStream
-
Write an embedded message field to the stream.
- writeMessageSetExtension(int, MessageLite) - Method in class com.google.protobuf.CodedOutputStream
-
Write a MessageSet extension field to the stream.
- writeRawByte(byte) - Method in class com.google.protobuf.CodedOutputStream
-
Write a single byte.
- writeRawByte(int) - Method in class com.google.protobuf.CodedOutputStream
-
Write a single byte, represented by an integer value.
- writeRawBytes(byte[]) - Method in class com.google.protobuf.CodedOutputStream
-
Write an array of bytes.
- writeRawBytes(byte[], int, int) - Method in class com.google.protobuf.CodedOutputStream
-
Write part of an array of bytes.
- writeRawBytes(ByteString) - Method in class com.google.protobuf.CodedOutputStream
-
Write a byte string.
- writeRawBytes(ByteBuffer) - Method in class com.google.protobuf.CodedOutputStream
-
Write a ByteBuffer.
- writeRawLittleEndian32(int) - Method in class com.google.protobuf.CodedOutputStream
-
Deprecated.Use
CodedOutputStream.writeFixed32NoTag(int)instead. - writeRawLittleEndian64(long) - Method in class com.google.protobuf.CodedOutputStream
-
Deprecated.Use
CodedOutputStream.writeFixed64NoTag(long)instead. - writeRawMessageSetExtension(int, ByteString) - Method in class com.google.protobuf.CodedOutputStream
-
Write an unparsed MessageSet extension field to the stream.
- writeRawVarint32(int) - Method in class com.google.protobuf.CodedOutputStream
-
Deprecated.use
CodedOutputStream.writeUInt32NoTag(int)instead. - writeRawVarint64(long) - Method in class com.google.protobuf.CodedOutputStream
-
Deprecated.use
CodedOutputStream.writeUInt64NoTag(long)instead. - writeSFixed32(int, int) - Method in class com.google.protobuf.CodedOutputStream
-
Write an
sfixed32field, including tag, to the stream. - writeSFixed32NoTag(int) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
sfixed32field to the stream. - writeSFixed64(int, long) - Method in class com.google.protobuf.CodedOutputStream
-
Write an
sfixed64field, including tag, to the stream. - writeSFixed64NoTag(long) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
sfixed64field to the stream. - writeSInt32(int, int) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
sint32field, including tag, to the stream. - writeSInt32NoTag(int) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
sint32field to the stream. - writeSInt64(int, long) - Method in class com.google.protobuf.CodedOutputStream
-
Write an
sint64field, including tag, to the stream. - writeSInt64NoTag(long) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
sint64field to the stream. - writeString(int, String) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
stringfield, including tag, to the stream. - writeStringNoTag(String) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
stringfield to the stream. - writeTag(int, int) - Method in class com.google.protobuf.CodedOutputStream
-
Encode and write a tag.
- writeTo(CodedOutputStream) - Method in interface com.google.protobuf.MessageLite
-
Serializes the message and writes it to
output. - writeTo(CodedOutputStream) - Method in class com.google.protobuf.MicroEJMessageLite
-
Serializes this message to a
CodedOutputStream. - writeTo(CodedOutputStream) - Method in class com.google.protobuf.UnknownFieldSetLite
-
Serializes the set and writes it to
output. - writeTo(OutputStream) - Method in class com.google.protobuf.AbstractMessageLite
- writeTo(OutputStream) - Method in class com.google.protobuf.ByteString.Output
-
Writes the complete contents of this byte array output stream to the specified output stream argument.
- writeTo(OutputStream) - Method in class com.google.protobuf.ByteString
-
Writes a copy of the contents of this byte string to the specified output stream argument.
- writeTo(OutputStream) - Method in interface com.google.protobuf.MessageLite
-
Serializes the message and writes it to
output. - writeTo(OutputStream) - Method in class com.google.protobuf.MicroEJMessageLite
-
Serializes this message to an
OutputStream. - writeUInt32(int, int) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
uint32field, including tag, to the stream. - writeUInt32NoTag(int) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
uint32field to the stream. - writeUInt64(int, long) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
uint64field, including tag, to the stream. - writeUInt64NoTag(long) - Method in class com.google.protobuf.CodedOutputStream
-
Write a
uint64field to the stream. - writeUntil(int, CodedOutputStream) - Method in class com.google.protobuf.MicroEJMessageLite.ExtensionWriter
All Classes All Packages