Package | Description |
---|---|
com.google.protobuf | |
com.google.protobuf.compiler |
Modifier and Type | Field and Description |
---|---|
static ByteString |
ByteString.EMPTY
Empty
ByteString . |
Modifier and Type | Method and Description |
---|---|
static ByteString |
Internal.bytesDefaultValue(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. |
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(ByteBuffer bytes)
Copies the remaining bytes from a
java.nio.ByteBuffer into
a ByteString . |
static ByteString |
ByteString.copyFrom(ByteBuffer bytes,
int size)
Copies the next
size bytes from a java.nio.ByteBuffer into
a ByteString . |
static ByteString |
ByteString.copyFrom(Iterable<ByteString> byteStrings)
Concatenates all byte strings in the iterable and returns the result.
|
static ByteString |
ByteString.copyFrom(String text,
Charset charset)
Encodes
text into a sequence of bytes using the named charset
and returns the result as a ByteString . |
static ByteString |
ByteString.copyFrom(String text,
String charsetName)
Encodes
text into a sequence of bytes using the named charset
and returns the result as a ByteString . |
static ByteString |
ByteString.copyFromUtf8(String text)
Encodes
text into a sequence of UTF-8 bytes and returns the
result as a ByteString . |
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 |
LazyStringArrayList.getByteString(int index) |
ByteString |
UnmodifiableLazyStringList.getByteString(int index) |
ByteString |
LazyStringList.getByteString(int index)
Returns the element at the specified position in this list as a ByteString.
|
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 |
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 |
FieldOrBuilder.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 |
Field.getJsonNameBytes()
The field JSON name.
|
ByteString |
Field.Builder.getJsonNameBytes()
The field JSON name.
|
ByteString |
FieldOrBuilder.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 |
Method.getNameBytes()
The simple name of this method.
|
ByteString |
Method.Builder.getNameBytes()
The simple name of this method.
|
ByteString |
ApiOrBuilder.getNameBytes()
The fully qualified name of this interface, including package name
followed by the interface's simple name.
|
ByteString |
Field.getNameBytes()
The field name.
|
ByteString |
Field.Builder.getNameBytes()
The field name.
|
ByteString |
EnumOrBuilder.getNameBytes()
Enum type name.
|
ByteString |
Type.getNameBytes()
The fully qualified message name.
|
ByteString |
Type.Builder.getNameBytes()
The fully qualified message name.
|
ByteString |
MixinOrBuilder.getNameBytes()
The fully qualified name of the interface which is included.
|
ByteString |
Option.getNameBytes()
The option's name.
|
ByteString |
Option.Builder.getNameBytes()
The option's name.
|
ByteString |
OptionOrBuilder.getNameBytes()
The option's name.
|
ByteString |
EnumValue.getNameBytes()
Enum value name.
|
ByteString |
EnumValue.Builder.getNameBytes()
Enum value name.
|
ByteString |
TypeOrBuilder.getNameBytes()
The fully qualified message name.
|
ByteString |
FieldOrBuilder.getNameBytes()
The field 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 |
EnumValueOrBuilder.getNameBytes()
Enum value name.
|
ByteString |
Enum.getNameBytes()
Enum type name.
|
ByteString |
Enum.Builder.getNameBytes()
Enum type name.
|
ByteString |
MethodOrBuilder.getNameBytes()
The simple name of this method.
|
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 |
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 |
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 |
TypeOrBuilder.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 |
FieldMask.getPathsBytes(int index)
The set of field mask paths.
|
ByteString |
FieldMask.Builder.getPathsBytes(int index)
The set of field mask paths.
|
ByteString |
FieldMaskOrBuilder.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 |
Method.getRequestTypeUrlBytes()
A URL of the input message type.
|
ByteString |
Method.Builder.getRequestTypeUrlBytes()
A URL of the input message type.
|
ByteString |
MethodOrBuilder.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 |
Method.getResponseTypeUrlBytes()
The URL of the output message type.
|
ByteString |
Method.Builder.getResponseTypeUrlBytes()
The URL of the output message type.
|
ByteString |
MethodOrBuilder.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 |
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 |
FieldOrBuilder.getTypeUrlBytes()
The field type URL, without the scheme, for message or enumeration
types.
|
ByteString |
AnyOrBuilder.getValue()
Must be a valid serialized protocol buffer of the above specified type.
|
ByteString |
BytesValue.getValue()
The bytes value.
|
ByteString |
BytesValue.Builder.getValue()
The bytes value.
|
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 |
BytesValueOrBuilder.getValue()
The bytes value.
|
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. |
static ByteString |
ByteString.readFrom(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(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(InputStream streamToDrain,
int minChunkSize,
int maxChunkSize) |
ByteString |
ByteString.substring(int beginIndex)
Return the substring from
beginIndex , inclusive, to the end of the
string. |
abstract ByteString |
ByteString.substring(int beginIndex,
int endIndex)
Return the substring from
beginIndex , inclusive, to endIndex , exclusive. |
ByteString |
ByteString.Output.toByteString()
Creates a byte string.
|
ByteString |
MessageLite.toByteString()
Serializes the message to a
ByteString and returns it. |
ByteString |
AbstractMessageLite.toByteString() |
ByteString |
LazyFieldLite.toByteString()
Returns a BytesString for this field in a thread-safe way.
|
ByteString |
UnknownFieldSet.toByteString()
Serializes the message to a
ByteString and returns it. |
static ByteString |
TextFormat.unescapeBytes(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(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.MergeFromVisitor.visitByteString(boolean minePresent,
ByteString mine,
boolean otherPresent,
ByteString other) |
Modifier and Type | Method and Description |
---|---|
List<ByteString> |
LazyStringArrayList.asByteStringList() |
List<ByteString> |
UnmodifiableLazyStringList.asByteStringList() |
List<ByteString> |
ProtocolStringList.asByteStringList()
Returns a view of the data as a list of ByteStrings.
|
List<ByteString> |
UnknownFieldSet.Field.getLengthDelimitedList()
Get the list of length-delimited values for this field.
|
Modifier and Type | Method and Description |
---|---|
void |
LazyStringArrayList.add(ByteString element) |
void |
UnmodifiableLazyStringList.add(ByteString element) |
void |
LazyStringList.add(ByteString element)
Appends the specified element to the end of this list (optional
operation).
|
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.
|
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. |
boolean |
ByteString.endsWith(ByteString suffix)
Tests if this bytestring ends with the specified suffix.
|
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.
|
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.
|
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) |
UnknownFieldSet.Builder |
UnknownFieldSet.Builder.mergeFrom(ByteString data)
Parse
data as an UnknownFieldSet and merge it with the
set being built. |
BuilderType |
AbstractMessage.Builder.mergeFrom(ByteString data) |
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) |
UnknownFieldSet.Builder |
UnknownFieldSet.Builder.mergeFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
BuilderType |
AbstractMessage.Builder.mergeFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
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.
|
static BytesValue |
BytesValue.of(ByteString value) |
Map.Entry<K,V> |
MapEntryLite.parseEntry(ByteString bytes,
ExtensionRegistryLite extensionRegistry)
Parses an entry off of the input as a
Map.Entry . |
static FieldMask |
FieldMask.parseFrom(ByteString data) |
static Method |
Method.parseFrom(ByteString data) |
static Int32Value |
Int32Value.parseFrom(ByteString data) |
static DoubleValue |
DoubleValue.parseFrom(ByteString data) |
static Int64Value |
Int64Value.parseFrom(ByteString data) |
static Field |
Field.parseFrom(ByteString data) |
static UnknownFieldSet |
UnknownFieldSet.parseFrom(ByteString data)
Parse
data as an UnknownFieldSet and return it. |
static BytesValue |
BytesValue.parseFrom(ByteString data) |
static Any |
Any.parseFrom(ByteString data) |
static BoolValue |
BoolValue.parseFrom(ByteString data) |
static Empty |
Empty.parseFrom(ByteString data) |
static Type |
Type.parseFrom(ByteString data) |
static FloatValue |
FloatValue.parseFrom(ByteString data) |
static Timestamp |
Timestamp.parseFrom(ByteString data) |
MessageType |
Parser.parseFrom(ByteString data)
Parses
data as a message of MessageType . |
static UInt64Value |
UInt64Value.parseFrom(ByteString data) |
static Duration |
Duration.parseFrom(ByteString data) |
static SourceContext |
SourceContext.parseFrom(ByteString data) |
static Option |
Option.parseFrom(ByteString data) |
static UInt32Value |
UInt32Value.parseFrom(ByteString data) |
static Value |
Value.parseFrom(ByteString data) |
static ListValue |
ListValue.parseFrom(ByteString data) |
static EnumValue |
EnumValue.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 Struct |
Struct.parseFrom(ByteString data) |
static Enum |
Enum.parseFrom(ByteString data) |
static StringValue |
StringValue.parseFrom(ByteString data) |
MessageType |
AbstractParser.parseFrom(ByteString data) |
static Mixin |
Mixin.parseFrom(ByteString data) |
static Api |
Api.parseFrom(ByteString data) |
static FieldMask |
FieldMask.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Method |
Method.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Int32Value |
Int32Value.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DoubleValue |
DoubleValue.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Int64Value |
Int64Value.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Field |
Field.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static BytesValue |
BytesValue.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Any |
Any.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static BoolValue |
BoolValue.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Empty |
Empty.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Type |
Type.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static FloatValue |
FloatValue.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Timestamp |
Timestamp.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
MessageType |
Parser.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
Parses
data as a message of MessageType . |
static UInt64Value |
UInt64Value.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Duration |
Duration.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static SourceContext |
SourceContext.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Option |
Option.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static UInt32Value |
UInt32Value.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Value |
Value.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static ListValue |
ListValue.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static EnumValue |
EnumValue.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 Struct |
Struct.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Enum |
Enum.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static StringValue |
StringValue.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
MessageType |
AbstractParser.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Mixin |
Mixin.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Api |
Api.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) |
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) |
void |
LazyStringArrayList.set(int index,
ByteString s) |
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).
|
DescriptorProtos.UninterpretedOption.Builder |
DescriptorProtos.UninterpretedOption.Builder.setAggregateValueBytes(ByteString value)
optional string aggregate_value = 8; |
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.
|
Method.Builder |
Method.Builder.setNameBytes(ByteString value)
The simple name of this method.
|
Field.Builder |
Field.Builder.setNameBytes(ByteString value)
The field name.
|
Type.Builder |
Type.Builder.setNameBytes(ByteString value)
The fully qualified message name.
|
Option.Builder |
Option.Builder.setNameBytes(ByteString value)
The option's name.
|
EnumValue.Builder |
EnumValue.Builder.setNameBytes(ByteString value)
Enum value 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; |
Enum.Builder |
Enum.Builder.setNameBytes(ByteString value)
Enum type name.
|
Mixin.Builder |
Mixin.Builder.setNameBytes(ByteString value)
The fully qualified name of the interface which is included.
|
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.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. |
abstract void |
CodedOutputStream.writeBytesNoTag(ByteString value)
Write a
bytes field to the stream. |
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LazyStringArrayList.addAllByteString(Collection<? extends ByteString> values) |
boolean |
UnmodifiableLazyStringList.addAllByteString(Collection<? extends ByteString> element) |
boolean |
LazyStringList.addAllByteString(Collection<? extends ByteString> c)
Appends all elements in the specified ByteString collection to the end of
this list.
|
static ByteString |
ByteString.copyFrom(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.
|
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".
|
Copyright © 2008–2017 Google. All rights reserved.