Uses of Class
com.google.protobuf.ByteString
Packages that use ByteString
-
Uses of ByteString in com.google.protobuf
Subclasses of ByteString in com.google.protobufModifier and TypeClassDescriptionprivate static final class
This class is used to represent the substring of aByteString
over a single byte array.(package private) static class
Base class for leafByteString
s (i.e.private static class
This class implements aByteString
backed by a single array of bytes, contiguous in memory.private static final class
AByteString
that wraps around aByteBuffer
.(package private) final class
Class to representByteStrings
formed by concatenation of other ByteStrings, without copying the data in the pieces.Fields in com.google.protobuf declared as ByteStringModifier and TypeFieldDescriptionprivate ByteString
LazyFieldLite.delayedBytes
A delayed-parsed version of the contents of this field.static final ByteString
ByteString.EMPTY
EmptyByteString
.private final ByteString
RopeByteString.left
private ByteString
LazyFieldLite.memoizedBytes
The memoized bytes forvalue
.private final ByteString
RopeByteString.right
private ByteString
DescriptorProtos.UninterpretedOption.stringValue_
private ByteString
Any.value_
private ByteString
BytesValue.value_
Fields in com.google.protobuf with type parameters of type ByteStringModifier and TypeFieldDescriptionprivate final ArrayList
<ByteString> ByteString.Output.flushedBuffers
private List
<ByteString> UnknownFieldSet.Field.lengthDelimited
private final ArrayDeque
<ByteString> RopeByteString.Balancer.prefixesStack
private static final Comparator
<ByteString> ByteString.UNSIGNED_LEXICOGRAPHICAL_COMPARATOR
Compares twoByteString
s lexicographically, treating their contents as unsigned byte values between 0 and 255 (inclusive).Methods in com.google.protobuf that return ByteStringModifier and TypeMethodDescriptionprivate static ByteString
LazyStringArrayList.asByteString
(Object o) private ByteString
RopeByteString.Balancer.balance
(ByteString left, ByteString right) private static ByteString
ByteString.balancedConcat
(Iterator<ByteString> iterator, int length) ByteString.CodedBuilder.build()
static ByteString
Internal.bytesDefaultValue
(String bytes) Helper called by generated code to construct default values for bytes fields.final ByteString
ByteString.concat
(ByteString other) Concatenate the givenByteString
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.(package private) ByteString
TextFormat.Tokenizer.consumeByteString()
If the next token is a string, consume it, unescape it as aByteString
, and return it.static ByteString
ByteString.copyFrom
(byte[] bytes) Copies the given bytes into aByteString
.static ByteString
ByteString.copyFrom
(byte[] bytes, int offset, int size) Copies the given bytes into aByteString
.static ByteString
ByteString.copyFrom
(Iterable<ByteString> byteStrings) Concatenates all byte strings in the iterable and returns the result.static ByteString
Encodestext
into a sequence of bytes using the named charset and returns the result as aByteString
.static ByteString
Encodestext
into a sequence of bytes using the named charset and returns the result as aByteString
.static ByteString
ByteString.copyFrom
(ByteBuffer bytes) Copies the remaining bytes from ajava.nio.ByteBuffer
into aByteString
.static ByteString
ByteString.copyFrom
(ByteBuffer bytes, int size) Copies the nextsize
bytes from ajava.nio.ByteBuffer
into aByteString
.static ByteString
ByteString.copyFromUtf8
(String text) Encodestext
into a sequence of UTF-8 bytes and returns the result as aByteString
.static final ByteString
ByteString.empty()
Returns an emptyByteString
of size0
.static ByteString
Returns aByteString
from a hexadecimal String.LazyStringArrayList.ByteStringListView.get
(int index) DescriptorProtos.UninterpretedOption.Builder.getAggregateValueBytes()
optional string aggregate_value = 8;
DescriptorProtos.UninterpretedOption.getAggregateValueBytes()
optional string aggregate_value = 8;
DescriptorProtos.UninterpretedOptionOrBuilder.getAggregateValueBytes()
optional string aggregate_value = 8;
LazyStringArrayList.getByteString
(int index) LazyStringList.getByteString
(int index) Returns the element at the specified position in this list as a ByteString.UnmodifiableLazyStringList.getByteString
(int index) Deprecated.DescriptorProtos.FileOptions.Builder.getCsharpNamespaceBytes()
Namespace for generated classes; defaults to the package.DescriptorProtos.FileOptions.getCsharpNamespaceBytes()
Namespace for generated classes; defaults to the package.DescriptorProtos.FileOptionsOrBuilder.getCsharpNamespaceBytes()
Namespace for generated classes; defaults to the package.DescriptorProtos.FieldDescriptorProto.Builder.getDefaultValueBytes()
For numeric types, contains the original text representation of the value.DescriptorProtos.FieldDescriptorProto.getDefaultValueBytes()
For numeric types, contains the original text representation of the value.DescriptorProtos.FieldDescriptorProtoOrBuilder.getDefaultValueBytes()
For numeric types, contains the original text representation of the value.Field.Builder.getDefaultValueBytes()
The string value of the default value of this field.Field.getDefaultValueBytes()
The string value of the default value of this field.FieldOrBuilder.getDefaultValueBytes()
The string value of the default value of this field.DescriptorProtos.FileDescriptorProto.Builder.getDependencyBytes
(int index) Names of files imported by this file.DescriptorProtos.FileDescriptorProto.getDependencyBytes
(int index) Names of files imported by this file.DescriptorProtos.FileDescriptorProtoOrBuilder.getDependencyBytes
(int index) Names of files imported by this file.DescriptorProtos.FieldOptions.FeatureSupport.Builder.getDeprecationWarningBytes()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.DescriptorProtos.FieldOptions.FeatureSupport.getDeprecationWarningBytes()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.DescriptorProtos.FieldOptions.FeatureSupportOrBuilder.getDeprecationWarningBytes()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.Enum.Builder.getEditionBytes()
The source edition string, only valid when syntax is SYNTAX_EDITIONS.Enum.getEditionBytes()
The source edition string, only valid when syntax is SYNTAX_EDITIONS.EnumOrBuilder.getEditionBytes()
The source edition string, only valid when syntax is SYNTAX_EDITIONS.Type.Builder.getEditionBytes()
The source edition string, only valid when syntax is SYNTAX_EDITIONS.Type.getEditionBytes()
The source edition string, only valid when syntax is SYNTAX_EDITIONS.TypeOrBuilder.getEditionBytes()
The source edition string, only valid when syntax is SYNTAX_EDITIONS.DescriptorProtos.FieldDescriptorProto.Builder.getExtendeeBytes()
For extensions, this is the name of the type being extended.DescriptorProtos.FieldDescriptorProto.getExtendeeBytes()
For extensions, this is the name of the type being extended.DescriptorProtos.FieldDescriptorProtoOrBuilder.getExtendeeBytes()
For extensions, this is the name of the type being extended.SourceContext.Builder.getFileNameBytes()
The path-qualified name of the .proto file that contained the associated protobuf element.SourceContext.getFileNameBytes()
The path-qualified name of the .proto file that contained the associated protobuf element.SourceContextOrBuilder.getFileNameBytes()
The path-qualified name of the .proto file that contained the associated protobuf element.DescriptorProtos.ExtensionRangeOptions.Declaration.Builder.getFullNameBytes()
The fully-qualified name of the extension field.DescriptorProtos.ExtensionRangeOptions.Declaration.getFullNameBytes()
The fully-qualified name of the extension field.DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder.getFullNameBytes()
The fully-qualified name of the extension field.DescriptorProtos.FileOptions.Builder.getGoPackageBytes()
Sets the Go package where structs generated from this .proto will be placed.DescriptorProtos.FileOptions.getGoPackageBytes()
Sets the Go package where structs generated from this .proto will be placed.DescriptorProtos.FileOptionsOrBuilder.getGoPackageBytes()
Sets the Go package where structs generated from this .proto will be placed.DescriptorProtos.UninterpretedOption.Builder.getIdentifierValueBytes()
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.DescriptorProtos.UninterpretedOption.getIdentifierValueBytes()
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.DescriptorProtos.UninterpretedOptionOrBuilder.getIdentifierValueBytes()
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.DescriptorProtos.MethodDescriptorProto.Builder.getInputTypeBytes()
Input and output type names.DescriptorProtos.MethodDescriptorProto.getInputTypeBytes()
Input and output type names.DescriptorProtos.MethodDescriptorProtoOrBuilder.getInputTypeBytes()
Input and output type names.DescriptorProtos.FileOptions.Builder.getJavaOuterClassnameBytes()
Controls the name of the wrapper Java class generated for the .proto file.DescriptorProtos.FileOptions.getJavaOuterClassnameBytes()
Controls the name of the wrapper Java class generated for the .proto file.DescriptorProtos.FileOptionsOrBuilder.getJavaOuterClassnameBytes()
Controls the name of the wrapper Java class generated for the .proto file.DescriptorProtos.FileOptions.Builder.getJavaPackageBytes()
Sets the Java package where classes generated from this .proto will be placed.DescriptorProtos.FileOptions.getJavaPackageBytes()
Sets the Java package where classes generated from this .proto will be placed.DescriptorProtos.FileOptionsOrBuilder.getJavaPackageBytes()
Sets the Java package where classes generated from this .proto will be placed.DescriptorProtos.FieldDescriptorProto.Builder.getJsonNameBytes()
JSON name of this field.DescriptorProtos.FieldDescriptorProto.getJsonNameBytes()
JSON name of this field.DescriptorProtos.FieldDescriptorProtoOrBuilder.getJsonNameBytes()
JSON name of this field.Field.Builder.getJsonNameBytes()
The field JSON name.Field.getJsonNameBytes()
The field JSON name.FieldOrBuilder.getJsonNameBytes()
The field JSON name.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.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.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.DescriptorProtos.SourceCodeInfo.Location.Builder.getLeadingDetachedCommentsBytes
(int index) repeated string leading_detached_comments = 6;
DescriptorProtos.SourceCodeInfo.Location.getLeadingDetachedCommentsBytes
(int index) repeated string leading_detached_comments = 6;
DescriptorProtos.SourceCodeInfo.LocationOrBuilder.getLeadingDetachedCommentsBytes
(int index) repeated string leading_detached_comments = 6;
Api.Builder.getNameBytes()
The fully qualified name of this interface, including package name followed by the interface's simple name.Api.getNameBytes()
The fully qualified name of this interface, including package name followed by the interface's simple name.ApiOrBuilder.getNameBytes()
The fully qualified name of this interface, including package name followed by the interface's simple name.DescriptorProtos.DescriptorProto.Builder.getNameBytes()
optional string name = 1;
DescriptorProtos.DescriptorProto.getNameBytes()
optional string name = 1;
DescriptorProtos.DescriptorProtoOrBuilder.getNameBytes()
optional string name = 1;
DescriptorProtos.EnumDescriptorProto.Builder.getNameBytes()
optional string name = 1;
DescriptorProtos.EnumDescriptorProto.getNameBytes()
optional string name = 1;
DescriptorProtos.EnumDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1;
DescriptorProtos.EnumValueDescriptorProto.Builder.getNameBytes()
optional string name = 1;
DescriptorProtos.EnumValueDescriptorProto.getNameBytes()
optional string name = 1;
DescriptorProtos.EnumValueDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1;
DescriptorProtos.FieldDescriptorProto.Builder.getNameBytes()
optional string name = 1;
DescriptorProtos.FieldDescriptorProto.getNameBytes()
optional string name = 1;
DescriptorProtos.FieldDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1;
DescriptorProtos.FileDescriptorProto.Builder.getNameBytes()
file name, relative to root of source treeDescriptorProtos.FileDescriptorProto.getNameBytes()
file name, relative to root of source treeDescriptorProtos.FileDescriptorProtoOrBuilder.getNameBytes()
file name, relative to root of source treeDescriptorProtos.MethodDescriptorProto.Builder.getNameBytes()
optional string name = 1;
DescriptorProtos.MethodDescriptorProto.getNameBytes()
optional string name = 1;
DescriptorProtos.MethodDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1;
DescriptorProtos.OneofDescriptorProto.Builder.getNameBytes()
optional string name = 1;
DescriptorProtos.OneofDescriptorProto.getNameBytes()
optional string name = 1;
DescriptorProtos.OneofDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1;
DescriptorProtos.ServiceDescriptorProto.Builder.getNameBytes()
optional string name = 1;
DescriptorProtos.ServiceDescriptorProto.getNameBytes()
optional string name = 1;
DescriptorProtos.ServiceDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1;
Enum.Builder.getNameBytes()
Enum type name.Enum.getNameBytes()
Enum type name.EnumOrBuilder.getNameBytes()
Enum type name.EnumValue.Builder.getNameBytes()
Enum value name.EnumValue.getNameBytes()
Enum value name.EnumValueOrBuilder.getNameBytes()
Enum value name.Field.Builder.getNameBytes()
The field name.Field.getNameBytes()
The field name.FieldOrBuilder.getNameBytes()
The field name.Method.Builder.getNameBytes()
The simple name of this method.Method.getNameBytes()
The simple name of this method.MethodOrBuilder.getNameBytes()
The simple name of this method.Mixin.Builder.getNameBytes()
The fully qualified name of the interface which is included.Mixin.getNameBytes()
The fully qualified name of the interface which is included.MixinOrBuilder.getNameBytes()
The fully qualified name of the interface which is included.Option.Builder.getNameBytes()
The option's name.Option.getNameBytes()
The option's name.OptionOrBuilder.getNameBytes()
The option's name.Type.Builder.getNameBytes()
The fully qualified message name.Type.getNameBytes()
The fully qualified message name.TypeOrBuilder.getNameBytes()
The fully qualified message name.DescriptorProtos.UninterpretedOption.NamePart.Builder.getNamePartBytes()
required string name_part = 1;
DescriptorProtos.UninterpretedOption.NamePart.getNamePartBytes()
required string name_part = 1;
DescriptorProtos.UninterpretedOption.NamePartOrBuilder.getNamePartBytes()
required string name_part = 1;
DescriptorProtos.FileOptions.Builder.getObjcClassPrefixBytes()
Sets the objective c class prefix which is prepended to all objective c generated classes from this .proto.DescriptorProtos.FileOptions.getObjcClassPrefixBytes()
Sets the objective c class prefix which is prepended to all objective c generated classes from this .proto.DescriptorProtos.FileOptionsOrBuilder.getObjcClassPrefixBytes()
Sets the objective c class prefix which is prepended to all objective c generated classes from this .proto.Type.Builder.getOneofsBytes
(int index) The list of types appearing in `oneof` definitions in this type.Type.getOneofsBytes
(int index) The list of types appearing in `oneof` definitions in this type.TypeOrBuilder.getOneofsBytes
(int index) The list of types appearing in `oneof` definitions in this type.DescriptorProtos.MethodDescriptorProto.Builder.getOutputTypeBytes()
optional string output_type = 3;
DescriptorProtos.MethodDescriptorProto.getOutputTypeBytes()
optional string output_type = 3;
DescriptorProtos.MethodDescriptorProtoOrBuilder.getOutputTypeBytes()
optional string output_type = 3;
DescriptorProtos.FileDescriptorProto.Builder.getPackageBytes()
e.g.DescriptorProtos.FileDescriptorProto.getPackageBytes()
e.g.DescriptorProtos.FileDescriptorProtoOrBuilder.getPackageBytes()
e.g.FieldMask.Builder.getPathsBytes
(int index) The set of field mask paths.FieldMask.getPathsBytes
(int index) The set of field mask paths.FieldMaskOrBuilder.getPathsBytes
(int index) The set of field mask paths.DescriptorProtos.FileOptions.Builder.getPhpClassPrefixBytes()
Sets the php class prefix which is prepended to all php generated classes from this .proto.DescriptorProtos.FileOptions.getPhpClassPrefixBytes()
Sets the php class prefix which is prepended to all php generated classes from this .proto.DescriptorProtos.FileOptionsOrBuilder.getPhpClassPrefixBytes()
Sets the php class prefix which is prepended to all php generated classes from this .proto.DescriptorProtos.FileOptions.Builder.getPhpMetadataNamespaceBytes()
Use this option to change the namespace of php generated metadata classes.DescriptorProtos.FileOptions.getPhpMetadataNamespaceBytes()
Use this option to change the namespace of php generated metadata classes.DescriptorProtos.FileOptionsOrBuilder.getPhpMetadataNamespaceBytes()
Use this option to change the namespace of php generated metadata classes.DescriptorProtos.FileOptions.Builder.getPhpNamespaceBytes()
Use this option to change the namespace of php generated classes.DescriptorProtos.FileOptions.getPhpNamespaceBytes()
Use this option to change the namespace of php generated classes.DescriptorProtos.FileOptionsOrBuilder.getPhpNamespaceBytes()
Use this option to change the namespace of php generated classes.Method.Builder.getRequestTypeUrlBytes()
A URL of the input message type.Method.getRequestTypeUrlBytes()
A URL of the input message type.MethodOrBuilder.getRequestTypeUrlBytes()
A URL of the input message type.DescriptorProtos.DescriptorProto.Builder.getReservedNameBytes
(int index) Reserved field names, which may not be used by fields in the same message.DescriptorProtos.DescriptorProto.getReservedNameBytes
(int index) Reserved field names, which may not be used by fields in the same message.DescriptorProtos.DescriptorProtoOrBuilder.getReservedNameBytes
(int index) Reserved field names, which may not be used by fields in the same message.DescriptorProtos.EnumDescriptorProto.Builder.getReservedNameBytes
(int index) Reserved enum value names, which may not be reused.DescriptorProtos.EnumDescriptorProto.getReservedNameBytes
(int index) Reserved enum value names, which may not be reused.DescriptorProtos.EnumDescriptorProtoOrBuilder.getReservedNameBytes
(int index) Reserved enum value names, which may not be reused.Method.Builder.getResponseTypeUrlBytes()
The URL of the output message type.Method.getResponseTypeUrlBytes()
The URL of the output message type.MethodOrBuilder.getResponseTypeUrlBytes()
The URL of the output message type.Mixin.Builder.getRootBytes()
If non-empty specifies a path under which inherited HTTP paths are rooted.Mixin.getRootBytes()
If non-empty specifies a path under which inherited HTTP paths are rooted.MixinOrBuilder.getRootBytes()
If non-empty specifies a path under which inherited HTTP paths are rooted.DescriptorProtos.FileOptions.Builder.getRubyPackageBytes()
Use this option to change the package of ruby generated classes.DescriptorProtos.FileOptions.getRubyPackageBytes()
Use this option to change the package of ruby generated classes.DescriptorProtos.FileOptionsOrBuilder.getRubyPackageBytes()
Use this option to change the package of ruby generated classes.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder.getSourceFileBytes()
Identifies the filesystem path to the original source .proto.DescriptorProtos.GeneratedCodeInfo.Annotation.getSourceFileBytes()
Identifies the filesystem path to the original source .proto.DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder.getSourceFileBytes()
Identifies the filesystem path to the original source .proto.DescriptorProtos.UninterpretedOption.Builder.getStringValue()
optional bytes string_value = 7;
DescriptorProtos.UninterpretedOption.getStringValue()
optional bytes string_value = 7;
DescriptorProtos.UninterpretedOptionOrBuilder.getStringValue()
optional bytes string_value = 7;
Value.Builder.getStringValueBytes()
Represents a string value.Value.getStringValueBytes()
Represents a string value.ValueOrBuilder.getStringValueBytes()
Represents a string value.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.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.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.DescriptorProtos.FileDescriptorProto.Builder.getSyntaxBytes()
The syntax of the proto file.DescriptorProtos.FileDescriptorProto.getSyntaxBytes()
The syntax of the proto file.DescriptorProtos.FileDescriptorProtoOrBuilder.getSyntaxBytes()
The syntax of the proto file.DescriptorProtos.SourceCodeInfo.Location.Builder.getTrailingCommentsBytes()
optional string trailing_comments = 4;
DescriptorProtos.SourceCodeInfo.Location.getTrailingCommentsBytes()
optional string trailing_comments = 4;
DescriptorProtos.SourceCodeInfo.LocationOrBuilder.getTrailingCommentsBytes()
optional string trailing_comments = 4;
DescriptorProtos.ExtensionRangeOptions.Declaration.Builder.getTypeBytes()
The fully-qualified type name of the extension field.DescriptorProtos.ExtensionRangeOptions.Declaration.getTypeBytes()
The fully-qualified type name of the extension field.DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder.getTypeBytes()
The fully-qualified type name of the extension field.DescriptorProtos.FieldDescriptorProto.Builder.getTypeNameBytes()
For message and enum types, this is the name of the type.DescriptorProtos.FieldDescriptorProto.getTypeNameBytes()
For message and enum types, this is the name of the type.DescriptorProtos.FieldDescriptorProtoOrBuilder.getTypeNameBytes()
For message and enum types, this is the name of the type.Any.Builder.getTypeUrlBytes()
A URL/resource name that uniquely identifies the type of the serialized protocol buffer message.Any.getTypeUrlBytes()
A URL/resource name that uniquely identifies the type of the serialized protocol buffer message.AnyOrBuilder.getTypeUrlBytes()
A URL/resource name that uniquely identifies the type of the serialized protocol buffer message.Field.Builder.getTypeUrlBytes()
The field type URL, without the scheme, for message or enumeration types.Field.getTypeUrlBytes()
The field type URL, without the scheme, for message or enumeration types.FieldOrBuilder.getTypeUrlBytes()
The field type URL, without the scheme, for message or enumeration types.Any.Builder.getValue()
Must be a valid serialized protocol buffer of the above specified type.Any.getValue()
Must be a valid serialized protocol buffer of the above specified type.AnyOrBuilder.getValue()
Must be a valid serialized protocol buffer of the above specified type.BytesValue.Builder.getValue()
The bytes value.BytesValue.getValue()
The bytes value.BytesValueOrBuilder.getValue()
The bytes value.DescriptorProtos.FieldOptions.EditionDefault.Builder.getValueBytes()
Textproto value.DescriptorProtos.FieldOptions.EditionDefault.getValueBytes()
Textproto value.DescriptorProtos.FieldOptions.EditionDefaultOrBuilder.getValueBytes()
Textproto value.StringValue.Builder.getValueBytes()
The string value.StringValue.getValueBytes()
The string value.StringValueOrBuilder.getValueBytes()
The string value.Api.Builder.getVersionBytes()
A version string for this interface.Api.getVersionBytes()
A version string for this interface.ApiOrBuilder.getVersionBytes()
A version string for this interface.(package private) static ByteString
ByteString.nioByteString
(ByteBuffer buffer) BinaryReader.SafeHeapReader.readBytes()
CodedInputStream.ArrayDecoder.readBytes()
CodedInputStream.IterableDirectByteBufferDecoder.readBytes()
abstract ByteString
CodedInputStream.readBytes()
Read abytes
field value from the stream.CodedInputStream.StreamDecoder.readBytes()
CodedInputStream.UnsafeDirectNioDecoder.readBytes()
CodedInputStreamReader.readBytes()
Reader.readBytes()
Reads and returns the next field of typeBYTES
and advances the reader to the next field.private ByteString
CodedInputStream.StreamDecoder.readBytesSlowPath
(int size) Like readBytes, but caller must have already checked the fast path: (size invalid input: '<'= (bufferSize - pos) invalid input: '&'invalid input: '&' size > 0 || size == 0)private static ByteString
ByteString.readChunk
(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
(InputStream streamToDrain) Completely reads the given stream's bytes into aByteString
, blocking if necessary until all bytes are read through to the end of the stream.static ByteString
ByteString.readFrom
(InputStream streamToDrain, int chunkSize) Completely reads the given stream's bytes into aByteString
, blocking if necessary until all bytes are read through to the end of the stream.static ByteString
ByteString.readFrom
(InputStream streamToDrain, int minChunkSize, int maxChunkSize) Helper method that takes the chunk size range as a parameter.LazyStringArrayList.ByteStringListView.remove
(int index) LazyStringArrayList.ByteStringListView.set
(int index, ByteString s) final ByteString
ByteString.LiteralByteString.substring
(int beginIndex, int endIndex) ByteString.NioByteString.substring
(int beginIndex, int endIndex) final ByteString
ByteString.substring
(int beginIndex) Return the substring frombeginIndex
, inclusive, to the end of the string.abstract ByteString
ByteString.substring
(int beginIndex, int endIndex) Return the substring frombeginIndex
, inclusive, toendIndex
, exclusive.RopeByteString.substring
(int beginIndex, int endIndex) Takes a substring of this one.private static ByteString
AbstractMessage.toByteString
(Object value) AbstractMessageLite.toByteString()
ByteString.Output.toByteString()
Creates a byte string with the size and contents of this output stream.LazyFieldLite.toByteString()
Returns a BytesString for this field in a thread-safe way.MessageLite.toByteString()
Serializes the message to aByteString
and returns it.UnknownFieldSet.Field.toByteString
(int fieldNumber) Serializes the message to aByteString
and returns it.UnknownFieldSet.toByteString()
Serializes the message to aByteString
and returns it.static ByteString
TextFormat.unescapeBytes
(CharSequence charString) Un-escape a byte sequence as escaped usingTextFormat.escapeBytes(ByteString)
.static ByteString
UnsafeByteOperations.unsafeWrap
(byte[] buffer) An unsafe operation that returns aByteString
that is backed by the provided buffer.static ByteString
UnsafeByteOperations.unsafeWrap
(byte[] buffer, int offset, int length) An unsafe operation that returns aByteString
that is backed by a subregion of the provided buffer.static ByteString
UnsafeByteOperations.unsafeWrap
(ByteBuffer buffer) An unsafe operation that returns aByteString
that is backed by the provided buffer.(package private) static ByteString
ByteString.wrap
(byte[] bytes) Wraps the given bytes into aByteString
.(package private) static ByteString
ByteString.wrap
(byte[] bytes, int offset, int length) Wraps the given bytes into aByteString
.(package private) static ByteString
ByteString.wrap
(ByteBuffer buffer) Wraps the given bytes into aByteString
.Methods in com.google.protobuf that return types with arguments of type ByteStringModifier and TypeMethodDescriptionLazyStringArrayList.asByteStringList()
ProtocolStringList.asByteStringList()
Returns a view of the data as a list of ByteStrings.UnmodifiableLazyStringList.asByteStringList()
Deprecated.UnknownFieldSet.Field.getLengthDelimitedList()
Get the list of length-delimited values for this field.static Comparator
<ByteString> ByteString.unsignedLexicographicalComparator()
Returns aComparator
which comparesByteString
-s lexicographically as sequences of unsigned bytes (i.e.Methods in com.google.protobuf with parameters of type ByteStringModifier and TypeMethodDescriptionprivate void
LazyStringArrayList.add
(int index, ByteString element) void
LazyStringArrayList.add
(ByteString element) void
LazyStringArrayList.ByteStringListView.add
(int index, ByteString s) void
LazyStringList.add
(ByteString element) Appends the specified element to the end of this list (optional operation).void
UnmodifiableLazyStringList.add
(ByteString element) Deprecated.private void
DescriptorProtos.FileDescriptorProto.addDependencyBytes
(ByteString value) Names of files imported by this file.DescriptorProtos.FileDescriptorProto.Builder.addDependencyBytes
(ByteString value) Names of files imported by this file.private void
DescriptorProtos.SourceCodeInfo.Location.addLeadingDetachedCommentsBytes
(ByteString value) repeated string leading_detached_comments = 6;
DescriptorProtos.SourceCodeInfo.Location.Builder.addLeadingDetachedCommentsBytes
(ByteString value) repeated string leading_detached_comments = 6;
(package private) abstract void
UnknownFieldSchema.addLengthDelimited
(B fields, int number, ByteString value) Adds a length delimited value to the unknown fields.UnknownFieldSet.Field.Builder.addLengthDelimited
(ByteString value) Add a length-delimited value.(package private) void
UnknownFieldSetLiteSchema.addLengthDelimited
(UnknownFieldSetLite fields, int number, ByteString value) (package private) void
UnknownFieldSetSchema.addLengthDelimited
(UnknownFieldSet.Builder fields, int number, ByteString value) private void
Type.addOneofsBytes
(ByteString value) The list of types appearing in `oneof` definitions in this type.Type.Builder.addOneofsBytes
(ByteString value) The list of types appearing in `oneof` definitions in this type.private void
FieldMask.addPathsBytes
(ByteString value) The set of field mask paths.FieldMask.Builder.addPathsBytes
(ByteString value) The set of field mask paths.private void
DescriptorProtos.DescriptorProto.addReservedNameBytes
(ByteString value) Reserved field names, which may not be used by fields in the same message.DescriptorProtos.DescriptorProto.Builder.addReservedNameBytes
(ByteString value) Reserved field names, which may not be used by fields in the same message.private void
DescriptorProtos.EnumDescriptorProto.addReservedNameBytes
(ByteString value) Reserved enum value names, which may not be reused.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 abytes
field, including tag.static int
CodedOutputStream.computeBytesSizeNoTag
(ByteString value) Compute the number of bytes that would be needed to encode abytes
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.final ByteString
ByteString.concat
(ByteString other) Concatenate the givenByteString
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) final 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) 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 anotherByteString
substring starting at offset.(package private) final 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 anotherLiteralByteString
substring starting at offset.(package private) boolean
ByteString.NioByteString.equalsRange
(ByteString other, int offset, int length) static 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.(package private) static String
TextFormatEscaper.escapeBytes
(ByteString input) Backslash escapes bytes in the format used in protocol buffer text format.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.AbstractMessage.Builder.mergeFrom
(ByteString data) AbstractMessage.Builder.mergeFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) AbstractMessageLite.Builder.mergeFrom
(ByteString data) AbstractMessageLite.Builder.mergeFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) Message.Builder.mergeFrom
(ByteString data) Message.Builder.mergeFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) MessageLite.Builder.mergeFrom
(ByteString data) Parsedata
as a message of this type and merge it with the message being built.MessageLite.Builder.mergeFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) Parsedata
as a message of this type and merge it with the message being built.UnknownFieldSet.Builder.mergeFrom
(ByteString data) Parsedata
as anUnknownFieldSet
and merge it with the set being built.UnknownFieldSet.Builder.mergeFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) protected void
GeneratedMessageLite.mergeLengthDelimitedField
(int fieldNumber, ByteString value) Called by subclasses to parse an unknown field.UnknownFieldSet.Builder.mergeLengthDelimitedField
(int number, ByteString value) Convenience method for merging a length-delimited field.(package private) UnknownFieldSetLite
UnknownFieldSetLite.mergeLengthDelimitedField
(int fieldNumber, ByteString value) Convenience method for merging a length-delimited field.private void
GeneratedMessageLite.ExtendableMessage.mergeMessageSetExtensionFromBytes
(ByteString rawBytes, ExtensionRegistryLite extensionRegistry, GeneratedMessageLite.GeneratedExtension<?, ?> extension) private static void
MessageReflection.mergeMessageSetExtensionFromBytes
(ByteString rawBytes, ExtensionRegistry.ExtensionInfo extension, ExtensionRegistryLite extensionRegistry, MessageReflection.MergeTarget target) protected final void
GeneratedMessage.Builder.mergeUnknownLengthDelimitedField
(int number, ByteString bytes) Called by generated subclasses to add to the unknown field set.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 ofRopeByteString.concatenate(ByteString, ByteString)
.static BytesValue
BytesValue.of
(ByteString value) MapEntryLite.parseEntry
(ByteString bytes, ExtensionRegistryLite extensionRegistry) Parses an entry off of the input as aMap.Entry
.AbstractParser.parseFrom
(ByteString data) AbstractParser.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Any
Any.parseFrom
(ByteString data) static Any
Any.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Api
Api.parseFrom
(ByteString data) static Api
Api.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static BoolValue
BoolValue.parseFrom
(ByteString data) static BoolValue
BoolValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static BytesValue
BytesValue.parseFrom
(ByteString data) static BytesValue
BytesValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.DescriptorProto.ExtensionRange.parseFrom
(ByteString data) DescriptorProtos.DescriptorProto.ExtensionRange.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.DescriptorProto.parseFrom
(ByteString data) DescriptorProtos.DescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.DescriptorProto.ReservedRange.parseFrom
(ByteString data) DescriptorProtos.DescriptorProto.ReservedRange.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.EnumDescriptorProto.EnumReservedRange.parseFrom
(ByteString data) DescriptorProtos.EnumDescriptorProto.EnumReservedRange.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.EnumDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.EnumDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static DescriptorProtos.EnumOptions
DescriptorProtos.EnumOptions.parseFrom
(ByteString data) static DescriptorProtos.EnumOptions
DescriptorProtos.EnumOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.EnumValueDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.EnumValueDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.EnumValueOptions.parseFrom
(ByteString data) DescriptorProtos.EnumValueOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.ExtensionRangeOptions.Declaration.parseFrom
(ByteString data) DescriptorProtos.ExtensionRangeOptions.Declaration.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.ExtensionRangeOptions.parseFrom
(ByteString data) DescriptorProtos.ExtensionRangeOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static DescriptorProtos.FeatureSet
DescriptorProtos.FeatureSet.parseFrom
(ByteString data) static DescriptorProtos.FeatureSet
DescriptorProtos.FeatureSet.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault.parseFrom
(ByteString data) DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FeatureSetDefaults.parseFrom
(ByteString data) DescriptorProtos.FeatureSetDefaults.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FieldDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.FieldDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FieldOptions.EditionDefault.parseFrom
(ByteString data) DescriptorProtos.FieldOptions.EditionDefault.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FieldOptions.FeatureSupport.parseFrom
(ByteString data) DescriptorProtos.FieldOptions.FeatureSupport.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FieldOptions.parseFrom
(ByteString data) DescriptorProtos.FieldOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FileDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.FileDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FileDescriptorSet.parseFrom
(ByteString data) DescriptorProtos.FileDescriptorSet.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static DescriptorProtos.FileOptions
DescriptorProtos.FileOptions.parseFrom
(ByteString data) static DescriptorProtos.FileOptions
DescriptorProtos.FileOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.GeneratedCodeInfo.Annotation.parseFrom
(ByteString data) DescriptorProtos.GeneratedCodeInfo.Annotation.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.GeneratedCodeInfo.parseFrom
(ByteString data) DescriptorProtos.GeneratedCodeInfo.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.MessageOptions.parseFrom
(ByteString data) DescriptorProtos.MessageOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.MethodDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.MethodDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.MethodOptions.parseFrom
(ByteString data) DescriptorProtos.MethodOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.OneofDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.OneofDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.OneofOptions.parseFrom
(ByteString data) DescriptorProtos.OneofOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.ServiceDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.ServiceDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.ServiceOptions.parseFrom
(ByteString data) DescriptorProtos.ServiceOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.SourceCodeInfo.Location.parseFrom
(ByteString data) DescriptorProtos.SourceCodeInfo.Location.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.SourceCodeInfo.parseFrom
(ByteString data) DescriptorProtos.SourceCodeInfo.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.UninterpretedOption.NamePart.parseFrom
(ByteString data) DescriptorProtos.UninterpretedOption.NamePart.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.UninterpretedOption.parseFrom
(ByteString data) DescriptorProtos.UninterpretedOption.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static DoubleValue
DoubleValue.parseFrom
(ByteString data) static DoubleValue
DoubleValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Duration
Duration.parseFrom
(ByteString data) static Duration
Duration.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static DynamicMessage
DynamicMessage.parseFrom
(Descriptors.Descriptor type, ByteString data) Parsedata
as a message of the given type and return it.static DynamicMessage
DynamicMessage.parseFrom
(Descriptors.Descriptor type, ByteString data, ExtensionRegistry extensionRegistry) Parsedata
as a message of the given type and return it.static Empty
Empty.parseFrom
(ByteString data) static Empty
Empty.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Enum
Enum.parseFrom
(ByteString data) static Enum
Enum.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static EnumValue
EnumValue.parseFrom
(ByteString data) static EnumValue
EnumValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Field
Field.parseFrom
(ByteString data) static Field
Field.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static FieldMask
FieldMask.parseFrom
(ByteString data) static FieldMask
FieldMask.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static FloatValue
FloatValue.parseFrom
(ByteString data) static FloatValue
FloatValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) protected static <T extends GeneratedMessageLite<T,
?>>
TGeneratedMessageLite.parseFrom
(T defaultInstance, ByteString data) protected static <T extends GeneratedMessageLite<T,
?>>
TGeneratedMessageLite.parseFrom
(T defaultInstance, ByteString data, ExtensionRegistryLite extensionRegistry) static Int32Value
Int32Value.parseFrom
(ByteString data) static Int32Value
Int32Value.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Int64Value
Int64Value.parseFrom
(ByteString data) static Int64Value
Int64Value.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) JavaFeaturesProto.JavaFeatures.parseFrom
(ByteString data) JavaFeaturesProto.JavaFeatures.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static ListValue
ListValue.parseFrom
(ByteString data) static ListValue
ListValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Method
Method.parseFrom
(ByteString data) static Method
Method.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Mixin
Mixin.parseFrom
(ByteString data) static Mixin
Mixin.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Option
Option.parseFrom
(ByteString data) static Option
Option.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) Parser.parseFrom
(ByteString data) Parsesdata
as a message ofMessageType
.Parser.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) Parsesdata
as a message ofMessageType
.static SourceContext
SourceContext.parseFrom
(ByteString data) static SourceContext
SourceContext.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static StringValue
StringValue.parseFrom
(ByteString data) static StringValue
StringValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Struct
Struct.parseFrom
(ByteString data) static Struct
Struct.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Timestamp
Timestamp.parseFrom
(ByteString data) static Timestamp
Timestamp.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Type
Type.parseFrom
(ByteString data) static Type
Type.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static UInt32Value
UInt32Value.parseFrom
(ByteString data) static UInt32Value
UInt32Value.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static UInt64Value
UInt64Value.parseFrom
(ByteString data) static UInt64Value
UInt64Value.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static UnknownFieldSet
UnknownFieldSet.parseFrom
(ByteString data) Parsedata
as anUnknownFieldSet
and return it.static Value
Value.parseFrom
(ByteString data) static Value
Value.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) MessageReflection.BuilderAdapter.parseMessageFromBytes
(ByteString bytes, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance) MessageReflection.ExtensionAdapter.parseMessageFromBytes
(ByteString bytes, ExtensionRegistryLite registry, Descriptors.FieldDescriptor field, Message defaultInstance) MessageReflection.ExtensionBuilderAdapter.parseMessageFromBytes
(ByteString bytes, ExtensionRegistryLite registry, Descriptors.FieldDescriptor field, Message defaultInstance) 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.(package private) abstract void
ExtensionSchema.parseMessageSetItem
(ByteString data, Object extension, ExtensionRegistryLite extensionRegistry, FieldSet<T> extensions) Parses the entire content of aByteString
as one MessageSet item.(package private) void
ExtensionSchemaFull.parseMessageSetItem
(ByteString data, Object extension, ExtensionRegistryLite extensionRegistry, FieldSet<Descriptors.FieldDescriptor> extensions) (package private) void
ExtensionSchemaLite.parseMessageSetItem
(ByteString data, Object extensionObject, ExtensionRegistryLite extensionRegistry, FieldSet<GeneratedMessageLite.ExtensionDescriptor> extensions) AbstractParser.parsePartialFrom
(ByteString data) AbstractParser.parsePartialFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) private static <T extends GeneratedMessageLite<T,
?>>
TGeneratedMessageLite.parsePartialFrom
(T defaultInstance, ByteString data, ExtensionRegistryLite extensionRegistry) Parser.parsePartialFrom
(ByteString data) LikeParser.parseFrom(ByteString)
, but does not throw an exception if the message is missing required fields.Parser.parsePartialFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) LikeParser.parseFrom(ByteString, ExtensionRegistryLite)
, but does not throw an exception if the message is missing required fields.LazyStringArrayList.ByteStringListView.set
(int index, ByteString s) void
LazyStringArrayList.set
(int index, ByteString s) void
LazyStringList.set
(int index, ByteString element) Replaces the element at the specified position in this list with the specified element (optional operation).void
UnmodifiableLazyStringList.set
(int index, ByteString element) Deprecated.DescriptorProtos.UninterpretedOption.Builder.setAggregateValueBytes
(ByteString value) optional string aggregate_value = 8;
private void
DescriptorProtos.UninterpretedOption.setAggregateValueBytes
(ByteString value) optional string aggregate_value = 8;
private 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.setCsharpNamespaceBytes
(ByteString value) Namespace for generated classes; defaults to the package.private void
DescriptorProtos.FileOptions.setCsharpNamespaceBytes
(ByteString value) Namespace for generated classes; defaults to the package.DescriptorProtos.FieldDescriptorProto.Builder.setDefaultValueBytes
(ByteString value) For numeric types, contains the original text representation of the value.private void
DescriptorProtos.FieldDescriptorProto.setDefaultValueBytes
(ByteString value) For numeric types, contains the original text representation of the value.Field.Builder.setDefaultValueBytes
(ByteString value) The string value of the default value of this field.private void
Field.setDefaultValueBytes
(ByteString value) The string value of the default value of this field.DescriptorProtos.FieldOptions.FeatureSupport.Builder.setDeprecationWarningBytes
(ByteString value) The deprecation warning text if this feature is used after the edition it was marked deprecated in.private void
DescriptorProtos.FieldOptions.FeatureSupport.setDeprecationWarningBytes
(ByteString value) The deprecation warning text if this feature is used after the edition it was marked deprecated in.Enum.Builder.setEditionBytes
(ByteString value) The source edition string, only valid when syntax is SYNTAX_EDITIONS.private void
Enum.setEditionBytes
(ByteString value) The source edition string, only valid when syntax is SYNTAX_EDITIONS.Type.Builder.setEditionBytes
(ByteString value) The source edition string, only valid when syntax is SYNTAX_EDITIONS.private void
Type.setEditionBytes
(ByteString value) The source edition string, only valid when syntax is SYNTAX_EDITIONS.DescriptorProtos.FieldDescriptorProto.Builder.setExtendeeBytes
(ByteString value) For extensions, this is the name of the type being extended.private void
DescriptorProtos.FieldDescriptorProto.setExtendeeBytes
(ByteString value) For extensions, this is the name of the type being extended.SourceContext.Builder.setFileNameBytes
(ByteString value) The path-qualified name of the .proto file that contained the associated protobuf element.private void
SourceContext.setFileNameBytes
(ByteString value) The path-qualified name of the .proto file that contained the associated protobuf element.DescriptorProtos.ExtensionRangeOptions.Declaration.Builder.setFullNameBytes
(ByteString value) The fully-qualified name of the extension field.private void
DescriptorProtos.ExtensionRangeOptions.Declaration.setFullNameBytes
(ByteString value) The fully-qualified name of the extension field.DescriptorProtos.FileOptions.Builder.setGoPackageBytes
(ByteString value) Sets the Go package where structs generated from this .proto will be placed.private void
DescriptorProtos.FileOptions.setGoPackageBytes
(ByteString value) Sets the Go package where structs generated from this .proto will be placed.DescriptorProtos.UninterpretedOption.Builder.setIdentifierValueBytes
(ByteString value) The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.private void
DescriptorProtos.UninterpretedOption.setIdentifierValueBytes
(ByteString value) The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.DescriptorProtos.MethodDescriptorProto.Builder.setInputTypeBytes
(ByteString value) Input and output type names.private void
DescriptorProtos.MethodDescriptorProto.setInputTypeBytes
(ByteString value) Input and output type names.DescriptorProtos.FileOptions.Builder.setJavaOuterClassnameBytes
(ByteString value) Controls the name of the wrapper Java class generated for the .proto file.private void
DescriptorProtos.FileOptions.setJavaOuterClassnameBytes
(ByteString value) Controls the name of the wrapper Java class generated for the .proto file.DescriptorProtos.FileOptions.Builder.setJavaPackageBytes
(ByteString value) Sets the Java package where classes generated from this .proto will be placed.private void
DescriptorProtos.FileOptions.setJavaPackageBytes
(ByteString value) Sets the Java package where classes generated from this .proto will be placed.DescriptorProtos.FieldDescriptorProto.Builder.setJsonNameBytes
(ByteString value) JSON name of this field.private void
DescriptorProtos.FieldDescriptorProto.setJsonNameBytes
(ByteString value) JSON name of this field.Field.Builder.setJsonNameBytes
(ByteString value) The field JSON name.private void
Field.setJsonNameBytes
(ByteString value) The field JSON name.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.private void
DescriptorProtos.SourceCodeInfo.Location.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.Api.Builder.setNameBytes
(ByteString value) The fully qualified name of this interface, including package name followed by the interface's simple name.private void
Api.setNameBytes
(ByteString value) The fully qualified name of this interface, including package name followed by the interface's simple name.DescriptorProtos.DescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1;
private void
DescriptorProtos.DescriptorProto.setNameBytes
(ByteString value) optional string name = 1;
DescriptorProtos.EnumDescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1;
private void
DescriptorProtos.EnumDescriptorProto.setNameBytes
(ByteString value) optional string name = 1;
DescriptorProtos.EnumValueDescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1;
private void
DescriptorProtos.EnumValueDescriptorProto.setNameBytes
(ByteString value) optional string name = 1;
DescriptorProtos.FieldDescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1;
private void
DescriptorProtos.FieldDescriptorProto.setNameBytes
(ByteString value) optional string name = 1;
DescriptorProtos.FileDescriptorProto.Builder.setNameBytes
(ByteString value) file name, relative to root of source treeprivate void
DescriptorProtos.FileDescriptorProto.setNameBytes
(ByteString value) file name, relative to root of source treeDescriptorProtos.MethodDescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1;
private void
DescriptorProtos.MethodDescriptorProto.setNameBytes
(ByteString value) optional string name = 1;
DescriptorProtos.OneofDescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1;
private void
DescriptorProtos.OneofDescriptorProto.setNameBytes
(ByteString value) optional string name = 1;
DescriptorProtos.ServiceDescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1;
private void
DescriptorProtos.ServiceDescriptorProto.setNameBytes
(ByteString value) optional string name = 1;
Enum.Builder.setNameBytes
(ByteString value) Enum type name.private void
Enum.setNameBytes
(ByteString value) Enum type name.EnumValue.Builder.setNameBytes
(ByteString value) Enum value name.private void
EnumValue.setNameBytes
(ByteString value) Enum value name.Field.Builder.setNameBytes
(ByteString value) The field name.private void
Field.setNameBytes
(ByteString value) The field name.Method.Builder.setNameBytes
(ByteString value) The simple name of this method.private void
Method.setNameBytes
(ByteString value) The simple name of this method.Mixin.Builder.setNameBytes
(ByteString value) The fully qualified name of the interface which is included.private void
Mixin.setNameBytes
(ByteString value) The fully qualified name of the interface which is included.Option.Builder.setNameBytes
(ByteString value) The option's name.private void
Option.setNameBytes
(ByteString value) The option's name.Type.Builder.setNameBytes
(ByteString value) The fully qualified message name.private void
Type.setNameBytes
(ByteString value) The fully qualified message name.DescriptorProtos.UninterpretedOption.NamePart.Builder.setNamePartBytes
(ByteString value) required string name_part = 1;
private void
DescriptorProtos.UninterpretedOption.NamePart.setNamePartBytes
(ByteString value) required string name_part = 1;
DescriptorProtos.FileOptions.Builder.setObjcClassPrefixBytes
(ByteString value) Sets the objective c class prefix which is prepended to all objective c generated classes from this .proto.private void
DescriptorProtos.FileOptions.setObjcClassPrefixBytes
(ByteString value) Sets the objective c class prefix which is prepended to all objective c generated classes from this .proto.DescriptorProtos.MethodDescriptorProto.Builder.setOutputTypeBytes
(ByteString value) optional string output_type = 3;
private void
DescriptorProtos.MethodDescriptorProto.setOutputTypeBytes
(ByteString value) optional string output_type = 3;
DescriptorProtos.FileDescriptorProto.Builder.setPackageBytes
(ByteString value) e.g.private void
DescriptorProtos.FileDescriptorProto.setPackageBytes
(ByteString value) e.g.DescriptorProtos.FileOptions.Builder.setPhpClassPrefixBytes
(ByteString value) Sets the php class prefix which is prepended to all php generated classes from this .proto.private void
DescriptorProtos.FileOptions.setPhpClassPrefixBytes
(ByteString value) Sets the php class prefix which is prepended to all php generated classes from this .proto.DescriptorProtos.FileOptions.Builder.setPhpMetadataNamespaceBytes
(ByteString value) Use this option to change the namespace of php generated metadata classes.private void
DescriptorProtos.FileOptions.setPhpMetadataNamespaceBytes
(ByteString value) Use this option to change the namespace of php generated metadata classes.DescriptorProtos.FileOptions.Builder.setPhpNamespaceBytes
(ByteString value) Use this option to change the namespace of php generated classes.private void
DescriptorProtos.FileOptions.setPhpNamespaceBytes
(ByteString value) Use this option to change the namespace of php generated classes.Method.Builder.setRequestTypeUrlBytes
(ByteString value) A URL of the input message type.private void
Method.setRequestTypeUrlBytes
(ByteString value) A URL of the input message type.Method.Builder.setResponseTypeUrlBytes
(ByteString value) The URL of the output message type.private void
Method.setResponseTypeUrlBytes
(ByteString value) The URL of the output message type.Mixin.Builder.setRootBytes
(ByteString value) If non-empty specifies a path under which inherited HTTP paths are rooted.private void
Mixin.setRootBytes
(ByteString value) If non-empty specifies a path under which inherited HTTP paths are rooted.DescriptorProtos.FileOptions.Builder.setRubyPackageBytes
(ByteString value) Use this option to change the package of ruby generated classes.private void
DescriptorProtos.FileOptions.setRubyPackageBytes
(ByteString value) Use this option to change the package of ruby generated classes.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder.setSourceFileBytes
(ByteString value) Identifies the filesystem path to the original source .proto.private void
DescriptorProtos.GeneratedCodeInfo.Annotation.setSourceFileBytes
(ByteString value) Identifies the filesystem path to the original source .proto.DescriptorProtos.UninterpretedOption.Builder.setStringValue
(ByteString value) optional bytes string_value = 7;
private void
DescriptorProtos.UninterpretedOption.setStringValue
(ByteString value) optional bytes string_value = 7;
Value.Builder.setStringValueBytes
(ByteString value) Represents a string value.private void
Value.setStringValueBytes
(ByteString value) Represents a string value.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.private void
DescriptorProtos.FileOptions.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.setSyntaxBytes
(ByteString value) The syntax of the proto file.private void
DescriptorProtos.FileDescriptorProto.setSyntaxBytes
(ByteString value) The syntax of the proto file.DescriptorProtos.SourceCodeInfo.Location.Builder.setTrailingCommentsBytes
(ByteString value) optional string trailing_comments = 4;
private void
DescriptorProtos.SourceCodeInfo.Location.setTrailingCommentsBytes
(ByteString value) optional string trailing_comments = 4;
DescriptorProtos.ExtensionRangeOptions.Declaration.Builder.setTypeBytes
(ByteString value) The fully-qualified type name of the extension field.private void
DescriptorProtos.ExtensionRangeOptions.Declaration.setTypeBytes
(ByteString value) The fully-qualified type name of the extension field.DescriptorProtos.FieldDescriptorProto.Builder.setTypeNameBytes
(ByteString value) For message and enum types, this is the name of the type.private void
DescriptorProtos.FieldDescriptorProto.setTypeNameBytes
(ByteString value) For message and enum types, this is the name of the type.Any.Builder.setTypeUrlBytes
(ByteString value) A URL/resource name that uniquely identifies the type of the serialized protocol buffer message.private void
Any.setTypeUrlBytes
(ByteString value) A URL/resource name that uniquely identifies the type of the serialized protocol buffer message.Field.Builder.setTypeUrlBytes
(ByteString value) The field type URL, without the scheme, for message or enumeration types.private void
Field.setTypeUrlBytes
(ByteString value) The field type URL, without the scheme, for message or enumeration types.Any.Builder.setValue
(ByteString value) Must be a valid serialized protocol buffer of the above specified type.private void
Any.setValue
(ByteString value) Must be a valid serialized protocol buffer of the above specified type.BytesValue.Builder.setValue
(ByteString value) The bytes value.private void
BytesValue.setValue
(ByteString value) The bytes value.DescriptorProtos.FieldOptions.EditionDefault.Builder.setValueBytes
(ByteString value) Textproto value.private void
DescriptorProtos.FieldOptions.EditionDefault.setValueBytes
(ByteString value) Textproto value.StringValue.Builder.setValueBytes
(ByteString value) The string value.private void
StringValue.setValueBytes
(ByteString value) The string value.Api.Builder.setVersionBytes
(ByteString value) A version string for this interface.private void
Api.setVersionBytes
(ByteString value) A version string for this interface.final boolean
ByteString.startsWith
(ByteString prefix) Tests if this bytestring starts with the specified prefix.static void
UnsafeByteOperations.unsafeWriteTo
(ByteString bytes, ByteOutput output) Writes the givenByteString
to the providedByteOutput
.void
BinaryWriter.SafeDirectWriter.writeBytes
(int fieldNumber, ByteString value) void
BinaryWriter.SafeHeapWriter.writeBytes
(int fieldNumber, ByteString value) void
BinaryWriter.UnsafeDirectWriter.writeBytes
(int fieldNumber, ByteString value) void
BinaryWriter.UnsafeHeapWriter.writeBytes
(int fieldNumber, ByteString value) final void
CodedOutputStream.ArrayEncoder.writeBytes
(int fieldNumber, ByteString value) void
CodedOutputStream.ByteOutputEncoder.writeBytes
(int fieldNumber, ByteString value) void
CodedOutputStream.OutputStreamEncoder.writeBytes
(int fieldNumber, ByteString value) void
CodedOutputStream.SafeDirectNioEncoder.writeBytes
(int fieldNumber, ByteString value) void
CodedOutputStream.UnsafeDirectNioEncoder.writeBytes
(int fieldNumber, ByteString value) abstract void
CodedOutputStream.writeBytes
(int fieldNumber, ByteString value) Write abytes
field, including tag, to the stream.void
CodedOutputStreamWriter.writeBytes
(int fieldNumber, ByteString value) static void
SchemaUtil.writeBytes
(int fieldNumber, ByteString value, Writer writer) void
Writer.writeBytes
(int fieldNumber, ByteString value) Writes a field of typeFieldType.BYTES
.final void
CodedOutputStream.ArrayEncoder.writeBytesNoTag
(ByteString value) void
CodedOutputStream.ByteOutputEncoder.writeBytesNoTag
(ByteString value) void
CodedOutputStream.OutputStreamEncoder.writeBytesNoTag
(ByteString value) void
CodedOutputStream.SafeDirectNioEncoder.writeBytesNoTag
(ByteString value) void
CodedOutputStream.UnsafeDirectNioEncoder.writeBytesNoTag
(ByteString value) abstract void
CodedOutputStream.writeBytesNoTag
(ByteString value) Write abytes
field to the stream.final void
CodedOutputStream.writeRawBytes
(ByteString value) Write a byte string.final void
CodedOutputStream.ArrayEncoder.writeRawMessageSetExtension
(int fieldNumber, ByteString value) void
CodedOutputStream.ByteOutputEncoder.writeRawMessageSetExtension
(int fieldNumber, ByteString value) void
CodedOutputStream.OutputStreamEncoder.writeRawMessageSetExtension
(int fieldNumber, ByteString value) void
CodedOutputStream.SafeDirectNioEncoder.writeRawMessageSetExtension
(int fieldNumber, ByteString value) void
CodedOutputStream.UnsafeDirectNioEncoder.writeRawMessageSetExtension
(int fieldNumber, ByteString value) abstract 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 ByteStringModifier and TypeMethodDescriptionboolean
LazyStringArrayList.addAllByteString
(Collection<? extends ByteString> values) boolean
LazyStringList.addAllByteString
(Collection<? extends ByteString> c) Appends all elements in the specified ByteString collection to the end of this list.boolean
UnmodifiableLazyStringList.addAllByteString
(Collection<? extends ByteString> element) Deprecated.private static ByteString
ByteString.balancedConcat
(Iterator<ByteString> iterator, int length) (package private) static int
SchemaUtil.computeSizeByteStringList
(int fieldNumber, List<ByteString> list) private void
TextFormat.Tokenizer.consumeByteString
(List<ByteString> list) LikeTextFormat.Tokenizer.consumeByteString()
but adds each token of the string to the given list.static ByteString
ByteString.copyFrom
(Iterable<ByteString> byteStrings) Concatenates all byte strings in the iterable and returns the result.void
BinaryReader.SafeHeapReader.readBytesList
(List<ByteString> target) void
CodedInputStreamReader.readBytesList
(List<ByteString> target) void
Reader.readBytesList
(List<ByteString> target) Reads the next field of typeBYTES_LIST
and advances the reader to the next field.final void
BinaryWriter.writeBytesList
(int fieldNumber, List<ByteString> list) void
CodedOutputStreamWriter.writeBytesList
(int fieldNumber, List<ByteString> value) static void
SchemaUtil.writeBytesList
(int fieldNumber, List<ByteString> value, Writer writer) void
Writer.writeBytesList
(int fieldNumber, List<ByteString> value) Writes a list field of typeFieldType.BYTES
.Constructors in com.google.protobuf with parameters of type ByteStringModifierConstructorDescriptionLazyField
(MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes) LazyFieldLite
(ExtensionRegistryLite extensionRegistry, ByteString bytes) Constructs a LazyFieldLite with bytes that will be parsed lazily.private
PieceIterator
(ByteString root) private
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. -
Uses of ByteString in com.google.protobuf.compiler
Methods in com.google.protobuf.compiler that return ByteStringModifier and TypeMethodDescriptionPluginProtos.CodeGeneratorResponse.File.Builder.getContentBytes()
The file contents.PluginProtos.CodeGeneratorResponse.File.getContentBytes()
The file contents.PluginProtos.CodeGeneratorResponse.FileOrBuilder.getContentBytes()
The file contents.PluginProtos.CodeGeneratorResponse.Builder.getErrorBytes()
Error message.PluginProtos.CodeGeneratorResponse.getErrorBytes()
Error message.PluginProtos.CodeGeneratorResponseOrBuilder.getErrorBytes()
Error message.PluginProtos.CodeGeneratorRequest.Builder.getFileToGenerateBytes
(int index) The .proto files that were explicitly listed on the command-line.PluginProtos.CodeGeneratorRequest.getFileToGenerateBytes
(int index) The .proto files that were explicitly listed on the command-line.PluginProtos.CodeGeneratorRequestOrBuilder.getFileToGenerateBytes
(int index) The .proto files that were explicitly listed on the command-line.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.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.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.PluginProtos.CodeGeneratorResponse.File.Builder.getNameBytes()
The file name, relative to the output directory.PluginProtos.CodeGeneratorResponse.File.getNameBytes()
The file name, relative to the output directory.PluginProtos.CodeGeneratorResponse.FileOrBuilder.getNameBytes()
The file name, relative to the output directory.PluginProtos.CodeGeneratorRequest.Builder.getParameterBytes()
The generator parameter passed on the command-line.PluginProtos.CodeGeneratorRequest.getParameterBytes()
The generator parameter passed on the command-line.PluginProtos.CodeGeneratorRequestOrBuilder.getParameterBytes()
The generator parameter passed on the command-line.PluginProtos.Version.Builder.getSuffixBytes()
A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".PluginProtos.Version.getSuffixBytes()
A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".PluginProtos.VersionOrBuilder.getSuffixBytes()
A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".Methods in com.google.protobuf.compiler with parameters of type ByteStringModifier and TypeMethodDescriptionPluginProtos.CodeGeneratorRequest.Builder.addFileToGenerateBytes
(ByteString value) The .proto files that were explicitly listed on the command-line.PluginProtos.CodeGeneratorRequest.parseFrom
(ByteString data) PluginProtos.CodeGeneratorRequest.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) PluginProtos.CodeGeneratorResponse.File.parseFrom
(ByteString data) PluginProtos.CodeGeneratorResponse.File.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) PluginProtos.CodeGeneratorResponse.parseFrom
(ByteString data) PluginProtos.CodeGeneratorResponse.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static PluginProtos.Version
PluginProtos.Version.parseFrom
(ByteString data) static PluginProtos.Version
PluginProtos.Version.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) PluginProtos.CodeGeneratorResponse.File.Builder.setContentBytes
(ByteString value) The file contents.PluginProtos.CodeGeneratorResponse.Builder.setErrorBytes
(ByteString value) Error message.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.setNameBytes
(ByteString value) The file name, relative to the output directory.PluginProtos.CodeGeneratorRequest.Builder.setParameterBytes
(ByteString value) The generator parameter passed on the command-line.PluginProtos.Version.Builder.setSuffixBytes
(ByteString value) A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". -
Uses of ByteString in com.google.protobuf.util
Methods in com.google.protobuf.util that return ByteStringModifier and TypeMethodDescriptionprivate ByteString
JsonFormat.ParserImpl.parseBytes
(com.google.gson.JsonElement json) private ByteString
JsonFormat.PrinterImpl.toByteString
(MessageOrBuilder message)