|
|||||||||
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 |
Internal.bytesDefaultValue(java.lang.String bytes)
Helper called by generated code to construct default values for bytes fields. |
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.nio.ByteBuffer bytes)
Copies the remaining bytes from a java.nio.ByteBuffer into
a ByteString . |
static ByteString |
ByteString.copyFrom(java.nio.ByteBuffer bytes,
int size)
Copies size bytes from a java.nio.ByteBuffer into
a ByteString . |
static ByteString |
ByteString.copyFrom(java.util.List<ByteString> list)
Concatenates all byte strings in the list and returns the result. |
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 |
UnmodifiableLazyStringList.getByteString(int index)
|
ByteString |
LazyStringList.getByteString(int index)
Returns the element at the specified position in this list as a ByteString. |
ByteString |
LazyStringArrayList.getByteString(int index)
|
ByteString |
DescriptorProtos.UninterpretedOptionOrBuilder.getStringValue()
|
ByteString |
DescriptorProtos.UninterpretedOption.getStringValue()
|
ByteString |
DescriptorProtos.UninterpretedOption.Builder.getStringValue()
|
ByteString |
CodedInputStream.readBytes()
Read a bytes field value from the stream. |
ByteString |
UnknownFieldSet.toByteString()
Serializes the message to a ByteString and returns it. |
ByteString |
MessageLite.toByteString()
Serializes the message to a ByteString and returns it. |
ByteString |
ByteString.Output.toByteString()
Creates a ByteString instance from this Output . |
ByteString |
AbstractMessageLite.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 | |
---|---|
void |
UnmodifiableLazyStringList.add(ByteString element)
|
void |
LazyStringList.add(ByteString element)
Appends the specified element to the end of this list (optional operation). |
void |
LazyStringArrayList.add(ByteString element)
|
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.computeBytesSizeNoTag(ByteString value)
Compute the number of bytes that would be needed to encode a bytes field. |
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. |
static boolean |
Internal.isValidUtf8(ByteString byteString)
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. |
UnknownFieldSet.Builder |
UnknownFieldSet.Builder.mergeFrom(ByteString data)
Parse data as an UnknownFieldSet and merge it with the
set being built. |
MessageLite.Builder |
MessageLite.Builder.mergeFrom(ByteString data)
Parse data as a message of this type and merge it with the
message being built. |
Message.Builder |
Message.Builder.mergeFrom(ByteString data)
|
BuilderType |
AbstractMessageLite.Builder.mergeFrom(ByteString data)
|
BuilderType |
AbstractMessage.Builder.mergeFrom(ByteString data)
|
UnknownFieldSet.Builder |
UnknownFieldSet.Builder.mergeFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
MessageLite.Builder |
MessageLite.Builder.mergeFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
Parse data as a message of this type and merge it with the
message being built. |
Message.Builder |
Message.Builder.mergeFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
BuilderType |
AbstractMessageLite.Builder.mergeFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
BuilderType |
AbstractMessage.Builder.mergeFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static UnknownFieldSet |
UnknownFieldSet.parseFrom(ByteString data)
Parse data as an UnknownFieldSet and return it. |
static DescriptorProtos.FileDescriptorSet |
DescriptorProtos.FileDescriptorSet.parseFrom(ByteString data)
|
static DescriptorProtos.FileDescriptorProto |
DescriptorProtos.FileDescriptorProto.parseFrom(ByteString data)
|
static DescriptorProtos.DescriptorProto |
DescriptorProtos.DescriptorProto.parseFrom(ByteString data)
|
static DescriptorProtos.DescriptorProto.ExtensionRange |
DescriptorProtos.DescriptorProto.ExtensionRange.parseFrom(ByteString data)
|
static DescriptorProtos.FieldDescriptorProto |
DescriptorProtos.FieldDescriptorProto.parseFrom(ByteString data)
|
static DescriptorProtos.EnumDescriptorProto |
DescriptorProtos.EnumDescriptorProto.parseFrom(ByteString data)
|
static DescriptorProtos.EnumValueDescriptorProto |
DescriptorProtos.EnumValueDescriptorProto.parseFrom(ByteString data)
|
static DescriptorProtos.ServiceDescriptorProto |
DescriptorProtos.ServiceDescriptorProto.parseFrom(ByteString data)
|
static DescriptorProtos.MethodDescriptorProto |
DescriptorProtos.MethodDescriptorProto.parseFrom(ByteString data)
|
static DescriptorProtos.FileOptions |
DescriptorProtos.FileOptions.parseFrom(ByteString data)
|
static DescriptorProtos.MessageOptions |
DescriptorProtos.MessageOptions.parseFrom(ByteString data)
|
static DescriptorProtos.FieldOptions |
DescriptorProtos.FieldOptions.parseFrom(ByteString data)
|
static DescriptorProtos.EnumOptions |
DescriptorProtos.EnumOptions.parseFrom(ByteString data)
|
static DescriptorProtos.EnumValueOptions |
DescriptorProtos.EnumValueOptions.parseFrom(ByteString data)
|
static DescriptorProtos.ServiceOptions |
DescriptorProtos.ServiceOptions.parseFrom(ByteString data)
|
static DescriptorProtos.MethodOptions |
DescriptorProtos.MethodOptions.parseFrom(ByteString data)
|
static DescriptorProtos.UninterpretedOption |
DescriptorProtos.UninterpretedOption.parseFrom(ByteString data)
|
static DescriptorProtos.UninterpretedOption.NamePart |
DescriptorProtos.UninterpretedOption.NamePart.parseFrom(ByteString data)
|
static DescriptorProtos.SourceCodeInfo |
DescriptorProtos.SourceCodeInfo.parseFrom(ByteString data)
|
static DescriptorProtos.SourceCodeInfo.Location |
DescriptorProtos.SourceCodeInfo.Location.parseFrom(ByteString data)
|
static DescriptorProtos.FileDescriptorSet |
DescriptorProtos.FileDescriptorSet.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.FileDescriptorProto |
DescriptorProtos.FileDescriptorProto.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.DescriptorProto |
DescriptorProtos.DescriptorProto.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.DescriptorProto.ExtensionRange |
DescriptorProtos.DescriptorProto.ExtensionRange.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.FieldDescriptorProto |
DescriptorProtos.FieldDescriptorProto.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.EnumDescriptorProto |
DescriptorProtos.EnumDescriptorProto.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.EnumValueDescriptorProto |
DescriptorProtos.EnumValueDescriptorProto.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.ServiceDescriptorProto |
DescriptorProtos.ServiceDescriptorProto.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.MethodDescriptorProto |
DescriptorProtos.MethodDescriptorProto.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.FileOptions |
DescriptorProtos.FileOptions.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.MessageOptions |
DescriptorProtos.MessageOptions.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.FieldOptions |
DescriptorProtos.FieldOptions.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.EnumOptions |
DescriptorProtos.EnumOptions.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.EnumValueOptions |
DescriptorProtos.EnumValueOptions.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.ServiceOptions |
DescriptorProtos.ServiceOptions.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.MethodOptions |
DescriptorProtos.MethodOptions.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.UninterpretedOption |
DescriptorProtos.UninterpretedOption.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.UninterpretedOption.NamePart |
DescriptorProtos.UninterpretedOption.NamePart.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.SourceCodeInfo |
DescriptorProtos.SourceCodeInfo.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
static DescriptorProtos.SourceCodeInfo.Location |
DescriptorProtos.SourceCodeInfo.Location.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
|
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. |
DescriptorProtos.UninterpretedOption.Builder |
DescriptorProtos.UninterpretedOption.Builder.setStringValue(ByteString value)
|
void |
CodedOutputStream.writeBytes(int fieldNumber,
ByteString value)
Write a bytes field, including tag, to the stream. |
void |
CodedOutputStream.writeBytesNoTag(ByteString value)
Write a bytes field to the stream. |
void |
CodedOutputStream.writeRawBytes(ByteString value)
Write a byte string. |
void |
CodedOutputStream.writeRawBytes(ByteString value,
int offset,
int length)
Write part of a byte string. |
void |
CodedOutputStream.writeRawMessageSetExtension(int fieldNumber,
ByteString value)
Write an unparsed MessageSet extension field to the stream. |
Method parameters in com.google.protobuf with type arguments of type ByteString | |
---|---|
static ByteString |
ByteString.copyFrom(java.util.List<ByteString> list)
Concatenates all byte strings in the list and returns the result. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |