|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of ByteString in com.google.protobuf |
|---|
| Fields in com.google.protobuf declared as ByteString | |
|---|---|
static ByteString |
ByteString.EMPTY
Empty ByteString. |
| Methods in com.google.protobuf that return ByteString | |
|---|---|
static ByteString |
ByteString.copyFrom(byte[] bytes)
Copies the given bytes into a ByteString. |
static ByteString |
ByteString.copyFrom(byte[] bytes,
int offset,
int size)
Copies the given bytes into a ByteString. |
static ByteString |
ByteString.copyFrom(java.lang.String text,
java.lang.String charsetName)
Encodes text into a sequence of bytes using the named charset
and returns the result as a ByteString. |
static ByteString |
ByteString.copyFromUtf8(java.lang.String text)
Encodes text into a sequence of UTF-8 bytes and returns the
result as a ByteString. |
ByteString |
CodedInputStream.readBytes()
Read a bytes field value from the stream. |
ByteString |
UnknownFieldSet.toByteString()
Serializes the message to a ByteString and returns it. |
ByteString |
Message.toByteString()
Serializes the message to a ByteString and returns it. |
ByteString |
ByteString.Output.toByteString()
Creates a ByteString instance from this Output. |
ByteString |
AbstractMessage.toByteString()
|
| Methods in com.google.protobuf that return types with arguments of type ByteString | |
|---|---|
java.util.List<ByteString> |
UnknownFieldSet.Field.getLengthDelimitedList()
Get the list of length-delimited values for this field. |
| Methods in com.google.protobuf with parameters of type ByteString | |
|---|---|
UnknownFieldSet.Field.Builder |
UnknownFieldSet.Field.Builder.addLengthDelimited(ByteString value)
Add a length-delimited value. |
static int |
CodedOutputStream.computeBytesSize(int fieldNumber,
ByteString value)
Compute the number of bytes that would be needed to encode a bytes field, including tag. |
static int |
CodedOutputStream.computeRawMessageSetExtensionSize(int fieldNumber,
ByteString value)
Compute the number of bytes that would be needed to encode an unparsed MessageSet extension field to the stream. |
UnknownFieldSet.Builder |
UnknownFieldSet.Builder.mergeFrom(ByteString data)
Parse data as an UnknownFieldSet and merge it with the
set being built. |
Message.Builder |
Message.Builder.mergeFrom(ByteString data)
Parse data as a message of this type and merge it with the
message being built. |
BuilderType |
AbstractMessage.Builder.mergeFrom(ByteString data)
|
Message.Builder |
Message.Builder.mergeFrom(ByteString data,
ExtensionRegistry extensionRegistry)
Parse data as a message of this type and merge it with the
message being built. |
BuilderType |
AbstractMessage.Builder.mergeFrom(ByteString data,
ExtensionRegistry extensionRegistry)
|
static UnknownFieldSet |
UnknownFieldSet.parseFrom(ByteString data)
Parse data as an UnknownFieldSet and return it. |
static DynamicMessage |
DynamicMessage.parseFrom(Descriptors.Descriptor type,
ByteString data)
Parse data as a message of the given type and return it. |
static DynamicMessage |
DynamicMessage.parseFrom(Descriptors.Descriptor type,
ByteString data,
ExtensionRegistry extensionRegistry)
Parse data as a message of the given type and return it. |
void |
CodedOutputStream.writeBytes(int fieldNumber,
ByteString value)
Write a bytes field, including tag, to the stream. |
void |
CodedOutputStream.writeRawMessageSetExtension(int fieldNumber,
ByteString value)
Write an unparsed MessageSet extension field to the stream. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||