Uses of Class
com.google.protobuf.ByteString
-
Packages that use ByteString Package Description com.google.protobuf com.google.protobuf.compiler -
-
Uses of ByteString in com.google.protobuf
Fields in com.google.protobuf declared as ByteString Modifier and Type Field Description static ByteString
ByteString. EMPTY
EmptyByteString
.Methods in com.google.protobuf that return ByteString Modifier and Type Method Description static ByteString
Internal. bytesDefaultValue(java.lang.String bytes)
Helper called by generated code to construct default values for bytes fields.ByteString
ByteString. concat(ByteString other)
Concatenate the givenByteString
to this one.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(java.lang.Iterable<ByteString> byteStrings)
Concatenates all byte strings in the iterable and returns the result.static ByteString
ByteString. copyFrom(java.lang.String text, java.lang.String charsetName)
Encodestext
into a sequence of bytes using the named charset and returns the result as aByteString
.static ByteString
ByteString. copyFrom(java.lang.String text, java.nio.charset.Charset charset)
Encodestext
into a sequence of bytes using the named charset and returns the result as aByteString
.static ByteString
ByteString. copyFrom(java.nio.ByteBuffer bytes)
Copies the remaining bytes from ajava.nio.ByteBuffer
into aByteString
.static ByteString
ByteString. copyFrom(java.nio.ByteBuffer bytes, int size)
Copies the nextsize
bytes from ajava.nio.ByteBuffer
into aByteString
.static ByteString
ByteString. copyFromUtf8(java.lang.String text)
Encodestext
into a sequence of UTF-8 bytes and returns the result as aByteString
.static ByteString
ByteString. empty()
Returns an emptyByteString
of size0
.static ByteString
ByteString. fromHex(java.lang.String hexString)
Returns aByteString
from a hexadecimal String.ByteString
DescriptorProtos.UninterpretedOption.Builder. getAggregateValueBytes()
optional string aggregate_value = 8 [json_name = "aggregateValue"];
ByteString
DescriptorProtos.UninterpretedOption. getAggregateValueBytes()
optional string aggregate_value = 8 [json_name = "aggregateValue"];
ByteString
DescriptorProtos.UninterpretedOptionOrBuilder. getAggregateValueBytes()
optional string aggregate_value = 8 [json_name = "aggregateValue"];
ByteString
LazyStringArrayList. getByteString(int index)
ByteString
LazyStringList. getByteString(int index)
Returns the element at the specified position in this list as a ByteString.ByteString
UnmodifiableLazyStringList. getByteString(int index)
Deprecated.ByteString
DescriptorProtos.FileOptions.Builder. getCsharpNamespaceBytes()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
ByteString
DescriptorProtos.FileOptions. getCsharpNamespaceBytes()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
ByteString
DescriptorProtos.FileOptionsOrBuilder. getCsharpNamespaceBytes()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
ByteString
DescriptorProtos.FieldDescriptorProto.Builder. getDefaultValueBytes()
optional string default_value = 7 [json_name = "defaultValue"];
ByteString
DescriptorProtos.FieldDescriptorProto. getDefaultValueBytes()
optional string default_value = 7 [json_name = "defaultValue"];
ByteString
DescriptorProtos.FieldDescriptorProtoOrBuilder. getDefaultValueBytes()
optional string default_value = 7 [json_name = "defaultValue"];
ByteString
Field.Builder. getDefaultValueBytes()
string default_value = 11 [json_name = "defaultValue"];
ByteString
Field. getDefaultValueBytes()
string default_value = 11 [json_name = "defaultValue"];
ByteString
FieldOrBuilder. getDefaultValueBytes()
string default_value = 11 [json_name = "defaultValue"];
ByteString
DescriptorProtos.FileDescriptorProto.Builder. getDependencyBytes(int index)
repeated string dependency = 3 [json_name = "dependency"];
ByteString
DescriptorProtos.FileDescriptorProto. getDependencyBytes(int index)
repeated string dependency = 3 [json_name = "dependency"];
ByteString
DescriptorProtos.FileDescriptorProtoOrBuilder. getDependencyBytes(int index)
repeated string dependency = 3 [json_name = "dependency"];
ByteString
Enum.Builder. getEditionBytes()
string edition = 6 [json_name = "edition"];
ByteString
Enum. getEditionBytes()
string edition = 6 [json_name = "edition"];
ByteString
EnumOrBuilder. getEditionBytes()
string edition = 6 [json_name = "edition"];
ByteString
Type.Builder. getEditionBytes()
string edition = 7 [json_name = "edition"];
ByteString
Type. getEditionBytes()
string edition = 7 [json_name = "edition"];
ByteString
TypeOrBuilder. getEditionBytes()
string edition = 7 [json_name = "edition"];
ByteString
DescriptorProtos.FieldDescriptorProto.Builder. getExtendeeBytes()
optional string extendee = 2 [json_name = "extendee"];
ByteString
DescriptorProtos.FieldDescriptorProto. getExtendeeBytes()
optional string extendee = 2 [json_name = "extendee"];
ByteString
DescriptorProtos.FieldDescriptorProtoOrBuilder. getExtendeeBytes()
optional string extendee = 2 [json_name = "extendee"];
ByteString
SourceContext.Builder. getFileNameBytes()
string file_name = 1 [json_name = "fileName"];
ByteString
SourceContext. getFileNameBytes()
string file_name = 1 [json_name = "fileName"];
ByteString
SourceContextOrBuilder. getFileNameBytes()
string file_name = 1 [json_name = "fileName"];
ByteString
DescriptorProtos.ExtensionRangeOptions.Declaration.Builder. getFullNameBytes()
optional string full_name = 2 [json_name = "fullName"];
ByteString
DescriptorProtos.ExtensionRangeOptions.Declaration. getFullNameBytes()
optional string full_name = 2 [json_name = "fullName"];
ByteString
DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder. getFullNameBytes()
optional string full_name = 2 [json_name = "fullName"];
ByteString
DescriptorProtos.FileOptions.Builder. getGoPackageBytes()
optional string go_package = 11 [json_name = "goPackage"];
ByteString
DescriptorProtos.FileOptions. getGoPackageBytes()
optional string go_package = 11 [json_name = "goPackage"];
ByteString
DescriptorProtos.FileOptionsOrBuilder. getGoPackageBytes()
optional string go_package = 11 [json_name = "goPackage"];
ByteString
DescriptorProtos.UninterpretedOption.Builder. getIdentifierValueBytes()
optional string identifier_value = 3 [json_name = "identifierValue"];
ByteString
DescriptorProtos.UninterpretedOption. getIdentifierValueBytes()
optional string identifier_value = 3 [json_name = "identifierValue"];
ByteString
DescriptorProtos.UninterpretedOptionOrBuilder. getIdentifierValueBytes()
optional string identifier_value = 3 [json_name = "identifierValue"];
ByteString
DescriptorProtos.MethodDescriptorProto.Builder. getInputTypeBytes()
optional string input_type = 2 [json_name = "inputType"];
ByteString
DescriptorProtos.MethodDescriptorProto. getInputTypeBytes()
optional string input_type = 2 [json_name = "inputType"];
ByteString
DescriptorProtos.MethodDescriptorProtoOrBuilder. getInputTypeBytes()
optional string input_type = 2 [json_name = "inputType"];
ByteString
DescriptorProtos.FileOptions.Builder. getJavaOuterClassnameBytes()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
ByteString
DescriptorProtos.FileOptions. getJavaOuterClassnameBytes()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
ByteString
DescriptorProtos.FileOptionsOrBuilder. getJavaOuterClassnameBytes()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
ByteString
DescriptorProtos.FileOptions.Builder. getJavaPackageBytes()
optional string java_package = 1 [json_name = "javaPackage"];
ByteString
DescriptorProtos.FileOptions. getJavaPackageBytes()
optional string java_package = 1 [json_name = "javaPackage"];
ByteString
DescriptorProtos.FileOptionsOrBuilder. getJavaPackageBytes()
optional string java_package = 1 [json_name = "javaPackage"];
ByteString
DescriptorProtos.FieldDescriptorProto.Builder. getJsonNameBytes()
optional string json_name = 10 [json_name = "jsonName"];
ByteString
DescriptorProtos.FieldDescriptorProto. getJsonNameBytes()
optional string json_name = 10 [json_name = "jsonName"];
ByteString
DescriptorProtos.FieldDescriptorProtoOrBuilder. getJsonNameBytes()
optional string json_name = 10 [json_name = "jsonName"];
ByteString
Field.Builder. getJsonNameBytes()
string json_name = 10 [json_name = "jsonName"];
ByteString
Field. getJsonNameBytes()
string json_name = 10 [json_name = "jsonName"];
ByteString
FieldOrBuilder. getJsonNameBytes()
string json_name = 10 [json_name = "jsonName"];
ByteString
DescriptorProtos.SourceCodeInfo.Location.Builder. getLeadingCommentsBytes()
optional string leading_comments = 3 [json_name = "leadingComments"];
ByteString
DescriptorProtos.SourceCodeInfo.Location. getLeadingCommentsBytes()
optional string leading_comments = 3 [json_name = "leadingComments"];
ByteString
DescriptorProtos.SourceCodeInfo.LocationOrBuilder. getLeadingCommentsBytes()
optional string leading_comments = 3 [json_name = "leadingComments"];
ByteString
DescriptorProtos.SourceCodeInfo.Location.Builder. getLeadingDetachedCommentsBytes(int index)
repeated string leading_detached_comments = 6 [json_name = "leadingDetachedComments"];
ByteString
DescriptorProtos.SourceCodeInfo.Location. getLeadingDetachedCommentsBytes(int index)
repeated string leading_detached_comments = 6 [json_name = "leadingDetachedComments"];
ByteString
DescriptorProtos.SourceCodeInfo.LocationOrBuilder. getLeadingDetachedCommentsBytes(int index)
repeated string leading_detached_comments = 6 [json_name = "leadingDetachedComments"];
ByteString
Api.Builder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
Api. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
ApiOrBuilder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.DescriptorProto.Builder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.DescriptorProto. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.DescriptorProtoOrBuilder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.EnumDescriptorProto.Builder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.EnumDescriptorProto. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.EnumDescriptorProtoOrBuilder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.EnumValueDescriptorProto.Builder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.EnumValueDescriptorProto. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.EnumValueDescriptorProtoOrBuilder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.FieldDescriptorProto.Builder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.FieldDescriptorProto. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.FieldDescriptorProtoOrBuilder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.FileDescriptorProto.Builder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.FileDescriptorProto. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.FileDescriptorProtoOrBuilder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.MethodDescriptorProto.Builder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.MethodDescriptorProto. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.MethodDescriptorProtoOrBuilder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.OneofDescriptorProto.Builder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.OneofDescriptorProto. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.OneofDescriptorProtoOrBuilder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.ServiceDescriptorProto.Builder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.ServiceDescriptorProto. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.ServiceDescriptorProtoOrBuilder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
Enum.Builder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
Enum. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
EnumOrBuilder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
EnumValue.Builder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
EnumValue. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
EnumValueOrBuilder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
Field.Builder. getNameBytes()
string name = 4 [json_name = "name"];
ByteString
Field. getNameBytes()
string name = 4 [json_name = "name"];
ByteString
FieldOrBuilder. getNameBytes()
string name = 4 [json_name = "name"];
ByteString
Method.Builder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
Method. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
MethodOrBuilder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
Mixin.Builder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
Mixin. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
MixinOrBuilder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
Option.Builder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
Option. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
OptionOrBuilder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
Type.Builder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
Type. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
TypeOrBuilder. getNameBytes()
string name = 1 [json_name = "name"];
ByteString
DescriptorProtos.UninterpretedOption.NamePart.Builder. getNamePartBytes()
required string name_part = 1 [json_name = "namePart"];
ByteString
DescriptorProtos.UninterpretedOption.NamePart. getNamePartBytes()
required string name_part = 1 [json_name = "namePart"];
ByteString
DescriptorProtos.UninterpretedOption.NamePartOrBuilder. getNamePartBytes()
required string name_part = 1 [json_name = "namePart"];
ByteString
DescriptorProtos.FileOptions.Builder. getObjcClassPrefixBytes()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
ByteString
DescriptorProtos.FileOptions. getObjcClassPrefixBytes()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
ByteString
DescriptorProtos.FileOptionsOrBuilder. getObjcClassPrefixBytes()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
ByteString
Type.Builder. getOneofsBytes(int index)
repeated string oneofs = 3 [json_name = "oneofs"];
ByteString
Type. getOneofsBytes(int index)
repeated string oneofs = 3 [json_name = "oneofs"];
ByteString
TypeOrBuilder. getOneofsBytes(int index)
repeated string oneofs = 3 [json_name = "oneofs"];
ByteString
DescriptorProtos.MethodDescriptorProto.Builder. getOutputTypeBytes()
optional string output_type = 3 [json_name = "outputType"];
ByteString
DescriptorProtos.MethodDescriptorProto. getOutputTypeBytes()
optional string output_type = 3 [json_name = "outputType"];
ByteString
DescriptorProtos.MethodDescriptorProtoOrBuilder. getOutputTypeBytes()
optional string output_type = 3 [json_name = "outputType"];
ByteString
DescriptorProtos.FileDescriptorProto.Builder. getPackageBytes()
optional string package = 2 [json_name = "package"];
ByteString
DescriptorProtos.FileDescriptorProto. getPackageBytes()
optional string package = 2 [json_name = "package"];
ByteString
DescriptorProtos.FileDescriptorProtoOrBuilder. getPackageBytes()
optional string package = 2 [json_name = "package"];
ByteString
FieldMask.Builder. getPathsBytes(int index)
repeated string paths = 1 [json_name = "paths"];
ByteString
FieldMask. getPathsBytes(int index)
repeated string paths = 1 [json_name = "paths"];
ByteString
FieldMaskOrBuilder. getPathsBytes(int index)
repeated string paths = 1 [json_name = "paths"];
ByteString
DescriptorProtos.FileOptions.Builder. getPhpClassPrefixBytes()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
ByteString
DescriptorProtos.FileOptions. getPhpClassPrefixBytes()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
ByteString
DescriptorProtos.FileOptionsOrBuilder. getPhpClassPrefixBytes()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
ByteString
DescriptorProtos.FileOptions.Builder. getPhpMetadataNamespaceBytes()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
ByteString
DescriptorProtos.FileOptions. getPhpMetadataNamespaceBytes()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
ByteString
DescriptorProtos.FileOptionsOrBuilder. getPhpMetadataNamespaceBytes()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
ByteString
DescriptorProtos.FileOptions.Builder. getPhpNamespaceBytes()
optional string php_namespace = 41 [json_name = "phpNamespace"];
ByteString
DescriptorProtos.FileOptions. getPhpNamespaceBytes()
optional string php_namespace = 41 [json_name = "phpNamespace"];
ByteString
DescriptorProtos.FileOptionsOrBuilder. getPhpNamespaceBytes()
optional string php_namespace = 41 [json_name = "phpNamespace"];
ByteString
Method.Builder. getRequestTypeUrlBytes()
string request_type_url = 2 [json_name = "requestTypeUrl"];
ByteString
Method. getRequestTypeUrlBytes()
string request_type_url = 2 [json_name = "requestTypeUrl"];
ByteString
MethodOrBuilder. getRequestTypeUrlBytes()
string request_type_url = 2 [json_name = "requestTypeUrl"];
ByteString
DescriptorProtos.DescriptorProto.Builder. getReservedNameBytes(int index)
repeated string reserved_name = 10 [json_name = "reservedName"];
ByteString
DescriptorProtos.DescriptorProto. getReservedNameBytes(int index)
repeated string reserved_name = 10 [json_name = "reservedName"];
ByteString
DescriptorProtos.DescriptorProtoOrBuilder. getReservedNameBytes(int index)
repeated string reserved_name = 10 [json_name = "reservedName"];
ByteString
DescriptorProtos.EnumDescriptorProto.Builder. getReservedNameBytes(int index)
repeated string reserved_name = 5 [json_name = "reservedName"];
ByteString
DescriptorProtos.EnumDescriptorProto. getReservedNameBytes(int index)
repeated string reserved_name = 5 [json_name = "reservedName"];
ByteString
DescriptorProtos.EnumDescriptorProtoOrBuilder. getReservedNameBytes(int index)
repeated string reserved_name = 5 [json_name = "reservedName"];
ByteString
Method.Builder. getResponseTypeUrlBytes()
string response_type_url = 4 [json_name = "responseTypeUrl"];
ByteString
Method. getResponseTypeUrlBytes()
string response_type_url = 4 [json_name = "responseTypeUrl"];
ByteString
MethodOrBuilder. getResponseTypeUrlBytes()
string response_type_url = 4 [json_name = "responseTypeUrl"];
ByteString
Mixin.Builder. getRootBytes()
string root = 2 [json_name = "root"];
ByteString
Mixin. getRootBytes()
string root = 2 [json_name = "root"];
ByteString
MixinOrBuilder. getRootBytes()
string root = 2 [json_name = "root"];
ByteString
DescriptorProtos.FileOptions.Builder. getRubyPackageBytes()
optional string ruby_package = 45 [json_name = "rubyPackage"];
ByteString
DescriptorProtos.FileOptions. getRubyPackageBytes()
optional string ruby_package = 45 [json_name = "rubyPackage"];
ByteString
DescriptorProtos.FileOptionsOrBuilder. getRubyPackageBytes()
optional string ruby_package = 45 [json_name = "rubyPackage"];
ByteString
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder. getSourceFileBytes()
optional string source_file = 2 [json_name = "sourceFile"];
ByteString
DescriptorProtos.GeneratedCodeInfo.Annotation. getSourceFileBytes()
optional string source_file = 2 [json_name = "sourceFile"];
ByteString
DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder. getSourceFileBytes()
optional string source_file = 2 [json_name = "sourceFile"];
ByteString
DescriptorProtos.UninterpretedOption.Builder. getStringValue()
optional bytes string_value = 7 [json_name = "stringValue"];
ByteString
DescriptorProtos.UninterpretedOption. getStringValue()
optional bytes string_value = 7 [json_name = "stringValue"];
ByteString
DescriptorProtos.UninterpretedOptionOrBuilder. getStringValue()
optional bytes string_value = 7 [json_name = "stringValue"];
ByteString
Value.Builder. getStringValueBytes()
string string_value = 3 [json_name = "stringValue"];
ByteString
Value. getStringValueBytes()
string string_value = 3 [json_name = "stringValue"];
ByteString
ValueOrBuilder. getStringValueBytes()
string string_value = 3 [json_name = "stringValue"];
ByteString
DescriptorProtos.FileOptions.Builder. getSwiftPrefixBytes()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
ByteString
DescriptorProtos.FileOptions. getSwiftPrefixBytes()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
ByteString
DescriptorProtos.FileOptionsOrBuilder. getSwiftPrefixBytes()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
ByteString
DescriptorProtos.FileDescriptorProto.Builder. getSyntaxBytes()
optional string syntax = 12 [json_name = "syntax"];
ByteString
DescriptorProtos.FileDescriptorProto. getSyntaxBytes()
optional string syntax = 12 [json_name = "syntax"];
ByteString
DescriptorProtos.FileDescriptorProtoOrBuilder. getSyntaxBytes()
optional string syntax = 12 [json_name = "syntax"];
ByteString
DescriptorProtos.SourceCodeInfo.Location.Builder. getTrailingCommentsBytes()
optional string trailing_comments = 4 [json_name = "trailingComments"];
ByteString
DescriptorProtos.SourceCodeInfo.Location. getTrailingCommentsBytes()
optional string trailing_comments = 4 [json_name = "trailingComments"];
ByteString
DescriptorProtos.SourceCodeInfo.LocationOrBuilder. getTrailingCommentsBytes()
optional string trailing_comments = 4 [json_name = "trailingComments"];
ByteString
DescriptorProtos.ExtensionRangeOptions.Declaration.Builder. getTypeBytes()
optional string type = 3 [json_name = "type"];
ByteString
DescriptorProtos.ExtensionRangeOptions.Declaration. getTypeBytes()
optional string type = 3 [json_name = "type"];
ByteString
DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder. getTypeBytes()
optional string type = 3 [json_name = "type"];
ByteString
DescriptorProtos.FieldDescriptorProto.Builder. getTypeNameBytes()
optional string type_name = 6 [json_name = "typeName"];
ByteString
DescriptorProtos.FieldDescriptorProto. getTypeNameBytes()
optional string type_name = 6 [json_name = "typeName"];
ByteString
DescriptorProtos.FieldDescriptorProtoOrBuilder. getTypeNameBytes()
optional string type_name = 6 [json_name = "typeName"];
ByteString
Any.Builder. getTypeUrlBytes()
string type_url = 1 [json_name = "typeUrl"];
ByteString
Any. getTypeUrlBytes()
string type_url = 1 [json_name = "typeUrl"];
ByteString
AnyOrBuilder. getTypeUrlBytes()
string type_url = 1 [json_name = "typeUrl"];
ByteString
Field.Builder. getTypeUrlBytes()
string type_url = 6 [json_name = "typeUrl"];
ByteString
Field. getTypeUrlBytes()
string type_url = 6 [json_name = "typeUrl"];
ByteString
FieldOrBuilder. getTypeUrlBytes()
string type_url = 6 [json_name = "typeUrl"];
ByteString
Any.Builder. getValue()
bytes value = 2 [json_name = "value"];
ByteString
Any. getValue()
bytes value = 2 [json_name = "value"];
ByteString
AnyOrBuilder. getValue()
bytes value = 2 [json_name = "value"];
ByteString
BytesValue.Builder. getValue()
bytes value = 1 [json_name = "value"];
ByteString
BytesValue. getValue()
bytes value = 1 [json_name = "value"];
ByteString
BytesValueOrBuilder. getValue()
bytes value = 1 [json_name = "value"];
ByteString
DescriptorProtos.FieldOptions.EditionDefault.Builder. getValueBytes()
optional string value = 2 [json_name = "value"];
ByteString
DescriptorProtos.FieldOptions.EditionDefault. getValueBytes()
optional string value = 2 [json_name = "value"];
ByteString
DescriptorProtos.FieldOptions.EditionDefaultOrBuilder. getValueBytes()
optional string value = 2 [json_name = "value"];
ByteString
StringValue.Builder. getValueBytes()
string value = 1 [json_name = "value"];
ByteString
StringValue. getValueBytes()
string value = 1 [json_name = "value"];
ByteString
StringValueOrBuilder. getValueBytes()
string value = 1 [json_name = "value"];
ByteString
Api.Builder. getVersionBytes()
string version = 4 [json_name = "version"];
ByteString
Api. getVersionBytes()
string version = 4 [json_name = "version"];
ByteString
ApiOrBuilder. getVersionBytes()
string version = 4 [json_name = "version"];
abstract ByteString
CodedInputStream. readBytes()
Read abytes
field value from the stream.static ByteString
ByteString. readFrom(java.io.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(java.io.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(java.io.InputStream streamToDrain, int minChunkSize, int maxChunkSize)
Helper method that takes the chunk size range as a parameter.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.ByteString
AbstractMessageLite. toByteString()
ByteString
ByteString.Output. toByteString()
Creates a byte string with the size and contents of this output stream.ByteString
LazyFieldLite. toByteString()
Returns a BytesString for this field in a thread-safe way.ByteString
MessageLite. toByteString()
Serializes the message to aByteString
and returns it.ByteString
UnknownFieldSet.Field. toByteString(int fieldNumber)
Serializes the message to aByteString
and returns it.ByteString
UnknownFieldSet. toByteString()
Serializes the message to aByteString
and returns it.static ByteString
TextFormat. unescapeBytes(java.lang.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(java.nio.ByteBuffer buffer)
An unsafe operation that returns aByteString
that is backed by the provided buffer.Methods in com.google.protobuf that return types with arguments of type ByteString Modifier and Type Method Description java.util.List<ByteString>
LazyStringArrayList. asByteStringList()
java.util.List<ByteString>
ProtocolStringList. asByteStringList()
Returns a view of the data as a list of ByteStrings.java.util.List<ByteString>
UnmodifiableLazyStringList. asByteStringList()
Deprecated.java.util.List<ByteString>
UnknownFieldSet.Field. getLengthDelimitedList()
Get the list of length-delimited values for this field.static java.util.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 ByteString Modifier and Type Method Description void
LazyStringArrayList. add(ByteString element)
void
LazyStringList. add(ByteString element)
Appends the specified element to the end of this list (optional operation).void
UnmodifiableLazyStringList. add(ByteString element)
Deprecated.DescriptorProtos.FileDescriptorProto.Builder
DescriptorProtos.FileDescriptorProto.Builder. addDependencyBytes(ByteString value)
repeated string dependency = 3 [json_name = "dependency"];
DescriptorProtos.SourceCodeInfo.Location.Builder
DescriptorProtos.SourceCodeInfo.Location.Builder. addLeadingDetachedCommentsBytes(ByteString value)
repeated string leading_detached_comments = 6 [json_name = "leadingDetachedComments"];
UnknownFieldSet.Field.Builder
UnknownFieldSet.Field.Builder. addLengthDelimited(ByteString value)
Add a length-delimited value.Type.Builder
Type.Builder. addOneofsBytes(ByteString value)
repeated string oneofs = 3 [json_name = "oneofs"];
FieldMask.Builder
FieldMask.Builder. addPathsBytes(ByteString value)
repeated string paths = 1 [json_name = "paths"];
DescriptorProtos.DescriptorProto.Builder
DescriptorProtos.DescriptorProto.Builder. addReservedNameBytes(ByteString value)
repeated string reserved_name = 10 [json_name = "reservedName"];
DescriptorProtos.EnumDescriptorProto.Builder
DescriptorProtos.EnumDescriptorProto.Builder. addReservedNameBytes(ByteString value)
repeated string reserved_name = 5 [json_name = "reservedName"];
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.ByteString
ByteString. concat(ByteString other)
Concatenate the givenByteString
to this one.boolean
ByteString. endsWith(ByteString suffix)
Tests if this bytestring ends with the specified suffix.static java.lang.String
TextFormat. escapeBytes(ByteString input)
Escapes bytes in the format used in protocol buffer text format, which is the same as the format used for C string literals.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.BuilderType
AbstractMessage.Builder. mergeFrom(ByteString data)
BuilderType
AbstractMessage.Builder. mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
BuilderType
AbstractMessageLite.Builder. mergeFrom(ByteString data)
BuilderType
AbstractMessageLite.Builder. mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Message.Builder
Message.Builder. mergeFrom(ByteString data)
Message.Builder
Message.Builder. mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
MessageLite.Builder
MessageLite.Builder. mergeFrom(ByteString data)
Parsedata
as a message of this type and merge it with the message being built.MessageLite.Builder
MessageLite.Builder. mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parsedata
as a message of this type and merge it with the message being built.UnknownFieldSet.Builder
UnknownFieldSet.Builder. mergeFrom(ByteString data)
Parsedata
as anUnknownFieldSet
and merge it with the set being built.UnknownFieldSet.Builder
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
UnknownFieldSet.Builder. mergeLengthDelimitedField(int number, ByteString value)
Convenience method for merging a length-delimited field.protected void
GeneratedMessageV3.Builder. mergeUnknownLengthDelimitedField(int number, ByteString bytes)
Called by generated subclasses to add to the unknown field set.static BytesValue
BytesValue. of(ByteString value)
java.util.Map.Entry<K,V>
MapEntryLite. parseEntry(ByteString bytes, ExtensionRegistryLite extensionRegistry)
Parses an entry off of the input as aMap.Entry
.MessageType
AbstractParser. parseFrom(ByteString data)
MessageType
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)
static DescriptorProtos.DescriptorProto.ExtensionRange
DescriptorProtos.DescriptorProto.ExtensionRange. parseFrom(ByteString data)
static DescriptorProtos.DescriptorProto.ExtensionRange
DescriptorProtos.DescriptorProto.ExtensionRange. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.DescriptorProto
DescriptorProtos.DescriptorProto. parseFrom(ByteString data)
static DescriptorProtos.DescriptorProto
DescriptorProtos.DescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.DescriptorProto.ReservedRange
DescriptorProtos.DescriptorProto.ReservedRange. parseFrom(ByteString data)
static DescriptorProtos.DescriptorProto.ReservedRange
DescriptorProtos.DescriptorProto.ReservedRange. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.EnumDescriptorProto.EnumReservedRange
DescriptorProtos.EnumDescriptorProto.EnumReservedRange. parseFrom(ByteString data)
static DescriptorProtos.EnumDescriptorProto.EnumReservedRange
DescriptorProtos.EnumDescriptorProto.EnumReservedRange. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.EnumDescriptorProto
DescriptorProtos.EnumDescriptorProto. parseFrom(ByteString data)
static DescriptorProtos.EnumDescriptorProto
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)
static DescriptorProtos.EnumValueDescriptorProto
DescriptorProtos.EnumValueDescriptorProto. parseFrom(ByteString data)
static DescriptorProtos.EnumValueDescriptorProto
DescriptorProtos.EnumValueDescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.EnumValueOptions
DescriptorProtos.EnumValueOptions. parseFrom(ByteString data)
static DescriptorProtos.EnumValueOptions
DescriptorProtos.EnumValueOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.ExtensionRangeOptions.Declaration
DescriptorProtos.ExtensionRangeOptions.Declaration. parseFrom(ByteString data)
static DescriptorProtos.ExtensionRangeOptions.Declaration
DescriptorProtos.ExtensionRangeOptions.Declaration. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.ExtensionRangeOptions
DescriptorProtos.ExtensionRangeOptions. parseFrom(ByteString data)
static DescriptorProtos.ExtensionRangeOptions
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)
static DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault
DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault. parseFrom(ByteString data)
static DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault
DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FeatureSetDefaults
DescriptorProtos.FeatureSetDefaults. parseFrom(ByteString data)
static DescriptorProtos.FeatureSetDefaults
DescriptorProtos.FeatureSetDefaults. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FieldDescriptorProto
DescriptorProtos.FieldDescriptorProto. parseFrom(ByteString data)
static DescriptorProtos.FieldDescriptorProto
DescriptorProtos.FieldDescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FieldOptions.EditionDefault
DescriptorProtos.FieldOptions.EditionDefault. parseFrom(ByteString data)
static DescriptorProtos.FieldOptions.EditionDefault
DescriptorProtos.FieldOptions.EditionDefault. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FieldOptions
DescriptorProtos.FieldOptions. parseFrom(ByteString data)
static DescriptorProtos.FieldOptions
DescriptorProtos.FieldOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FileDescriptorProto
DescriptorProtos.FileDescriptorProto. parseFrom(ByteString data)
static DescriptorProtos.FileDescriptorProto
DescriptorProtos.FileDescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FileDescriptorSet
DescriptorProtos.FileDescriptorSet. parseFrom(ByteString data)
static DescriptorProtos.FileDescriptorSet
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)
static DescriptorProtos.GeneratedCodeInfo.Annotation
DescriptorProtos.GeneratedCodeInfo.Annotation. parseFrom(ByteString data)
static DescriptorProtos.GeneratedCodeInfo.Annotation
DescriptorProtos.GeneratedCodeInfo.Annotation. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.GeneratedCodeInfo
DescriptorProtos.GeneratedCodeInfo. parseFrom(ByteString data)
static DescriptorProtos.GeneratedCodeInfo
DescriptorProtos.GeneratedCodeInfo. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.MessageOptions
DescriptorProtos.MessageOptions. parseFrom(ByteString data)
static DescriptorProtos.MessageOptions
DescriptorProtos.MessageOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.MethodDescriptorProto
DescriptorProtos.MethodDescriptorProto. parseFrom(ByteString data)
static DescriptorProtos.MethodDescriptorProto
DescriptorProtos.MethodDescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.MethodOptions
DescriptorProtos.MethodOptions. parseFrom(ByteString data)
static DescriptorProtos.MethodOptions
DescriptorProtos.MethodOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.OneofDescriptorProto
DescriptorProtos.OneofDescriptorProto. parseFrom(ByteString data)
static DescriptorProtos.OneofDescriptorProto
DescriptorProtos.OneofDescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.OneofOptions
DescriptorProtos.OneofOptions. parseFrom(ByteString data)
static DescriptorProtos.OneofOptions
DescriptorProtos.OneofOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.ServiceDescriptorProto
DescriptorProtos.ServiceDescriptorProto. parseFrom(ByteString data)
static DescriptorProtos.ServiceDescriptorProto
DescriptorProtos.ServiceDescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.ServiceOptions
DescriptorProtos.ServiceOptions. parseFrom(ByteString data)
static DescriptorProtos.ServiceOptions
DescriptorProtos.ServiceOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.SourceCodeInfo.Location
DescriptorProtos.SourceCodeInfo.Location. parseFrom(ByteString data)
static DescriptorProtos.SourceCodeInfo.Location
DescriptorProtos.SourceCodeInfo.Location. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.SourceCodeInfo
DescriptorProtos.SourceCodeInfo. parseFrom(ByteString data)
static DescriptorProtos.SourceCodeInfo
DescriptorProtos.SourceCodeInfo. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.UninterpretedOption.NamePart
DescriptorProtos.UninterpretedOption.NamePart. parseFrom(ByteString data)
static DescriptorProtos.UninterpretedOption.NamePart
DescriptorProtos.UninterpretedOption.NamePart. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.UninterpretedOption
DescriptorProtos.UninterpretedOption. parseFrom(ByteString data)
static DescriptorProtos.UninterpretedOption
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)
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)
MessageType
Parser. parseFrom(ByteString data)
Parsesdata
as a message ofMessageType
.MessageType
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)
MessageType
AbstractParser. parsePartialFrom(ByteString data)
MessageType
AbstractParser. parsePartialFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
MessageType
Parser. parsePartialFrom(ByteString data)
LikeParser.parseFrom(ByteString)
, but does not throw an exception if the message is missing required fields.MessageType
Parser. parsePartialFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
LikeParser.parseFrom(ByteString, ExtensionRegistryLite)
, but does not throw an exception if the message is missing required fields.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
DescriptorProtos.UninterpretedOption.Builder. setAggregateValueBytes(ByteString value)
optional string aggregate_value = 8 [json_name = "aggregateValue"];
void
LazyFieldLite. setByteString(ByteString bytes, ExtensionRegistryLite extensionRegistry)
Sets this field with bytes to delay-parse.DescriptorProtos.FileOptions.Builder
DescriptorProtos.FileOptions.Builder. setCsharpNamespaceBytes(ByteString value)
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
DescriptorProtos.FieldDescriptorProto.Builder
DescriptorProtos.FieldDescriptorProto.Builder. setDefaultValueBytes(ByteString value)
optional string default_value = 7 [json_name = "defaultValue"];
Field.Builder
Field.Builder. setDefaultValueBytes(ByteString value)
string default_value = 11 [json_name = "defaultValue"];
Enum.Builder
Enum.Builder. setEditionBytes(ByteString value)
string edition = 6 [json_name = "edition"];
Type.Builder
Type.Builder. setEditionBytes(ByteString value)
string edition = 7 [json_name = "edition"];
DescriptorProtos.FieldDescriptorProto.Builder
DescriptorProtos.FieldDescriptorProto.Builder. setExtendeeBytes(ByteString value)
optional string extendee = 2 [json_name = "extendee"];
SourceContext.Builder
SourceContext.Builder. setFileNameBytes(ByteString value)
string file_name = 1 [json_name = "fileName"];
DescriptorProtos.ExtensionRangeOptions.Declaration.Builder
DescriptorProtos.ExtensionRangeOptions.Declaration.Builder. setFullNameBytes(ByteString value)
optional string full_name = 2 [json_name = "fullName"];
DescriptorProtos.FileOptions.Builder
DescriptorProtos.FileOptions.Builder. setGoPackageBytes(ByteString value)
optional string go_package = 11 [json_name = "goPackage"];
DescriptorProtos.UninterpretedOption.Builder
DescriptorProtos.UninterpretedOption.Builder. setIdentifierValueBytes(ByteString value)
optional string identifier_value = 3 [json_name = "identifierValue"];
DescriptorProtos.MethodDescriptorProto.Builder
DescriptorProtos.MethodDescriptorProto.Builder. setInputTypeBytes(ByteString value)
optional string input_type = 2 [json_name = "inputType"];
DescriptorProtos.FileOptions.Builder
DescriptorProtos.FileOptions.Builder. setJavaOuterClassnameBytes(ByteString value)
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
DescriptorProtos.FileOptions.Builder
DescriptorProtos.FileOptions.Builder. setJavaPackageBytes(ByteString value)
optional string java_package = 1 [json_name = "javaPackage"];
DescriptorProtos.FieldDescriptorProto.Builder
DescriptorProtos.FieldDescriptorProto.Builder. setJsonNameBytes(ByteString value)
optional string json_name = 10 [json_name = "jsonName"];
Field.Builder
Field.Builder. setJsonNameBytes(ByteString value)
string json_name = 10 [json_name = "jsonName"];
DescriptorProtos.SourceCodeInfo.Location.Builder
DescriptorProtos.SourceCodeInfo.Location.Builder. setLeadingCommentsBytes(ByteString value)
optional string leading_comments = 3 [json_name = "leadingComments"];
Api.Builder
Api.Builder. setNameBytes(ByteString value)
string name = 1 [json_name = "name"];
DescriptorProtos.DescriptorProto.Builder
DescriptorProtos.DescriptorProto.Builder. setNameBytes(ByteString value)
optional string name = 1 [json_name = "name"];
DescriptorProtos.EnumDescriptorProto.Builder
DescriptorProtos.EnumDescriptorProto.Builder. setNameBytes(ByteString value)
optional string name = 1 [json_name = "name"];
DescriptorProtos.EnumValueDescriptorProto.Builder
DescriptorProtos.EnumValueDescriptorProto.Builder. setNameBytes(ByteString value)
optional string name = 1 [json_name = "name"];
DescriptorProtos.FieldDescriptorProto.Builder
DescriptorProtos.FieldDescriptorProto.Builder. setNameBytes(ByteString value)
optional string name = 1 [json_name = "name"];
DescriptorProtos.FileDescriptorProto.Builder
DescriptorProtos.FileDescriptorProto.Builder. setNameBytes(ByteString value)
optional string name = 1 [json_name = "name"];
DescriptorProtos.MethodDescriptorProto.Builder
DescriptorProtos.MethodDescriptorProto.Builder. setNameBytes(ByteString value)
optional string name = 1 [json_name = "name"];
DescriptorProtos.OneofDescriptorProto.Builder
DescriptorProtos.OneofDescriptorProto.Builder. setNameBytes(ByteString value)
optional string name = 1 [json_name = "name"];
DescriptorProtos.ServiceDescriptorProto.Builder
DescriptorProtos.ServiceDescriptorProto.Builder. setNameBytes(ByteString value)
optional string name = 1 [json_name = "name"];
Enum.Builder
Enum.Builder. setNameBytes(ByteString value)
string name = 1 [json_name = "name"];
EnumValue.Builder
EnumValue.Builder. setNameBytes(ByteString value)
string name = 1 [json_name = "name"];
Field.Builder
Field.Builder. setNameBytes(ByteString value)
string name = 4 [json_name = "name"];
Method.Builder
Method.Builder. setNameBytes(ByteString value)
string name = 1 [json_name = "name"];
Mixin.Builder
Mixin.Builder. setNameBytes(ByteString value)
string name = 1 [json_name = "name"];
Option.Builder
Option.Builder. setNameBytes(ByteString value)
string name = 1 [json_name = "name"];
Type.Builder
Type.Builder. setNameBytes(ByteString value)
string name = 1 [json_name = "name"];
DescriptorProtos.UninterpretedOption.NamePart.Builder
DescriptorProtos.UninterpretedOption.NamePart.Builder. setNamePartBytes(ByteString value)
required string name_part = 1 [json_name = "namePart"];
DescriptorProtos.FileOptions.Builder
DescriptorProtos.FileOptions.Builder. setObjcClassPrefixBytes(ByteString value)
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
DescriptorProtos.MethodDescriptorProto.Builder
DescriptorProtos.MethodDescriptorProto.Builder. setOutputTypeBytes(ByteString value)
optional string output_type = 3 [json_name = "outputType"];
DescriptorProtos.FileDescriptorProto.Builder
DescriptorProtos.FileDescriptorProto.Builder. setPackageBytes(ByteString value)
optional string package = 2 [json_name = "package"];
DescriptorProtos.FileOptions.Builder
DescriptorProtos.FileOptions.Builder. setPhpClassPrefixBytes(ByteString value)
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
DescriptorProtos.FileOptions.Builder
DescriptorProtos.FileOptions.Builder. setPhpMetadataNamespaceBytes(ByteString value)
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
DescriptorProtos.FileOptions.Builder
DescriptorProtos.FileOptions.Builder. setPhpNamespaceBytes(ByteString value)
optional string php_namespace = 41 [json_name = "phpNamespace"];
Method.Builder
Method.Builder. setRequestTypeUrlBytes(ByteString value)
string request_type_url = 2 [json_name = "requestTypeUrl"];
Method.Builder
Method.Builder. setResponseTypeUrlBytes(ByteString value)
string response_type_url = 4 [json_name = "responseTypeUrl"];
Mixin.Builder
Mixin.Builder. setRootBytes(ByteString value)
string root = 2 [json_name = "root"];
DescriptorProtos.FileOptions.Builder
DescriptorProtos.FileOptions.Builder. setRubyPackageBytes(ByteString value)
optional string ruby_package = 45 [json_name = "rubyPackage"];
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder. setSourceFileBytes(ByteString value)
optional string source_file = 2 [json_name = "sourceFile"];
DescriptorProtos.UninterpretedOption.Builder
DescriptorProtos.UninterpretedOption.Builder. setStringValue(ByteString value)
optional bytes string_value = 7 [json_name = "stringValue"];
Value.Builder
Value.Builder. setStringValueBytes(ByteString value)
string string_value = 3 [json_name = "stringValue"];
DescriptorProtos.FileOptions.Builder
DescriptorProtos.FileOptions.Builder. setSwiftPrefixBytes(ByteString value)
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
DescriptorProtos.FileDescriptorProto.Builder
DescriptorProtos.FileDescriptorProto.Builder. setSyntaxBytes(ByteString value)
optional string syntax = 12 [json_name = "syntax"];
DescriptorProtos.SourceCodeInfo.Location.Builder
DescriptorProtos.SourceCodeInfo.Location.Builder. setTrailingCommentsBytes(ByteString value)
optional string trailing_comments = 4 [json_name = "trailingComments"];
DescriptorProtos.ExtensionRangeOptions.Declaration.Builder
DescriptorProtos.ExtensionRangeOptions.Declaration.Builder. setTypeBytes(ByteString value)
optional string type = 3 [json_name = "type"];
DescriptorProtos.FieldDescriptorProto.Builder
DescriptorProtos.FieldDescriptorProto.Builder. setTypeNameBytes(ByteString value)
optional string type_name = 6 [json_name = "typeName"];
Any.Builder
Any.Builder. setTypeUrlBytes(ByteString value)
string type_url = 1 [json_name = "typeUrl"];
Field.Builder
Field.Builder. setTypeUrlBytes(ByteString value)
string type_url = 6 [json_name = "typeUrl"];
Any.Builder
Any.Builder. setValue(ByteString value)
bytes value = 2 [json_name = "value"];
BytesValue.Builder
BytesValue.Builder. setValue(ByteString value)
bytes value = 1 [json_name = "value"];
DescriptorProtos.FieldOptions.EditionDefault.Builder
DescriptorProtos.FieldOptions.EditionDefault.Builder. setValueBytes(ByteString value)
optional string value = 2 [json_name = "value"];
StringValue.Builder
StringValue.Builder. setValueBytes(ByteString value)
string value = 1 [json_name = "value"];
Api.Builder
Api.Builder. setVersionBytes(ByteString value)
string version = 4 [json_name = "version"];
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
.abstract void
CodedOutputStream. writeBytes(int fieldNumber, ByteString value)
Write abytes
field, including tag, to the stream.abstract void
CodedOutputStream. writeBytesNoTag(ByteString value)
Write abytes
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.Method parameters in com.google.protobuf with type arguments of type ByteString Modifier and Type Method Description boolean
LazyStringArrayList. addAllByteString(java.util.Collection<? extends ByteString> values)
boolean
LazyStringList. addAllByteString(java.util.Collection<? extends ByteString> c)
Appends all elements in the specified ByteString collection to the end of this list.boolean
UnmodifiableLazyStringList. addAllByteString(java.util.Collection<? extends ByteString> element)
Deprecated.static ByteString
ByteString. copyFrom(java.lang.Iterable<ByteString> byteStrings)
Concatenates all byte strings in the iterable and returns the result.Constructors in com.google.protobuf with parameters of type ByteString Constructor Description LazyField(MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes)
LazyFieldLite(ExtensionRegistryLite extensionRegistry, ByteString bytes)
Constructs a LazyFieldLite with bytes that will be parsed lazily. -
Uses of ByteString in com.google.protobuf.compiler
Methods in com.google.protobuf.compiler that return ByteString Modifier and Type Method Description ByteString
PluginProtos.CodeGeneratorResponse.File.Builder. getContentBytes()
optional string content = 15 [json_name = "content"];
ByteString
PluginProtos.CodeGeneratorResponse.File. getContentBytes()
optional string content = 15 [json_name = "content"];
ByteString
PluginProtos.CodeGeneratorResponse.FileOrBuilder. getContentBytes()
optional string content = 15 [json_name = "content"];
ByteString
PluginProtos.CodeGeneratorResponse.Builder. getErrorBytes()
optional string error = 1 [json_name = "error"];
ByteString
PluginProtos.CodeGeneratorResponse. getErrorBytes()
optional string error = 1 [json_name = "error"];
ByteString
PluginProtos.CodeGeneratorResponseOrBuilder. getErrorBytes()
optional string error = 1 [json_name = "error"];
ByteString
PluginProtos.CodeGeneratorRequest.Builder. getFileToGenerateBytes(int index)
repeated string file_to_generate = 1 [json_name = "fileToGenerate"];
ByteString
PluginProtos.CodeGeneratorRequest. getFileToGenerateBytes(int index)
repeated string file_to_generate = 1 [json_name = "fileToGenerate"];
ByteString
PluginProtos.CodeGeneratorRequestOrBuilder. getFileToGenerateBytes(int index)
repeated string file_to_generate = 1 [json_name = "fileToGenerate"];
ByteString
PluginProtos.CodeGeneratorResponse.File.Builder. getInsertionPointBytes()
optional string insertion_point = 2 [json_name = "insertionPoint"];
ByteString
PluginProtos.CodeGeneratorResponse.File. getInsertionPointBytes()
optional string insertion_point = 2 [json_name = "insertionPoint"];
ByteString
PluginProtos.CodeGeneratorResponse.FileOrBuilder. getInsertionPointBytes()
optional string insertion_point = 2 [json_name = "insertionPoint"];
ByteString
PluginProtos.CodeGeneratorResponse.File.Builder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
PluginProtos.CodeGeneratorResponse.File. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
PluginProtos.CodeGeneratorResponse.FileOrBuilder. getNameBytes()
optional string name = 1 [json_name = "name"];
ByteString
PluginProtos.CodeGeneratorRequest.Builder. getParameterBytes()
optional string parameter = 2 [json_name = "parameter"];
ByteString
PluginProtos.CodeGeneratorRequest. getParameterBytes()
optional string parameter = 2 [json_name = "parameter"];
ByteString
PluginProtos.CodeGeneratorRequestOrBuilder. getParameterBytes()
optional string parameter = 2 [json_name = "parameter"];
ByteString
PluginProtos.Version.Builder. getSuffixBytes()
optional string suffix = 4 [json_name = "suffix"];
ByteString
PluginProtos.Version. getSuffixBytes()
optional string suffix = 4 [json_name = "suffix"];
ByteString
PluginProtos.VersionOrBuilder. getSuffixBytes()
optional string suffix = 4 [json_name = "suffix"];
Methods in com.google.protobuf.compiler with parameters of type ByteString Modifier and Type Method Description PluginProtos.CodeGeneratorRequest.Builder
PluginProtos.CodeGeneratorRequest.Builder. addFileToGenerateBytes(ByteString value)
repeated string file_to_generate = 1 [json_name = "fileToGenerate"];
static PluginProtos.CodeGeneratorRequest
PluginProtos.CodeGeneratorRequest. parseFrom(ByteString data)
static PluginProtos.CodeGeneratorRequest
PluginProtos.CodeGeneratorRequest. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static PluginProtos.CodeGeneratorResponse.File
PluginProtos.CodeGeneratorResponse.File. parseFrom(ByteString data)
static PluginProtos.CodeGeneratorResponse.File
PluginProtos.CodeGeneratorResponse.File. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static PluginProtos.CodeGeneratorResponse
PluginProtos.CodeGeneratorResponse. parseFrom(ByteString data)
static PluginProtos.CodeGeneratorResponse
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
PluginProtos.CodeGeneratorResponse.File.Builder. setContentBytes(ByteString value)
optional string content = 15 [json_name = "content"];
PluginProtos.CodeGeneratorResponse.Builder
PluginProtos.CodeGeneratorResponse.Builder. setErrorBytes(ByteString value)
optional string error = 1 [json_name = "error"];
PluginProtos.CodeGeneratorResponse.File.Builder
PluginProtos.CodeGeneratorResponse.File.Builder. setInsertionPointBytes(ByteString value)
optional string insertion_point = 2 [json_name = "insertionPoint"];
PluginProtos.CodeGeneratorResponse.File.Builder
PluginProtos.CodeGeneratorResponse.File.Builder. setNameBytes(ByteString value)
optional string name = 1 [json_name = "name"];
PluginProtos.CodeGeneratorRequest.Builder
PluginProtos.CodeGeneratorRequest.Builder. setParameterBytes(ByteString value)
optional string parameter = 2 [json_name = "parameter"];
PluginProtos.Version.Builder
PluginProtos.Version.Builder. setSuffixBytes(ByteString value)
optional string suffix = 4 [json_name = "suffix"];
-