Skip navigation links
A C D E F G H I J L M N O P S T U V X 

A

AbstractCharBasedFormatter - Class in com.googlecode.protobuf.format
 
AbstractCharBasedFormatter() - Constructor for class com.googlecode.protobuf.format.AbstractCharBasedFormatter
 
atEnd() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
Are we at the end of the input?

C

com.googlecode.protobuf.format - package com.googlecode.protobuf.format
 
com.googlecode.protobuf.format.util - package com.googlecode.protobuf.format.util
 
consume(String) - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
If the next token exactly matches token, consume it.
consumeBoolean() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
If the next token is a boolean, consume it and return its value.
consumeByteString() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
If the next token is a string, consume it, unescape it as a ByteString, and return it.
consumeDouble() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
If the next token is a double, consume it and return its value.
consumeFloat() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
If the next token is a float, consume it and return its value.
consumeIdentifier() - Method in class com.googlecode.protobuf.format.CouchDBFormat.Tokenizer
 
consumeIdentifier() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
If the next token is an identifier, consume it and return its value.
consumeInt32() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
If the next token is a 32-bit signed integer, consume it and return its value.
consumeInt64() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
If the next token is a 64-bit signed integer, consume it and return its value.
consumeString() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
If the next token is a string, consume it and return its (unescaped) value.
consumeUInt32() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
If the next token is a 32-bit unsigned integer, consume it and return its value.
consumeUInt64() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
If the next token is a 64-bit unsigned integer, consume it and return its value.
CouchDBFormat - Class in com.googlecode.protobuf.format
Created by IntelliJ IDEA.
CouchDBFormat() - Constructor for class com.googlecode.protobuf.format.CouchDBFormat
 
CouchDBFormat.CouchDBGenerator - Class in com.googlecode.protobuf.format
 
CouchDBFormat.Tokenizer - Class in com.googlecode.protobuf.format
 
CouchDBGenerator(Appendable) - Constructor for class com.googlecode.protobuf.format.CouchDBFormat.CouchDBGenerator
 
createFormatter(FormatFactory.Formatter) - Method in class com.googlecode.protobuf.format.FormatFactory
 
createGenerator(OutputStream) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
 
createGenerator(OutputStream) - Method in class com.googlecode.protobuf.format.SmileFormat
 
createGenerator(OutputStream) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
 
currentToken() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
 

D

digitValue(char) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Interpret a character as a digit (in any base up to 36) and return the numeric value.

E

escapeBytes(ByteString) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Escapes bytes in the format used in protocol buffer text format, which is the same as the format used for C string literals.

F

FormatFactory - Class in com.googlecode.protobuf.format
 
FormatFactory() - Constructor for class com.googlecode.protobuf.format.FormatFactory
 
FormatFactory.Formatter - Enum in com.googlecode.protobuf.format
 

G

getDefaultCharset() - Method in class com.googlecode.protobuf.format.ProtobufFormatter
Get the default character set to use for input / output streams
getFormatterClass() - Method in enum com.googlecode.protobuf.format.FormatFactory.Formatter
 
getHexString(byte, int) - Static method in class com.googlecode.protobuf.format.util.HexUtils
 

H

HexUtils - Class in com.googlecode.protobuf.format.util
Provide hex utility for converting bytes to hex string
HexUtils() - Constructor for class com.googlecode.protobuf.format.util.HexUtils
 
HtmlFormat - Class in com.googlecode.protobuf.format
Provide ascii html formatting support for proto2 instances.
HtmlFormat() - Constructor for class com.googlecode.protobuf.format.HtmlFormat
 

I

