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 ByteStringByteString. EMPTYEmptyByteString.Methods in com.google.protobuf that return ByteString Modifier and Type Method Description static ByteStringInternal. bytesDefaultValue(java.lang.String bytes)Helper called by generated code to construct default values for bytes fields.ByteStringByteString. concat(ByteString other)Concatenate the givenByteStringto this one.static ByteStringByteString. copyFrom(byte[] bytes)Copies the given bytes into aByteString.static ByteStringByteString. copyFrom(byte[] bytes, int offset, int size)Copies the given bytes into aByteString.static ByteStringByteString. copyFrom(java.lang.Iterable<ByteString> byteStrings)Concatenates all byte strings in the iterable and returns the result.static ByteStringByteString. copyFrom(java.lang.String text, java.lang.String charsetName)Encodestextinto a sequence of bytes using the named charset and returns the result as aByteString.static ByteStringByteString. copyFrom(java.lang.String text, java.nio.charset.Charset charset)Encodestextinto a sequence of bytes using the named charset and returns the result as aByteString.static ByteStringByteString. copyFrom(java.nio.ByteBuffer bytes)Copies the remaining bytes from ajava.nio.ByteBufferinto aByteString.static ByteStringByteString. copyFrom(java.nio.ByteBuffer bytes, int size)Copies the nextsizebytes from ajava.nio.ByteBufferinto aByteString.static ByteStringByteString. copyFromUtf8(java.lang.String text)Encodestextinto a sequence of UTF-8 bytes and returns the result as aByteString.ByteStringDescriptorProtos.UninterpretedOption.Builder. getAggregateValueBytes()optional string aggregate_value = 8;ByteStringDescriptorProtos.UninterpretedOption. getAggregateValueBytes()optional string aggregate_value = 8;ByteStringDescriptorProtos.UninterpretedOptionOrBuilder. getAggregateValueBytes()optional string aggregate_value = 8;ByteStringLazyStringArrayList. getByteString(int index)ByteStringLazyStringList. getByteString(int index)Returns the element at the specified position in this list as a ByteString.ByteStringUnmodifiableLazyStringList. getByteString(int index)ByteStringDescriptorProtos.FileOptions.Builder. getCsharpNamespaceBytes()Namespace for generated classes; defaults to the package.ByteStringDescriptorProtos.FileOptions. getCsharpNamespaceBytes()Namespace for generated classes; defaults to the package.ByteStringDescriptorProtos.FileOptionsOrBuilder. getCsharpNamespaceBytes()Namespace for generated classes; defaults to the package.ByteStringDescriptorProtos.FieldDescriptorProto.Builder. getDefaultValueBytes()For numeric types, contains the original text representation of the value.ByteStringDescriptorProtos.FieldDescriptorProto. getDefaultValueBytes()For numeric types, contains the original text representation of the value.ByteStringDescriptorProtos.FieldDescriptorProtoOrBuilder. getDefaultValueBytes()For numeric types, contains the original text representation of the value.ByteStringField.Builder. getDefaultValueBytes()The string value of the default value of this field.ByteStringField. getDefaultValueBytes()The string value of the default value of this field.ByteStringFieldOrBuilder. getDefaultValueBytes()The string value of the default value of this field.ByteStringDescriptorProtos.FileDescriptorProto.Builder. getDependencyBytes(int index)Names of files imported by this file.ByteStringDescriptorProtos.FileDescriptorProto. getDependencyBytes(int index)Names of files imported by this file.ByteStringDescriptorProtos.FileDescriptorProtoOrBuilder. getDependencyBytes(int index)Names of files imported by this file.ByteStringDescriptorProtos.FieldDescriptorProto.Builder. getExtendeeBytes()For extensions, this is the name of the type being extended.ByteStringDescriptorProtos.FieldDescriptorProto. getExtendeeBytes()For extensions, this is the name of the type being extended.ByteStringDescriptorProtos.FieldDescriptorProtoOrBuilder. getExtendeeBytes()For extensions, this is the name of the type being extended.ByteStringSourceContext.Builder. getFileNameBytes()The path-qualified name of the .proto file that contained the associated protobuf element.ByteStringSourceContext. getFileNameBytes()The path-qualified name of the .proto file that contained the associated protobuf element.ByteStringSourceContextOrBuilder. getFileNameBytes()The path-qualified name of the .proto file that contained the associated protobuf element.ByteStringDescriptorProtos.FileOptions.Builder. getGoPackageBytes()Sets the Go package where structs generated from this .proto will be placed.ByteStringDescriptorProtos.FileOptions. getGoPackageBytes()Sets the Go package where structs generated from this .proto will be placed.ByteStringDescriptorProtos.FileOptionsOrBuilder. getGoPackageBytes()Sets the Go package where structs generated from this .proto will be placed.ByteStringDescriptorProtos.UninterpretedOption.Builder. getIdentifierValueBytes()The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.ByteStringDescriptorProtos.UninterpretedOption. getIdentifierValueBytes()The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.ByteStringDescriptorProtos.UninterpretedOptionOrBuilder. getIdentifierValueBytes()The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.ByteStringDescriptorProtos.MethodDescriptorProto.Builder. getInputTypeBytes()Input and output type names.ByteStringDescriptorProtos.MethodDescriptorProto. getInputTypeBytes()Input and output type names.ByteStringDescriptorProtos.MethodDescriptorProtoOrBuilder. getInputTypeBytes()Input and output type names.ByteStringDescriptorProtos.FileOptions.Builder. getJavaOuterClassnameBytes()If set, all the classes from the .proto file are wrapped in a single outer class with the given name.ByteStringDescriptorProtos.FileOptions. getJavaOuterClassnameBytes()If set, all the classes from the .proto file are wrapped in a single outer class with the given name.ByteStringDescriptorProtos.FileOptionsOrBuilder. getJavaOuterClassnameBytes()If set, all the classes from the .proto file are wrapped in a single outer class with the given name.ByteStringDescriptorProtos.FileOptions.Builder. getJavaPackageBytes()Sets the Java package where classes generated from this .proto will be placed.ByteStringDescriptorProtos.FileOptions. getJavaPackageBytes()Sets the Java package where classes generated from this .proto will be placed.ByteStringDescriptorProtos.FileOptionsOrBuilder. getJavaPackageBytes()Sets the Java package where classes generated from this .proto will be placed.ByteStringDescriptorProtos.FieldDescriptorProto.Builder. getJsonNameBytes()JSON name of this field.ByteStringDescriptorProtos.FieldDescriptorProto. getJsonNameBytes()JSON name of this field.ByteStringDescriptorProtos.FieldDescriptorProtoOrBuilder. getJsonNameBytes()JSON name of this field.ByteStringField.Builder. getJsonNameBytes()The field JSON name.ByteStringField. getJsonNameBytes()The field JSON name.ByteStringFieldOrBuilder. getJsonNameBytes()The field JSON name.ByteStringDescriptorProtos.SourceCodeInfo.Location.Builder. getLeadingCommentsBytes()If this SourceCodeInfo represents a complete declaration, these are any comments appearing before and after the declaration which appear to be attached to the declaration.ByteStringDescriptorProtos.SourceCodeInfo.Location. getLeadingCommentsBytes()If this SourceCodeInfo represents a complete declaration, these are any comments appearing before and after the declaration which appear to be attached to the declaration.ByteStringDescriptorProtos.SourceCodeInfo.LocationOrBuilder. getLeadingCommentsBytes()If this SourceCodeInfo represents a complete declaration, these are any comments appearing before and after the declaration which appear to be attached to the declaration.ByteStringDescriptorProtos.SourceCodeInfo.Location.Builder. getLeadingDetachedCommentsBytes(int index)repeated string leading_detached_comments = 6;ByteStringDescriptorProtos.SourceCodeInfo.Location. getLeadingDetachedCommentsBytes(int index)repeated string leading_detached_comments = 6;ByteStringDescriptorProtos.SourceCodeInfo.LocationOrBuilder. getLeadingDetachedCommentsBytes(int index)repeated string leading_detached_comments = 6;ByteStringApi.Builder. getNameBytes()The fully qualified name of this interface, including package name followed by the interface's simple name.ByteStringApi. getNameBytes()The fully qualified name of this interface, including package name followed by the interface's simple name.ByteStringApiOrBuilder. getNameBytes()The fully qualified name of this interface, including package name followed by the interface's simple name.ByteStringDescriptorProtos.DescriptorProto.Builder. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.DescriptorProto. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.DescriptorProtoOrBuilder. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.EnumDescriptorProto.Builder. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.EnumDescriptorProto. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.EnumDescriptorProtoOrBuilder. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.EnumValueDescriptorProto.Builder. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.EnumValueDescriptorProto. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.EnumValueDescriptorProtoOrBuilder. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.FieldDescriptorProto.Builder. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.FieldDescriptorProto. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.FieldDescriptorProtoOrBuilder. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.FileDescriptorProto.Builder. getNameBytes()file name, relative to root of source treeByteStringDescriptorProtos.FileDescriptorProto. getNameBytes()file name, relative to root of source treeByteStringDescriptorProtos.FileDescriptorProtoOrBuilder. getNameBytes()file name, relative to root of source treeByteStringDescriptorProtos.MethodDescriptorProto.Builder. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.MethodDescriptorProto. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.MethodDescriptorProtoOrBuilder. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.OneofDescriptorProto.Builder. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.OneofDescriptorProto. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.OneofDescriptorProtoOrBuilder. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.ServiceDescriptorProto.Builder. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.ServiceDescriptorProto. getNameBytes()optional string name = 1;ByteStringDescriptorProtos.ServiceDescriptorProtoOrBuilder. getNameBytes()optional string name = 1;ByteStringEnum.Builder. getNameBytes()Enum type name.ByteStringEnum. getNameBytes()Enum type name.ByteStringEnumOrBuilder. getNameBytes()Enum type name.ByteStringEnumValue.Builder. getNameBytes()Enum value name.ByteStringEnumValue. getNameBytes()Enum value name.ByteStringEnumValueOrBuilder. getNameBytes()Enum value name.ByteStringField.Builder. getNameBytes()The field name.ByteStringField. getNameBytes()The field name.ByteStringFieldOrBuilder. getNameBytes()The field name.ByteStringMethod.Builder. getNameBytes()The simple name of this method.ByteStringMethod. getNameBytes()The simple name of this method.ByteStringMethodOrBuilder. getNameBytes()The simple name of this method.ByteStringMixin.Builder. getNameBytes()The fully qualified name of the interface which is included.ByteStringMixin. getNameBytes()The fully qualified name of the interface which is included.ByteStringMixinOrBuilder. getNameBytes()The fully qualified name of the interface which is included.ByteStringOption.Builder. getNameBytes()The option's name.ByteStringOption. getNameBytes()The option's name.ByteStringOptionOrBuilder. getNameBytes()The option's name.ByteStringType.Builder. getNameBytes()The fully qualified message name.ByteStringType. getNameBytes()The fully qualified message name.ByteStringTypeOrBuilder. getNameBytes()The fully qualified message name.ByteStringDescriptorProtos.UninterpretedOption.NamePart.Builder. getNamePartBytes()required string name_part = 1;ByteStringDescriptorProtos.UninterpretedOption.NamePart. getNamePartBytes()required string name_part = 1;ByteStringDescriptorProtos.UninterpretedOption.NamePartOrBuilder. getNamePartBytes()required string name_part = 1;ByteStringDescriptorProtos.FileOptions.Builder. getObjcClassPrefixBytes()Sets the objective c class prefix which is prepended to all objective c generated classes from this .proto.ByteStringDescriptorProtos.FileOptions. getObjcClassPrefixBytes()Sets the objective c class prefix which is prepended to all objective c generated classes from this .proto.ByteStringDescriptorProtos.FileOptionsOrBuilder. getObjcClassPrefixBytes()Sets the objective c class prefix which is prepended to all objective c generated classes from this .proto.ByteStringType.Builder. getOneofsBytes(int index)The list of types appearing in `oneof` definitions in this type.ByteStringType. getOneofsBytes(int index)The list of types appearing in `oneof` definitions in this type.ByteStringTypeOrBuilder. getOneofsBytes(int index)The list of types appearing in `oneof` definitions in this type.ByteStringDescriptorProtos.MethodDescriptorProto.Builder. getOutputTypeBytes()optional string output_type = 3;ByteStringDescriptorProtos.MethodDescriptorProto. getOutputTypeBytes()optional string output_type = 3;ByteStringDescriptorProtos.MethodDescriptorProtoOrBuilder. getOutputTypeBytes()optional string output_type = 3;ByteStringDescriptorProtos.FileDescriptorProto.Builder. getPackageBytes()e.g.ByteStringDescriptorProtos.FileDescriptorProto. getPackageBytes()e.g.ByteStringDescriptorProtos.FileDescriptorProtoOrBuilder. getPackageBytes()e.g.ByteStringFieldMask.Builder. getPathsBytes(int index)The set of field mask paths.ByteStringFieldMask. getPathsBytes(int index)The set of field mask paths.ByteStringFieldMaskOrBuilder. getPathsBytes(int index)The set of field mask paths.ByteStringDescriptorProtos.FileOptions.Builder. getPhpClassPrefixBytes()Sets the php class prefix which is prepended to all php generated classes from this .proto.ByteStringDescriptorProtos.FileOptions. getPhpClassPrefixBytes()Sets the php class prefix which is prepended to all php generated classes from this .proto.ByteStringDescriptorProtos.FileOptionsOrBuilder. getPhpClassPrefixBytes()Sets the php class prefix which is prepended to all php generated classes from this .proto.ByteStringDescriptorProtos.FileOptions.Builder. getPhpMetadataNamespaceBytes()Use this option to change the namespace of php generated metadata classes.ByteStringDescriptorProtos.FileOptions. getPhpMetadataNamespaceBytes()Use this option to change the namespace of php generated metadata classes.ByteStringDescriptorProtos.FileOptionsOrBuilder. getPhpMetadataNamespaceBytes()Use this option to change the namespace of php generated metadata classes.ByteStringDescriptorProtos.FileOptions.Builder. getPhpNamespaceBytes()Use this option to change the namespace of php generated classes.ByteStringDescriptorProtos.FileOptions. getPhpNamespaceBytes()Use this option to change the namespace of php generated classes.ByteStringDescriptorProtos.FileOptionsOrBuilder. getPhpNamespaceBytes()Use this option to change the namespace of php generated classes.ByteStringMethod.Builder. getRequestTypeUrlBytes()A URL of the input message type.ByteStringMethod. getRequestTypeUrlBytes()A URL of the input message type.ByteStringMethodOrBuilder. getRequestTypeUrlBytes()A URL of the input message type.ByteStringDescriptorProtos.DescriptorProto.Builder. getReservedNameBytes(int index)Reserved field names, which may not be used by fields in the same message.ByteStringDescriptorProtos.DescriptorProto. getReservedNameBytes(int index)Reserved field names, which may not be used by fields in the same message.ByteStringDescriptorProtos.DescriptorProtoOrBuilder. getReservedNameBytes(int index)Reserved field names, which may not be used by fields in the same message.ByteStringDescriptorProtos.EnumDescriptorProto.Builder. getReservedNameBytes(int index)Reserved enum value names, which may not be reused.ByteStringDescriptorProtos.EnumDescriptorProto. getReservedNameBytes(int index)Reserved enum value names, which may not be reused.ByteStringDescriptorProtos.EnumDescriptorProtoOrBuilder. getReservedNameBytes(int index)Reserved enum value names, which may not be reused.ByteStringMethod.Builder. getResponseTypeUrlBytes()The URL of the output message type.ByteStringMethod. getResponseTypeUrlBytes()The URL of the output message type.ByteStringMethodOrBuilder. getResponseTypeUrlBytes()The URL of the output message type.ByteStringMixin.Builder. getRootBytes()If non-empty specifies a path under which inherited HTTP paths are rooted.ByteStringMixin. getRootBytes()If non-empty specifies a path under which inherited HTTP paths are rooted.ByteStringMixinOrBuilder. getRootBytes()If non-empty specifies a path under which inherited HTTP paths are rooted.ByteStringDescriptorProtos.FileOptions.Builder. getRubyPackageBytes()Use this option to change the package of ruby generated classes.ByteStringDescriptorProtos.FileOptions. getRubyPackageBytes()Use this option to change the package of ruby generated classes.ByteStringDescriptorProtos.FileOptionsOrBuilder. getRubyPackageBytes()Use this option to change the package of ruby generated classes.ByteStringDescriptorProtos.GeneratedCodeInfo.Annotation.Builder. getSourceFileBytes()Identifies the filesystem path to the original source .proto.ByteStringDescriptorProtos.GeneratedCodeInfo.Annotation. getSourceFileBytes()Identifies the filesystem path to the original source .proto.ByteStringDescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder. getSourceFileBytes()Identifies the filesystem path to the original source .proto.ByteStringDescriptorProtos.UninterpretedOption.Builder. getStringValue()optional bytes string_value = 7;ByteStringDescriptorProtos.UninterpretedOption. getStringValue()optional bytes string_value = 7;ByteStringDescriptorProtos.UninterpretedOptionOrBuilder. getStringValue()optional bytes string_value = 7;ByteStringValue.Builder. getStringValueBytes()Represents a string value.ByteStringValue. getStringValueBytes()Represents a string value.ByteStringValueOrBuilder. getStringValueBytes()Represents a string value.ByteStringDescriptorProtos.FileOptions.Builder. getSwiftPrefixBytes()By default Swift generators will take the proto package and CamelCase it replacing '.' with underscore and use that to prefix the types/symbols defined.ByteStringDescriptorProtos.FileOptions. getSwiftPrefixBytes()By default Swift generators will take the proto package and CamelCase it replacing '.' with underscore and use that to prefix the types/symbols defined.ByteStringDescriptorProtos.FileOptionsOrBuilder. getSwiftPrefixBytes()By default Swift generators will take the proto package and CamelCase it replacing '.' with underscore and use that to prefix the types/symbols defined.ByteStringDescriptorProtos.FileDescriptorProto.Builder. getSyntaxBytes()The syntax of the proto file.ByteStringDescriptorProtos.FileDescriptorProto. getSyntaxBytes()The syntax of the proto file.ByteStringDescriptorProtos.FileDescriptorProtoOrBuilder. getSyntaxBytes()The syntax of the proto file.ByteStringDescriptorProtos.SourceCodeInfo.Location.Builder. getTrailingCommentsBytes()optional string trailing_comments = 4;ByteStringDescriptorProtos.SourceCodeInfo.Location. getTrailingCommentsBytes()optional string trailing_comments = 4;ByteStringDescriptorProtos.SourceCodeInfo.LocationOrBuilder. getTrailingCommentsBytes()optional string trailing_comments = 4;ByteStringDescriptorProtos.FieldDescriptorProto.Builder. getTypeNameBytes()For message and enum types, this is the name of the type.ByteStringDescriptorProtos.FieldDescriptorProto. getTypeNameBytes()For message and enum types, this is the name of the type.ByteStringDescriptorProtos.FieldDescriptorProtoOrBuilder. getTypeNameBytes()For message and enum types, this is the name of the type.ByteStringAny.Builder. getTypeUrlBytes()A URL/resource name that uniquely identifies the type of the serialized protocol buffer message.ByteStringAny. getTypeUrlBytes()A URL/resource name that uniquely identifies the type of the serialized protocol buffer message.ByteStringAnyOrBuilder. getTypeUrlBytes()A URL/resource name that uniquely identifies the type of the serialized protocol buffer message.ByteStringField.Builder. getTypeUrlBytes()The field type URL, without the scheme, for message or enumeration types.ByteStringField. getTypeUrlBytes()The field type URL, without the scheme, for message or enumeration types.ByteStringFieldOrBuilder. getTypeUrlBytes()The field type URL, without the scheme, for message or enumeration types.ByteStringAny.Builder. getValue()Must be a valid serialized protocol buffer of the above specified type.ByteStringAny. getValue()Must be a valid serialized protocol buffer of the above specified type.ByteStringAnyOrBuilder. getValue()Must be a valid serialized protocol buffer of the above specified type.ByteStringBytesValue.Builder. getValue()The bytes value.ByteStringBytesValue. getValue()The bytes value.ByteStringBytesValueOrBuilder. getValue()The bytes value.ByteStringStringValue.Builder. getValueBytes()The string value.ByteStringStringValue. getValueBytes()The string value.ByteStringStringValueOrBuilder. getValueBytes()The string value.ByteStringApi.Builder. getVersionBytes()A version string for this interface.ByteStringApi. getVersionBytes()A version string for this interface.ByteStringApiOrBuilder. getVersionBytes()A version string for this interface.abstract ByteStringCodedInputStream. readBytes()Read abytesfield value from the stream.static ByteStringByteString. 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 ByteStringByteString. 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 ByteStringByteString. readFrom(java.io.InputStream streamToDrain, int minChunkSize, int maxChunkSize)ByteStringByteString. substring(int beginIndex)Return the substring frombeginIndex, inclusive, to the end of the string.abstract ByteStringByteString. substring(int beginIndex, int endIndex)Return the substring frombeginIndex, inclusive, toendIndex, exclusive.ByteStringAbstractMessageLite. toByteString()ByteStringByteString.Output. toByteString()Creates a byte string.ByteStringLazyFieldLite. toByteString()Returns a BytesString for this field in a thread-safe way.ByteStringMessageLite. toByteString()Serializes the message to aByteStringand returns it.ByteStringUnknownFieldSet.Field. toByteString(int fieldNumber)Serializes the message to aByteStringand returns it.ByteStringUnknownFieldSet. toByteString()Serializes the message to aByteStringand returns it.static ByteStringTextFormat. unescapeBytes(java.lang.CharSequence charString)Un-escape a byte sequence as escaped usingTextFormat.escapeBytes(ByteString).static ByteStringUnsafeByteOperations. unsafeWrap(byte[] buffer)An unsafe operation that returns aByteStringthat is backed by the provided buffer.static ByteStringUnsafeByteOperations. unsafeWrap(byte[] buffer, int offset, int length)An unsafe operation that returns aByteStringthat is backed by a subregion of the provided buffer.static ByteStringUnsafeByteOperations. unsafeWrap(java.nio.ByteBuffer buffer)An unsafe operation that returns aByteStringthat 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()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 aComparatorwhich 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 voidLazyStringArrayList. add(ByteString element)voidLazyStringList. add(ByteString element)Appends the specified element to the end of this list (optional operation).voidUnmodifiableLazyStringList. add(ByteString element)DescriptorProtos.FileDescriptorProto.BuilderDescriptorProtos.FileDescriptorProto.Builder. addDependencyBytes(ByteString value)Names of files imported by this file.DescriptorProtos.SourceCodeInfo.Location.BuilderDescriptorProtos.SourceCodeInfo.Location.Builder. addLeadingDetachedCommentsBytes(ByteString value)repeated string leading_detached_comments = 6;UnknownFieldSet.Field.BuilderUnknownFieldSet.Field.Builder. addLengthDelimited(ByteString value)Add a length-delimited value.Type.BuilderType.Builder. addOneofsBytes(ByteString value)The list of types appearing in `oneof` definitions in this type.FieldMask.BuilderFieldMask.Builder. addPathsBytes(ByteString value)The set of field mask paths.DescriptorProtos.DescriptorProto.BuilderDescriptorProtos.DescriptorProto.Builder. addReservedNameBytes(ByteString value)Reserved field names, which may not be used by fields in the same message.DescriptorProtos.EnumDescriptorProto.BuilderDescriptorProtos.EnumDescriptorProto.Builder. addReservedNameBytes(ByteString value)Reserved enum value names, which may not be reused.protected static voidAbstractMessageLite. checkByteStringIsUtf8(ByteString byteString)static intCodedOutputStream. computeBytesSize(int fieldNumber, ByteString value)Compute the number of bytes that would be needed to encode abytesfield, including tag.static intCodedOutputStream. computeBytesSizeNoTag(ByteString value)Compute the number of bytes that would be needed to encode abytesfield.static intCodedOutputStream. computeRawMessageSetExtensionSize(int fieldNumber, ByteString value)Compute the number of bytes that would be needed to encode an unparsed MessageSet extension field to the stream.ByteStringByteString. concat(ByteString other)Concatenate the givenByteStringto this one.booleanByteString. endsWith(ByteString suffix)Tests if this bytestring ends with the specified suffix.static java.lang.StringTextFormat. 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 booleanInternal. 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.BuilderTypeAbstractMessage.Builder. mergeFrom(ByteString data)BuilderTypeAbstractMessage.Builder. mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry)BuilderTypeAbstractMessageLite.Builder. mergeFrom(ByteString data)BuilderTypeAbstractMessageLite.Builder. mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry)Message.BuilderMessage.Builder. mergeFrom(ByteString data)Message.BuilderMessage.Builder. mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry)MessageLite.BuilderMessageLite.Builder. mergeFrom(ByteString data)Parsedataas a message of this type and merge it with the message being built.MessageLite.BuilderMessageLite.Builder. mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry)Parsedataas a message of this type and merge it with the message being built.UnknownFieldSet.BuilderUnknownFieldSet.Builder. mergeFrom(ByteString data)Parsedataas anUnknownFieldSetand merge it with the set being built.UnknownFieldSet.BuilderUnknownFieldSet.Builder. mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry)protected voidGeneratedMessageLite. mergeLengthDelimitedField(int fieldNumber, ByteString value)Called by subclasses to parse an unknown field.UnknownFieldSet.BuilderUnknownFieldSet.Builder. mergeLengthDelimitedField(int number, ByteString value)Convenience method for merging a length-delimited field.static BytesValueBytesValue. 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.MessageTypeAbstractParser. parseFrom(ByteString data)MessageTypeAbstractParser. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static AnyAny. parseFrom(ByteString data)static AnyAny. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static ApiApi. parseFrom(ByteString data)static ApiApi. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static BoolValueBoolValue. parseFrom(ByteString data)static BoolValueBoolValue. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static BytesValueBytesValue. parseFrom(ByteString data)static BytesValueBytesValue. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.DescriptorProto.ExtensionRangeDescriptorProtos.DescriptorProto.ExtensionRange. parseFrom(ByteString data)static DescriptorProtos.DescriptorProto.ExtensionRangeDescriptorProtos.DescriptorProto.ExtensionRange. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.DescriptorProtoDescriptorProtos.DescriptorProto. parseFrom(ByteString data)static DescriptorProtos.DescriptorProtoDescriptorProtos.DescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.DescriptorProto.ReservedRangeDescriptorProtos.DescriptorProto.ReservedRange. parseFrom(ByteString data)static DescriptorProtos.DescriptorProto.ReservedRangeDescriptorProtos.DescriptorProto.ReservedRange. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.EnumDescriptorProto.EnumReservedRangeDescriptorProtos.EnumDescriptorProto.EnumReservedRange. parseFrom(ByteString data)static DescriptorProtos.EnumDescriptorProto.EnumReservedRangeDescriptorProtos.EnumDescriptorProto.EnumReservedRange. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.EnumDescriptorProtoDescriptorProtos.EnumDescriptorProto. parseFrom(ByteString data)static DescriptorProtos.EnumDescriptorProtoDescriptorProtos.EnumDescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.EnumOptionsDescriptorProtos.EnumOptions. parseFrom(ByteString data)static DescriptorProtos.EnumOptionsDescriptorProtos.EnumOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.EnumValueDescriptorProtoDescriptorProtos.EnumValueDescriptorProto. parseFrom(ByteString data)static DescriptorProtos.EnumValueDescriptorProtoDescriptorProtos.EnumValueDescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.EnumValueOptionsDescriptorProtos.EnumValueOptions. parseFrom(ByteString data)static DescriptorProtos.EnumValueOptionsDescriptorProtos.EnumValueOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.ExtensionRangeOptionsDescriptorProtos.ExtensionRangeOptions. parseFrom(ByteString data)static DescriptorProtos.ExtensionRangeOptionsDescriptorProtos.ExtensionRangeOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FieldDescriptorProtoDescriptorProtos.FieldDescriptorProto. parseFrom(ByteString data)static DescriptorProtos.FieldDescriptorProtoDescriptorProtos.FieldDescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FieldOptionsDescriptorProtos.FieldOptions. parseFrom(ByteString data)static DescriptorProtos.FieldOptionsDescriptorProtos.FieldOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FileDescriptorProtoDescriptorProtos.FileDescriptorProto. parseFrom(ByteString data)static DescriptorProtos.FileDescriptorProtoDescriptorProtos.FileDescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FileDescriptorSetDescriptorProtos.FileDescriptorSet. parseFrom(ByteString data)static DescriptorProtos.FileDescriptorSetDescriptorProtos.FileDescriptorSet. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FileOptionsDescriptorProtos.FileOptions. parseFrom(ByteString data)static DescriptorProtos.FileOptionsDescriptorProtos.FileOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.GeneratedCodeInfo.AnnotationDescriptorProtos.GeneratedCodeInfo.Annotation. parseFrom(ByteString data)static DescriptorProtos.GeneratedCodeInfo.AnnotationDescriptorProtos.GeneratedCodeInfo.Annotation. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.GeneratedCodeInfoDescriptorProtos.GeneratedCodeInfo. parseFrom(ByteString data)static DescriptorProtos.GeneratedCodeInfoDescriptorProtos.GeneratedCodeInfo. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.MessageOptionsDescriptorProtos.MessageOptions. parseFrom(ByteString data)static DescriptorProtos.MessageOptionsDescriptorProtos.MessageOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.MethodDescriptorProtoDescriptorProtos.MethodDescriptorProto. parseFrom(ByteString data)static DescriptorProtos.MethodDescriptorProtoDescriptorProtos.MethodDescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.MethodOptionsDescriptorProtos.MethodOptions. parseFrom(ByteString data)static DescriptorProtos.MethodOptionsDescriptorProtos.MethodOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.OneofDescriptorProtoDescriptorProtos.OneofDescriptorProto. parseFrom(ByteString data)static DescriptorProtos.OneofDescriptorProtoDescriptorProtos.OneofDescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.OneofOptionsDescriptorProtos.OneofOptions. parseFrom(ByteString data)static DescriptorProtos.OneofOptionsDescriptorProtos.OneofOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.ServiceDescriptorProtoDescriptorProtos.ServiceDescriptorProto. parseFrom(ByteString data)static DescriptorProtos.ServiceDescriptorProtoDescriptorProtos.ServiceDescriptorProto. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.ServiceOptionsDescriptorProtos.ServiceOptions. parseFrom(ByteString data)static DescriptorProtos.ServiceOptionsDescriptorProtos.ServiceOptions. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.SourceCodeInfo.LocationDescriptorProtos.SourceCodeInfo.Location. parseFrom(ByteString data)static DescriptorProtos.SourceCodeInfo.LocationDescriptorProtos.SourceCodeInfo.Location. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.SourceCodeInfoDescriptorProtos.SourceCodeInfo. parseFrom(ByteString data)static DescriptorProtos.SourceCodeInfoDescriptorProtos.SourceCodeInfo. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.UninterpretedOption.NamePartDescriptorProtos.UninterpretedOption.NamePart. parseFrom(ByteString data)static DescriptorProtos.UninterpretedOption.NamePartDescriptorProtos.UninterpretedOption.NamePart. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.UninterpretedOptionDescriptorProtos.UninterpretedOption. parseFrom(ByteString data)static DescriptorProtos.UninterpretedOptionDescriptorProtos.UninterpretedOption. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DoubleValueDoubleValue. parseFrom(ByteString data)static DoubleValueDoubleValue. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DurationDuration. parseFrom(ByteString data)static DurationDuration. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DynamicMessageDynamicMessage. parseFrom(Descriptors.Descriptor type, ByteString data)Parsedataas a message of the given type and return it.static DynamicMessageDynamicMessage. parseFrom(Descriptors.Descriptor type, ByteString data, ExtensionRegistry extensionRegistry)Parsedataas a message of the given type and return it.static EmptyEmpty. parseFrom(ByteString data)static EmptyEmpty. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static EnumEnum. parseFrom(ByteString data)static EnumEnum. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static EnumValueEnumValue. parseFrom(ByteString data)static EnumValueEnumValue. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static FieldField. parseFrom(ByteString data)static FieldField. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static FieldMaskFieldMask. parseFrom(ByteString data)static FieldMaskFieldMask. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static FloatValueFloatValue. parseFrom(ByteString data)static FloatValueFloatValue. 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 Int32ValueInt32Value. parseFrom(ByteString data)static Int32ValueInt32Value. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static Int64ValueInt64Value. parseFrom(ByteString data)static Int64ValueInt64Value. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static ListValueListValue. parseFrom(ByteString data)static ListValueListValue. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static MethodMethod. parseFrom(ByteString data)static MethodMethod. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static MixinMixin. parseFrom(ByteString data)static MixinMixin. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static OptionOption. parseFrom(ByteString data)static OptionOption. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)MessageTypeParser. parseFrom(ByteString data)Parsesdataas a message ofMessageType.MessageTypeParser. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)Parsesdataas a message ofMessageType.static SourceContextSourceContext. parseFrom(ByteString data)static SourceContextSourceContext. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static StringValueStringValue. parseFrom(ByteString data)static StringValueStringValue. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static StructStruct. parseFrom(ByteString data)static StructStruct. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static TimestampTimestamp. parseFrom(ByteString data)static TimestampTimestamp. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static TypeType. parseFrom(ByteString data)static TypeType. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static UInt32ValueUInt32Value. parseFrom(ByteString data)static UInt32ValueUInt32Value. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static UInt64ValueUInt64Value. parseFrom(ByteString data)static UInt64ValueUInt64Value. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static UnknownFieldSetUnknownFieldSet. parseFrom(ByteString data)Parsedataas anUnknownFieldSetand return it.static ValueValue. parseFrom(ByteString data)static ValueValue. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)MessageTypeAbstractParser. parsePartialFrom(ByteString data)MessageTypeAbstractParser. parsePartialFrom(ByteString data, ExtensionRegistryLite extensionRegistry)MessageTypeParser. parsePartialFrom(ByteString data)LikeParser.parseFrom(ByteString), but does not throw an exception if the message is missing required fields.MessageTypeParser. parsePartialFrom(ByteString data, ExtensionRegistryLite extensionRegistry)LikeParser.parseFrom(ByteString, ExtensionRegistryLite), but does not throw an exception if the message is missing required fields.voidLazyStringArrayList. set(int index, ByteString s)voidLazyStringList. set(int index, ByteString element)Replaces the element at the specified position in this list with the specified element (optional operation).voidUnmodifiableLazyStringList. set(int index, ByteString element)DescriptorProtos.UninterpretedOption.BuilderDescriptorProtos.UninterpretedOption.Builder. setAggregateValueBytes(ByteString value)optional string aggregate_value = 8;voidLazyFieldLite. setByteString(ByteString bytes, ExtensionRegistryLite extensionRegistry)Sets this field with bytes to delay-parse.DescriptorProtos.FileOptions.BuilderDescriptorProtos.FileOptions.Builder. setCsharpNamespaceBytes(ByteString value)Namespace for generated classes; defaults to the package.DescriptorProtos.FieldDescriptorProto.BuilderDescriptorProtos.FieldDescriptorProto.Builder. setDefaultValueBytes(ByteString value)For numeric types, contains the original text representation of the value.Field.BuilderField.Builder. setDefaultValueBytes(ByteString value)The string value of the default value of this field.DescriptorProtos.FieldDescriptorProto.BuilderDescriptorProtos.FieldDescriptorProto.Builder. setExtendeeBytes(ByteString value)For extensions, this is the name of the type being extended.SourceContext.BuilderSourceContext.Builder. setFileNameBytes(ByteString value)The path-qualified name of the .proto file that contained the associated protobuf element.DescriptorProtos.FileOptions.BuilderDescriptorProtos.FileOptions.Builder. setGoPackageBytes(ByteString value)Sets the Go package where structs generated from this .proto will be placed.DescriptorProtos.UninterpretedOption.BuilderDescriptorProtos.UninterpretedOption.Builder. setIdentifierValueBytes(ByteString value)The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.DescriptorProtos.MethodDescriptorProto.BuilderDescriptorProtos.MethodDescriptorProto.Builder. setInputTypeBytes(ByteString value)Input and output type names.DescriptorProtos.FileOptions.BuilderDescriptorProtos.FileOptions.Builder. setJavaOuterClassnameBytes(ByteString value)If set, all the classes from the .proto file are wrapped in a single outer class with the given name.DescriptorProtos.FileOptions.BuilderDescriptorProtos.FileOptions.Builder. setJavaPackageBytes(ByteString value)Sets the Java package where classes generated from this .proto will be placed.DescriptorProtos.FieldDescriptorProto.BuilderDescriptorProtos.FieldDescriptorProto.Builder. setJsonNameBytes(ByteString value)JSON name of this field.Field.BuilderField.Builder. setJsonNameBytes(ByteString value)The field JSON name.DescriptorProtos.SourceCodeInfo.Location.BuilderDescriptorProtos.SourceCodeInfo.Location.Builder. setLeadingCommentsBytes(ByteString value)If this SourceCodeInfo represents a complete declaration, these are any comments appearing before and after the declaration which appear to be attached to the declaration.Api.BuilderApi.Builder. setNameBytes(ByteString value)The fully qualified name of this interface, including package name followed by the interface's simple name.DescriptorProtos.DescriptorProto.BuilderDescriptorProtos.DescriptorProto.Builder. setNameBytes(ByteString value)optional string name = 1;DescriptorProtos.EnumDescriptorProto.BuilderDescriptorProtos.EnumDescriptorProto.Builder. setNameBytes(ByteString value)optional string name = 1;DescriptorProtos.EnumValueDescriptorProto.BuilderDescriptorProtos.EnumValueDescriptorProto.Builder. setNameBytes(ByteString value)optional string name = 1;DescriptorProtos.FieldDescriptorProto.BuilderDescriptorProtos.FieldDescriptorProto.Builder. setNameBytes(ByteString value)optional string name = 1;DescriptorProtos.FileDescriptorProto.BuilderDescriptorProtos.FileDescriptorProto.Builder. setNameBytes(ByteString value)file name, relative to root of source treeDescriptorProtos.MethodDescriptorProto.BuilderDescriptorProtos.MethodDescriptorProto.Builder. setNameBytes(ByteString value)optional string name = 1;DescriptorProtos.OneofDescriptorProto.BuilderDescriptorProtos.OneofDescriptorProto.Builder. setNameBytes(ByteString value)optional string name = 1;DescriptorProtos.ServiceDescriptorProto.BuilderDescriptorProtos.ServiceDescriptorProto.Builder. setNameBytes(ByteString value)optional string name = 1;Enum.BuilderEnum.Builder. setNameBytes(ByteString value)Enum type name.EnumValue.BuilderEnumValue.Builder. setNameBytes(ByteString value)Enum value name.Field.BuilderField.Builder. setNameBytes(ByteString value)The field name.Method.BuilderMethod.Builder. setNameBytes(ByteString value)The simple name of this method.Mixin.BuilderMixin.Builder. setNameBytes(ByteString value)The fully qualified name of the interface which is included.Option.BuilderOption.Builder. setNameBytes(ByteString value)The option's name.Type.BuilderType.Builder. setNameBytes(ByteString value)The fully qualified message name.DescriptorProtos.UninterpretedOption.NamePart.BuilderDescriptorProtos.UninterpretedOption.NamePart.Builder. setNamePartBytes(ByteString value)required string name_part = 1;DescriptorProtos.FileOptions.BuilderDescriptorProtos.FileOptions.Builder. setObjcClassPrefixBytes(ByteString value)Sets the objective c class prefix which is prepended to all objective c generated classes from this .proto.DescriptorProtos.MethodDescriptorProto.BuilderDescriptorProtos.MethodDescriptorProto.Builder. setOutputTypeBytes(ByteString value)optional string output_type = 3;DescriptorProtos.FileDescriptorProto.BuilderDescriptorProtos.FileDescriptorProto.Builder. setPackageBytes(ByteString value)e.g.DescriptorProtos.FileOptions.BuilderDescriptorProtos.FileOptions.Builder. setPhpClassPrefixBytes(ByteString value)Sets the php class prefix which is prepended to all php generated classes from this .proto.DescriptorProtos.FileOptions.BuilderDescriptorProtos.FileOptions.Builder. setPhpMetadataNamespaceBytes(ByteString value)Use this option to change the namespace of php generated metadata classes.DescriptorProtos.FileOptions.BuilderDescriptorProtos.FileOptions.Builder. setPhpNamespaceBytes(ByteString value)Use this option to change the namespace of php generated classes.Method.BuilderMethod.Builder. setRequestTypeUrlBytes(ByteString value)A URL of the input message type.Method.BuilderMethod.Builder. setResponseTypeUrlBytes(ByteString value)The URL of the output message type.Mixin.BuilderMixin.Builder. setRootBytes(ByteString value)If non-empty specifies a path under which inherited HTTP paths are rooted.DescriptorProtos.FileOptions.BuilderDescriptorProtos.FileOptions.Builder. setRubyPackageBytes(ByteString value)Use this option to change the package of ruby generated classes.DescriptorProtos.GeneratedCodeInfo.Annotation.BuilderDescriptorProtos.GeneratedCodeInfo.Annotation.Builder. setSourceFileBytes(ByteString value)Identifies the filesystem path to the original source .proto.DescriptorProtos.UninterpretedOption.BuilderDescriptorProtos.UninterpretedOption.Builder. setStringValue(ByteString value)optional bytes string_value = 7;Value.BuilderValue.Builder. setStringValueBytes(ByteString value)Represents a string value.DescriptorProtos.FileOptions.BuilderDescriptorProtos.FileOptions.Builder. setSwiftPrefixBytes(ByteString value)By default Swift generators will take the proto package and CamelCase it replacing '.' with underscore and use that to prefix the types/symbols defined.DescriptorProtos.FileDescriptorProto.BuilderDescriptorProtos.FileDescriptorProto.Builder. setSyntaxBytes(ByteString value)The syntax of the proto file.DescriptorProtos.SourceCodeInfo.Location.BuilderDescriptorProtos.SourceCodeInfo.Location.Builder. setTrailingCommentsBytes(ByteString value)optional string trailing_comments = 4;DescriptorProtos.FieldDescriptorProto.BuilderDescriptorProtos.FieldDescriptorProto.Builder. setTypeNameBytes(ByteString value)For message and enum types, this is the name of the type.Any.BuilderAny.Builder. setTypeUrlBytes(ByteString value)A URL/resource name that uniquely identifies the type of the serialized protocol buffer message.Field.BuilderField.Builder. setTypeUrlBytes(ByteString value)The field type URL, without the scheme, for message or enumeration types.Any.BuilderAny.Builder. setValue(ByteString value)Must be a valid serialized protocol buffer of the above specified type.BytesValue.BuilderBytesValue.Builder. setValue(ByteString value)The bytes value.StringValue.BuilderStringValue.Builder. setValueBytes(ByteString value)The string value.Api.BuilderApi.Builder. setVersionBytes(ByteString value)A version string for this interface.booleanByteString. startsWith(ByteString prefix)Tests if this bytestring starts with the specified prefix.static voidUnsafeByteOperations. unsafeWriteTo(ByteString bytes, ByteOutput output)Writes the givenByteStringto the providedByteOutput.abstract voidCodedOutputStream. writeBytes(int fieldNumber, ByteString value)Write abytesfield, including tag, to the stream.abstract voidCodedOutputStream. writeBytesNoTag(ByteString value)Write abytesfield to the stream.voidCodedOutputStream. writeRawBytes(ByteString value)Write a byte string.abstract voidCodedOutputStream. 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 booleanLazyStringArrayList. addAllByteString(java.util.Collection<? extends ByteString> values)booleanLazyStringList. addAllByteString(java.util.Collection<? extends ByteString> c)Appends all elements in the specified ByteString collection to the end of this list.booleanUnmodifiableLazyStringList. addAllByteString(java.util.Collection<? extends ByteString> element)static ByteStringByteString. 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 ByteStringPluginProtos.CodeGeneratorResponse.File.Builder. getContentBytes()The file contents.ByteStringPluginProtos.CodeGeneratorResponse.File. getContentBytes()The file contents.ByteStringPluginProtos.CodeGeneratorResponse.FileOrBuilder. getContentBytes()The file contents.ByteStringPluginProtos.CodeGeneratorResponse.Builder. getErrorBytes()Error message.ByteStringPluginProtos.CodeGeneratorResponse. getErrorBytes()Error message.ByteStringPluginProtos.CodeGeneratorResponseOrBuilder. getErrorBytes()Error message.ByteStringPluginProtos.CodeGeneratorRequest.Builder. getFileToGenerateBytes(int index)The .proto files that were explicitly listed on the command-line.ByteStringPluginProtos.CodeGeneratorRequest. getFileToGenerateBytes(int index)The .proto files that were explicitly listed on the command-line.ByteStringPluginProtos.CodeGeneratorRequestOrBuilder. getFileToGenerateBytes(int index)The .proto files that were explicitly listed on the command-line.ByteStringPluginProtos.CodeGeneratorResponse.File.Builder. getInsertionPointBytes()If non-empty, indicates that the named file should already exist, and the content here is to be inserted into that file at a defined insertion point.ByteStringPluginProtos.CodeGeneratorResponse.File. getInsertionPointBytes()If non-empty, indicates that the named file should already exist, and the content here is to be inserted into that file at a defined insertion point.ByteStringPluginProtos.CodeGeneratorResponse.FileOrBuilder. getInsertionPointBytes()If non-empty, indicates that the named file should already exist, and the content here is to be inserted into that file at a defined insertion point.ByteStringPluginProtos.CodeGeneratorResponse.File.Builder. getNameBytes()The file name, relative to the output directory.ByteStringPluginProtos.CodeGeneratorResponse.File. getNameBytes()The file name, relative to the output directory.ByteStringPluginProtos.CodeGeneratorResponse.FileOrBuilder. getNameBytes()The file name, relative to the output directory.ByteStringPluginProtos.CodeGeneratorRequest.Builder. getParameterBytes()The generator parameter passed on the command-line.ByteStringPluginProtos.CodeGeneratorRequest. getParameterBytes()The generator parameter passed on the command-line.ByteStringPluginProtos.CodeGeneratorRequestOrBuilder. getParameterBytes()The generator parameter passed on the command-line.ByteStringPluginProtos.Version.Builder. getSuffixBytes()A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".ByteStringPluginProtos.Version. getSuffixBytes()A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".ByteStringPluginProtos.VersionOrBuilder. getSuffixBytes()A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".Methods in com.google.protobuf.compiler with parameters of type ByteString Modifier and Type Method Description PluginProtos.CodeGeneratorRequest.BuilderPluginProtos.CodeGeneratorRequest.Builder. addFileToGenerateBytes(ByteString value)The .proto files that were explicitly listed on the command-line.static PluginProtos.CodeGeneratorRequestPluginProtos.CodeGeneratorRequest. parseFrom(ByteString data)static PluginProtos.CodeGeneratorRequestPluginProtos.CodeGeneratorRequest. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static PluginProtos.CodeGeneratorResponse.FilePluginProtos.CodeGeneratorResponse.File. parseFrom(ByteString data)static PluginProtos.CodeGeneratorResponse.FilePluginProtos.CodeGeneratorResponse.File. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static PluginProtos.CodeGeneratorResponsePluginProtos.CodeGeneratorResponse. parseFrom(ByteString data)static PluginProtos.CodeGeneratorResponsePluginProtos.CodeGeneratorResponse. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static PluginProtos.VersionPluginProtos.Version. parseFrom(ByteString data)static PluginProtos.VersionPluginProtos.Version. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)PluginProtos.CodeGeneratorResponse.File.BuilderPluginProtos.CodeGeneratorResponse.File.Builder. setContentBytes(ByteString value)The file contents.PluginProtos.CodeGeneratorResponse.BuilderPluginProtos.CodeGeneratorResponse.Builder. setErrorBytes(ByteString value)Error message.PluginProtos.CodeGeneratorResponse.File.BuilderPluginProtos.CodeGeneratorResponse.File.Builder. setInsertionPointBytes(ByteString value)If non-empty, indicates that the named file should already exist, and the content here is to be inserted into that file at a defined insertion point.PluginProtos.CodeGeneratorResponse.File.BuilderPluginProtos.CodeGeneratorResponse.File.Builder. setNameBytes(ByteString value)The file name, relative to the output directory.PluginProtos.CodeGeneratorRequest.BuilderPluginProtos.CodeGeneratorRequest.Builder. setParameterBytes(ByteString value)The generator parameter passed on the command-line.PluginProtos.Version.BuilderPluginProtos.Version.Builder. setSuffixBytes(ByteString value)A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".
-