Index

A B C D G I M N O P R S T W 
All Classes and Interfaces|All Packages

A

apply(MethodVisitor, Implementation.Context) - Method in class org.curioswitch.common.protobuf.json.bytebuddy.Goto
 
apply(MethodVisitor, Implementation.Context) - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfEqual
 
apply(MethodVisitor, Implementation.Context) - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfFalse
 
apply(MethodVisitor, Implementation.Context) - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfIntsNotEqual
 
apply(MethodVisitor, Implementation.Context) - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfNotNull
 
apply(MethodVisitor, Implementation.Context) - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfRefsEqual
 
apply(MethodVisitor, Implementation.Context) - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfRefsNotEqual
 
apply(MethodVisitor, Implementation.Context) - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfTrue
 
apply(MethodVisitor, Implementation.Context) - Method in class org.curioswitch.common.protobuf.json.bytebuddy.SetJumpTargetLabel
 

B

build() - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Returns the built MessageMarshaller, generating TypeSpecificMarshaller for all registered Message types.
builder() - Static method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Returns a new MessageMarshaller.Builder for registering Message types for use in a MessageMarshaller as well as setting various serialization and parsing options.

C

checkArrayEnd(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Returns whether the current token is ']'.
checkNull(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Returns whether the current token is 'null'.
checkObjectEnd(JsonToken) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Returns whether the JsonToken is '}'.
checkRecursionLimit(int) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Checks whether the currentDepth of nested message parsing is higher than the limit, and throws InvalidProtocolBufferException if so.

D

doMerge(JsonParser, int, Message.Builder) - Method in class org.curioswitch.common.protobuf.json.TypeSpecificMarshaller
 
doWrite(T, JsonGenerator) - Method in class org.curioswitch.common.protobuf.json.TypeSpecificMarshaller
 

G

Goto - Class in org.curioswitch.common.protobuf.json.bytebuddy
A StackManipulation which jumps unconditionally to a destination.
Goto(Label) - Constructor for class org.curioswitch.common.protobuf.json.bytebuddy.Goto
 

I

IfEqual - Class in org.curioswitch.common.protobuf.json.bytebuddy
A StackManipulation which jumps to a destination if two items on the execution stack are equal.
IfEqual(Class<?>, Label) - Constructor for class org.curioswitch.common.protobuf.json.bytebuddy.IfEqual
 
IfFalse - Class in org.curioswitch.common.protobuf.json.bytebuddy
A StackManipulation which jumps to a destination if the boolean value on the stack is false.
IfFalse(Label) - Constructor for class org.curioswitch.common.protobuf.json.bytebuddy.IfFalse
 
IfIntsNotEqual - Class in org.curioswitch.common.protobuf.json.bytebuddy
StackManipulation which jumps to a destination if the two ints on the execution stack are not equal.
IfIntsNotEqual(Label) - Constructor for class org.curioswitch.common.protobuf.json.bytebuddy.IfIntsNotEqual
 
IfNotNull - Class in org.curioswitch.common.protobuf.json.bytebuddy
A StackManipulation which jumps to a destination if one item on the execution stack is not null.
IfNotNull(Label) - Constructor for class org.curioswitch.common.protobuf.json.bytebuddy.IfNotNull
 
IfRefsEqual - Class in org.curioswitch.common.protobuf.json.bytebuddy
StackManipulation which jumps to a destination if the two references on the execution stack are equal.
IfRefsEqual(Label) - Constructor for class org.curioswitch.common.protobuf.json.bytebuddy.IfRefsEqual
 
IfRefsNotEqual - Class in org.curioswitch.common.protobuf.json.bytebuddy
StackManipulation which jumps to a destination if the two references on the execution stack are not equal.
IfRefsNotEqual(Label) - Constructor for class org.curioswitch.common.protobuf.json.bytebuddy.IfRefsNotEqual
 
IfTrue - Class in org.curioswitch.common.protobuf.json.bytebuddy
A StackManipulation which jumps to a destination if the boolean value on the stack is true.
IfTrue(Label) - Constructor for class org.curioswitch.common.protobuf.json.bytebuddy.IfTrue
 
ignoringUnknownFields(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Sets whether unknown fields should be allowed when parsing JSON input.
includingDefaultValueFields(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Set whether unset fields will be serialized with their default values.
isValid() - Method in class org.curioswitch.common.protobuf.json.bytebuddy.Goto
 
isValid() - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfEqual
 
isValid() - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfFalse
 
isValid() - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfIntsNotEqual
 
isValid() - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfNotNull
 
isValid() - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfRefsEqual
 
isValid() - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfRefsNotEqual
 
isValid() - Method in class org.curioswitch.common.protobuf.json.bytebuddy.IfTrue
 
isValid() - Method in class org.curioswitch.common.protobuf.json.bytebuddy.SetJumpTargetLabel
 

M

mapIterator(Map<?, ?>, boolean, boolean) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
mapUnknownEnumValue(int) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Returns the default value for an enum if it was read as an unknown, for singular fields.
mergeValue(byte[], Message.Builder) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Merges the JSON UTF-8 bytes into the provided Message.Builder.
mergeValue(JsonParser, Message.Builder) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Merges the content inside the JsonParser into the provided Message.Builder.
mergeValue(InputStream, Message.Builder) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Merges the JSON bytes inside the provided InputStream into the provided Message.Builder.
mergeValue(String, Message.Builder) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Merges the JSON String into the provided Message.Builder.
MessageMarshaller - Class in org.curioswitch.common.protobuf.json
A marshaller of pre-registered Message types.
MessageMarshaller.Builder - Class in org.curioswitch.common.protobuf.json
A MessageMarshaller.Builder of MessageMarshallers, allows registering Message types to marshall and set options.

N

normalizeUnsignedInt32(int) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
normalizeUnsignedInt64(long) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 

O

omittingInsignificantWhitespace(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Whether the serialized JSON output will omit all insignificant whitespace.
org.curioswitch.common.protobuf.json - package org.curioswitch.common.protobuf.json
Code for efficiently marshalling between protobuf objects and JSON.
org.curioswitch.common.protobuf.json.bytebuddy - package org.curioswitch.common.protobuf.json.bytebuddy
Bytecode writers for generating code not supported natively by the Byte Buddy library.

P

parseArrayStart(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Checks whether the current token is '[' and advances past it.
parseBool(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Parsers a bool value out of the input.
parseBytes(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Parsers a bytes value out of the input.
parseDouble(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Parsers a double value out of the input.
parseEnum(JsonParser, Descriptors.EnumDescriptor, boolean) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Parsers an enum value out of the input.
parseFloat(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Parsers a float value out of the input.
parseInt32(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Parsers an int32 value out of the input.
parseInt64(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Parsers an int64 value out of the input.
parseMessage(JsonParser, TypeSpecificMarshaller<T>, int) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Parsers a Message value out of the input.
parseObjectStart(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Checks the current token is '{' and advances past it.
parseString(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Parsers a string value out of the input.
ParseSupport - Class in org.curioswitch.common.protobuf.json
Static methods for parsing various protobuf types.
parseUInt32(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Parsers a uint32 value out of the input.
parseUInt64(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Parsers a uint64 value out of the input.
preservingProtoFieldNames(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Set whether field names should use the original name in the .proto file instead of converting to lowerCamelCase when serializing messages.
printBool(boolean, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printBytes(ByteString, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printDouble(double, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printEnum(int, JsonGenerator, Descriptors.EnumDescriptor) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printEnum(Descriptors.EnumValueDescriptor, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printFloat(float, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printingEnumsAsInts(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Sets whether enum values should be printed as their integer value rather than their name.
printMessage(T, JsonGenerator, TypeSpecificMarshaller<T>) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printNull(int, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printRepeatedBool(List<Boolean>, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printRepeatedBytes(List<ByteString>, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printRepeatedDouble(List<Double>, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printRepeatedEnum(List<Integer>, JsonGenerator, Descriptors.EnumDescriptor) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printRepeatedFloat(List<Float>, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printRepeatedMessage(List<T>, JsonGenerator, TypeSpecificMarshaller<T>) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printRepeatedNull(List<Integer>, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printRepeatedSignedInt32(List<Integer>, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printRepeatedSignedInt64(List<Long>, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printRepeatedString(List<String>, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printRepeatedUnsignedInt32(List<Integer>, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printRepeatedUnsignedInt64(List<Long>, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printSignedInt32(int, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printSignedInt64(long, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printString(String, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printUnsignedInt32(int, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
printUnsignedInt64(long, JsonGenerator) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 

R

register(Message) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Registers the type of the provided Message for use with the created MessageMarshaller.
register(Class<? extends Message>) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Registers the provided Message type for use with the created MessageMarshaller.

S

serializeString(String) - Static method in class org.curioswitch.common.protobuf.json.SerializeSupport
 
SerializeSupport - Class in org.curioswitch.common.protobuf.json
 
SetJumpTargetLabel - Class in org.curioswitch.common.protobuf.json.bytebuddy
Adds a jump target label.
SetJumpTargetLabel(Label) - Constructor for class org.curioswitch.common.protobuf.json.bytebuddy.SetJumpTargetLabel
 
sortingMapKeys(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Sets whether map keys will be sorted in the JSON output.

T

throwIfFieldAlreadyWritten(int, int, String) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Checks the field presence of the field with number fieldNumber and variableName fullName.
throwIfOneofAlreadyWritten(JsonParser, Object, String, boolean) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Checks whether the oneof whose oneofCase has already been set.
throwIfRepeatedValueNull(JsonParser) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Throws an exception if the current token is 'null'.
throwIfUnknownField(String, String) - Static method in class org.curioswitch.common.protobuf.json.ParseSupport
Throws an InvalidProtocolBufferException indicating the field with variableName fieldName is not part of Message with variableName messageName.
TypeSpecificMarshaller<T extends com.google.protobuf.Message> - Class in org.curioswitch.common.protobuf.json
Abstract class for protobuf marshallers.
TypeSpecificMarshaller(T) - Constructor for class org.curioswitch.common.protobuf.json.TypeSpecificMarshaller
 

W

writeValue(T, JsonGenerator) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Converts a Message into a JSON, writing to the provided JsonGenerator.
writeValue(T, OutputStream) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Converts a Message into JSON, writing to the provided OutputStream.
writeValueAsBytes(T) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Converts a Message into JSON as UTF-8 encoded bytes.
writeValueAsString(T) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Converts a Message into a JSON String.
A B C D G I M N O P R S T W 
All Classes and Interfaces|All Packages