indent() - Method in class com.googlecode.protobuf.format.JsonFormat.JsonGenerator
Indent text by two spaces.
isDigits(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
 
isHex(char) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Is this a hex digit?
isOctal(char) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Is this an octal digit?

J

JavaPropsFormat - Class in com.googlecode.protobuf.format
Provide ascii text parsing and formatting support for proto2 instances.
JavaPropsFormat() - Constructor for class com.googlecode.protobuf.format.JavaPropsFormat
 
JavaPropsFormat.ParseException - Exception in com.googlecode.protobuf.format
Thrown when parsing an invalid text format message.
JsonFormat - Class in com.googlecode.protobuf.format
Provide ascii text parsing and formatting support for proto2 instances.
JsonFormat() - Constructor for class com.googlecode.protobuf.format.JsonFormat
 
JsonFormat.JsonGenerator - Class in com.googlecode.protobuf.format
An inner class for writing text to the output stream.
JsonFormat.ParseException - Exception in com.googlecode.protobuf.format
Thrown when parsing an invalid text format message.
JsonFormat.Tokenizer - Class in com.googlecode.protobuf.format
Represents a stream of tokens parsed from a String.
JsonGenerator(Appendable) - Constructor for class com.googlecode.protobuf.format.JsonFormat.JsonGenerator
 
JsonJacksonFormat - Class in com.googlecode.protobuf.format
Provide ascii text parsing and formatting support for proto2 instances.
JsonJacksonFormat() - Constructor for class com.googlecode.protobuf.format.JsonJacksonFormat
 

L

lookingAtBoolean() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
Returns true if the next token is a boolean (true/false), but does not consume it.
lookingAtFloat() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
Returns true if the next token is an float, but does not consume it.
lookingAtInteger() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
Returns true if the next token is an integer, but does not consume it.

M

merge(InputStream, Charset, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
 
merge(CharSequence, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
 
merge(Readable, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
Parse a text-format message from input and merge the contents into builder.
merge(CharSequence, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.CouchDBFormat
Parse a text-format message from input and merge the contents into builder.
merge(CharSequence, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.HtmlFormat
 
merge(CharSequence, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.JavaPropsFormat
Parse a text-format message from input and merge the contents into builder.
merge(CharSequence, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.JsonFormat
Parse a text-format message from input and merge the contents into builder.
merge(InputStream, Charset, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
Parse a text-format message from input and merge the contents into builder.
merge(JsonParser, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
Parse a text-format message from input and merge the contents into builder.
merge(InputStream, Charset, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
Parse a text-format message from input and merge the contents into builder.
merge(InputStream, Charset, Message.Builder) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
Parse a text-format message from input and merge the contents into builder.
merge(InputStream, Message.Builder) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
 
merge(InputStream, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
 
merge(InputStream, Charset, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.SmileFormat
Parse a text-format message from input and merge the contents into builder.
merge(CharSequence, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.XmlFormat
Parse a text-format message from input and merge the contents into builder.
merge(InputStream, Charset, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
Parse a text-format message from input and merge the contents into builder.
merge(XMLEventReader, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
Parse a text-format message from input and merge the contents into builder.
mergeField(JsonFormat.Tokenizer, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.JsonFormat
Parse a single field from tokenizer and merge it into builder.
mergeField(JsonParser, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
Parse a single field from parser and merge it into builder.
mergeField(XMLEventReader, XMLEvent, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
Parse a single field from parser and merge it into builder.

N

nextToken() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
Advance to the next token.

O

outdent() - Method in class com.googlecode.protobuf.format.JsonFormat.JsonGenerator
Reduces the current indent level by two spaces, or crashes if the indent level is zero.

P

parseBoolean(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Parse a boolean and return its value.
parseDouble(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
If the next token is a double and return its value.
ParseException(String) - Constructor for exception com.googlecode.protobuf.format.JavaPropsFormat.ParseException
 
ParseException(String) - Constructor for exception com.googlecode.protobuf.format.JsonFormat.ParseException
 
parseException(String) - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
Returns a JsonFormat.ParseException with the current line and column numbers in the description, suitable for throwing.
ParseException(String) - Constructor for exception com.googlecode.protobuf.format.ProtobufFormatter.ParseException
 
parseExceptionPreviousToken(String) - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
Returns a JsonFormat.ParseException with the line and column numbers of the previous token in the description, suitable for throwing.
parseFloat(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Parse a float and return its value.
parseInt32(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Parse a 32-bit signed integer from the text.
parseInt64(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Parse a 64-bit signed integer from the text.
parseInteger(String, boolean, boolean) - Static method in class com.googlecode.protobuf.format.util.TextUtils
 
parseUInt32(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Parse a 32-bit unsigned integer from the text.
parseUInt64(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Parse a 64-bit unsigned integer from the text.
print(Message, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
 
print(Message, Appendable) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
 
print(UnknownFieldSet, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
 
print(UnknownFieldSet, Appendable) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
 
print(CharSequence) - Method in class com.googlecode.protobuf.format.CouchDBFormat.CouchDBGenerator
 
print(Message, Appendable) - Method in class com.googlecode.protobuf.format.CouchDBFormat
Outputs a textual representation of the Protocol Message supplied into the parameter output.
print(UnknownFieldSet, Appendable) - Method in class com.googlecode.protobuf.format.CouchDBFormat
Outputs a textual representation of fields to output.
print(Message, Appendable) - Method in class com.googlecode.protobuf.format.HtmlFormat
 
print(UnknownFieldSet, Appendable) - Method in class com.googlecode.protobuf.format.HtmlFormat
 
print(Message, Appendable) - Method in class com.googlecode.protobuf.format.JavaPropsFormat
Outputs a textual representation of the Protocol Message supplied into the parameter output.
print(UnknownFieldSet, Appendable) - Method in class com.googlecode.protobuf.format.JavaPropsFormat
Outputs a textual representation of fields to output.
print(CharSequence) - Method in class com.googlecode.protobuf.format.JsonFormat.JsonGenerator
Print text to the output stream.
print(Message, Appendable) - Method in class com.googlecode.protobuf.format.JsonFormat
Outputs a textual representation of the Protocol Message supplied into the parameter output.
print(UnknownFieldSet, Appendable) - Method in class com.googlecode.protobuf.format.JsonFormat
Outputs a textual representation of fields to output.
print(Message, JsonFormat.JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonFormat
 
print(Message, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
Outputs a Smile representation of the Protocol Message supplied into the parameter output.
print(Message, JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
Outputs a Smile representation of the Protocol Message supplied into the parameter output.
print(UnknownFieldSet, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
Outputs a Smile representation of fields to output.
print(Message, OutputStream) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
 
print(Message, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
Outputs a textual representation of the Protocol Message supplied into the parameter output.
print(UnknownFieldSet, OutputStream) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
 
print(UnknownFieldSet, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
 
print(Message, Appendable) - Method in class com.googlecode.protobuf.format.XmlFormat
Outputs a textual representation of the Protocol Message supplied into the parameter output.
print(UnknownFieldSet, Appendable) - Method in class com.googlecode.protobuf.format.XmlFormat
Outputs a textual representation of fields to output.
print(Message, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
Outputs a Smile representation of the Protocol Message supplied into the parameter output.
print(Message, XMLStreamWriter) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
Outputs a Smile representation of the Protocol Message supplied into the parameter output.
print(UnknownFieldSet, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
Outputs a Smile representation of fields to output.
printField(Descriptors.FieldDescriptor, Object, HtmlFormat.HtmlGenerator) - Method in class com.googlecode.protobuf.format.HtmlFormat
 
printField(Descriptors.FieldDescriptor, Object, Appendable) - Method in class com.googlecode.protobuf.format.JavaPropsFormat
 
printField(Descriptors.FieldDescriptor, Object, JsonFormat.JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonFormat
 
printField(Descriptors.FieldDescriptor, Object, JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
 
printField(Descriptors.FieldDescriptor, Object, XmlFormat.XmlGenerator) - Method in class com.googlecode.protobuf.format.XmlFormat
 
printField(Descriptors.FieldDescriptor, Object, XMLStreamWriter) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
 
printFieldToString(Descriptors.FieldDescriptor, Object) - Method in class com.googlecode.protobuf.format.JavaPropsFormat
 
printMessage(Message, JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
 
printMessage(Message, XMLStreamWriter) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
 
printToString(Message) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
Like print(), but writes directly to a String and returns it.
printToString(UnknownFieldSet) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
Like print(), but writes directly to a String and returns it.
printUnknownFields(UnknownFieldSet, JsonFormat.JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonFormat
 
printUnknownFields(UnknownFieldSet, JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
 
printUnknownFields(UnknownFieldSet, XMLStreamWriter) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
 
ProtobufFormatter - Class in com.googlecode.protobuf.format
 
ProtobufFormatter() - Constructor for class com.googlecode.protobuf.format.ProtobufFormatter
 
ProtobufFormatter.ParseException - Exception in com.googlecode.protobuf.format
Thrown when parsing an invalid text format message.

S

setDefaultCharset(Charset) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
Set the default character set to use for input / output data streams
SmileFormat - Class in com.googlecode.protobuf.format
Provide ascii text parsing and formatting support for proto2 instances.
SmileFormat() - Constructor for class com.googlecode.protobuf.format.SmileFormat
 

T

TextUtils - Class in com.googlecode.protobuf.format.util
Utilities for coercing types largely follows google/protobuf/text_format.cc.
TextUtils() - Constructor for class com.googlecode.protobuf.format.util.TextUtils
 
toInputStream(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
 
toInputStream(String, Charset) - Static method in class com.googlecode.protobuf.format.util.TextUtils
 
Tokenizer(CharSequence) - Constructor for class com.googlecode.protobuf.format.CouchDBFormat.Tokenizer
Construct a tokenizer that parses tokens from the given text.
Tokenizer(CharSequence) - Constructor for class com.googlecode.protobuf.format.JsonFormat.Tokenizer
Construct a tokenizer that parses tokens from the given text.
toStringBuilder(Readable) - Static method in class com.googlecode.protobuf.format.util.TextUtils
 
tryConsume(String) - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
If the next token exactly matches token, consume it and return true.

U

unescapeBytes(CharSequence) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Un-escape a byte sequence as escaped using TextUtils.escapeBytes(ByteString).
unsignedLong(long) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Convert an unsigned 64-bit integer to a BigInteger.
unsignedToString(long) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Convert an unsigned 64-bit integer to a string.
unsignedToString(int) - Static method in class com.googlecode.protobuf.format.util.TextUtils
Convert an unsigned 32-bit integer to a string.

V

valueOf(String) - Static method in enum com.googlecode.protobuf.format.FormatFactory.Formatter
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.googlecode.protobuf.format.FormatFactory.Formatter
Returns an array containing the constants of this enum type, in the order they are declared.

X

XmlFormat - Class in com.googlecode.protobuf.format
Provide ascii text parsing and formatting support for proto2 instances.
XmlFormat() - Constructor for class com.googlecode.protobuf.format.XmlFormat
 
XmlJavaxFormat - Class in com.googlecode.protobuf.format
(c) 2011 Neustar, Inc.
XmlJavaxFormat() - Constructor for class com.googlecode.protobuf.format.XmlJavaxFormat
 
A C D E F G H I J L M N O P S T U V X 
Skip navigation links

Copyright © 2019. All rights reserved.