Package | Description |
---|---|
com.google.protobuf | |
com.google.protobuf.compiler | |
com.google.protobuf.util |
Modifier and Type | Class and Description |
---|---|
private static class |
ByteString.BoundedByteString
This class is used to represent the substring of a
ByteString over a
single byte array. |
(package private) static class |
ByteString.LeafByteString
Base class for leaf
ByteString s (i.e. |
private static class |
ByteString.LiteralByteString
This class implements a
ByteString backed by a
single array of bytes, contiguous in memory. |
(package private) class |
NioByteString
A
ByteString that wraps around a ByteBuffer . |
(package private) class |
RopeByteString
Class to represent
ByteStrings formed by concatenation of other
ByteStrings, without copying the data in the pieces. |
Modifier and Type | Field and Description |
---|---|
private ByteString |
LazyFieldLite.delayedBytes
A delayed-parsed version of the contents of this field.
|
static ByteString |
ByteString.EMPTY
Empty
ByteString . |
private ByteString |
RopeByteString.left |
private ByteString |
LazyFieldLite.memoizedBytes
The memoized bytes for
value . |
private ByteString |
RopeByteString.right |
private ByteString |
DescriptorProtos.UninterpretedOption.stringValue_ |
private ByteString |
DescriptorProtos.UninterpretedOption.Builder.stringValue_ |
private ByteString |
BytesValue.value_ |
private ByteString |
BytesValue.Builder.value_ |
private ByteString |
Any.value_ |
private ByteString |
Any.Builder.value_ |
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<ByteString> |
ByteString.Output.flushedBuffers |
private java.util.List<ByteString> |
UnknownFieldSet.Field.lengthDelimited |
private java.util.Stack<ByteString> |
RopeByteString.Balancer.prefixesStack |
Modifier and Type | Method and Description |
---|---|
private static ByteString |
LazyStringArrayList.asByteString(java.lang.Object o) |
private ByteString |
RopeByteString.Balancer.balance(ByteString left,
ByteString right) |
private static ByteString |
ByteString.balancedConcat(java.util.Iterator<ByteString> iterator,
int length) |
ByteString |
ByteString.CodedBuilder.build() |
static ByteString |
Internal.bytesDefaultValue(java.lang.String bytes)
Helper called by generated code to construct default values for bytes
fields.
|
ByteString |
ByteString.concat(ByteString other)
Concatenate the given
ByteString to this one. |
(package private) static ByteString |
RopeByteString.concatenate(ByteString left,
ByteString right)
Concatenate the given strings while performing various optimizations to
slow the growth rate of tree depth and tree node count.
|
private static ByteString |
RopeByteString.concatenateBytes(ByteString left,
ByteString right)
Concatenates two strings by copying data values.
|
ByteString |
TextFormat.Tokenizer.consumeByteString()
If the next token is a string, consume it, unescape it as a
ByteString , and return it. |
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 the next
size bytes from a java.nio.ByteBuffer into
a ByteString . |
static ByteString |
ByteString.copyFrom(java.lang.Iterable<ByteString> byteStrings)
Concatenates all byte strings in the iterable and returns the result.
|
static ByteString |
ByteString.copyFrom(java.lang.String text,
java.nio.charset.Charset charset)
Encodes
text into a sequence of bytes using the named charset
and returns the result as 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 |
LazyStringArrayList.ByteStringListView.get(int index) |
ByteString |
DescriptorProtos.UninterpretedOptionOrBuilder.getAggregateValueBytes()
optional string aggregate_value = 8; |
ByteString |
DescriptorProtos.UninterpretedOption.getAggregateValueBytes()
optional string aggregate_value = 8; |
ByteString |
DescriptorProtos.UninterpretedOption.Builder.getAggregateValueBytes()
optional string aggregate_value = 8; |
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.FileOptionsOrBuilder.getCsharpNamespaceBytes()
Namespace for generated classes; defaults to the package.
|
ByteString |
DescriptorProtos.FileOptions.getCsharpNamespaceBytes()
Namespace for generated classes; defaults to the package.
|
ByteString |
DescriptorProtos.FileOptions.Builder.getCsharpNamespaceBytes()
Namespace for generated classes; defaults to the package.
|
ByteString |
FieldOrBuilder.getDefaultValueBytes()
The string value of the default value of this field.
|
ByteString |
Field.getDefaultValueBytes()
The string value of the default value of this field.
|
ByteString |
Field.Builder.getDefaultValueBytes()
The string value of the default value of this field.
|
ByteString |
DescriptorProtos.FieldDescriptorProtoOrBuilder.getDefaultValueBytes()
For numeric types, contains the original text representation of the value.
|
ByteString |
DescriptorProtos.FieldDescriptorProto.getDefaultValueBytes()
For numeric types, contains the original text representation of the value.
|
ByteString |
DescriptorProtos.FieldDescriptorProto.Builder.getDefaultValueBytes()
For numeric types, contains the original text representation of the value.
|
ByteString |
DescriptorProtos.FileDescriptorProtoOrBuilder.getDependencyBytes(int index)
Names of files imported by this file.
|
ByteString |
DescriptorProtos.FileDescriptorProto.getDependencyBytes(int index)
Names of files imported by this file.
|
ByteString |
DescriptorProtos.FileDescriptorProto.Builder.getDependencyBytes(int index)
Names of files imported by this file.
|
ByteString |
DescriptorProtos.FieldDescriptorProtoOrBuilder.getExtendeeBytes()
For extensions, this is the name of the type being extended.
|
ByteString |
DescriptorProtos.FieldDescriptorProto.getExtendeeBytes()
For extensions, this is the name of the type being extended.
|
ByteString |
DescriptorProtos.FieldDescriptorProto.Builder.getExtendeeBytes()
For extensions, this is the name of the type being extended.
|
ByteString |
SourceContextOrBuilder.getFileNameBytes()
The path-qualified name of the .proto file that contained the associated
protobuf element.
|
ByteString |
SourceContext.getFileNameBytes()
The path-qualified name of the .proto file that contained the associated
protobuf element.
|
ByteString |
SourceContext.Builder.getFileNameBytes()
The path-qualified name of the .proto file that contained the associated
protobuf element.
|
ByteString |
DescriptorProtos.FileOptionsOrBuilder.getGoPackageBytes()
Sets the Go package where structs generated from this .proto will be
placed.
|
ByteString |
DescriptorProtos.FileOptions.getGoPackageBytes()
Sets the Go package where structs generated from this .proto will be
placed.
|
ByteString |
DescriptorProtos.FileOptions.Builder.getGoPackageBytes()
Sets the Go package where structs generated from this .proto will be
placed.
|
ByteString |
DescriptorProtos.UninterpretedOptionOrBuilder.getIdentifierValueBytes()
The value of the uninterpreted option, in whatever type the tokenizer
identified it as during parsing.
|
ByteString |
DescriptorProtos.UninterpretedOption.getIdentifierValueBytes()
The value of the uninterpreted option, in whatever type the tokenizer
identified it as during parsing.
|
ByteString |
DescriptorProtos.UninterpretedOption.Builder.getIdentifierValueBytes()
The value of the uninterpreted option, in whatever type the tokenizer
identified it as during parsing.
|
ByteString |
DescriptorProtos.MethodDescriptorProtoOrBuilder.getInputTypeBytes()
Input and output type names.
|
ByteString |
DescriptorProtos.MethodDescriptorProto.getInputTypeBytes()
Input and output type names.
|
ByteString |
DescriptorProtos.MethodDescriptorProto.Builder.getInputTypeBytes()
Input and output type names.
|
ByteString |
DescriptorProtos.FileOptionsOrBuilder.getJavaOuterClassnameBytes()
If set, all the classes from the .proto file are wrapped in a single
outer class with the given name.
|
ByteString |
DescriptorProtos.FileOptions.getJavaOuterClassnameBytes()
If set, all the classes from the .proto file are wrapped in a single
outer class with the given name.
|
ByteString |
DescriptorProtos.FileOptions.Builder.getJavaOuterClassnameBytes()
If set, all the classes from the .proto file are wrapped in a single
outer class with the given name.
|
ByteString |
DescriptorProtos.FileOptionsOrBuilder.getJavaPackageBytes()
Sets the Java package where classes generated from this .proto will be
placed.
|
ByteString |
DescriptorProtos.FileOptions.getJavaPackageBytes()
Sets the Java package where classes generated from this .proto will be
placed.
|
ByteString |
DescriptorProtos.FileOptions.Builder.getJavaPackageBytes()
Sets the Java package where classes generated from this .proto will be
placed.
|
ByteString |
FieldOrBuilder.getJsonNameBytes()
The field JSON name.
|
ByteString |
Field.getJsonNameBytes()
The field JSON name.
|
ByteString |
Field.Builder.getJsonNameBytes()
The field JSON name.
|
ByteString |
DescriptorProtos.FieldDescriptorProtoOrBuilder.getJsonNameBytes()
JSON name of this field.
|
ByteString |
DescriptorProtos.FieldDescriptorProto.getJsonNameBytes()
JSON name of this field.
|
ByteString |
DescriptorProtos.FieldDescriptorProto.Builder.getJsonNameBytes()
JSON name of this field.
|
ByteString |
DescriptorProtos.SourceCodeInfo.LocationOrBuilder.getLeadingCommentsBytes()
If this SourceCodeInfo represents a complete declaration, these are any
comments appearing before and after the declaration which appear to be
attached to the declaration.
|
ByteString |
DescriptorProtos.SourceCodeInfo.Location.getLeadingCommentsBytes()
If this SourceCodeInfo represents a complete declaration, these are any
comments appearing before and after the declaration which appear to be
attached to the declaration.
|
ByteString |
DescriptorProtos.SourceCodeInfo.Location.Builder.getLeadingCommentsBytes()
If this SourceCodeInfo represents a complete declaration, these are any
comments appearing before and after the declaration which appear to be
attached to the declaration.
|
ByteString |
DescriptorProtos.SourceCodeInfo.LocationOrBuilder.getLeadingDetachedCommentsBytes(int index)
repeated string leading_detached_comments = 6; |
ByteString |
DescriptorProtos.SourceCodeInfo.Location.getLeadingDetachedCommentsBytes(int index)
repeated string leading_detached_comments = 6; |
ByteString |
DescriptorProtos.SourceCodeInfo.Location.Builder.getLeadingDetachedCommentsBytes(int index)
repeated string leading_detached_comments = 6; |
ByteString |
TypeOrBuilder.getNameBytes()
The fully qualified message name.
|
ByteString |
Type.getNameBytes()
The fully qualified message name.
|
ByteString |
Type.Builder.getNameBytes()
The fully qualified message name.
|
ByteString |
OptionOrBuilder.getNameBytes()
The option's name.
|
ByteString |
Option.getNameBytes()
The option's name.
|
ByteString |
Option.Builder.getNameBytes()
The option's name.
|
ByteString |
MixinOrBuilder.getNameBytes()
The fully qualified name of the interface which is included.
|
ByteString |
Mixin.getNameBytes()
The fully qualified name of the interface which is included.
|
ByteString |
Mixin.Builder.getNameBytes()
The fully qualified name of the interface which is included.
|
ByteString |
MethodOrBuilder.getNameBytes()
The simple name of this method.
|
ByteString |
Method.getNameBytes()
The simple name of this method.
|
ByteString |
Method.Builder.getNameBytes()
The simple name of this method.
|
ByteString |
FieldOrBuilder.getNameBytes()
The field name.
|
ByteString |
Field.getNameBytes()
The field name.
|
ByteString |
Field.Builder.getNameBytes()
The field name.
|
ByteString |
EnumValueOrBuilder.getNameBytes()
Enum value name.
|
ByteString |
EnumValue.getNameBytes()
Enum value name.
|
ByteString |
EnumValue.Builder.getNameBytes()
Enum value name.
|
ByteString |
EnumOrBuilder.getNameBytes()
Enum type name.
|
ByteString |
Enum.getNameBytes()
Enum type name.
|
ByteString |
Enum.Builder.getNameBytes()
Enum type name.
|
ByteString |
DescriptorProtos.FileDescriptorProtoOrBuilder.getNameBytes()
file name, relative to root of source tree
|
ByteString |
DescriptorProtos.FileDescriptorProto.getNameBytes()
file name, relative to root of source tree
|
ByteString |
DescriptorProtos.FileDescriptorProto.Builder.getNameBytes()
file name, relative to root of source tree
|
ByteString |
DescriptorProtos.DescriptorProtoOrBuilder.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.DescriptorProto.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.DescriptorProto.Builder.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.FieldDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.FieldDescriptorProto.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.FieldDescriptorProto.Builder.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.OneofDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.OneofDescriptorProto.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.OneofDescriptorProto.Builder.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.EnumDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.EnumDescriptorProto.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.EnumDescriptorProto.Builder.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.EnumValueDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.EnumValueDescriptorProto.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.EnumValueDescriptorProto.Builder.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.ServiceDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.ServiceDescriptorProto.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.ServiceDescriptorProto.Builder.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.MethodDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.MethodDescriptorProto.getNameBytes()
optional string name = 1; |
ByteString |
DescriptorProtos.MethodDescriptorProto.Builder.getNameBytes()
optional string name = 1; |
ByteString |
ApiOrBuilder.getNameBytes()
The fully qualified name of this interface, including package name
followed by the interface's simple name.
|
ByteString |
Api.getNameBytes()
The fully qualified name of this interface, including package name
followed by the interface's simple name.
|
ByteString |
Api.Builder.getNameBytes()
The fully qualified name of this interface, including package name
followed by the interface's simple name.
|
ByteString |
DescriptorProtos.UninterpretedOption.NamePartOrBuilder.getNamePartBytes()
required string name_part = 1; |
ByteString |
DescriptorProtos.UninterpretedOption.NamePart.getNamePartBytes()
required string name_part = 1; |
ByteString |
DescriptorProtos.UninterpretedOption.NamePart.Builder.getNamePartBytes()
required string name_part = 1; |
ByteString |
DescriptorProtos.FileOptionsOrBuilder.getObjcClassPrefixBytes()
Sets the objective c class prefix which is prepended to all objective c
generated classes from this .proto.
|
ByteString |
DescriptorProtos.FileOptions.getObjcClassPrefixBytes()
Sets the objective c class prefix which is prepended to all objective c
generated classes from this .proto.
|
ByteString |
DescriptorProtos.FileOptions.Builder.getObjcClassPrefixBytes()
Sets the objective c class prefix which is prepended to all objective c
generated classes from this .proto.
|
ByteString |
TypeOrBuilder.getOneofsBytes(int index)
The list of types appearing in `oneof` definitions in this type.
|
ByteString |
Type.getOneofsBytes(int index)
The list of types appearing in `oneof` definitions in this type.
|
ByteString |
Type.Builder.getOneofsBytes(int index)
The list of types appearing in `oneof` definitions in this type.
|
ByteString |
DescriptorProtos.MethodDescriptorProtoOrBuilder.getOutputTypeBytes()
optional string output_type = 3; |
ByteString |
DescriptorProtos.MethodDescriptorProto.getOutputTypeBytes()
optional string output_type = 3; |
ByteString |
DescriptorProtos.MethodDescriptorProto.Builder.getOutputTypeBytes()
optional string output_type = 3; |
ByteString |
DescriptorProtos.FileDescriptorProtoOrBuilder.getPackageBytes()
e.g.
|
ByteString |
DescriptorProtos.FileDescriptorProto.getPackageBytes()
e.g.
|
ByteString |
DescriptorProtos.FileDescriptorProto.Builder.getPackageBytes()
e.g.
|
ByteString |
FieldMaskOrBuilder.getPathsBytes(int index)
The set of field mask paths.
|
ByteString |
FieldMask.getPathsBytes(int index)
The set of field mask paths.
|
ByteString |
FieldMask.Builder.getPathsBytes(int index)
The set of field mask paths.
|
ByteString |
DescriptorProtos.FileOptionsOrBuilder.getPhpClassPrefixBytes()
Sets the php class prefix which is prepended to all php generated classes
from this .proto.
|
ByteString |
DescriptorProtos.FileOptions.getPhpClassPrefixBytes()
Sets the php class prefix which is prepended to all php generated classes
from this .proto.
|
ByteString |
DescriptorProtos.FileOptions.Builder.getPhpClassPrefixBytes()
Sets the php class prefix which is prepended to all php generated classes
from this .proto.
|
ByteString |
DescriptorProtos.FileOptionsOrBuilder.getPhpNamespaceBytes()
Use this option to change the namespace of php generated classes.
|
ByteString |
DescriptorProtos.FileOptions.getPhpNamespaceBytes()
Use this option to change the namespace of php generated classes.
|
ByteString |
DescriptorProtos.FileOptions.Builder.getPhpNamespaceBytes()
Use this option to change the namespace of php generated classes.
|
ByteString |
MethodOrBuilder.getRequestTypeUrlBytes()
A URL of the input message type.
|
ByteString |
Method.getRequestTypeUrlBytes()
A URL of the input message type.
|
ByteString |
Method.Builder.getRequestTypeUrlBytes()
A URL of the input message type.
|
ByteString |
DescriptorProtos.DescriptorProtoOrBuilder.getReservedNameBytes(int index)
Reserved field names, which may not be used by fields in the same message.
|
ByteString |
DescriptorProtos.DescriptorProto.getReservedNameBytes(int index)
Reserved field names, which may not be used by fields in the same message.
|
ByteString |
DescriptorProtos.DescriptorProto.Builder.getReservedNameBytes(int index)
Reserved field names, which may not be used by fields in the same message.
|
ByteString |
DescriptorProtos.EnumDescriptorProtoOrBuilder.getReservedNameBytes(int index)
Reserved enum value names, which may not be reused.
|
ByteString |
DescriptorProtos.EnumDescriptorProto.getReservedNameBytes(int index)
Reserved enum value names, which may not be reused.
|
ByteString |
DescriptorProtos.EnumDescriptorProto.Builder.getReservedNameBytes(int index)
Reserved enum value names, which may not be reused.
|
ByteString |
MethodOrBuilder.getResponseTypeUrlBytes()
The URL of the output message type.
|
ByteString |
Method.getResponseTypeUrlBytes()
The URL of the output message type.
|
ByteString |
Method.Builder.getResponseTypeUrlBytes()
The URL of the output message type.
|
ByteString |
MixinOrBuilder.getRootBytes()
If non-empty specifies a path under which inherited HTTP paths
are rooted.
|
ByteString |
Mixin.getRootBytes()
If non-empty specifies a path under which inherited HTTP paths
are rooted.
|
ByteString |
Mixin.Builder.getRootBytes()
If non-empty specifies a path under which inherited HTTP paths
are rooted.
|
ByteString |
DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder.getSourceFileBytes()
Identifies the filesystem path to the original source .proto.
|
ByteString |
DescriptorProtos.GeneratedCodeInfo.Annotation.getSourceFileBytes()
Identifies the filesystem path to the original source .proto.
|
ByteString |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder.getSourceFileBytes()
Identifies the filesystem path to the original source .proto.
|
ByteString |
DescriptorProtos.UninterpretedOptionOrBuilder.getStringValue()
optional bytes string_value = 7; |
ByteString |
DescriptorProtos.UninterpretedOption.getStringValue()
optional bytes string_value = 7; |
ByteString |
DescriptorProtos.UninterpretedOption.Builder.getStringValue()
optional bytes string_value = 7; |
ByteString |
ValueOrBuilder.getStringValueBytes()
Represents a string value.
|
ByteString |
Value.getStringValueBytes()
Represents a string value.
|
ByteString |
Value.Builder.getStringValueBytes()
Represents a string value.
|
ByteString |
DescriptorProtos.FileOptionsOrBuilder.getSwiftPrefixBytes()
By default Swift generators will take the proto package and CamelCase it
replacing '.' with underscore and use that to prefix the types/symbols
defined.
|
ByteString |
DescriptorProtos.FileOptions.getSwiftPrefixBytes()
By default Swift generators will take the proto package and CamelCase it
replacing '.' with underscore and use that to prefix the types/symbols
defined.
|
ByteString |
DescriptorProtos.FileOptions.Builder.getSwiftPrefixBytes()
By default Swift generators will take the proto package and CamelCase it
replacing '.' with underscore and use that to prefix the types/symbols
defined.
|
ByteString |
DescriptorProtos.FileDescriptorProtoOrBuilder.getSyntaxBytes()
The syntax of the proto file.
|
ByteString |
DescriptorProtos.FileDescriptorProto.getSyntaxBytes()
The syntax of the proto file.
|
ByteString |
DescriptorProtos.FileDescriptorProto.Builder.getSyntaxBytes()
The syntax of the proto file.
|
ByteString |
DescriptorProtos.SourceCodeInfo.LocationOrBuilder.getTrailingCommentsBytes()
optional string trailing_comments = 4; |
ByteString |
DescriptorProtos.SourceCodeInfo.Location.getTrailingCommentsBytes()
optional string trailing_comments = 4; |
ByteString |
DescriptorProtos.SourceCodeInfo.Location.Builder.getTrailingCommentsBytes()
optional string trailing_comments = 4; |
ByteString |
DescriptorProtos.FieldDescriptorProtoOrBuilder.getTypeNameBytes()
For message and enum types, this is the name of the type.
|
ByteString |
DescriptorProtos.FieldDescriptorProto.getTypeNameBytes()
For message and enum types, this is the name of the type.
|
ByteString |
DescriptorProtos.FieldDescriptorProto.Builder.getTypeNameBytes()
For message and enum types, this is the name of the type.
|
ByteString |
FieldOrBuilder.getTypeUrlBytes()
The field type URL, without the scheme, for message or enumeration
types.
|
ByteString |
Field.getTypeUrlBytes()
The field type URL, without the scheme, for message or enumeration
types.
|
ByteString |
Field.Builder.getTypeUrlBytes()
The field type URL, without the scheme, for message or enumeration
types.
|
ByteString |
AnyOrBuilder.getTypeUrlBytes()
A URL/resource name whose content describes the type of the
serialized protocol buffer message.
|
ByteString |
Any.getTypeUrlBytes()
A URL/resource name whose content describes the type of the
serialized protocol buffer message.
|
ByteString |
Any.Builder.getTypeUrlBytes()
A URL/resource name whose content describes the type of the
serialized protocol buffer message.
|
ByteString |
BytesValueOrBuilder.getValue()
The bytes value.
|
ByteString |
BytesValue.getValue()
The bytes value.
|
ByteString |
BytesValue.Builder.getValue()
The bytes value.
|
ByteString |
AnyOrBuilder.getValue()
Must be a valid serialized protocol buffer of the above specified type.
|
ByteString |
Any.getValue()
Must be a valid serialized protocol buffer of the above specified type.
|
ByteString |
Any.Builder.getValue()
Must be a valid serialized protocol buffer of the above specified type.
|
ByteString |
StringValueOrBuilder.getValueBytes()
The string value.
|
ByteString |
StringValue.getValueBytes()
The string value.
|
ByteString |
StringValue.Builder.getValueBytes()
The string value.
|
ByteString |
ApiOrBuilder.getVersionBytes()
A version string for this interface.
|
ByteString |
Api.getVersionBytes()
A version string for this interface.
|
ByteString |
Api.Builder.getVersionBytes()
A version string for this interface.
|
abstract ByteString |
CodedInputStream.readBytes()
Read a
bytes field value from the stream. |
ByteString |
CodedInputStream.ArrayDecoder.readBytes() |
ByteString |
CodedInputStream.UnsafeDirectNioDecoder.readBytes() |
ByteString |
CodedInputStream.StreamDecoder.readBytes() |
ByteString |
CodedInputStream.IterableDirectByteBufferDecoder.readBytes() |
private ByteString |
CodedInputStream.StreamDecoder.readBytesSlowPath(int size)
Like readBytes, but caller must have already checked the fast path: (size <= (bufferSize -
pos) && size > 0 || size == 0)
|
private static ByteString |
ByteString.readChunk(java.io.InputStream in,
int chunkSize)
Blocks until a chunk of the given size can be made from the
stream, or EOF is reached.
|
static ByteString |
ByteString.readFrom(java.io.InputStream streamToDrain)
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. |
static ByteString |
ByteString.readFrom(java.io.InputStream streamToDrain,
int chunkSize)
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. |
static ByteString |
ByteString.readFrom(java.io.InputStream streamToDrain,
int minChunkSize,
int maxChunkSize) |
ByteString |
LazyStringArrayList.ByteStringListView.remove(int index) |
ByteString |
LazyStringArrayList.ByteStringListView.set(int index,
ByteString s) |
ByteString |
ByteString.substring(int beginIndex)
Return the substring from
beginIndex , inclusive, to the end of the
string. |
ByteString |
RopeByteString.substring(int beginIndex,
int endIndex)
Takes a substring of this one.
|
ByteString |
NioByteString.substring(int beginIndex,
int endIndex) |
abstract ByteString |
ByteString.substring(int beginIndex,
int endIndex)
Return the substring from
beginIndex , inclusive, to endIndex , exclusive. |
ByteString |
ByteString.LiteralByteString.substring(int beginIndex,
int endIndex) |
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 |
LazyFieldLite.toByteString()
Returns a BytesString for this field in a thread-safe way.
|
ByteString |
ByteString.Output.toByteString()
Creates a byte string.
|
ByteString |
AbstractMessageLite.toByteString() |
private static ByteString |
AbstractMessage.toByteString(java.lang.Object value) |
static ByteString |
TextFormat.unescapeBytes(java.lang.CharSequence charString)
Un-escape a byte sequence as escaped using
TextFormat.escapeBytes(ByteString) . |
static ByteString |
UnsafeByteOperations.unsafeWrap(byte[] buffer)
An unsafe operation that returns a
ByteString that is backed by the provided buffer. |
static ByteString |
UnsafeByteOperations.unsafeWrap(byte[] buffer,
int offset,
int length)
An unsafe operation that returns a
ByteString that is backed by a subregion of the
provided buffer. |
static ByteString |
UnsafeByteOperations.unsafeWrap(java.nio.ByteBuffer buffer)
An unsafe operation that returns a
ByteString that is backed by the provided buffer. |
ByteString |
GeneratedMessageLite.Visitor.visitByteString(boolean minePresent,
ByteString mine,
boolean otherPresent,
ByteString other) |
ByteString |
GeneratedMessageLite.EqualsVisitor.visitByteString(boolean minePresent,
ByteString mine,
boolean otherPresent,
ByteString other) |
ByteString |
GeneratedMessageLite.HashCodeVisitor.visitByteString(boolean minePresent,
ByteString mine,
boolean otherPresent,
ByteString other) |
ByteString |
GeneratedMessageLite.MergeFromVisitor.visitByteString(boolean minePresent,
ByteString mine,
boolean otherPresent,
ByteString other) |
(package private) static ByteString |
ByteString.wrap(byte[] bytes)
Wraps the given bytes into a
ByteString . |
(package private) static ByteString |
ByteString.wrap(byte[] bytes,
int offset,
int length)
Wraps the given bytes into a
ByteString . |
(package private) static ByteString |
ByteString.wrap(java.nio.ByteBuffer buffer)
Wraps the given bytes into a
ByteString . |
Modifier and Type | Method and Description |
---|---|
java.util.List<ByteString> |
UnmodifiableLazyStringList.asByteStringList() |
java.util.List<ByteString> |
ProtocolStringList.asByteStringList()
Returns a view of the data as a list of ByteStrings.
|
java.util.List<ByteString> |
LazyStringArrayList.asByteStringList() |
java.util.List<ByteString> |
UnknownFieldSet.Field.getLengthDelimitedList()
Get the list of length-delimited values for this field.
|
Modifier and Type | Method and Description |
---|---|
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) |
private void |
LazyStringArrayList.add(int index,
ByteString element) |
void |
LazyStringArrayList.ByteStringListView.add(int index,
ByteString s) |
DescriptorProtos.FileDescriptorProto.Builder |
DescriptorProtos.FileDescriptorProto.Builder.addDependencyBytes(ByteString value)
Names of files imported by this file.
|
DescriptorProtos.SourceCodeInfo.Location.Builder |
DescriptorProtos.SourceCodeInfo.Location.Builder.addLeadingDetachedCommentsBytes(ByteString value)
repeated string leading_detached_comments = 6; |
UnknownFieldSet.Field.Builder |
UnknownFieldSet.Field.Builder.addLengthDelimited(ByteString value)
Add a length-delimited value.
|
Type.Builder |
Type.Builder.addOneofsBytes(ByteString value)
The list of types appearing in `oneof` definitions in this type.
|
FieldMask.Builder |
FieldMask.Builder.addPathsBytes(ByteString value)
The set of field mask paths.
|
DescriptorProtos.DescriptorProto.Builder |
DescriptorProtos.DescriptorProto.Builder.addReservedNameBytes(ByteString value)
Reserved field names, which may not be used by fields in the same message.
|
DescriptorProtos.EnumDescriptorProto.Builder |
DescriptorProtos.EnumDescriptorProto.Builder.addReservedNameBytes(ByteString value)
Reserved enum value names, which may not be reused.
|
private ByteString |
RopeByteString.Balancer.balance(ByteString left,
ByteString right) |
private static void |
LazyFieldLite.checkArguments(ExtensionRegistryLite extensionRegistry,
ByteString bytes) |
protected static void |
AbstractMessageLite.checkByteStringIsUtf8(ByteString byteString) |
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.
|
ByteString |
ByteString.concat(ByteString other)
Concatenate the given
ByteString to this one. |
(package private) static ByteString |
RopeByteString.concatenate(ByteString left,
ByteString right)
Concatenate the given strings while performing various optimizations to
slow the growth rate of tree depth and tree node count.
|
private static ByteString |
RopeByteString.concatenateBytes(ByteString left,
ByteString right)
Concatenates two strings by copying data values.
|
private void |
RopeByteString.Balancer.doBalance(ByteString root) |
boolean |
ByteString.endsWith(ByteString suffix)
Tests if this bytestring ends with the specified suffix.
|
private boolean |
RopeByteString.equalsFragments(ByteString other)
Determines if this string is equal to another of the same length by
iterating over the leaf nodes.
|
(package private) boolean |
NioByteString.equalsRange(ByteString other,
int offset,
int length) |
(package private) abstract boolean |
ByteString.LeafByteString.equalsRange(ByteString other,
int offset,
int length)
Check equality of the substring of given length of this object starting at
zero with another
ByteString substring starting at offset. |
(package private) boolean |
ByteString.LiteralByteString.equalsRange(ByteString other,
int offset,
int length)
Check equality of the substring of given length of this object starting at
zero with another
LiteralByteString substring starting at offset. |
(package private) static java.lang.String |
TextFormatEscaper.escapeBytes(ByteString input)
Escapes bytes in the format used in protocol buffer text format, which
is the same as the format used for C string literals.
|
static java.lang.String |
TextFormat.escapeBytes(ByteString input)
Escapes bytes in the format used in protocol buffer text format, which
is the same as the format used for C string literals.
|
private ByteString.LeafByteString |
RopeByteString.PieceIterator.getLeafByLeft(ByteString root) |
private void |
RopeByteString.Balancer.insert(ByteString byteString)
Push a string on the balance stack (BAP95).
|
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) |
(package private) UnknownFieldSetLite |
UnknownFieldSetLite.mergeLengthDelimitedField(int fieldNumber,
ByteString value)
Convenience method for merging a length-delimited field.
|
UnknownFieldSet.Builder |
UnknownFieldSet.Builder.mergeLengthDelimitedField(int number,
ByteString value)
Convenience method for merging a length-delimited field.
|
protected void |
GeneratedMessageLite.mergeLengthDelimitedField(int fieldNumber,
ByteString value)
Called by subclasses to parse an unknown field.
|
private static void |
MessageReflection.mergeMessageSetExtensionFromBytes(ByteString rawBytes,
ExtensionRegistry.ExtensionInfo extension,
ExtensionRegistryLite extensionRegistry,
MessageReflection.MergeTarget target) |
private void |
GeneratedMessageLite.ExtendableMessage.mergeMessageSetExtensionFromBytes(ByteString rawBytes,
ExtensionRegistryLite extensionRegistry,
GeneratedMessageLite.GeneratedExtension<?,?> extension) |
private static MessageLite |
LazyFieldLite.mergeValueAndBytes(MessageLite value,
ByteString otherBytes,
ExtensionRegistryLite extensionRegistry) |
(package private) static RopeByteString |
RopeByteString.newInstanceForTest(ByteString left,
ByteString right)
Create a new RopeByteString for testing only while bypassing all the
defenses of
RopeByteString.concatenate(ByteString, ByteString) . |
static BytesValue |
BytesValue.of(ByteString value) |
java.util.Map.Entry<K,V> |
MapEntryLite.parseEntry(ByteString bytes,
ExtensionRegistryLite extensionRegistry)
Parses an entry off of the input as a
Map.Entry . |
static Value |
Value.parseFrom(ByteString data) |
static UInt64Value |
UInt64Value.parseFrom(ByteString data) |
static UInt32Value |
UInt32Value.parseFrom(ByteString data) |
static Type |
Type.parseFrom(ByteString data) |
static Timestamp |
Timestamp.parseFrom(ByteString data) |
static Struct |
Struct.parseFrom(ByteString data) |
static StringValue |
StringValue.parseFrom(ByteString data) |
static SourceContext |
SourceContext.parseFrom(ByteString data) |
static Option |
Option.parseFrom(ByteString data) |
static Mixin |
Mixin.parseFrom(ByteString data) |
static Method |
Method.parseFrom(ByteString data) |
static ListValue |
ListValue.parseFrom(ByteString data) |
static Int64Value |
Int64Value.parseFrom(ByteString data) |
static Int32Value |
Int32Value.parseFrom(ByteString data) |
static FloatValue |
FloatValue.parseFrom(ByteString data) |
static FieldMask |
FieldMask.parseFrom(ByteString data) |
static Field |
Field.parseFrom(ByteString data) |
static EnumValue |
EnumValue.parseFrom(ByteString data) |
static Enum |
Enum.parseFrom(ByteString data) |
static Empty |
Empty.parseFrom(ByteString data) |
static Duration |
Duration.parseFrom(ByteString data) |
static DoubleValue |
DoubleValue.parseFrom(ByteString data) |
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.DescriptorProto.ReservedRange |
DescriptorProtos.DescriptorProto.ReservedRange.parseFrom(ByteString data) |
static DescriptorProtos.ExtensionRangeOptions |
DescriptorProtos.ExtensionRangeOptions.parseFrom(ByteString data) |
static DescriptorProtos.FieldDescriptorProto |
DescriptorProtos.FieldDescriptorProto.parseFrom(ByteString data) |
static DescriptorProtos.OneofDescriptorProto |
DescriptorProtos.OneofDescriptorProto.parseFrom(ByteString data) |
static DescriptorProtos.EnumDescriptorProto |
DescriptorProtos.EnumDescriptorProto.parseFrom(ByteString data) |
static DescriptorProtos.EnumDescriptorProto.EnumReservedRange |
DescriptorProtos.EnumDescriptorProto.EnumReservedRange.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.OneofOptions |
DescriptorProtos.OneofOptions.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.GeneratedCodeInfo |
DescriptorProtos.GeneratedCodeInfo.parseFrom(ByteString data) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
DescriptorProtos.GeneratedCodeInfo.Annotation.parseFrom(ByteString data) |
static BytesValue |
BytesValue.parseFrom(ByteString data) |
static BoolValue |
BoolValue.parseFrom(ByteString data) |
static Api |
Api.parseFrom(ByteString data) |
static Any |
Any.parseFrom(ByteString data) |
static UnknownFieldSet |
UnknownFieldSet.parseFrom(ByteString data)
Parse
data as an UnknownFieldSet and return it. |
MessageType |
Parser.parseFrom(ByteString data)
Parses
data as a message of MessageType . |
MessageType |
AbstractParser.parseFrom(ByteString data) |
static Value |
Value.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static UInt64Value |
UInt64Value.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static UInt32Value |
UInt32Value.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Type |
Type.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Timestamp |
Timestamp.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Struct |
Struct.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static StringValue |
StringValue.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static SourceContext |
SourceContext.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Option |
Option.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Mixin |
Mixin.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Method |
Method.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static ListValue |
ListValue.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Int64Value |
Int64Value.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Int32Value |
Int32Value.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static FloatValue |
FloatValue.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static FieldMask |
FieldMask.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Field |
Field.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static EnumValue |
EnumValue.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Enum |
Enum.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Empty |
Empty.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Duration |
Duration.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DoubleValue |
DoubleValue.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
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.DescriptorProto.ReservedRange |
DescriptorProtos.DescriptorProto.ReservedRange.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.ExtensionRangeOptions |
DescriptorProtos.ExtensionRangeOptions.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.FieldDescriptorProto |
DescriptorProtos.FieldDescriptorProto.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.OneofDescriptorProto |
DescriptorProtos.OneofDescriptorProto.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.EnumDescriptorProto |
DescriptorProtos.EnumDescriptorProto.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.EnumDescriptorProto.EnumReservedRange |
DescriptorProtos.EnumDescriptorProto.EnumReservedRange.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.OneofOptions |
DescriptorProtos.OneofOptions.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 DescriptorProtos.GeneratedCodeInfo |
DescriptorProtos.GeneratedCodeInfo.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
DescriptorProtos.GeneratedCodeInfo.Annotation.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static BytesValue |
BytesValue.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static BoolValue |
BoolValue.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Api |
Api.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Any |
Any.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
MessageType |
Parser.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
Parses
data as a message of MessageType . |
MessageType |
AbstractParser.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. |
protected static <T extends GeneratedMessageLite<T,?>> |
GeneratedMessageLite.parseFrom(T defaultInstance,
ByteString data) |
protected static <T extends GeneratedMessageLite<T,?>> |
GeneratedMessageLite.parseFrom(T defaultInstance,
ByteString data,
ExtensionRegistryLite extensionRegistry) |
java.lang.Object |
MessageReflection.MergeTarget.parseMessageFromBytes(ByteString bytes,
ExtensionRegistryLite registry,
Descriptors.FieldDescriptor descriptor,
Message defaultInstance)
Parse from a ByteString into a sub field message defined based on either
FieldDescriptor or the default instance.
|
java.lang.Object |
MessageReflection.BuilderAdapter.parseMessageFromBytes(ByteString bytes,
ExtensionRegistryLite extensionRegistry,
Descriptors.FieldDescriptor field,
Message defaultInstance) |
java.lang.Object |
MessageReflection.ExtensionAdapter.parseMessageFromBytes(ByteString bytes,
ExtensionRegistryLite registry,
Descriptors.FieldDescriptor field,
Message defaultInstance) |
MessageType |
Parser.parsePartialFrom(ByteString data)
Like
Parser.parseFrom(ByteString) , but does not throw an
exception if the message is missing required fields. |
MessageType |
AbstractParser.parsePartialFrom(ByteString data) |
MessageType |
Parser.parsePartialFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
Like
Parser.parseFrom(ByteString, ExtensionRegistryLite) ,
but does not throw an exception if the message is missing required fields. |
MessageType |
AbstractParser.parsePartialFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
private static <T extends GeneratedMessageLite<T,?>> |
GeneratedMessageLite.parsePartialFrom(T defaultInstance,
ByteString data,
ExtensionRegistryLite extensionRegistry) |
void |
UnmodifiableLazyStringList.set(int index,
ByteString element) |
void |
LazyStringList.set(int index,
ByteString element)
Replaces the element at the specified position in this list with the
specified element (optional operation).
|
void |
LazyStringArrayList.set(int index,
ByteString s) |
ByteString |
LazyStringArrayList.ByteStringListView.set(int index,
ByteString s) |
DescriptorProtos.UninterpretedOption.Builder |
DescriptorProtos.UninterpretedOption.Builder.setAggregateValueBytes(ByteString value)
optional string aggregate_value = 8; |
private java.lang.Object |
LazyStringArrayList.setAndReturn(int index,
ByteString s) |
void |
LazyFieldLite.setByteString(ByteString bytes,
ExtensionRegistryLite extensionRegistry)
Sets this field with bytes to delay-parse.
|
DescriptorProtos.FileOptions.Builder |
DescriptorProtos.FileOptions.Builder.setCsharpNamespaceBytes(ByteString value)
Namespace for generated classes; defaults to the package.
|
Field.Builder |
Field.Builder.setDefaultValueBytes(ByteString value)
The string value of the default value of this field.
|
DescriptorProtos.FieldDescriptorProto.Builder |
DescriptorProtos.FieldDescriptorProto.Builder.setDefaultValueBytes(ByteString value)
For numeric types, contains the original text representation of the value.
|
DescriptorProtos.FieldDescriptorProto.Builder |
DescriptorProtos.FieldDescriptorProto.Builder.setExtendeeBytes(ByteString value)
For extensions, this is the name of the type being extended.
|
SourceContext.Builder |
SourceContext.Builder.setFileNameBytes(ByteString value)
The path-qualified name of the .proto file that contained the associated
protobuf element.
|
DescriptorProtos.FileOptions.Builder |
DescriptorProtos.FileOptions.Builder.setGoPackageBytes(ByteString value)
Sets the Go package where structs generated from this .proto will be
placed.
|
DescriptorProtos.UninterpretedOption.Builder |
DescriptorProtos.UninterpretedOption.Builder.setIdentifierValueBytes(ByteString value)
The value of the uninterpreted option, in whatever type the tokenizer
identified it as during parsing.
|
DescriptorProtos.MethodDescriptorProto.Builder |
DescriptorProtos.MethodDescriptorProto.Builder.setInputTypeBytes(ByteString value)
Input and output type names.
|
DescriptorProtos.FileOptions.Builder |
DescriptorProtos.FileOptions.Builder.setJavaOuterClassnameBytes(ByteString value)
If set, all the classes from the .proto file are wrapped in a single
outer class with the given name.
|
DescriptorProtos.FileOptions.Builder |
DescriptorProtos.FileOptions.Builder.setJavaPackageBytes(ByteString value)
Sets the Java package where classes generated from this .proto will be
placed.
|
Field.Builder |
Field.Builder.setJsonNameBytes(ByteString value)
The field JSON name.
|
DescriptorProtos.FieldDescriptorProto.Builder |
DescriptorProtos.FieldDescriptorProto.Builder.setJsonNameBytes(ByteString value)
JSON name of this field.
|
DescriptorProtos.SourceCodeInfo.Location.Builder |
DescriptorProtos.SourceCodeInfo.Location.Builder.setLeadingCommentsBytes(ByteString value)
If this SourceCodeInfo represents a complete declaration, these are any
comments appearing before and after the declaration which appear to be
attached to the declaration.
|
Type.Builder |
Type.Builder.setNameBytes(ByteString value)
The fully qualified message name.
|
Option.Builder |
Option.Builder.setNameBytes(ByteString value)
The option's name.
|
Mixin.Builder |
Mixin.Builder.setNameBytes(ByteString value)
The fully qualified name of the interface which is included.
|
Method.Builder |
Method.Builder.setNameBytes(ByteString value)
The simple name of this method.
|
Field.Builder |
Field.Builder.setNameBytes(ByteString value)
The field name.
|
EnumValue.Builder |
EnumValue.Builder.setNameBytes(ByteString value)
Enum value name.
|
Enum.Builder |
Enum.Builder.setNameBytes(ByteString value)
Enum type name.
|
DescriptorProtos.FileDescriptorProto.Builder |
DescriptorProtos.FileDescriptorProto.Builder.setNameBytes(ByteString value)
file name, relative to root of source tree
|
DescriptorProtos.DescriptorProto.Builder |
DescriptorProtos.DescriptorProto.Builder.setNameBytes(ByteString value)
optional string name = 1; |
DescriptorProtos.FieldDescriptorProto.Builder |
DescriptorProtos.FieldDescriptorProto.Builder.setNameBytes(ByteString value)
optional string name = 1; |
DescriptorProtos.OneofDescriptorProto.Builder |
DescriptorProtos.OneofDescriptorProto.Builder.setNameBytes(ByteString value)
optional string name = 1; |
DescriptorProtos.EnumDescriptorProto.Builder |
DescriptorProtos.EnumDescriptorProto.Builder.setNameBytes(ByteString value)
optional string name = 1; |
DescriptorProtos.EnumValueDescriptorProto.Builder |
DescriptorProtos.EnumValueDescriptorProto.Builder.setNameBytes(ByteString value)
optional string name = 1; |
DescriptorProtos.ServiceDescriptorProto.Builder |
DescriptorProtos.ServiceDescriptorProto.Builder.setNameBytes(ByteString value)
optional string name = 1; |
DescriptorProtos.MethodDescriptorProto.Builder |
DescriptorProtos.MethodDescriptorProto.Builder.setNameBytes(ByteString value)
optional string name = 1; |
Api.Builder |
Api.Builder.setNameBytes(ByteString value)
The fully qualified name of this interface, including package name
followed by the interface's simple name.
|
DescriptorProtos.UninterpretedOption.NamePart.Builder |
DescriptorProtos.UninterpretedOption.NamePart.Builder.setNamePartBytes(ByteString value)
required string name_part = 1; |
DescriptorProtos.FileOptions.Builder |
DescriptorProtos.FileOptions.Builder.setObjcClassPrefixBytes(ByteString value)
Sets the objective c class prefix which is prepended to all objective c
generated classes from this .proto.
|
DescriptorProtos.MethodDescriptorProto.Builder |
DescriptorProtos.MethodDescriptorProto.Builder.setOutputTypeBytes(ByteString value)
optional string output_type = 3; |
DescriptorProtos.FileDescriptorProto.Builder |
DescriptorProtos.FileDescriptorProto.Builder.setPackageBytes(ByteString value)
e.g.
|
DescriptorProtos.FileOptions.Builder |
DescriptorProtos.FileOptions.Builder.setPhpClassPrefixBytes(ByteString value)
Sets the php class prefix which is prepended to all php generated classes
from this .proto.
|
DescriptorProtos.FileOptions.Builder |
DescriptorProtos.FileOptions.Builder.setPhpNamespaceBytes(ByteString value)
Use this option to change the namespace of php generated classes.
|
Method.Builder |
Method.Builder.setRequestTypeUrlBytes(ByteString value)
A URL of the input message type.
|
Method.Builder |
Method.Builder.setResponseTypeUrlBytes(ByteString value)
The URL of the output message type.
|
Mixin.Builder |
Mixin.Builder.setRootBytes(ByteString value)
If non-empty specifies a path under which inherited HTTP paths
are rooted.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder.setSourceFileBytes(ByteString value)
Identifies the filesystem path to the original source .proto.
|
DescriptorProtos.UninterpretedOption.Builder |
DescriptorProtos.UninterpretedOption.Builder.setStringValue(ByteString value)
optional bytes string_value = 7; |
Value.Builder |
Value.Builder.setStringValueBytes(ByteString value)
Represents a string value.
|
DescriptorProtos.FileOptions.Builder |
DescriptorProtos.FileOptions.Builder.setSwiftPrefixBytes(ByteString value)
By default Swift generators will take the proto package and CamelCase it
replacing '.' with underscore and use that to prefix the types/symbols
defined.
|
DescriptorProtos.FileDescriptorProto.Builder |
DescriptorProtos.FileDescriptorProto.Builder.setSyntaxBytes(ByteString value)
The syntax of the proto file.
|
DescriptorProtos.SourceCodeInfo.Location.Builder |
DescriptorProtos.SourceCodeInfo.Location.Builder.setTrailingCommentsBytes(ByteString value)
optional string trailing_comments = 4; |
DescriptorProtos.FieldDescriptorProto.Builder |
DescriptorProtos.FieldDescriptorProto.Builder.setTypeNameBytes(ByteString value)
For message and enum types, this is the name of the type.
|
Field.Builder |
Field.Builder.setTypeUrlBytes(ByteString value)
The field type URL, without the scheme, for message or enumeration
types.
|
Any.Builder |
Any.Builder.setTypeUrlBytes(ByteString value)
A URL/resource name whose content describes the type of the
serialized protocol buffer message.
|
BytesValue.Builder |
BytesValue.Builder.setValue(ByteString value)
The bytes value.
|
Any.Builder |
Any.Builder.setValue(ByteString value)
Must be a valid serialized protocol buffer of the above specified type.
|
StringValue.Builder |
StringValue.Builder.setValueBytes(ByteString value)
The string value.
|
Api.Builder |
Api.Builder.setVersionBytes(ByteString value)
A version string for this interface.
|
boolean |
ByteString.startsWith(ByteString prefix)
Tests if this bytestring starts with the specified prefix.
|
static void |
UnsafeByteOperations.unsafeWriteTo(ByteString bytes,
ByteOutput output)
Writes the given
ByteString to the provided ByteOutput . |
ByteString |
GeneratedMessageLite.Visitor.visitByteString(boolean minePresent,
ByteString mine,
boolean otherPresent,
ByteString other) |
ByteString |
GeneratedMessageLite.EqualsVisitor.visitByteString(boolean minePresent,
ByteString mine,
boolean otherPresent,
ByteString other) |
ByteString |
GeneratedMessageLite.HashCodeVisitor.visitByteString(boolean minePresent,
ByteString mine,
boolean otherPresent,
ByteString other) |
ByteString |
GeneratedMessageLite.MergeFromVisitor.visitByteString(boolean minePresent,
ByteString mine,
boolean otherPresent,
ByteString other) |
abstract void |
CodedOutputStream.writeBytes(int fieldNumber,
ByteString value)
Write a
bytes field, including tag, to the stream. |
void |
CodedOutputStream.ArrayEncoder.writeBytes(int fieldNumber,
ByteString value) |
void |
CodedOutputStream.SafeDirectNioEncoder.writeBytes(int fieldNumber,
ByteString value) |
void |
CodedOutputStream.UnsafeDirectNioEncoder.writeBytes(int fieldNumber,
ByteString value) |
void |
CodedOutputStream.ByteOutputEncoder.writeBytes(int fieldNumber,
ByteString value) |
void |
CodedOutputStream.OutputStreamEncoder.writeBytes(int fieldNumber,
ByteString value) |
abstract void |
CodedOutputStream.writeBytesNoTag(ByteString value)
Write a
bytes field to the stream. |
void |
CodedOutputStream.ArrayEncoder.writeBytesNoTag(ByteString value) |
void |
CodedOutputStream.SafeDirectNioEncoder.writeBytesNoTag(ByteString value) |
void |
CodedOutputStream.UnsafeDirectNioEncoder.writeBytesNoTag(ByteString value) |
void |
CodedOutputStream.ByteOutputEncoder.writeBytesNoTag(ByteString value) |
void |
CodedOutputStream.OutputStreamEncoder.writeBytesNoTag(ByteString value) |
void |
CodedOutputStream.writeRawBytes(ByteString value)
Write a byte string.
|
abstract void |
CodedOutputStream.writeRawMessageSetExtension(int fieldNumber,
ByteString value)
Write an unparsed MessageSet extension field to the stream.
|
void |
CodedOutputStream.ArrayEncoder.writeRawMessageSetExtension(int fieldNumber,
ByteString value) |
void |
CodedOutputStream.SafeDirectNioEncoder.writeRawMessageSetExtension(int fieldNumber,
ByteString value) |
void |
CodedOutputStream.UnsafeDirectNioEncoder.writeRawMessageSetExtension(int fieldNumber,
ByteString value) |
void |
CodedOutputStream.ByteOutputEncoder.writeRawMessageSetExtension(int fieldNumber,
ByteString value) |
void |
CodedOutputStream.OutputStreamEncoder.writeRawMessageSetExtension(int fieldNumber,
ByteString value) |
Modifier and Type | Method and Description |
---|---|
boolean |
UnmodifiableLazyStringList.addAllByteString(java.util.Collection<? extends ByteString> element) |
boolean |
LazyStringList.addAllByteString(java.util.Collection<? extends ByteString> c)
Appends all elements in the specified ByteString collection to the end of
this list.
|
boolean |
LazyStringArrayList.addAllByteString(java.util.Collection<? extends ByteString> values) |
private static ByteString |
ByteString.balancedConcat(java.util.Iterator<ByteString> iterator,
int length) |
private void |
TextFormat.Tokenizer.consumeByteString(java.util.List<ByteString> list)
Like
TextFormat.Tokenizer.consumeByteString() but adds each token of the string to
the given list. |
static ByteString |
ByteString.copyFrom(java.lang.Iterable<ByteString> byteStrings)
Concatenates all byte strings in the iterable and returns the result.
|
Constructor and Description |
---|
LazyField(MessageLite defaultInstance,
ExtensionRegistryLite extensionRegistry,
ByteString bytes) |
LazyFieldLite(ExtensionRegistryLite extensionRegistry,
ByteString bytes)
Constructs a LazyFieldLite with bytes that will be parsed lazily.
|
PieceIterator(ByteString root) |
RopeByteString(ByteString left,
ByteString right)
Create a new RopeByteString, which can be thought of as a new tree node, by
recording references to the two given strings.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
PluginProtos.CodeGeneratorResponse.FileOrBuilder.getContentBytes()
The file contents.
|
ByteString |
PluginProtos.CodeGeneratorResponse.File.getContentBytes()
The file contents.
|
ByteString |
PluginProtos.CodeGeneratorResponse.File.Builder.getContentBytes()
The file contents.
|
ByteString |
PluginProtos.CodeGeneratorResponseOrBuilder.getErrorBytes()
Error message.
|
ByteString |
PluginProtos.CodeGeneratorResponse.getErrorBytes()
Error message.
|
ByteString |
PluginProtos.CodeGeneratorResponse.Builder.getErrorBytes()
Error message.
|
ByteString |
PluginProtos.CodeGeneratorRequestOrBuilder.getFileToGenerateBytes(int index)
The .proto files that were explicitly listed on the command-line.
|
ByteString |
PluginProtos.CodeGeneratorRequest.getFileToGenerateBytes(int index)
The .proto files that were explicitly listed on the command-line.
|
ByteString |
PluginProtos.CodeGeneratorRequest.Builder.getFileToGenerateBytes(int index)
The .proto files that were explicitly listed on the command-line.
|
ByteString |
PluginProtos.CodeGeneratorResponse.FileOrBuilder.getInsertionPointBytes()
If non-empty, indicates that the named file should already exist, and the
content here is to be inserted into that file at a defined insertion
point.
|
ByteString |
PluginProtos.CodeGeneratorResponse.File.getInsertionPointBytes()
If non-empty, indicates that the named file should already exist, and the
content here is to be inserted into that file at a defined insertion
point.
|
ByteString |
PluginProtos.CodeGeneratorResponse.File.Builder.getInsertionPointBytes()
If non-empty, indicates that the named file should already exist, and the
content here is to be inserted into that file at a defined insertion
point.
|
ByteString |
PluginProtos.CodeGeneratorResponse.FileOrBuilder.getNameBytes()
The file name, relative to the output directory.
|
ByteString |
PluginProtos.CodeGeneratorResponse.File.getNameBytes()
The file name, relative to the output directory.
|
ByteString |
PluginProtos.CodeGeneratorResponse.File.Builder.getNameBytes()
The file name, relative to the output directory.
|
ByteString |
PluginProtos.CodeGeneratorRequestOrBuilder.getParameterBytes()
The generator parameter passed on the command-line.
|
ByteString |
PluginProtos.CodeGeneratorRequest.getParameterBytes()
The generator parameter passed on the command-line.
|
ByteString |
PluginProtos.CodeGeneratorRequest.Builder.getParameterBytes()
The generator parameter passed on the command-line.
|
ByteString |
PluginProtos.VersionOrBuilder.getSuffixBytes()
A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".
|
ByteString |
PluginProtos.Version.getSuffixBytes()
A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".
|
ByteString |
PluginProtos.Version.Builder.getSuffixBytes()
A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".
|
Modifier and Type | Method and Description |
---|---|
PluginProtos.CodeGeneratorRequest.Builder |
PluginProtos.CodeGeneratorRequest.Builder.addFileToGenerateBytes(ByteString value)
The .proto files that were explicitly listed on the command-line.
|
static PluginProtos.Version |
PluginProtos.Version.parseFrom(ByteString data) |
static PluginProtos.CodeGeneratorRequest |
PluginProtos.CodeGeneratorRequest.parseFrom(ByteString data) |
static PluginProtos.CodeGeneratorResponse |
PluginProtos.CodeGeneratorResponse.parseFrom(ByteString data) |
static PluginProtos.CodeGeneratorResponse.File |
PluginProtos.CodeGeneratorResponse.File.parseFrom(ByteString data) |
static PluginProtos.Version |
PluginProtos.Version.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static PluginProtos.CodeGeneratorRequest |
PluginProtos.CodeGeneratorRequest.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static PluginProtos.CodeGeneratorResponse |
PluginProtos.CodeGeneratorResponse.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static PluginProtos.CodeGeneratorResponse.File |
PluginProtos.CodeGeneratorResponse.File.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
PluginProtos.CodeGeneratorResponse.File.Builder |
PluginProtos.CodeGeneratorResponse.File.Builder.setContentBytes(ByteString value)
The file contents.
|
PluginProtos.CodeGeneratorResponse.Builder |
PluginProtos.CodeGeneratorResponse.Builder.setErrorBytes(ByteString value)
Error message.
|
PluginProtos.CodeGeneratorResponse.File.Builder |
PluginProtos.CodeGeneratorResponse.File.Builder.setInsertionPointBytes(ByteString value)
If non-empty, indicates that the named file should already exist, and the
content here is to be inserted into that file at a defined insertion
point.
|
PluginProtos.CodeGeneratorResponse.File.Builder |
PluginProtos.CodeGeneratorResponse.File.Builder.setNameBytes(ByteString value)
The file name, relative to the output directory.
|
PluginProtos.CodeGeneratorRequest.Builder |
PluginProtos.CodeGeneratorRequest.Builder.setParameterBytes(ByteString value)
The generator parameter passed on the command-line.
|
PluginProtos.Version.Builder |
PluginProtos.Version.Builder.setSuffixBytes(ByteString value)
A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".
|
Modifier and Type | Method and Description |
---|---|
private ByteString |
JsonFormat.ParserImpl.parseBytes(com.google.gson.JsonElement json) |
private ByteString |
JsonFormat.PrinterImpl.toByteString(MessageOrBuilder message) |