- checkByteStringIsUtf8(ByteString) - Static method in class com.google.protobuf.AbstractMessageLite
-
Checks wheter a ByteString is encoded in Utf-8.
- 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
-
- clear() - Method in class com.google.protobuf.GeneratedMessageLite.Builder
-
- clear() - Method in class com.google.protobuf.LazyFieldLite
-
Clears the value state of this instance.
- 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(ExtensionLite<MessageType, ?>) - Method in class com.google.protobuf.GeneratedMessageLite.ExtendableBuilder
-
Clear an extension.
- clone() - Method in class com.google.protobuf.AbstractMessageLite.Builder
-
- clone() - Method in class com.google.protobuf.GeneratedMessageLite.Builder
-
- clone() - Method in class com.google.protobuf.GeneratedMessageLite.ExtendableBuilder
-
- 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 bool
field, including tag.
- computeBoolSizeNoTag(boolean) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a bool
field.
- computeByteArraySize(int, byte[]) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a bytes
field, including tag.
- computeByteArraySizeNoTag(byte[]) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a bytes
field.
- computeByteBufferSize(int, ByteBuffer) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a bytes
field, including tag.
- computeByteBufferSizeNoTag(ByteBuffer) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a bytes
field.
- computeBytesSize(int, ByteString) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a bytes
field, including tag.
- computeBytesSizeNoTag(ByteString) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a bytes
field.
- computeDoubleSize(int, double) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a double
field, including tag.
- computeDoubleSizeNoTag(double) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a double
field, including tag.
- 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 fixed32
field, including tag.
- computeFixed32SizeNoTag(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a fixed32
field.
- computeFixed64Size(int, long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a fixed64
field, including tag.
- computeFixed64SizeNoTag(long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a fixed64
field.
- computeFloatSize(int, float) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a float
field, including tag.
- computeFloatSizeNoTag(float) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a float
field, including tag.
- computeGroupSize(int, MessageLite) - Static method in class com.google.protobuf.CodedOutputStream
-
- 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 int32
field, including tag.
- computeInt32SizeNoTag(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an int32
field, including tag.
- computeInt64Size(int, long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an int64
field, including tag.
- computeInt64SizeNoTag(long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an int64
field, including tag.
- computeLazyFieldMessageSetExtensionSize(int, LazyFieldLite) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an lazily parsed MessageSet extension field to the
stream.
- computeLazyFieldSize(int, LazyFieldLite) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an embedded message in lazy field, including tag.
- computeLazyFieldSizeNoTag(LazyFieldLite) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an embedded message stored in lazy field.
- 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
-
- computeRawVarint64Size(long) - Static method in class com.google.protobuf.CodedOutputStream
-
- computeSFixed32Size(int, int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an sfixed32
field, including tag.
- computeSFixed32SizeNoTag(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an sfixed32
field.
- computeSFixed64Size(int, long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an sfixed64
field, including tag.
- computeSFixed64SizeNoTag(long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an sfixed64
field.
- computeSInt32Size(int, int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an sint32
field, including tag.
- computeSInt32SizeNoTag(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an sint32
field.
- computeSInt64Size(int, long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an sint64
field, including tag.
- computeSInt64SizeNoTag(long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode an sint64
field.
- computeStringSize(int, String) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a string
field, including tag.
- computeStringSizeNoTag(String) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a string
field.
- 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 uint32
field, including tag.
- computeUInt32SizeNoTag(int) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a uint32
field.
- computeUInt64Size(int, long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a uint64
field, including tag.
- computeUInt64SizeNoTag(long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a uint64
field, including tag.
- concat(ByteString) - Method in class com.google.protobuf.ByteString
-
Concatenate the given ByteString
to this one.
- containsDefaultInstance() - Method in class com.google.protobuf.LazyField
-
- containsDefaultInstance() - Method in class com.google.protobuf.LazyFieldLite
-
Determines whether this LazyFieldLite instance represents the default instance of this type.
- 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 source
ByteBuffer to the new ByteBuffer.
- copyFrom(byte[], int, int) - Static method in class com.google.protobuf.ByteString
-
Copies the given bytes into a ByteString
.
- copyFrom(byte[]) - Static method in class com.google.protobuf.ByteString
-
Copies the given bytes into a ByteString
.
- copyFrom(ByteBuffer, int) - Static method in class com.google.protobuf.ByteString
-
Copies the next size
bytes from a java.nio.ByteBuffer
into a ByteString
.
- copyFrom(ByteBuffer) - Static method in class com.google.protobuf.ByteString
-
Copies the remaining bytes from a java.nio.ByteBuffer
into a ByteString
.
- copyFrom(String, String) - Static method in class com.google.protobuf.ByteString
-
Encodes text
into a sequence of bytes using the named charset and returns the result as a
ByteString
.
- copyFrom(Iterable<ByteString>) - Static method in class com.google.protobuf.ByteString
-
Concatenates all byte strings in the iterable and returns the result.
- copyFromUtf8(String) - Static method in class com.google.protobuf.ByteString
-
Encodes text
into a sequence of UTF-8 bytes and returns the result as a ByteString
.
- copyOnWrite() - Method in class com.google.protobuf.GeneratedMessageLite.Builder
-
Called before any method that would mutate the builder to ensure that it correctly copies any state before
the write happens to preserve immutability guarantees.
- copyOnWrite() - Method in class com.google.protobuf.GeneratedMessageLite.ExtendableBuilder
-
- 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
-
Copies bytes into a buffer.
- 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
-