- 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.GeneratedMessageLite.ExtendableBuilder
-
- clear() - Method in class com.google.protobuf.LazyStringArrayList
-
- clear() - Method in interface com.google.protobuf.MessageLite.Builder
-
Resets all fields to their default values.
- clearExtension(GeneratedMessageLite.GeneratedExtension<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.
- 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
-
Compute the number of bytes that would be needed to encode a
group
field, including tag.
- computeGroupSizeNoTag(MessageLite) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a
group
field.
- 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, LazyField) - 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, LazyField) - 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(LazyField) - 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.
- 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
-
Compute the number of bytes that would be needed to encode a varint.
- computeRawVarint64Size(long) - Static method in class com.google.protobuf.CodedOutputStream
-
Compute the number of bytes that would be needed to encode a varint.
- 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.
- computeUnknownGroupSize(int, MessageLite) - Static method in class com.google.protobuf.CodedOutputStream
-
- computeUnknownGroupSizeNoTag(MessageLite) - Static method in class com.google.protobuf.CodedOutputStream
-
- concat(ByteString) - Method in class com.google.protobuf.ByteString
-
Concatenate the given ByteString
to this one.
- 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
.
- 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
-
Internal (package private) implementation of
.