Uses of Class
com.google.protobuf.ByteString
Packages that use ByteString
Package
Description
-
Uses of ByteString in com.google.protobuf
Fields in com.google.protobuf declared as ByteStringMethods in com.google.protobuf that return ByteStringModifier and TypeMethodDescriptionstatic ByteString
Internal.bytesDefaultValue
(String bytes) Helper called by generated code to construct default values for bytes fields.final ByteString
ByteString.concat
(ByteString other) Concatenate the givenByteString
to this one.static ByteString
ByteString.copyFrom
(byte[] bytes) Copies the given bytes into aByteString
.static ByteString
ByteString.copyFrom
(byte[] bytes, int offset, int size) Copies the given bytes into aByteString
.static ByteString
ByteString.copyFrom
(Iterable<ByteString> byteStrings) Concatenates all byte strings in the iterable and returns the result.static ByteString
Encodestext
into a sequence of bytes using the named charset and returns the result as aByteString
.static ByteString
Encodestext
into a sequence of bytes using the named charset and returns the result as aByteString
.static ByteString
ByteString.copyFrom
(ByteBuffer bytes) Copies the remaining bytes from ajava.nio.ByteBuffer
into aByteString
.static ByteString
ByteString.copyFrom
(ByteBuffer bytes, int size) Copies the nextsize
bytes from ajava.nio.ByteBuffer
into aByteString
.static ByteString
ByteString.copyFromUtf8
(String text) Encodestext
into a sequence of UTF-8 bytes and returns the result as aByteString
.static final ByteString
ByteString.empty()
Returns an emptyByteString
of size0
.static ByteString
Returns aByteString
from a hexadecimal String.DescriptorProtos.UninterpretedOption.Builder.getAggregateValueBytes()
optional string aggregate_value = 8 [json_name = "aggregateValue"];
DescriptorProtos.UninterpretedOption.getAggregateValueBytes()
optional string aggregate_value = 8 [json_name = "aggregateValue"];
DescriptorProtos.UninterpretedOptionOrBuilder.getAggregateValueBytes()
optional string aggregate_value = 8 [json_name = "aggregateValue"];
LazyStringArrayList.getByteString
(int index) LazyStringList.getByteString
(int index) Returns the element at the specified position in this list as a ByteString.UnmodifiableLazyStringList.getByteString
(int index) Deprecated.DescriptorProtos.FileOptions.Builder.getCsharpNamespaceBytes()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
DescriptorProtos.FileOptions.getCsharpNamespaceBytes()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
DescriptorProtos.FileOptionsOrBuilder.getCsharpNamespaceBytes()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
DescriptorProtos.FieldDescriptorProto.Builder.getDefaultValueBytes()
optional string default_value = 7 [json_name = "defaultValue"];
DescriptorProtos.FieldDescriptorProto.getDefaultValueBytes()
optional string default_value = 7 [json_name = "defaultValue"];
DescriptorProtos.FieldDescriptorProtoOrBuilder.getDefaultValueBytes()
optional string default_value = 7 [json_name = "defaultValue"];
Field.Builder.getDefaultValueBytes()
string default_value = 11 [json_name = "defaultValue"];
Field.getDefaultValueBytes()
string default_value = 11 [json_name = "defaultValue"];
FieldOrBuilder.getDefaultValueBytes()
string default_value = 11 [json_name = "defaultValue"];
DescriptorProtos.FileDescriptorProto.Builder.getDependencyBytes
(int index) repeated string dependency = 3 [json_name = "dependency"];
DescriptorProtos.FileDescriptorProto.getDependencyBytes
(int index) repeated string dependency = 3 [json_name = "dependency"];
DescriptorProtos.FileDescriptorProtoOrBuilder.getDependencyBytes
(int index) repeated string dependency = 3 [json_name = "dependency"];
DescriptorProtos.FieldOptions.FeatureSupport.Builder.getDeprecationWarningBytes()
optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
DescriptorProtos.FieldOptions.FeatureSupport.getDeprecationWarningBytes()
optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
DescriptorProtos.FieldOptions.FeatureSupportOrBuilder.getDeprecationWarningBytes()
optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
Enum.Builder.getEditionBytes()
string edition = 6 [json_name = "edition"];
Enum.getEditionBytes()
string edition = 6 [json_name = "edition"];
EnumOrBuilder.getEditionBytes()
string edition = 6 [json_name = "edition"];
Type.Builder.getEditionBytes()
string edition = 7 [json_name = "edition"];
Type.getEditionBytes()
string edition = 7 [json_name = "edition"];
TypeOrBuilder.getEditionBytes()
string edition = 7 [json_name = "edition"];
DescriptorProtos.FieldDescriptorProto.Builder.getExtendeeBytes()
optional string extendee = 2 [json_name = "extendee"];
DescriptorProtos.FieldDescriptorProto.getExtendeeBytes()
optional string extendee = 2 [json_name = "extendee"];
DescriptorProtos.FieldDescriptorProtoOrBuilder.getExtendeeBytes()
optional string extendee = 2 [json_name = "extendee"];
SourceContext.Builder.getFileNameBytes()
string file_name = 1 [json_name = "fileName"];
SourceContext.getFileNameBytes()
string file_name = 1 [json_name = "fileName"];
SourceContextOrBuilder.getFileNameBytes()
string file_name = 1 [json_name = "fileName"];
DescriptorProtos.ExtensionRangeOptions.Declaration.Builder.getFullNameBytes()
optional string full_name = 2 [json_name = "fullName"];
DescriptorProtos.ExtensionRangeOptions.Declaration.getFullNameBytes()
optional string full_name = 2 [json_name = "fullName"];
DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder.getFullNameBytes()
optional string full_name = 2 [json_name = "fullName"];
DescriptorProtos.FileOptions.Builder.getGoPackageBytes()
optional string go_package = 11 [json_name = "goPackage"];
DescriptorProtos.FileOptions.getGoPackageBytes()
optional string go_package = 11 [json_name = "goPackage"];
DescriptorProtos.FileOptionsOrBuilder.getGoPackageBytes()
optional string go_package = 11 [json_name = "goPackage"];
DescriptorProtos.UninterpretedOption.Builder.getIdentifierValueBytes()
optional string identifier_value = 3 [json_name = "identifierValue"];
DescriptorProtos.UninterpretedOption.getIdentifierValueBytes()
optional string identifier_value = 3 [json_name = "identifierValue"];
DescriptorProtos.UninterpretedOptionOrBuilder.getIdentifierValueBytes()
optional string identifier_value = 3 [json_name = "identifierValue"];
DescriptorProtos.MethodDescriptorProto.Builder.getInputTypeBytes()
optional string input_type = 2 [json_name = "inputType"];
DescriptorProtos.MethodDescriptorProto.getInputTypeBytes()
optional string input_type = 2 [json_name = "inputType"];
DescriptorProtos.MethodDescriptorProtoOrBuilder.getInputTypeBytes()
optional string input_type = 2 [json_name = "inputType"];
DescriptorProtos.FileOptions.Builder.getJavaOuterClassnameBytes()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
DescriptorProtos.FileOptions.getJavaOuterClassnameBytes()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
DescriptorProtos.FileOptionsOrBuilder.getJavaOuterClassnameBytes()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
DescriptorProtos.FileOptions.Builder.getJavaPackageBytes()
optional string java_package = 1 [json_name = "javaPackage"];
DescriptorProtos.FileOptions.getJavaPackageBytes()
optional string java_package = 1 [json_name = "javaPackage"];
DescriptorProtos.FileOptionsOrBuilder.getJavaPackageBytes()
optional string java_package = 1 [json_name = "javaPackage"];
DescriptorProtos.FieldDescriptorProto.Builder.getJsonNameBytes()
optional string json_name = 10 [json_name = "jsonName"];
DescriptorProtos.FieldDescriptorProto.getJsonNameBytes()
optional string json_name = 10 [json_name = "jsonName"];
DescriptorProtos.FieldDescriptorProtoOrBuilder.getJsonNameBytes()
optional string json_name = 10 [json_name = "jsonName"];
Field.Builder.getJsonNameBytes()
string json_name = 10 [json_name = "jsonName"];
Field.getJsonNameBytes()
string json_name = 10 [json_name = "jsonName"];
FieldOrBuilder.getJsonNameBytes()
string json_name = 10 [json_name = "jsonName"];
DescriptorProtos.SourceCodeInfo.Location.Builder.getLeadingCommentsBytes()
optional string leading_comments = 3 [json_name = "leadingComments"];
DescriptorProtos.SourceCodeInfo.Location.getLeadingCommentsBytes()
optional string leading_comments = 3 [json_name = "leadingComments"];
DescriptorProtos.SourceCodeInfo.LocationOrBuilder.getLeadingCommentsBytes()
optional string leading_comments = 3 [json_name = "leadingComments"];
DescriptorProtos.SourceCodeInfo.Location.Builder.getLeadingDetachedCommentsBytes
(int index) repeated string leading_detached_comments = 6 [json_name = "leadingDetachedComments"];
DescriptorProtos.SourceCodeInfo.Location.getLeadingDetachedCommentsBytes
(int index) repeated string leading_detached_comments = 6 [json_name = "leadingDetachedComments"];
DescriptorProtos.SourceCodeInfo.LocationOrBuilder.getLeadingDetachedCommentsBytes
(int index) repeated string leading_detached_comments = 6 [json_name = "leadingDetachedComments"];
Api.Builder.getNameBytes()
string name = 1 [json_name = "name"];
Api.getNameBytes()
string name = 1 [json_name = "name"];
ApiOrBuilder.getNameBytes()
string name = 1 [json_name = "name"];
DescriptorProtos.DescriptorProto.Builder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.DescriptorProto.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.DescriptorProtoOrBuilder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.EnumDescriptorProto.Builder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.EnumDescriptorProto.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.EnumDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.EnumValueDescriptorProto.Builder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.EnumValueDescriptorProto.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.EnumValueDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.FieldDescriptorProto.Builder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.FieldDescriptorProto.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.FieldDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.FileDescriptorProto.Builder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.FileDescriptorProto.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.FileDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.MethodDescriptorProto.Builder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.MethodDescriptorProto.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.MethodDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.OneofDescriptorProto.Builder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.OneofDescriptorProto.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.OneofDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.ServiceDescriptorProto.Builder.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.ServiceDescriptorProto.getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.ServiceDescriptorProtoOrBuilder.getNameBytes()
optional string name = 1 [json_name = "name"];
Enum.Builder.getNameBytes()
string name = 1 [json_name = "name"];
Enum.getNameBytes()
string name = 1 [json_name = "name"];
EnumOrBuilder.getNameBytes()
string name = 1 [json_name = "name"];
EnumValue.Builder.getNameBytes()
string name = 1 [json_name = "name"];
EnumValue.getNameBytes()
string name = 1 [json_name = "name"];
EnumValueOrBuilder.getNameBytes()
string name = 1 [json_name = "name"];
Field.Builder.getNameBytes()
string name = 4 [json_name = "name"];
Field.getNameBytes()
string name = 4 [json_name = "name"];
FieldOrBuilder.getNameBytes()
string name = 4 [json_name = "name"];
Method.Builder.getNameBytes()
string name = 1 [json_name = "name"];
Method.getNameBytes()
string name = 1 [json_name = "name"];
MethodOrBuilder.getNameBytes()
string name = 1 [json_name = "name"];
Mixin.Builder.getNameBytes()
string name = 1 [json_name = "name"];
Mixin.getNameBytes()
string name = 1 [json_name = "name"];
MixinOrBuilder.getNameBytes()
string name = 1 [json_name = "name"];
Option.Builder.getNameBytes()
string name = 1 [json_name = "name"];
Option.getNameBytes()
string name = 1 [json_name = "name"];
OptionOrBuilder.getNameBytes()
string name = 1 [json_name = "name"];
Type.Builder.getNameBytes()
string name = 1 [json_name = "name"];
Type.getNameBytes()
string name = 1 [json_name = "name"];
TypeOrBuilder.getNameBytes()
string name = 1 [json_name = "name"];
DescriptorProtos.UninterpretedOption.NamePart.Builder.getNamePartBytes()
required string name_part = 1 [json_name = "namePart"];
DescriptorProtos.UninterpretedOption.NamePart.getNamePartBytes()
required string name_part = 1 [json_name = "namePart"];
DescriptorProtos.UninterpretedOption.NamePartOrBuilder.getNamePartBytes()
required string name_part = 1 [json_name = "namePart"];
DescriptorProtos.FileOptions.Builder.getObjcClassPrefixBytes()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
DescriptorProtos.FileOptions.getObjcClassPrefixBytes()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
DescriptorProtos.FileOptionsOrBuilder.getObjcClassPrefixBytes()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
Type.Builder.getOneofsBytes
(int index) repeated string oneofs = 3 [json_name = "oneofs"];
Type.getOneofsBytes
(int index) repeated string oneofs = 3 [json_name = "oneofs"];
TypeOrBuilder.getOneofsBytes
(int index) repeated string oneofs = 3 [json_name = "oneofs"];
DescriptorProtos.FileDescriptorProto.Builder.getOptionDependencyBytes
(int index) repeated string option_dependency = 15 [json_name = "optionDependency"];
DescriptorProtos.FileDescriptorProto.getOptionDependencyBytes
(int index) repeated string option_dependency = 15 [json_name = "optionDependency"];
DescriptorProtos.FileDescriptorProtoOrBuilder.getOptionDependencyBytes
(int index) repeated string option_dependency = 15 [json_name = "optionDependency"];
DescriptorProtos.MethodDescriptorProto.Builder.getOutputTypeBytes()
optional string output_type = 3 [json_name = "outputType"];
DescriptorProtos.MethodDescriptorProto.getOutputTypeBytes()
optional string output_type = 3 [json_name = "outputType"];
DescriptorProtos.MethodDescriptorProtoOrBuilder.getOutputTypeBytes()
optional string output_type = 3 [json_name = "outputType"];
DescriptorProtos.FileDescriptorProto.Builder.getPackageBytes()
optional string package = 2 [json_name = "package"];
DescriptorProtos.FileDescriptorProto.getPackageBytes()
optional string package = 2 [json_name = "package"];
DescriptorProtos.FileDescriptorProtoOrBuilder.getPackageBytes()
optional string package = 2 [json_name = "package"];
FieldMask.Builder.getPathsBytes
(int index) repeated string paths = 1 [json_name = "paths"];
FieldMask.getPathsBytes
(int index) repeated string paths = 1 [json_name = "paths"];
FieldMaskOrBuilder.getPathsBytes
(int index) repeated string paths = 1 [json_name = "paths"];
DescriptorProtos.FileOptions.Builder.getPhpClassPrefixBytes()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
DescriptorProtos.FileOptions.getPhpClassPrefixBytes()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
DescriptorProtos.FileOptionsOrBuilder.getPhpClassPrefixBytes()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
DescriptorProtos.FileOptions.Builder.getPhpMetadataNamespaceBytes()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
DescriptorProtos.FileOptions.getPhpMetadataNamespaceBytes()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
DescriptorProtos.FileOptionsOrBuilder.getPhpMetadataNamespaceBytes()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
DescriptorProtos.FileOptions.Builder.getPhpNamespaceBytes()
optional string php_namespace = 41 [json_name = "phpNamespace"];
DescriptorProtos.FileOptions.getPhpNamespaceBytes()
optional string php_namespace = 41 [json_name = "phpNamespace"];
DescriptorProtos.FileOptionsOrBuilder.getPhpNamespaceBytes()
optional string php_namespace = 41 [json_name = "phpNamespace"];
Method.Builder.getRequestTypeUrlBytes()
string request_type_url = 2 [json_name = "requestTypeUrl"];
Method.getRequestTypeUrlBytes()
string request_type_url = 2 [json_name = "requestTypeUrl"];
MethodOrBuilder.getRequestTypeUrlBytes()
string request_type_url = 2 [json_name = "requestTypeUrl"];
DescriptorProtos.DescriptorProto.Builder.getReservedNameBytes
(int index) repeated string reserved_name = 10 [json_name = "reservedName"];
DescriptorProtos.DescriptorProto.getReservedNameBytes
(int index) repeated string reserved_name = 10 [json_name = "reservedName"];
DescriptorProtos.DescriptorProtoOrBuilder.getReservedNameBytes
(int index) repeated string reserved_name = 10 [json_name = "reservedName"];
DescriptorProtos.EnumDescriptorProto.Builder.getReservedNameBytes
(int index) repeated string reserved_name = 5 [json_name = "reservedName"];
DescriptorProtos.EnumDescriptorProto.getReservedNameBytes
(int index) repeated string reserved_name = 5 [json_name = "reservedName"];
DescriptorProtos.EnumDescriptorProtoOrBuilder.getReservedNameBytes
(int index) repeated string reserved_name = 5 [json_name = "reservedName"];
Method.Builder.getResponseTypeUrlBytes()
string response_type_url = 4 [json_name = "responseTypeUrl"];
Method.getResponseTypeUrlBytes()
string response_type_url = 4 [json_name = "responseTypeUrl"];
MethodOrBuilder.getResponseTypeUrlBytes()
string response_type_url = 4 [json_name = "responseTypeUrl"];
Mixin.Builder.getRootBytes()
string root = 2 [json_name = "root"];
Mixin.getRootBytes()
string root = 2 [json_name = "root"];
MixinOrBuilder.getRootBytes()
string root = 2 [json_name = "root"];
DescriptorProtos.FileOptions.Builder.getRubyPackageBytes()
optional string ruby_package = 45 [json_name = "rubyPackage"];
DescriptorProtos.FileOptions.getRubyPackageBytes()
optional string ruby_package = 45 [json_name = "rubyPackage"];
DescriptorProtos.FileOptionsOrBuilder.getRubyPackageBytes()
optional string ruby_package = 45 [json_name = "rubyPackage"];
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder.getSourceFileBytes()
optional string source_file = 2 [json_name = "sourceFile"];
DescriptorProtos.GeneratedCodeInfo.Annotation.getSourceFileBytes()
optional string source_file = 2 [json_name = "sourceFile"];
DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder.getSourceFileBytes()
optional string source_file = 2 [json_name = "sourceFile"];
DescriptorProtos.UninterpretedOption.Builder.getStringValue()
optional bytes string_value = 7 [json_name = "stringValue"];
DescriptorProtos.UninterpretedOption.getStringValue()
optional bytes string_value = 7 [json_name = "stringValue"];
DescriptorProtos.UninterpretedOptionOrBuilder.getStringValue()
optional bytes string_value = 7 [json_name = "stringValue"];
Value.Builder.getStringValueBytes()
string string_value = 3 [json_name = "stringValue"];
Value.getStringValueBytes()
string string_value = 3 [json_name = "stringValue"];
ValueOrBuilder.getStringValueBytes()
string string_value = 3 [json_name = "stringValue"];
DescriptorProtos.FileOptions.Builder.getSwiftPrefixBytes()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
DescriptorProtos.FileOptions.getSwiftPrefixBytes()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
DescriptorProtos.FileOptionsOrBuilder.getSwiftPrefixBytes()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
DescriptorProtos.FileDescriptorProto.Builder.getSyntaxBytes()
optional string syntax = 12 [json_name = "syntax"];
DescriptorProtos.FileDescriptorProto.getSyntaxBytes()
optional string syntax = 12 [json_name = "syntax"];
DescriptorProtos.FileDescriptorProtoOrBuilder.getSyntaxBytes()
optional string syntax = 12 [json_name = "syntax"];
DescriptorProtos.SourceCodeInfo.Location.Builder.getTrailingCommentsBytes()
optional string trailing_comments = 4 [json_name = "trailingComments"];
DescriptorProtos.SourceCodeInfo.Location.getTrailingCommentsBytes()
optional string trailing_comments = 4 [json_name = "trailingComments"];
DescriptorProtos.SourceCodeInfo.LocationOrBuilder.getTrailingCommentsBytes()
optional string trailing_comments = 4 [json_name = "trailingComments"];
DescriptorProtos.ExtensionRangeOptions.Declaration.Builder.getTypeBytes()
optional string type = 3 [json_name = "type"];
DescriptorProtos.ExtensionRangeOptions.Declaration.getTypeBytes()
optional string type = 3 [json_name = "type"];
DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder.getTypeBytes()
optional string type = 3 [json_name = "type"];
DescriptorProtos.FieldDescriptorProto.Builder.getTypeNameBytes()
optional string type_name = 6 [json_name = "typeName"];
DescriptorProtos.FieldDescriptorProto.getTypeNameBytes()
optional string type_name = 6 [json_name = "typeName"];
DescriptorProtos.FieldDescriptorProtoOrBuilder.getTypeNameBytes()
optional string type_name = 6 [json_name = "typeName"];
Any.Builder.getTypeUrlBytes()
string type_url = 1 [json_name = "typeUrl"];
Any.getTypeUrlBytes()
string type_url = 1 [json_name = "typeUrl"];
AnyOrBuilder.getTypeUrlBytes()
string type_url = 1 [json_name = "typeUrl"];
Field.Builder.getTypeUrlBytes()
string type_url = 6 [json_name = "typeUrl"];
Field.getTypeUrlBytes()
string type_url = 6 [json_name = "typeUrl"];
FieldOrBuilder.getTypeUrlBytes()
string type_url = 6 [json_name = "typeUrl"];
Any.Builder.getValue()
bytes value = 2 [json_name = "value"];
Any.getValue()
bytes value = 2 [json_name = "value"];
AnyOrBuilder.getValue()
bytes value = 2 [json_name = "value"];
BytesValue.Builder.getValue()
bytes value = 1 [json_name = "value"];
BytesValue.getValue()
bytes value = 1 [json_name = "value"];
BytesValueOrBuilder.getValue()
bytes value = 1 [json_name = "value"];
DescriptorProtos.FieldOptions.EditionDefault.Builder.getValueBytes()
optional string value = 2 [json_name = "value"];
DescriptorProtos.FieldOptions.EditionDefault.getValueBytes()
optional string value = 2 [json_name = "value"];
DescriptorProtos.FieldOptions.EditionDefaultOrBuilder.getValueBytes()
optional string value = 2 [json_name = "value"];
StringValue.Builder.getValueBytes()
string value = 1 [json_name = "value"];
StringValue.getValueBytes()
string value = 1 [json_name = "value"];
StringValueOrBuilder.getValueBytes()
string value = 1 [json_name = "value"];
Api.Builder.getVersionBytes()
string version = 4 [json_name = "version"];
Api.getVersionBytes()
string version = 4 [json_name = "version"];
ApiOrBuilder.getVersionBytes()
string version = 4 [json_name = "version"];
abstract ByteString
CodedInputStream.readBytes()
Read abytes
field value from the stream.static ByteString
ByteString.readFrom
(InputStream streamToDrain) Completely reads the given stream's bytes into aByteString
, blocking if necessary until all bytes are read through to the end of the stream.static ByteString
ByteString.readFrom
(InputStream streamToDrain, int chunkSize) Completely reads the given stream's bytes into aByteString
, blocking if necessary until all bytes are read through to the end of the stream.static ByteString
ByteString.readFrom
(InputStream streamToDrain, int minChunkSize, int maxChunkSize) Helper method that takes the chunk size range as a parameter.final ByteString
ByteString.substring
(int beginIndex) Return the substring frombeginIndex
, inclusive, to the end of the string.abstract ByteString
ByteString.substring
(int beginIndex, int endIndex) Return the substring frombeginIndex
, inclusive, toendIndex
, exclusive.AbstractMessageLite.toByteString()
ByteString.Output.toByteString()
Creates a byte string with the size and contents of this output stream.LazyFieldLite.toByteString()
Returns a BytesString for this field in a thread-safe way.MessageLite.toByteString()
Serializes the message to aByteString
and returns it.UnknownFieldSet.Field.toByteString
(int fieldNumber) Serializes the message to aByteString
and returns it.UnknownFieldSet.toByteString()
Serializes the message to aByteString
and returns it.static ByteString
TextFormat.unescapeBytes
(CharSequence charString) Un-escape a byte sequence as escaped usingTextFormat.escapeBytes(ByteString)
.static ByteString
UnsafeByteOperations.unsafeWrap
(byte[] buffer) An unsafe operation that returns aByteString
that is backed by the provided buffer.static ByteString
UnsafeByteOperations.unsafeWrap
(byte[] buffer, int offset, int length) An unsafe operation that returns aByteString
that is backed by a subregion of the provided buffer.static ByteString
UnsafeByteOperations.unsafeWrap
(ByteBuffer buffer) An unsafe operation that returns aByteString
that is backed by the provided buffer.Methods in com.google.protobuf that return types with arguments of type ByteStringModifier and TypeMethodDescriptionLazyStringArrayList.asByteStringList()
ProtocolStringList.asByteStringList()
Returns a view of the data as a list of ByteStrings.UnmodifiableLazyStringList.asByteStringList()
Deprecated.UnknownFieldSet.Field.getLengthDelimitedList()
Get the list of length-delimited values for this field.static Comparator
<ByteString> ByteString.unsignedLexicographicalComparator()
Returns aComparator
which comparesByteString
-s lexicographically as sequences of unsigned bytes (i.e.Methods in com.google.protobuf with parameters of type ByteStringModifier and TypeMethodDescriptionvoid
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.addDependencyBytes
(ByteString value) repeated string dependency = 3 [json_name = "dependency"];
DescriptorProtos.SourceCodeInfo.Location.Builder.addLeadingDetachedCommentsBytes
(ByteString value) repeated string leading_detached_comments = 6 [json_name = "leadingDetachedComments"];
UnknownFieldSet.Field.Builder.addLengthDelimited
(ByteString value) Add a length-delimited value.Type.Builder.addOneofsBytes
(ByteString value) repeated string oneofs = 3 [json_name = "oneofs"];
DescriptorProtos.FileDescriptorProto.Builder.addOptionDependencyBytes
(ByteString value) repeated string option_dependency = 15 [json_name = "optionDependency"];
FieldMask.Builder.addPathsBytes
(ByteString value) repeated string paths = 1 [json_name = "paths"];
DescriptorProtos.DescriptorProto.Builder.addReservedNameBytes
(ByteString value) repeated string reserved_name = 10 [json_name = "reservedName"];
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.final ByteString
ByteString.concat
(ByteString other) Concatenate the givenByteString
to this one.final 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.AbstractMessage.Builder.mergeFrom
(ByteString data) AbstractMessage.Builder.mergeFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) AbstractMessageLite.Builder.mergeFrom
(ByteString data) AbstractMessageLite.Builder.mergeFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) Message.Builder.mergeFrom
(ByteString data) Message.Builder.mergeFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) MessageLite.Builder.mergeFrom
(ByteString data) Parsedata
as a message of this type and merge it with the message being built.MessageLite.Builder.mergeFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) Parsedata
as a message of this type and merge it with the message being built.UnknownFieldSet.Builder.mergeFrom
(ByteString data) Parsedata
as anUnknownFieldSet
and merge it with the set being built.UnknownFieldSet.Builder.mergeFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) protected void
GeneratedMessageLite.mergeLengthDelimitedField
(int fieldNumber, ByteString value) Called by subclasses to parse an unknown field.UnknownFieldSet.Builder.mergeLengthDelimitedField
(int number, ByteString value) Convenience method for merging a length-delimited field.protected final void
GeneratedMessage.Builder.mergeUnknownLengthDelimitedField
(int number, ByteString bytes) Called by generated subclasses to add to the unknown field set.static BytesValue
BytesValue.of
(ByteString value) MapEntryLite.parseEntry
(ByteString bytes, ExtensionRegistryLite extensionRegistry) Parses an entry off of the input as aMap.Entry
.AbstractParser.parseFrom
(ByteString data) AbstractParser.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Any
Any.parseFrom
(ByteString data) static Any
Any.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Api
Api.parseFrom
(ByteString data) static Api
Api.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static BoolValue
BoolValue.parseFrom
(ByteString data) static BoolValue
BoolValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static BytesValue
BytesValue.parseFrom
(ByteString data) static BytesValue
BytesValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.DescriptorProto.ExtensionRange.parseFrom
(ByteString data) DescriptorProtos.DescriptorProto.ExtensionRange.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.DescriptorProto.parseFrom
(ByteString data) DescriptorProtos.DescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.DescriptorProto.ReservedRange.parseFrom
(ByteString data) DescriptorProtos.DescriptorProto.ReservedRange.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.EnumDescriptorProto.EnumReservedRange.parseFrom
(ByteString data) DescriptorProtos.EnumDescriptorProto.EnumReservedRange.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.EnumDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.EnumDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static DescriptorProtos.EnumOptions
DescriptorProtos.EnumOptions.parseFrom
(ByteString data) static DescriptorProtos.EnumOptions
DescriptorProtos.EnumOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.EnumValueDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.EnumValueDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.EnumValueOptions.parseFrom
(ByteString data) DescriptorProtos.EnumValueOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.ExtensionRangeOptions.Declaration.parseFrom
(ByteString data) DescriptorProtos.ExtensionRangeOptions.Declaration.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.ExtensionRangeOptions.parseFrom
(ByteString data) DescriptorProtos.ExtensionRangeOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static DescriptorProtos.FeatureSet
DescriptorProtos.FeatureSet.parseFrom
(ByteString data) static DescriptorProtos.FeatureSet
DescriptorProtos.FeatureSet.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FeatureSet.VisibilityFeature.parseFrom
(ByteString data) DescriptorProtos.FeatureSet.VisibilityFeature.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault.parseFrom
(ByteString data) DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FeatureSetDefaults.parseFrom
(ByteString data) DescriptorProtos.FeatureSetDefaults.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FieldDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.FieldDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FieldOptions.EditionDefault.parseFrom
(ByteString data) DescriptorProtos.FieldOptions.EditionDefault.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FieldOptions.FeatureSupport.parseFrom
(ByteString data) DescriptorProtos.FieldOptions.FeatureSupport.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FieldOptions.parseFrom
(ByteString data) DescriptorProtos.FieldOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FileDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.FileDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.FileDescriptorSet.parseFrom
(ByteString data) DescriptorProtos.FileDescriptorSet.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static DescriptorProtos.FileOptions
DescriptorProtos.FileOptions.parseFrom
(ByteString data) static DescriptorProtos.FileOptions
DescriptorProtos.FileOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.GeneratedCodeInfo.Annotation.parseFrom
(ByteString data) DescriptorProtos.GeneratedCodeInfo.Annotation.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.GeneratedCodeInfo.parseFrom
(ByteString data) DescriptorProtos.GeneratedCodeInfo.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.MessageOptions.parseFrom
(ByteString data) DescriptorProtos.MessageOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.MethodDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.MethodDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.MethodOptions.parseFrom
(ByteString data) DescriptorProtos.MethodOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.OneofDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.OneofDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.OneofOptions.parseFrom
(ByteString data) DescriptorProtos.OneofOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.ServiceDescriptorProto.parseFrom
(ByteString data) DescriptorProtos.ServiceDescriptorProto.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.ServiceOptions.parseFrom
(ByteString data) DescriptorProtos.ServiceOptions.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.SourceCodeInfo.Location.parseFrom
(ByteString data) DescriptorProtos.SourceCodeInfo.Location.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.SourceCodeInfo.parseFrom
(ByteString data) DescriptorProtos.SourceCodeInfo.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.UninterpretedOption.NamePart.parseFrom
(ByteString data) DescriptorProtos.UninterpretedOption.NamePart.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) DescriptorProtos.UninterpretedOption.parseFrom
(ByteString data) DescriptorProtos.UninterpretedOption.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static DoubleValue
DoubleValue.parseFrom
(ByteString data) static DoubleValue
DoubleValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Duration
Duration.parseFrom
(ByteString data) static Duration
Duration.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static DynamicMessage
DynamicMessage.parseFrom
(Descriptors.Descriptor type, ByteString data) Parsedata
as a message of the given type and return it.static DynamicMessage
DynamicMessage.parseFrom
(Descriptors.Descriptor type, ByteString data, ExtensionRegistry extensionRegistry) Parsedata
as a message of the given type and return it.static Empty
Empty.parseFrom
(ByteString data) static Empty
Empty.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Enum
Enum.parseFrom
(ByteString data) static Enum
Enum.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static EnumValue
EnumValue.parseFrom
(ByteString data) static EnumValue
EnumValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Field
Field.parseFrom
(ByteString data) static Field
Field.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static FieldMask
FieldMask.parseFrom
(ByteString data) static FieldMask
FieldMask.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static FloatValue
FloatValue.parseFrom
(ByteString data) static FloatValue
FloatValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) protected static <T extends GeneratedMessageLite<T,
?>>
TGeneratedMessageLite.parseFrom
(T defaultInstance, ByteString data) protected static <T extends GeneratedMessageLite<T,
?>>
TGeneratedMessageLite.parseFrom
(T defaultInstance, ByteString data, ExtensionRegistryLite extensionRegistry) static Int32Value
Int32Value.parseFrom
(ByteString data) static Int32Value
Int32Value.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Int64Value
Int64Value.parseFrom
(ByteString data) static Int64Value
Int64Value.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) JavaFeaturesProto.JavaFeatures.NestInFileClassFeature.parseFrom
(ByteString data) JavaFeaturesProto.JavaFeatures.NestInFileClassFeature.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) JavaFeaturesProto.JavaFeatures.parseFrom
(ByteString data) JavaFeaturesProto.JavaFeatures.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static ListValue
ListValue.parseFrom
(ByteString data) static ListValue
ListValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Method
Method.parseFrom
(ByteString data) static Method
Method.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Mixin
Mixin.parseFrom
(ByteString data) static Mixin
Mixin.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Option
Option.parseFrom
(ByteString data) static Option
Option.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) Parser.parseFrom
(ByteString data) Parsesdata
as a message ofMessageType
.Parser.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) Parsesdata
as a message ofMessageType
.static SourceContext
SourceContext.parseFrom
(ByteString data) static SourceContext
SourceContext.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static StringValue
StringValue.parseFrom
(ByteString data) static StringValue
StringValue.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Struct
Struct.parseFrom
(ByteString data) static Struct
Struct.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Timestamp
Timestamp.parseFrom
(ByteString data) static Timestamp
Timestamp.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Type
Type.parseFrom
(ByteString data) static Type
Type.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static UInt32Value
UInt32Value.parseFrom
(ByteString data) static UInt32Value
UInt32Value.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static UInt64Value
UInt64Value.parseFrom
(ByteString data) static UInt64Value
UInt64Value.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static UnknownFieldSet
UnknownFieldSet.parseFrom
(ByteString data) Parsedata
as anUnknownFieldSet
and return it.static Value
Value.parseFrom
(ByteString data) static Value
Value.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) AbstractParser.parsePartialFrom
(ByteString data) AbstractParser.parsePartialFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) Parser.parsePartialFrom
(ByteString data) LikeParser.parseFrom(ByteString)
, but does not throw an exception if the message is missing required fields.Parser.parsePartialFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) LikeParser.parseFrom(ByteString, ExtensionRegistryLite)
, but does not throw an exception if the message is missing required fields.void
LazyStringArrayList.set
(int index, ByteString s) void
LazyStringList.set
(int index, ByteString element) Replaces the element at the specified position in this list with the specified element (optional operation).void
UnmodifiableLazyStringList.set
(int index, ByteString element) Deprecated.DescriptorProtos.UninterpretedOption.Builder.setAggregateValueBytes
(ByteString value) optional string aggregate_value = 8 [json_name = "aggregateValue"];
void
LazyFieldLite.setByteString
(ByteString bytes, ExtensionRegistryLite extensionRegistry) Sets this field with bytes to delay-parse.DescriptorProtos.FileOptions.Builder.setCsharpNamespaceBytes
(ByteString value) optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
DescriptorProtos.FieldDescriptorProto.Builder.setDefaultValueBytes
(ByteString value) optional string default_value = 7 [json_name = "defaultValue"];
Field.Builder.setDefaultValueBytes
(ByteString value) string default_value = 11 [json_name = "defaultValue"];
DescriptorProtos.FieldOptions.FeatureSupport.Builder.setDeprecationWarningBytes
(ByteString value) optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
Enum.Builder.setEditionBytes
(ByteString value) string edition = 6 [json_name = "edition"];
Type.Builder.setEditionBytes
(ByteString value) string edition = 7 [json_name = "edition"];
DescriptorProtos.FieldDescriptorProto.Builder.setExtendeeBytes
(ByteString value) optional string extendee = 2 [json_name = "extendee"];
SourceContext.Builder.setFileNameBytes
(ByteString value) string file_name = 1 [json_name = "fileName"];
DescriptorProtos.ExtensionRangeOptions.Declaration.Builder.setFullNameBytes
(ByteString value) optional string full_name = 2 [json_name = "fullName"];
DescriptorProtos.FileOptions.Builder.setGoPackageBytes
(ByteString value) optional string go_package = 11 [json_name = "goPackage"];
DescriptorProtos.UninterpretedOption.Builder.setIdentifierValueBytes
(ByteString value) optional string identifier_value = 3 [json_name = "identifierValue"];
DescriptorProtos.MethodDescriptorProto.Builder.setInputTypeBytes
(ByteString value) optional string input_type = 2 [json_name = "inputType"];
DescriptorProtos.FileOptions.Builder.setJavaOuterClassnameBytes
(ByteString value) optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
DescriptorProtos.FileOptions.Builder.setJavaPackageBytes
(ByteString value) optional string java_package = 1 [json_name = "javaPackage"];
DescriptorProtos.FieldDescriptorProto.Builder.setJsonNameBytes
(ByteString value) optional string json_name = 10 [json_name = "jsonName"];
Field.Builder.setJsonNameBytes
(ByteString value) string json_name = 10 [json_name = "jsonName"];
DescriptorProtos.SourceCodeInfo.Location.Builder.setLeadingCommentsBytes
(ByteString value) optional string leading_comments = 3 [json_name = "leadingComments"];
Api.Builder.setNameBytes
(ByteString value) string name = 1 [json_name = "name"];
DescriptorProtos.DescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1 [json_name = "name"];
DescriptorProtos.EnumDescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1 [json_name = "name"];
DescriptorProtos.EnumValueDescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1 [json_name = "name"];
DescriptorProtos.FieldDescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1 [json_name = "name"];
DescriptorProtos.FileDescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1 [json_name = "name"];
DescriptorProtos.MethodDescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1 [json_name = "name"];
DescriptorProtos.OneofDescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1 [json_name = "name"];
DescriptorProtos.ServiceDescriptorProto.Builder.setNameBytes
(ByteString value) optional string name = 1 [json_name = "name"];
Enum.Builder.setNameBytes
(ByteString value) string name = 1 [json_name = "name"];
EnumValue.Builder.setNameBytes
(ByteString value) string name = 1 [json_name = "name"];
Field.Builder.setNameBytes
(ByteString value) string name = 4 [json_name = "name"];
Method.Builder.setNameBytes
(ByteString value) string name = 1 [json_name = "name"];
Mixin.Builder.setNameBytes
(ByteString value) string name = 1 [json_name = "name"];
Option.Builder.setNameBytes
(ByteString value) string name = 1 [json_name = "name"];
Type.Builder.setNameBytes
(ByteString value) string name = 1 [json_name = "name"];
DescriptorProtos.UninterpretedOption.NamePart.Builder.setNamePartBytes
(ByteString value) required string name_part = 1 [json_name = "namePart"];
DescriptorProtos.FileOptions.Builder.setObjcClassPrefixBytes
(ByteString value) optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
DescriptorProtos.MethodDescriptorProto.Builder.setOutputTypeBytes
(ByteString value) optional string output_type = 3 [json_name = "outputType"];
DescriptorProtos.FileDescriptorProto.Builder.setPackageBytes
(ByteString value) optional string package = 2 [json_name = "package"];
DescriptorProtos.FileOptions.Builder.setPhpClassPrefixBytes
(ByteString value) optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
DescriptorProtos.FileOptions.Builder.setPhpMetadataNamespaceBytes
(ByteString value) optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
DescriptorProtos.FileOptions.Builder.setPhpNamespaceBytes
(ByteString value) optional string php_namespace = 41 [json_name = "phpNamespace"];
Method.Builder.setRequestTypeUrlBytes
(ByteString value) string request_type_url = 2 [json_name = "requestTypeUrl"];
Method.Builder.setResponseTypeUrlBytes
(ByteString value) string response_type_url = 4 [json_name = "responseTypeUrl"];
Mixin.Builder.setRootBytes
(ByteString value) string root = 2 [json_name = "root"];
DescriptorProtos.FileOptions.Builder.setRubyPackageBytes
(ByteString value) optional string ruby_package = 45 [json_name = "rubyPackage"];
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder.setSourceFileBytes
(ByteString value) optional string source_file = 2 [json_name = "sourceFile"];
DescriptorProtos.UninterpretedOption.Builder.setStringValue
(ByteString value) optional bytes string_value = 7 [json_name = "stringValue"];
Value.Builder.setStringValueBytes
(ByteString value) string string_value = 3 [json_name = "stringValue"];
DescriptorProtos.FileOptions.Builder.setSwiftPrefixBytes
(ByteString value) optional string swift_prefix = 39 [json_name = "swiftPrefix"];
DescriptorProtos.FileDescriptorProto.Builder.setSyntaxBytes
(ByteString value) optional string syntax = 12 [json_name = "syntax"];
DescriptorProtos.SourceCodeInfo.Location.Builder.setTrailingCommentsBytes
(ByteString value) optional string trailing_comments = 4 [json_name = "trailingComments"];
DescriptorProtos.ExtensionRangeOptions.Declaration.Builder.setTypeBytes
(ByteString value) optional string type = 3 [json_name = "type"];
DescriptorProtos.FieldDescriptorProto.Builder.setTypeNameBytes
(ByteString value) optional string type_name = 6 [json_name = "typeName"];
Any.Builder.setTypeUrlBytes
(ByteString value) string type_url = 1 [json_name = "typeUrl"];
Field.Builder.setTypeUrlBytes
(ByteString value) string type_url = 6 [json_name = "typeUrl"];
Any.Builder.setValue
(ByteString value) bytes value = 2 [json_name = "value"];
BytesValue.Builder.setValue
(ByteString value) bytes value = 1 [json_name = "value"];
DescriptorProtos.FieldOptions.EditionDefault.Builder.setValueBytes
(ByteString value) optional string value = 2 [json_name = "value"];
StringValue.Builder.setValueBytes
(ByteString value) string value = 1 [json_name = "value"];
Api.Builder.setVersionBytes
(ByteString value) string version = 4 [json_name = "version"];
final boolean
ByteString.startsWith
(ByteString prefix) Tests if this bytestring starts with the specified prefix.static void
UnsafeByteOperations.unsafeWriteTo
(ByteString bytes, ByteOutput output) Writes the givenByteString
to the providedByteOutput
.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.final 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 ByteStringModifier and TypeMethodDescriptionboolean
LazyStringArrayList.addAllByteString
(Collection<? extends ByteString> values) boolean
LazyStringList.addAllByteString
(Collection<? extends ByteString> c) Appends all elements in the specified ByteString collection to the end of this list.boolean
UnmodifiableLazyStringList.addAllByteString
(Collection<? extends ByteString> element) Deprecated.static ByteString
ByteString.copyFrom
(Iterable<ByteString> byteStrings) Concatenates all byte strings in the iterable and returns the result.Constructors in com.google.protobuf with parameters of type ByteStringModifierConstructorDescriptionLazyField
(MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes) LazyFieldLite
(ExtensionRegistryLite extensionRegistry, ByteString bytes) Constructs a LazyFieldLite with bytes that will be parsed lazily. -
Uses of ByteString in com.google.protobuf.compiler
Methods in com.google.protobuf.compiler that return ByteStringModifier and TypeMethodDescriptionPluginProtos.CodeGeneratorResponse.File.Builder.getContentBytes()
optional string content = 15 [json_name = "content"];
PluginProtos.CodeGeneratorResponse.File.getContentBytes()
optional string content = 15 [json_name = "content"];
PluginProtos.CodeGeneratorResponse.FileOrBuilder.getContentBytes()
optional string content = 15 [json_name = "content"];
PluginProtos.CodeGeneratorResponse.Builder.getErrorBytes()
optional string error = 1 [json_name = "error"];
PluginProtos.CodeGeneratorResponse.getErrorBytes()
optional string error = 1 [json_name = "error"];
PluginProtos.CodeGeneratorResponseOrBuilder.getErrorBytes()
optional string error = 1 [json_name = "error"];
PluginProtos.CodeGeneratorRequest.Builder.getFileToGenerateBytes
(int index) repeated string file_to_generate = 1 [json_name = "fileToGenerate"];
PluginProtos.CodeGeneratorRequest.getFileToGenerateBytes
(int index) repeated string file_to_generate = 1 [json_name = "fileToGenerate"];
PluginProtos.CodeGeneratorRequestOrBuilder.getFileToGenerateBytes
(int index) repeated string file_to_generate = 1 [json_name = "fileToGenerate"];
PluginProtos.CodeGeneratorResponse.File.Builder.getInsertionPointBytes()
optional string insertion_point = 2 [json_name = "insertionPoint"];
PluginProtos.CodeGeneratorResponse.File.getInsertionPointBytes()
optional string insertion_point = 2 [json_name = "insertionPoint"];
PluginProtos.CodeGeneratorResponse.FileOrBuilder.getInsertionPointBytes()
optional string insertion_point = 2 [json_name = "insertionPoint"];
PluginProtos.CodeGeneratorResponse.File.Builder.getNameBytes()
optional string name = 1 [json_name = "name"];
PluginProtos.CodeGeneratorResponse.File.getNameBytes()
optional string name = 1 [json_name = "name"];
PluginProtos.CodeGeneratorResponse.FileOrBuilder.getNameBytes()
optional string name = 1 [json_name = "name"];
PluginProtos.CodeGeneratorRequest.Builder.getParameterBytes()
optional string parameter = 2 [json_name = "parameter"];
PluginProtos.CodeGeneratorRequest.getParameterBytes()
optional string parameter = 2 [json_name = "parameter"];
PluginProtos.CodeGeneratorRequestOrBuilder.getParameterBytes()
optional string parameter = 2 [json_name = "parameter"];
PluginProtos.Version.Builder.getSuffixBytes()
optional string suffix = 4 [json_name = "suffix"];
PluginProtos.Version.getSuffixBytes()
optional string suffix = 4 [json_name = "suffix"];
PluginProtos.VersionOrBuilder.getSuffixBytes()
optional string suffix = 4 [json_name = "suffix"];
Methods in com.google.protobuf.compiler with parameters of type ByteStringModifier and TypeMethodDescriptionPluginProtos.CodeGeneratorRequest.Builder.addFileToGenerateBytes
(ByteString value) repeated string file_to_generate = 1 [json_name = "fileToGenerate"];
PluginProtos.CodeGeneratorRequest.parseFrom
(ByteString data) PluginProtos.CodeGeneratorRequest.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) PluginProtos.CodeGeneratorResponse.File.parseFrom
(ByteString data) PluginProtos.CodeGeneratorResponse.File.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) PluginProtos.CodeGeneratorResponse.parseFrom
(ByteString data) PluginProtos.CodeGeneratorResponse.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static PluginProtos.Version
PluginProtos.Version.parseFrom
(ByteString data) static PluginProtos.Version
PluginProtos.Version.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) PluginProtos.CodeGeneratorResponse.File.Builder.setContentBytes
(ByteString value) optional string content = 15 [json_name = "content"];
PluginProtos.CodeGeneratorResponse.Builder.setErrorBytes
(ByteString value) optional string error = 1 [json_name = "error"];
PluginProtos.CodeGeneratorResponse.File.Builder.setInsertionPointBytes
(ByteString value) optional string insertion_point = 2 [json_name = "insertionPoint"];
PluginProtos.CodeGeneratorResponse.File.Builder.setNameBytes
(ByteString value) optional string name = 1 [json_name = "name"];
PluginProtos.CodeGeneratorRequest.Builder.setParameterBytes
(ByteString value) optional string parameter = 2 [json_name = "parameter"];
PluginProtos.Version.Builder.setSuffixBytes
(ByteString value) optional string suffix = 4 [json_name = "suffix"];
-
Uses of ByteString in dev.enola.common.validation
Methods in dev.enola.common.validation that return ByteStringModifier and TypeMethodDescriptionValidation.Builder.getErrorBytes()
string error = 2;
Validation.getErrorBytes()
string error = 2;
ValidationOrBuilder.getErrorBytes()
string error = 2;
Validation.Builder.getPathBytes()
As in https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/field_mask.protoValidation.getPathBytes()
As in https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/field_mask.protoValidationOrBuilder.getPathBytes()
As in https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/field_mask.protoMethods in dev.enola.common.validation with parameters of type ByteStringModifier and TypeMethodDescriptionstatic Validation
Validation.parseFrom
(ByteString data) static Validation
Validation.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Validations
Validations.parseFrom
(ByteString data) static Validations
Validations.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) Validation.Builder.setErrorBytes
(ByteString value) string error = 2;
Validation.Builder.setPathBytes
(ByteString value) As in https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/field_mask.proto -
Uses of ByteString in dev.enola.core.proto
Methods in dev.enola.core.proto that return ByteStringModifier and TypeMethodDescriptionGetThingRequest.Builder.getIriBytes()
IRI of Thing to get.GetThingRequest.getIriBytes()
IRI of Thing to get.GetThingRequestOrBuilder.getIriBytes()
IRI of Thing to get.GetThingsRequest.Builder.getIriBytes()
IRI of a Thing to get, or query for Things; e.g.GetThingsRequest.getIriBytes()
IRI of a Thing to get, or query for Things; e.g.GetThingsRequestOrBuilder.getIriBytes()
IRI of a Thing to get, or query for Things; e.g.Methods in dev.enola.core.proto with parameters of type ByteStringModifier and TypeMethodDescriptionstatic GetFileDescriptorSetRequest
GetFileDescriptorSetRequest.parseFrom
(ByteString data) static GetFileDescriptorSetRequest
GetFileDescriptorSetRequest.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static GetFileDescriptorSetResponse
GetFileDescriptorSetResponse.parseFrom
(ByteString data) static GetFileDescriptorSetResponse
GetFileDescriptorSetResponse.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static GetThingRequest
GetThingRequest.parseFrom
(ByteString data) static GetThingRequest
GetThingRequest.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static GetThingResponse
GetThingResponse.parseFrom
(ByteString data) static GetThingResponse
GetThingResponse.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static GetThingsRequest
GetThingsRequest.parseFrom
(ByteString data) static GetThingsRequest
GetThingsRequest.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static GetThingsResponse
GetThingsResponse.parseFrom
(ByteString data) static GetThingsResponse
GetThingsResponse.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) GetThingRequest.Builder.setIriBytes
(ByteString value) IRI of Thing to get.GetThingsRequest.Builder.setIriBytes
(ByteString value) IRI of a Thing to get, or query for Things; e.g. -
Uses of ByteString in dev.enola.core.util.proto
Methods in dev.enola.core.util.proto that return ByteStringModifier and TypeMethodDescriptionLog.Entry.Builder.getTextBytes()
string text = 3;
Log.Entry.getTextBytes()
string text = 3;
Log.EntryOrBuilder.getTextBytes()
string text = 3;
Log.Builder.getUrlBytes()
string url = 1;
Log.getUrlBytes()
string url = 1;
LogOrBuilder.getUrlBytes()
string url = 1;
Methods in dev.enola.core.util.proto with parameters of type ByteStringModifier and TypeMethodDescriptionstatic Log.Entry
Log.Entry.parseFrom
(ByteString data) static Log.Entry
Log.Entry.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Log.Inline
Log.Inline.parseFrom
(ByteString data) static Log.Inline
Log.Inline.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Log
Log.parseFrom
(ByteString data) static Log
Log.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) Log.Entry.Builder.setTextBytes
(ByteString value) string text = 3;
Log.Builder.setUrlBytes
(ByteString value) string url = 1;
-
Uses of ByteString in dev.enola.thing.proto
Methods in dev.enola.thing.proto that return ByteStringModifier and TypeMethodDescriptionValue.Literal.Builder.getDatatypeBytes()
This is an IRI.Value.Literal.getDatatypeBytes()
This is an IRI.Value.LiteralOrBuilder.getDatatypeBytes()
This is an IRI.ThingMetadata.Builder.getDescriptionHtmlBytes()
string description_html = 3;
ThingMetadata.getDescriptionHtmlBytes()
string description_html = 3;
ThingMetadataOrBuilder.getDescriptionHtmlBytes()
string description_html = 3;
ThingMetadata.Builder.getIdBytes()
string id = 1;
ThingMetadata.getIdBytes()
string id = 1;
ThingMetadataOrBuilder.getIdBytes()
string id = 1;
ThingMetadata.Builder.getImageHtmlBytes()
string image_html = 4;
ThingMetadata.getImageHtmlBytes()
string image_html = 4;
ThingMetadataOrBuilder.getImageHtmlBytes()
string image_html = 4;
TextThings.Builder.getImportsBytes
(int index) repeated string imports = 2;
TextThings.getImportsBytes
(int index) repeated string imports = 2;
TextThingsOrBuilder.getImportsBytes
(int index) repeated string imports = 2;
Thing.Builder.getIriBytes()
The IRI is often only set on the "top outer most", and may well be unset for things "contained" in other things (RDF calls this "blank nodes").Thing.getIriBytes()
The IRI is often only set on the "top outer most", and may well be unset for things "contained" in other things (RDF calls this "blank nodes").ThingOrBuilder.getIriBytes()
The IRI is often only set on the "top outer most", and may well be unset for things "contained" in other things (RDF calls this "blank nodes").ThingMetadata.Builder.getLabelBytes()
string label = 2;
ThingMetadata.getLabelBytes()
string label = 2;
ThingMetadataOrBuilder.getLabelBytes()
string label = 2;
Value.LangString.Builder.getLangBytes()
BCP 47 “language tag” (e.g.Value.LangString.getLangBytes()
BCP 47 “language tag” (e.g.Value.LangStringOrBuilder.getLangBytes()
BCP 47 “language tag” (e.g.Value.Builder.getLinkBytes()
string link = 1;
Value.getLinkBytes()
string link = 1;
ValueOrBuilder.getLinkBytes()
string link = 1;
CompactThing.Builder.getPropertiesOrDefault
(long key, ByteString defaultValue) TODO bytes, really?CompactThing.getPropertiesOrDefault
(long key, ByteString defaultValue) TODO bytes, really?CompactThingOrBuilder.getPropertiesOrDefault
(long key, ByteString defaultValue) TODO bytes, really?CompactThing.Builder.getPropertiesOrThrow
(long key) TODO bytes, really?CompactThing.getPropertiesOrThrow
(long key) TODO bytes, really?CompactThingOrBuilder.getPropertiesOrThrow
(long key) TODO bytes, really?Value.Builder.getStringBytes()
string string = 2;
Value.getStringBytes()
string string = 2;
ValueOrBuilder.getStringBytes()
string string = 2;
Value.LangString.Builder.getTextBytes()
Text, for humans.Value.LangString.getTextBytes()
Text, for humans.Value.LangStringOrBuilder.getTextBytes()
Text, for humans.Value.Literal.Builder.getValueBytes()
Value of the literal.Value.Literal.getValueBytes()
Value of the literal.Value.LiteralOrBuilder.getValueBytes()
Value of the literal.Methods in dev.enola.thing.proto that return types with arguments of type ByteStringModifier and TypeMethodDescriptionCompactThing.Builder.getMutableProperties()
Deprecated.CompactThing.Builder.getProperties()
Deprecated.CompactThing.getProperties()
Deprecated.CompactThingOrBuilder.getProperties()
Deprecated.CompactThing.Builder.getPropertiesMap()
TODO bytes, really?CompactThing.getPropertiesMap()
TODO bytes, really?CompactThingOrBuilder.getPropertiesMap()
TODO bytes, really?Methods in dev.enola.thing.proto with parameters of type ByteStringModifier and TypeMethodDescriptionTextThings.Builder.addImportsBytes
(ByteString value) repeated string imports = 2;
CompactThing.Builder.getPropertiesOrDefault
(long key, ByteString defaultValue) TODO bytes, really?CompactThing.getPropertiesOrDefault
(long key, ByteString defaultValue) TODO bytes, really?CompactThingOrBuilder.getPropertiesOrDefault
(long key, ByteString defaultValue) TODO bytes, really?static CompactThing
CompactThing.parseFrom
(ByteString data) static CompactThing
CompactThing.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static CompactThings
CompactThings.parseFrom
(ByteString data) static CompactThings
CompactThings.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static LinksMetadata
LinksMetadata.parseFrom
(ByteString data) static LinksMetadata
LinksMetadata.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static TextThing
TextThing.parseFrom
(ByteString data) static TextThing
TextThing.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static TextThings
TextThings.parseFrom
(ByteString data) static TextThings
TextThings.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Thing
Thing.parseFrom
(ByteString data) static Thing
Thing.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static ThingMetadata
ThingMetadata.parseFrom
(ByteString data) static ThingMetadata
ThingMetadata.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Things
Things.parseFrom
(ByteString data) static Things
Things.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Value.LangString
Value.LangString.parseFrom
(ByteString data) static Value.LangString
Value.LangString.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Value.List
Value.List.parseFrom
(ByteString data) static Value.List
Value.List.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Value.Literal
Value.Literal.parseFrom
(ByteString data) static Value.Literal
Value.Literal.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static Value
Value.parseFrom
(ByteString data) static Value
Value.parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) CompactThing.Builder.putProperties
(long key, ByteString value) TODO bytes, really?Value.Literal.Builder.setDatatypeBytes
(ByteString value) This is an IRI.ThingMetadata.Builder.setDescriptionHtmlBytes
(ByteString value) string description_html = 3;
ThingMetadata.Builder.setIdBytes
(ByteString value) string id = 1;
ThingMetadata.Builder.setImageHtmlBytes
(ByteString value) string image_html = 4;
Thing.Builder.setIriBytes
(ByteString value) The IRI is often only set on the "top outer most", and may well be unset for things "contained" in other things (RDF calls this "blank nodes").ThingMetadata.Builder.setLabelBytes
(ByteString value) string label = 2;
Value.LangString.Builder.setLangBytes
(ByteString value) BCP 47 “language tag” (e.g.Value.Builder.setLinkBytes
(ByteString value) string link = 1;
Value.Builder.setStringBytes
(ByteString value) string string = 2;
Value.LangString.Builder.setTextBytes
(ByteString value) Text, for humans.Value.Literal.Builder.setValueBytes
(ByteString value) Value of the literal.Method parameters in dev.enola.thing.proto with type arguments of type ByteStringModifier and TypeMethodDescriptionCompactThing.Builder.putAllProperties
(Map<Long, ByteString> values) TODO bytes, really?