A B C D E F G H I J K L M N O P R S T U V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(I) - Method in interface net.morimekta.providence.descriptor.PList.Builder
- add(I) - Method in class net.morimekta.providence.descriptor.PList.DefaultBuilder
- add(I) - Method in interface net.morimekta.providence.descriptor.PSet.Builder
- add(I) - Method in class net.morimekta.providence.descriptor.PSet.DefaultBuilder
- add(I) - Method in class net.morimekta.providence.descriptor.PSet.SortedBuilder
- addAll(Collection<I>) - Method in interface net.morimekta.providence.descriptor.PList.Builder
- addAll(Collection<I>) - Method in class net.morimekta.providence.descriptor.PList.DefaultBuilder
- addAll(Collection<I>) - Method in interface net.morimekta.providence.descriptor.PSet.Builder
- addAll(Collection<I>) - Method in class net.morimekta.providence.descriptor.PSet.DefaultBuilder
- addAll(Collection<I>) - Method in class net.morimekta.providence.descriptor.PSet.SortedBuilder
- addTo(int, Object) - Method in class net.morimekta.providence.PApplicationException._Builder
- addTo(int, Object) - Method in class net.morimekta.providence.PMessageBuilder
-
Adds a value to a set or list container.
- addTo(PField<Message>, Object) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is set on the builder.
- ALT_MEDIA_TYPE - Static variable in class net.morimekta.providence.serializer.BinarySerializer
- ARGUMENTS_TYPE - net.morimekta.providence.descriptor.PAnnotation
-
Annotated on a struct field, sets the target struct as arguments that can be used to have argument field content.
- asIfString(PField) - Static method in interface net.morimekta.providence.descriptor.PField
-
asIfString helper for interface fields.
- asInteger() - Method in enum net.morimekta.providence.PApplicationExceptionType
- asInteger() - Method in enum net.morimekta.providence.PServiceCallType
- asString() - Method in exception net.morimekta.providence.PApplicationException
- asString() - Method in enum net.morimekta.providence.PApplicationExceptionType
- asString() - Method in interface net.morimekta.providence.PMessage
-
Pure string representation of content.
- asString() - Method in enum net.morimekta.providence.PServiceCallType
- asString(byte) - Static method in class net.morimekta.providence.serializer.binary.BinaryType
-
Readable string value for a type ID.
- asString(PField) - Static method in interface net.morimekta.providence.descriptor.PField
-
asString helper for fields.
B
- B64 - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
- BAD_SEQUENCE_ID - net.morimekta.providence.PApplicationExceptionType
-
The response came back with a non-matching sequence ID.
- BaseSerializerProvider - Class in net.morimekta.providence.serializer
-
Default serializer provider for core serializers.
- BaseSerializerProvider(String) - Constructor for class net.morimekta.providence.serializer.BaseSerializerProvider
-
Get provider with the given default media type.
- BINARY - net.morimekta.providence.descriptor.PPrimitive
- BINARY - net.morimekta.providence.PType
- BINARY - net.morimekta.providence.serializer.pretty.PrettyTokenType
- BinaryFormatUtils - Class in net.morimekta.providence.serializer.binary
-
Utilities helping with reading and writing binary format (protocol) messages.
- BinaryFormatUtils() - Constructor for class net.morimekta.providence.serializer.binary.BinaryFormatUtils
- BinaryFormatUtils.FieldInfo - Class in net.morimekta.providence.serializer.binary
-
Field info data holder with convenience methods.
- binaryProtocol() - Method in class net.morimekta.providence.serializer.BinarySerializer
- binaryProtocol() - Method in class net.morimekta.providence.serializer.FastBinarySerializer
- binaryProtocol() - Method in class net.morimekta.providence.serializer.JsonSerializer
- binaryProtocol() - Method in class net.morimekta.providence.serializer.PrettySerializer
- binaryProtocol() - Method in class net.morimekta.providence.serializer.Serializer
- binaryProtocol() - Method in class net.morimekta.providence.serializer.UrlEncodedSerializer
- BinaryReader - Interface in net.morimekta.providence.serializer.binary
-
Interface for message builders that can read binary directly from an big endian binary reader.
- BinarySerializer - Class in net.morimekta.providence.serializer
-
Compact binary serializer.
- BinarySerializer() - Constructor for class net.morimekta.providence.serializer.BinarySerializer
-
Construct a serializer instance.
- BinarySerializer(boolean) - Constructor for class net.morimekta.providence.serializer.BinarySerializer
-
Construct a serializer instance.
- BinarySerializer(boolean, boolean) - Constructor for class net.morimekta.providence.serializer.BinarySerializer
-
Construct a serializer instance.
- BinaryType - Class in net.morimekta.providence.serializer.binary
-
Helper class for having binary type ID constants and getting the right binary type ID for a value type.
- BinaryWriter - Interface in net.morimekta.providence.serializer.binary
-
Interface for messages that can directly be written to binary.
- BOOL - net.morimekta.providence.descriptor.PPrimitive
- BOOL - net.morimekta.providence.PType
- BOOL - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- build() - Method in interface net.morimekta.providence.descriptor.PList.Builder
- build() - Method in class net.morimekta.providence.descriptor.PList.DefaultBuilder
- build() - Method in interface net.morimekta.providence.descriptor.PMap.Builder
- build() - Method in class net.morimekta.providence.descriptor.PMap.DefaultBuilder
- build() - Method in class net.morimekta.providence.descriptor.PMap.SortedBuilder
- build() - Method in interface net.morimekta.providence.descriptor.PSet.Builder
- build() - Method in class net.morimekta.providence.descriptor.PSet.DefaultBuilder
- build() - Method in class net.morimekta.providence.descriptor.PSet.SortedBuilder
- build() - Method in class net.morimekta.providence.PApplicationException._Builder
- build() - Method in class net.morimekta.providence.PApplicationExceptionType._Builder
- build() - Method in class net.morimekta.providence.PEnumBuilder
- build() - Method in class net.morimekta.providence.PMessageBuilder
- build() - Method in class net.morimekta.providence.PServiceCallType._Builder
- build() - Method in class net.morimekta.providence.util.MessageValidator.Builder
-
Build the validator.
- builder() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- builder() - Method in class net.morimekta.providence.descriptor.PInterfaceDescriptor
- builder() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- builder() - Static method in exception net.morimekta.providence.PApplicationException
-
Make a
p_service.PApplicationException
builder. - builder(int) - Method in class net.morimekta.providence.descriptor.PList
- builder(int) - Method in class net.morimekta.providence.descriptor.PMap
- builder(int) - Method in class net.morimekta.providence.descriptor.PSet
- builder(PMessageDescriptor<M>, Function<String, E>) - Static method in class net.morimekta.providence.util.MessageValidator
-
Create a message validator that throws specific exception on failure.
- BYTE - net.morimekta.providence.descriptor.PPrimitive
- BYTE - net.morimekta.providence.PType
- BYTE - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
C
- CALL - net.morimekta.providence.PServiceCallType
-
Normal service method call request.
- characteristics() - Method in class net.morimekta.providence.streams.MessageSpliterator
-
Ordered, non-null and immutable.
- clear(int) - Method in class net.morimekta.providence.PApplicationException._Builder
- clear(int) - Method in class net.morimekta.providence.PMessageBuilder
-
Clear the provided field value.
- clear(PField<Message>) - Method in class net.morimekta.providence.PMessageBuilder
-
Clear the provided field value.
- clearMessage() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Clear the
message
field. - clearType() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Clear the
type
field. - coerce(PDescriptor, Object) - Static method in class net.morimekta.providence.util.MessageUtil
-
Coerce value to match the given type descriptor.
- coerceStrict(PDescriptor, Object) - Static method in class net.morimekta.providence.util.MessageUtil
-
Coerce value to match the given type descriptor using struct type checking.
- collect(M, Consumer<String>) - Method in interface net.morimekta.providence.util.MessageValidator.Validation
- collectValidationErrors(PMessageOrBuilder<M>, Consumer<String>) - Method in class net.morimekta.providence.util.MessageValidator
-
Just see if the message is valid or not.
- compact() - Method in class net.morimekta.providence.serializer.PrettySerializer
-
Make a PrettySerializer that generates content similar to the PMessage asString methods.
- compareTo(PApplicationException) - Method in exception net.morimekta.providence.PApplicationException
- config() - Method in class net.morimekta.providence.serializer.PrettySerializer
-
Make a PrettySerializer that generates content similar to what the ProvidenceConfig reads.
- consumeMessage(BigEndianBinaryReader) - Static method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils
-
Consume a message from the stream without parsing the content into a message.
- CONTAINER - net.morimekta.providence.descriptor.PAnnotation
-
Whether a set-like container are normal (hash-), ordered (linked-hash-) or sorted (tree-).
D
- DEFAULT - net.morimekta.providence.descriptor.PContainer.Type
- DEFAULT - net.morimekta.providence.descriptor.PRequirement
- DEFAULT_FIRST_VALUE - Static variable in class net.morimekta.providence.descriptor.PEnumDescriptor
- DEFAULT_STRICT - Static variable in class net.morimekta.providence.serializer.Serializer
-
Default value for the "strict" serializer settings.
- DefaultBuilder() - Constructor for class net.morimekta.providence.descriptor.PList.DefaultBuilder
- DefaultBuilder() - Constructor for class net.morimekta.providence.descriptor.PMap.DefaultBuilder
- DefaultBuilder() - Constructor for class net.morimekta.providence.descriptor.PSet.DefaultBuilder
- DefaultBuilder(int) - Constructor for class net.morimekta.providence.descriptor.PList.DefaultBuilder
- DefaultBuilder(int) - Constructor for class net.morimekta.providence.descriptor.PMap.DefaultBuilder
- DefaultBuilder(int) - Constructor for class net.morimekta.providence.descriptor.PSet.DefaultBuilder
- DefaultSerializerProvider - Class in net.morimekta.providence.serializer
-
Default serializer provider for core serializers.
- DefaultSerializerProvider() - Constructor for class net.morimekta.providence.serializer.DefaultSerializerProvider
-
Get the default serializer provider.
- DefaultSerializerProvider(boolean) - Constructor for class net.morimekta.providence.serializer.DefaultSerializerProvider
-
Get the default serializer provider.
- DefaultSerializerProvider(String) - Constructor for class net.morimekta.providence.serializer.DefaultSerializerProvider
-
Get provider with the given default media type.
- DefaultSerializerProvider(String, boolean) - Constructor for class net.morimekta.providence.serializer.DefaultSerializerProvider
-
Get provider with the given default media type and strict mode.
- DEPRECATED - net.morimekta.providence.descriptor.PAnnotation
-
If the field, message, service or method is not supposed to be used any more.
- descriptor() - Method in class net.morimekta.providence.descriptor.PContainerProvider
- descriptor() - Method in interface net.morimekta.providence.descriptor.PDescriptorProvider
- descriptor() - Method in class net.morimekta.providence.descriptor.PEnumDescriptorProvider
- descriptor() - Method in class net.morimekta.providence.descriptor.PExceptionDescriptorProvider
- descriptor() - Method in class net.morimekta.providence.descriptor.PInterfaceDescriptorProvider
- descriptor() - Method in class net.morimekta.providence.descriptor.PMessageDescriptorProvider
- descriptor() - Method in class net.morimekta.providence.descriptor.PPrimitiveProvider
- descriptor() - Method in class net.morimekta.providence.descriptor.PStructDescriptorProvider
- descriptor() - Method in class net.morimekta.providence.descriptor.PUnionDescriptorProvider
- descriptor() - Method in class net.morimekta.providence.PApplicationException._Builder
- descriptor() - Method in exception net.morimekta.providence.PApplicationException
- descriptor() - Method in enum net.morimekta.providence.PApplicationExceptionType
- descriptor() - Method in interface net.morimekta.providence.PEnumValue
- descriptor() - Method in interface net.morimekta.providence.PMessageOrBuilder
- descriptor() - Method in enum net.morimekta.providence.PServiceCallType
- descriptor() - Method in interface net.morimekta.providence.PValue
- deserialize(InputStream, PMessageDescriptor<Message>) - Method in class net.morimekta.providence.serializer.BinarySerializer
- deserialize(InputStream, PMessageDescriptor<Message>) - Method in class net.morimekta.providence.serializer.FastBinarySerializer
- deserialize(InputStream, PMessageDescriptor<Message>) - Method in class net.morimekta.providence.serializer.PrettySerializer
- deserialize(InputStream, PMessageDescriptor<Message>) - Method in class net.morimekta.providence.serializer.Serializer
-
Deserialize a message.
- deserialize(InputStream, PMessageDescriptor<Message>) - Method in class net.morimekta.providence.serializer.UrlEncodedSerializer
- deserialize(InputStream, PMessageDescriptor<T>) - Method in class net.morimekta.providence.serializer.JsonSerializer
- deserialize(InputStream, PService) - Method in class net.morimekta.providence.serializer.BinarySerializer
- deserialize(InputStream, PService) - Method in class net.morimekta.providence.serializer.FastBinarySerializer
- deserialize(InputStream, PService) - Method in class net.morimekta.providence.serializer.JsonSerializer
- deserialize(InputStream, PService) - Method in class net.morimekta.providence.serializer.PrettySerializer
- deserialize(InputStream, PService) - Method in class net.morimekta.providence.serializer.Serializer
-
Deserialize a service call.
- deserialize(InputStream, PService) - Method in class net.morimekta.providence.serializer.UrlEncodedSerializer
- deserialize(Reader, PMessageDescriptor<T>) - Method in class net.morimekta.providence.serializer.JsonSerializer
- displayString() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- displayString() - Method in exception net.morimekta.providence.serializer.pretty.PrettyException
- displayString() - Method in exception net.morimekta.providence.serializer.SerializerException
- DOUBLE - net.morimekta.providence.descriptor.PPrimitive
- DOUBLE - net.morimekta.providence.PType
- DOUBLE - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
E
- ENUM - net.morimekta.providence.PType
- equals(Object) - Method in class net.morimekta.providence.descriptor.PDefaultValueProvider
- equals(Object) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- equals(Object) - Method in class net.morimekta.providence.descriptor.PList
- equals(Object) - Method in class net.morimekta.providence.descriptor.PMap
- equals(Object) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- equals(Object) - Method in class net.morimekta.providence.descriptor.PSet
- equals(Object) - Method in class net.morimekta.providence.PApplicationException._Builder
- equals(Object) - Method in exception net.morimekta.providence.PApplicationException
- equals(Object) - Method in class net.morimekta.providence.PServiceCall
- equals(Object) - Method in class net.morimekta.providence.types.TypeReference
- estimateSize() - Method in class net.morimekta.providence.streams.MessageSpliterator
-
We mostly never know the number of messages in a message stream until the last message has been read.
- EXCEPTION - net.morimekta.providence.PMessageVariant
- EXCEPTION - net.morimekta.providence.PServiceCallType
-
An application exception, i.e. either a non-declared exception, or a providence service or serialization exception.
- expect(String, Predicate<M>) - Method in class net.morimekta.providence.util.MessageValidator.Builder
-
Make a specific expectation for the message.
- expect(PField<M>, PMessageDescriptor<M2>, Consumer<MessageValidator.Builder<M2, E>>) - Method in class net.morimekta.providence.util.MessageValidator.Builder
-
Given the field and type descriptor (which must match the field type), build an inner validator to check the value of the field.
- expectMissing(String, PField<M>) - Method in class net.morimekta.providence.util.MessageValidator.Builder
-
Expect field to be present on message.
- expectMissing(PField<M>...) - Method in class net.morimekta.providence.util.MessageValidator.Builder
-
Expect field to be present on message.
- expectNotNull() - Method in class net.morimekta.providence.util.MessageValidator.Builder
-
Expect the message to be non-null value.
- expectNotNull(String) - Method in class net.morimekta.providence.util.MessageValidator.Builder
-
Expect the message to be non-null value.
- expectPresent(String, PField<M>) - Method in class net.morimekta.providence.util.MessageValidator.Builder
-
Expect field to be present on message.
- expectPresent(PField<M>...) - Method in class net.morimekta.providence.util.MessageValidator.Builder
-
Expect field to be present on message.
F
- FastBinarySerializer - Class in net.morimekta.providence.serializer
-
Compact binary serializer.
- FastBinarySerializer() - Constructor for class net.morimekta.providence.serializer.FastBinarySerializer
-
Construct a serializer instance.
- FastBinarySerializer(boolean) - Constructor for class net.morimekta.providence.serializer.FastBinarySerializer
-
Construct a serializer instance.
- fieldForId(int) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- fieldForId(int) - Static method in enum net.morimekta.providence.PApplicationException._Field
- fieldForName(String) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- fieldForName(String) - Static method in enum net.morimekta.providence.PApplicationException._Field
- fieldForPojoName(String) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- fieldForPojoName(String) - Static method in enum net.morimekta.providence.PApplicationException._Field
- FieldInfo(int, byte) - Constructor for class net.morimekta.providence.serializer.binary.BinaryFormatUtils.FieldInfo
-
Create a field info instance.
- fieldIsValueType - Variable in enum net.morimekta.providence.descriptor.PRequirement
- file(File, Serializer, PMessageDescriptor<Message>) - Static method in class net.morimekta.providence.streams.MessageStreams
-
Read a file containing entries of a given type.
- fillInStackTrace() - Method in exception net.morimekta.providence.PApplicationException
- finalTypeReference(TypeReference) - Method in class net.morimekta.providence.types.TypeRegistry
-
Get the final typename of the given identifier within the context.
- findById(int) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- findById(int) - Static method in enum net.morimekta.providence.PApplicationException._Field
- findById(Integer) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Find a value based in its ID
- findById(Integer) - Static method in enum net.morimekta.providence.PServiceCallType
-
Find a value based in its ID
- findByName(String) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- findByName(String) - Static method in enum net.morimekta.providence.descriptor.PPrimitive
-
Find primitive by name.
- findByName(String) - Static method in enum net.morimekta.providence.PApplicationException._Field
- findByName(String) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Find a value based in its name
- findByName(String) - Static method in enum net.morimekta.providence.PServiceCallType
-
Find a value based in its name
- findByPojoName(String) - Static method in enum net.morimekta.providence.PApplicationException._Field
- findFieldById(int) - Method in class net.morimekta.providence.descriptor.PInterfaceDescriptor
- findFieldById(int) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- findFieldByName(String) - Method in class net.morimekta.providence.descriptor.PInterfaceDescriptor
- findFieldByName(String) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- findFieldByPojoName(String) - Method in class net.morimekta.providence.descriptor.PInterfaceDescriptor
- findFieldByPojoName(String) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- forTag(String) - Static method in enum net.morimekta.providence.descriptor.PAnnotation
- forType(PType) - Static method in class net.morimekta.providence.serializer.binary.BinaryType
-
Get the binary type for the given value type.
G
- genericToken(char[], int, int, PrettyTokenType, int, int) - Method in class net.morimekta.providence.serializer.pretty.PrettyTokenizer
- get() - Method in class net.morimekta.providence.descriptor.PDefaultValueProvider
- get() - Method in interface net.morimekta.providence.descriptor.PValueProvider
- get(int) - Method in class net.morimekta.providence.PApplicationException._Builder
- get(int) - Method in exception net.morimekta.providence.PApplicationException
- get(int) - Method in interface net.morimekta.providence.PMessageOrBuilder
- get(F) - Method in interface net.morimekta.providence.PMessage
- get(F) - Method in interface net.morimekta.providence.PMessageOrBuilder
- getArgumentsType() - Method in interface net.morimekta.providence.descriptor.PField
-
If present, is the params type to be used for parameterizable field content, e.g. with GraphQL.
- getArgumentsType() - Method in enum net.morimekta.providence.PApplicationException._Field
- getBuilderSupplier() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- getBuilderSupplier() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
Get the actual builder builderSupplier instance.
- getCallType() - Method in exception net.morimekta.providence.serializer.SerializerException
- getCause() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- getComparator() - Method in class net.morimekta.providence.streams.MessageSpliterator
-
Messages are comparable.
- getConstantValue(TypeReference) - Method in class net.morimekta.providence.types.SimpleTypeRegistry
- getConstantValue(TypeReference) - Method in class net.morimekta.providence.types.TypeRegistry
-
This is to check to find a constant given the const name and program context.
- getDeclaredType(TypeReference) - Method in class net.morimekta.providence.types.SimpleTypeRegistry
- getDeclaredType(TypeReference) - Method in class net.morimekta.providence.types.TypeRegistry
-
Get the declared type with the given name and program context.
- getDeclaredTypes() - Method in class net.morimekta.providence.types.SimpleTypeRegistry
- getDeclaredTypes() - Method in class net.morimekta.providence.types.TypeRegistry
- getDefault() - Method in class net.morimekta.providence.serializer.BaseSerializerProvider
- getDefault() - Method in interface net.morimekta.providence.serializer.SerializerProvider
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
- getDefaultValue() - Method in interface net.morimekta.providence.descriptor.PDescriptor
- getDefaultValue() - Method in interface net.morimekta.providence.descriptor.PField
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PList
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PMap
- getDefaultValue() - Method in enum net.morimekta.providence.descriptor.PPrimitive
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PService
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PSet
- getDefaultValue() - Method in enum net.morimekta.providence.PApplicationException._Field
- getDescriptor() - Method in interface net.morimekta.providence.descriptor.PField
- getDescriptor() - Method in enum net.morimekta.providence.PApplicationException._Field
- getDescriptor() - Method in interface net.morimekta.providence.PProcessor
-
Get the descriptor for the given service.
- getExactSizeIfKnown() - Method in class net.morimekta.providence.streams.MessageSpliterator
-
We mostly never know the number of messages in a message stream until the last message has been read.
- getExceptionType() - Method in exception net.morimekta.providence.serializer.SerializerException
- getExtendsService() - Method in class net.morimekta.providence.descriptor.PService
-
Get the service that this service extends.
- getFields() - Method in class net.morimekta.providence.descriptor.PInterfaceDescriptor
- getFields() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- getFile() - Method in exception net.morimekta.providence.serializer.pretty.PrettyException
- getId() - Method in interface net.morimekta.providence.descriptor.PField
- getId() - Method in enum net.morimekta.providence.PApplicationException._Field
- getId() - Method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils.FieldInfo
- getImplementing() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
Get interface descriptor this message implements.
- getInMessage(PMessageOrBuilder, PField...) - Static method in class net.morimekta.providence.util.MessageUtil
-
Look up a key in the message structure.
- getLen() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- getLength() - Method in exception net.morimekta.providence.serializer.pretty.PrettyException
- getLine() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- getLine() - Method in exception net.morimekta.providence.serializer.pretty.PrettyException
- getLineNo() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- getLineNo() - Method in exception net.morimekta.providence.serializer.pretty.PrettyException
- getLinePos() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- getLinePos() - Method in exception net.morimekta.providence.serializer.pretty.PrettyException
- getMessage() - Method in interface net.morimekta.providence.PApplicationException_OrBuilder
-
Exception message.
- getMessage() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Exception message.
- getMessage() - Method in exception net.morimekta.providence.PApplicationException
-
Exception message.
- getMessage() - Method in class net.morimekta.providence.PServiceCall
-
The message sent or received.
- getMethod() - Method in class net.morimekta.providence.PServiceCall
-
The name of the method called.
- getMethod(String) - Method in class net.morimekta.providence.descriptor.PService
-
Get the method definition for the given method name.
- getMethodName() - Method in exception net.morimekta.providence.serializer.SerializerException
- getMethods() - Method in class net.morimekta.providence.descriptor.PService
-
Get the collection of methods for the service, including all inherited services.
- getName() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
- getName() - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
The name of the type is the Identifier string from the IDL.
- getName() - Method in interface net.morimekta.providence.descriptor.PField
- getName() - Method in class net.morimekta.providence.descriptor.PList
- getName() - Method in class net.morimekta.providence.descriptor.PMap
- getName() - Method in enum net.morimekta.providence.descriptor.PPrimitive
- getName() - Method in interface net.morimekta.providence.descriptor.PServiceMethod
- getName() - Method in class net.morimekta.providence.descriptor.PSet
- getName() - Method in enum net.morimekta.providence.PApplicationException._Field
- getNativeType() - Method in enum net.morimekta.providence.descriptor.PPrimitive
-
Get the java native type for the given primitive.
- getNextSequenceId() - Method in class net.morimekta.providence.PClient
-
Get the next available sequence ID.
- getPojoName() - Method in interface net.morimekta.providence.descriptor.PField
- getPojoName() - Method in enum net.morimekta.providence.PApplicationException._Field
- getPossibleTypes() - Method in class net.morimekta.providence.descriptor.PInterfaceDescriptor
- getProgramName() - Method in class net.morimekta.providence.descriptor.PContainer
- getProgramName() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
- getProgramName() - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
The package name is derived form the .thrift file name that is parsed or if read from serialized format is explicit.
- getProgramName() - Method in enum net.morimekta.providence.descriptor.PPrimitive
- getQualifiedName() - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
This will return the globally qualified name of the type given the program context.
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
- getQualifiedName(String) - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
This will return the qualified name of the type given the program context.
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PList
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PMap
- getQualifiedName(String) - Method in enum net.morimekta.providence.descriptor.PPrimitive
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PSet
- getRequestType() - Method in interface net.morimekta.providence.descriptor.PServiceMethod
- getRequirement() - Method in interface net.morimekta.providence.descriptor.PField
- getRequirement() - Method in enum net.morimekta.providence.PApplicationException._Field
- getResponseType() - Method in interface net.morimekta.providence.descriptor.PServiceMethod
- getSequence() - Method in class net.morimekta.providence.PServiceCall
-
The sequence number of the call.
- getSequenceNo() - Method in exception net.morimekta.providence.serializer.SerializerException
- getSerializer(String) - Method in class net.morimekta.providence.serializer.BaseSerializerProvider
- getSerializer(String) - Method in interface net.morimekta.providence.serializer.SerializerProvider
-
Get serializer for the given media type
- getService() - Method in interface net.morimekta.providence.descriptor.PServiceMethod
-
Get the service where this method is represented.
- getService() - Method in interface net.morimekta.providence.descriptor.PServiceProvider
- getService(TypeReference) - Method in class net.morimekta.providence.types.SimpleTypeRegistry
- getService(TypeReference) - Method in class net.morimekta.providence.types.TypeRegistry
-
Get a service definition from the name and program context.
- getServiceProvider(TypeReference) - Method in class net.morimekta.providence.types.TypeRegistry
- getTargetModifications(PMessageOrBuilder<M>, PMessageOrBuilder<M>) - Static method in class net.morimekta.providence.util.MessageUtil
-
Make a builder of the target message with all differences between source and target marked as modifications.
- getType() - Method in interface net.morimekta.providence.descriptor.PDescriptor
- getType() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- getType() - Method in interface net.morimekta.providence.descriptor.PField
- getType() - Method in class net.morimekta.providence.descriptor.PList
- getType() - Method in class net.morimekta.providence.descriptor.PMap
- getType() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- getType() - Method in enum net.morimekta.providence.descriptor.PPrimitive
- getType() - Method in class net.morimekta.providence.descriptor.PService
- getType() - Method in class net.morimekta.providence.descriptor.PSet
- getType() - Method in interface net.morimekta.providence.PApplicationException_OrBuilder
-
The application exception type.
- getType() - Method in class net.morimekta.providence.PApplicationException._Builder
-
The application exception type.
- getType() - Method in exception net.morimekta.providence.PApplicationException
-
The application exception type.
- getType() - Method in class net.morimekta.providence.PServiceCall
-
The type of service call.
- getType() - Method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils.FieldInfo
- getTypedef(TypeReference) - Method in class net.morimekta.providence.types.SimpleTypeRegistry
- getTypedef(TypeReference) - Method in class net.morimekta.providence.types.TypeRegistry
-
Get a type-definition for the given reference.
- getTypeName() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
- getTypeProvider(TypeReference) - Method in class net.morimekta.providence.types.TypeRegistry
-
Get a type provider for reference.
- getTypeProvider(TypeReference, Map<String, String>) - Method in class net.morimekta.providence.types.TypeRegistry
- getValues() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- getVariant() - Method in class net.morimekta.providence.descriptor.PExceptionDescriptor
- getVariant() - Method in class net.morimekta.providence.descriptor.PInterfaceDescriptor
- getVariant() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- getVariant() - Method in class net.morimekta.providence.descriptor.PStructDescriptor
- getVariant() - Method in class net.morimekta.providence.descriptor.PUnionDescriptor
- grpc() - Method in class net.morimekta.providence.serializer.JsonSerializer
H
- handleCall(PServiceCall<Request>) - Method in interface net.morimekta.providence.PProcessor
-
Handle a service call.
- handleCall(PServiceCall<Request>, PService) - Method in interface net.morimekta.providence.PServiceCallHandler
-
Handle a service call.
- has(int) - Method in class net.morimekta.providence.PApplicationException._Builder
- has(int) - Method in exception net.morimekta.providence.PApplicationException
- has(int) - Method in interface net.morimekta.providence.PMessageOrBuilder
- has(F) - Method in interface net.morimekta.providence.PMessage
- has(F) - Method in interface net.morimekta.providence.PMessageOrBuilder
- hasDefaultValue() - Method in interface net.morimekta.providence.descriptor.PField
- hasDefaultValue() - Method in enum net.morimekta.providence.PApplicationException._Field
- hashCode() - Method in class net.morimekta.providence.descriptor.PDefaultValueProvider
- hashCode() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- hashCode() - Method in class net.morimekta.providence.descriptor.PList
- hashCode() - Method in class net.morimekta.providence.descriptor.PMap
- hashCode() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- hashCode() - Method in class net.morimekta.providence.descriptor.PSet
- hashCode() - Method in class net.morimekta.providence.PApplicationException._Builder
- hashCode() - Method in exception net.morimekta.providence.PApplicationException
- hashCode() - Method in class net.morimekta.providence.PServiceCall
- hashCode() - Method in class net.morimekta.providence.types.TypeReference
- hasMessage() - Method in interface net.morimekta.providence.PApplicationException_OrBuilder
- hasMessage() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks for presence of the
message
field. - hasMessage() - Method in exception net.morimekta.providence.PApplicationException
- hasType() - Method in interface net.morimekta.providence.PApplicationException_OrBuilder
- hasType() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks for presence of the
type
field. - hasType() - Method in exception net.morimekta.providence.PApplicationException
- HEX - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
I
- I16 - net.morimekta.providence.descriptor.PPrimitive
- I16 - net.morimekta.providence.PType
- I16 - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- I32 - net.morimekta.providence.descriptor.PPrimitive
- I32 - net.morimekta.providence.PType
- I32 - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- I64 - net.morimekta.providence.descriptor.PPrimitive
- I64 - net.morimekta.providence.PType
- I64 - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- IDENTIFIER - net.morimekta.providence.serializer.pretty.PrettyTokenType
- identifierToken(char[], int, int, int, int) - Method in class net.morimekta.providence.serializer.pretty.PrettyTokenizer
- initCause(Throwable) - Method in class net.morimekta.providence.PApplicationException._Builder
-
Initializes the cause of the p_service.PApplicationException
- initCause(Throwable) - Method in exception net.morimekta.providence.PApplicationException
- initCause(Throwable) - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- initCause(Throwable) - Method in exception net.morimekta.providence.serializer.pretty.PrettyException
- INSTANCE - Static variable in class net.morimekta.providence.serializer.BinarySerializer
-
An instance of the binary serializer with lenient (non-strict) parsing ready to be used in serialization.
- INSTANCE - Static variable in class net.morimekta.providence.serializer.DefaultSerializerProvider
- INTERFACE - net.morimekta.providence.PMessageVariant
- INTERNAL_ERROR - net.morimekta.providence.PApplicationExceptionType
-
The service handler or client handler experienced internal problem.
- INVALID_MESSAGE_TYPE - net.morimekta.providence.PApplicationExceptionType
-
The service call type does not make sense, or is plain wrong, e.g.
- INVALID_PROTOCOL - net.morimekta.providence.PApplicationExceptionType
-
The requested protocol (or version) is not supported.
- INVALID_TRANSFORM - net.morimekta.providence.PApplicationExceptionType
-
NOTE: This value is apparently not in use in thrift.
- isAutoType() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
- isAutoType() - Method in class net.morimekta.providence.descriptor.PExceptionDescriptor
- isAutoType() - Method in class net.morimekta.providence.descriptor.PInterfaceDescriptor
- isAutoType() - Method in class net.morimekta.providence.descriptor.PService
- isContainer() - Method in class net.morimekta.providence.types.TypeReference
- isIdentifier() - Method in class net.morimekta.providence.serializer.pretty.PrettyToken
- isInnerType() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
- isInnerType() - Method in class net.morimekta.providence.descriptor.PExceptionDescriptor
- isInnerType() - Method in class net.morimekta.providence.descriptor.PInterfaceDescriptor
- isInnerType() - Method in class net.morimekta.providence.descriptor.PService
- isInteger() - Method in class net.morimekta.providence.serializer.pretty.PrettyToken
- isJsonCompactible() - Method in interface net.morimekta.providence.serializer.json.JsonCompactibleDescriptor
- isKnownProgram(String) - Method in class net.morimekta.providence.types.SimpleTypeRegistry
- isKnownProgram(String) - Method in class net.morimekta.providence.types.TypeRegistry
- isList() - Method in class net.morimekta.providence.types.TypeReference
- isMap() - Method in class net.morimekta.providence.types.TypeReference
- isModified(int) - Method in class net.morimekta.providence.PApplicationException._Builder
- isModified(int) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is modified on the builder.
- isModified(PField<Message>) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is modified on the builder.
- isModifiedMessage() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks if the
message
field has been modified since the builder was created. - isModifiedType() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks if the
type
field has been modified since the builder was created. - isNativePrimitive() - Method in enum net.morimekta.providence.descriptor.PPrimitive
- isNativeType() - Method in class net.morimekta.providence.types.TypeReference
- isOneway() - Method in interface net.morimekta.providence.descriptor.PServiceMethod
- isQualifiedIdentifier() - Method in class net.morimekta.providence.serializer.pretty.PrettyToken
- isReal() - Method in class net.morimekta.providence.serializer.pretty.PrettyToken
- isReferenceIdentifier() - Method in class net.morimekta.providence.serializer.pretty.PrettyToken
- isRequestCallType(PServiceCallType) - Method in class net.morimekta.providence.serializer.Serializer
-
Utility method to check if a service call is a request type.
- isSet() - Method in class net.morimekta.providence.types.TypeReference
- isSet(int) - Method in class net.morimekta.providence.PApplicationException._Builder
- isSet(int) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is set on the builder.
- isSet(PField<Message>) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is set on the builder.
- isSetMessage() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks for explicit presence of the
message
field. - isSetType() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks for explicit presence of the
type
field. - isSimple() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- isStringLiteral() - Method in class net.morimekta.providence.serializer.pretty.PrettyToken
- isSymbol(char) - Method in class net.morimekta.providence.serializer.pretty.PrettyToken
- isValid(PMessageOrBuilder<M>) - Method in class net.morimekta.providence.util.MessageValidator
-
Just see if the message is valid or not.
- itemDescriptor() - Method in class net.morimekta.providence.descriptor.PContainer
J
- JAVA_EXCEPTION_CLASS - net.morimekta.providence.descriptor.PAnnotation
-
Specify exception class to extend for exception structs.
- JAVA_HAZELCAST_CLASS_ID - net.morimekta.providence.descriptor.PAnnotation
-
Specify if a struct should be generated using hazelcast.portable interface to be compatible with serialization and deserialization of hazelcast portable.
- JAVA_HAZELCAST_FACTORY_ID - net.morimekta.providence.descriptor.PAnnotation
-
Specify if a file should generate with support with hazelcast portable implementation.
- JAVA_IMPLEMENTS - net.morimekta.providence.descriptor.PAnnotation
-
Add extra interfaces to a struct.
- JAVA_PUBLIC_CONSTRUCTOR - net.morimekta.providence.descriptor.PAnnotation
-
For struct and exception.
- JAVA_SERVICE_METHOD_THROWS - net.morimekta.providence.descriptor.PAnnotation
-
Specify an exception class to throw instead of the default declared exceptions.
- JSON_COMPACT - net.morimekta.providence.descriptor.PAnnotation
-
If a struct can use a compact serialized format.
- JSON_MEDIA_TYPE - Static variable in class net.morimekta.providence.serializer.JsonSerializer
- jsonCompact() - Method in interface net.morimekta.providence.serializer.json.JsonCompactible
- JsonCompactible - Interface in net.morimekta.providence.serializer.json
-
Marker class and implementation check for if a struct can use the JSON jsonCompact format, using an array of the fields in numeric order.
- JsonCompactibleDescriptor - Interface in net.morimekta.providence.serializer.json
-
Marker class and implementation check for if a struct can use the JSON jsonCompact format, using an array of the fields in numeric order.
- JsonSerializer - Class in net.morimekta.providence.serializer
-
Compact JSON serializer.
- JsonSerializer() - Constructor for class net.morimekta.providence.serializer.JsonSerializer
- JsonSerializer(boolean) - Constructor for class net.morimekta.providence.serializer.JsonSerializer
- JsonSerializerException - Exception in net.morimekta.providence.serializer
-
Wrapper for a JsonException into a SerializerException.
- JsonSerializerException(JsonException) - Constructor for exception net.morimekta.providence.serializer.JsonSerializerException
K
- kDescriptor - Static variable in exception net.morimekta.providence.PApplicationException
- kDescriptor - Static variable in enum net.morimekta.providence.PApplicationExceptionType
- kDescriptor - Static variable in enum net.morimekta.providence.PServiceCallType
- keyDescriptor() - Method in class net.morimekta.providence.descriptor.PMap
- keyPathToFields(PMessageDescriptor, String) - Static method in class net.morimekta.providence.util.MessageUtil
-
Convert a key path to a list of consecutive fields for recursive lookup.
- keyType - Variable in class net.morimekta.providence.types.TypeReference
- kFieldSep - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
- kFieldValueSep - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
- kIdentifierSep - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
- kKeyValueSep - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
- kListEnd - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
- kListSep - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
- kListStart - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
- kLiteralDoubleQuote - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
- kMessageEnd - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
- kMessageStart - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
- kParamsEnd - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
- kParamsStart - Static variable in class net.morimekta.providence.serializer.pretty.PrettyToken
L
- label - Variable in enum net.morimekta.providence.descriptor.PRequirement
- LIST - net.morimekta.providence.PType
- LIST - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
M
- MAP - net.morimekta.providence.PType
- MAP - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- MEDIA_TYPE - Static variable in class net.morimekta.providence.serializer.BinarySerializer
- MEDIA_TYPE - Static variable in class net.morimekta.providence.serializer.FastBinarySerializer
- MEDIA_TYPE - Static variable in class net.morimekta.providence.serializer.JsonSerializer
- MEDIA_TYPE - Static variable in class net.morimekta.providence.serializer.PrettySerializer
- MEDIA_TYPE - Static variable in class net.morimekta.providence.serializer.UrlEncodedSerializer
- MEDIA_TYPE_MULTIPART - Static variable in class net.morimekta.providence.serializer.UrlEncodedSerializer
- mediaType() - Method in class net.morimekta.providence.serializer.BinarySerializer
- mediaType() - Method in class net.morimekta.providence.serializer.FastBinarySerializer
- mediaType() - Method in class net.morimekta.providence.serializer.JsonSerializer
- mediaType() - Method in class net.morimekta.providence.serializer.PrettySerializer
- mediaType() - Method in class net.morimekta.providence.serializer.Serializer
- mediaType() - Method in class net.morimekta.providence.serializer.UrlEncodedSerializer
- merge(Message) - Method in class net.morimekta.providence.PMessageBuilder
-
Merges the provided message into the builder.
- merge(PApplicationException) - Method in class net.morimekta.providence.PApplicationException._Builder
- mergeWith(Message) - Method in interface net.morimekta.providence.PMessage
-
Shorthand for merging two messages.
- MESSAGE - net.morimekta.providence.PApplicationException._Field
- MESSAGE - net.morimekta.providence.PType
- MESSAGE_FIELD - net.morimekta.providence.descriptor.PAnnotation
-
Specify which field to use for the exception message.
- MessageCollectors - Class in net.morimekta.providence.streams
-
Collector helpers for writing a number of messages to a output stream, file etc.
- MessageSpliterator<Message extends PMessage<Message>> - Class in net.morimekta.providence.streams
-
Spliterator that reads messages from a stream.
- MessageSpliterator(InputStream, Serializer, PMessageDescriptor<Message>) - Constructor for class net.morimekta.providence.streams.MessageSpliterator
-
Make a self-closing message spliterator.
- MessageSpliterator(InputStream, Serializer, PMessageDescriptor<Message>, Closeable) - Constructor for class net.morimekta.providence.streams.MessageSpliterator
-
Make a spliterator with specific closing function.
- MessageStreams - Class in net.morimekta.providence.streams
-
Helper class to create streams that read providence messages.
- MessageStreams() - Constructor for class net.morimekta.providence.streams.MessageStreams
- MessageUtil - Class in net.morimekta.providence.util
-
Convenience methods for handling providence messages.
- MessageValidator<M extends PMessage<M>,E extends java.lang.Exception> - Class in net.morimekta.providence.util
-
Class that handles validation of the structure or content of a message type.
- MessageValidator.Builder<M extends PMessage<M>,E extends java.lang.Exception> - Class in net.morimekta.providence.util
-
Builder vlass for message validators.
- MessageValidator.Validation<M extends PMessage<M>,E extends java.lang.Exception> - Interface in net.morimekta.providence.util
- MISSING_RESULT - net.morimekta.providence.PApplicationExceptionType
-
The response did not have a defined non-null result.
- modifiedFields() - Method in class net.morimekta.providence.PMessageBuilder
-
Get a Collection of F with fields Modified since creation of the builder.
- mutate() - Method in exception net.morimekta.providence.PApplicationException
- mutate() - Method in interface net.morimekta.providence.PMessage
-
Get a builder that extends the current object.
- mutator(int) - Method in class net.morimekta.providence.PApplicationException._Builder
- mutator(int) - Method in class net.morimekta.providence.PMessageBuilder
-
Get the builder for the given message contained in this builder.
- mutator(PField<Message>) - Method in class net.morimekta.providence.PMessageBuilder
-
Get the builder for the given message contained in this builder.
N
- named() - Method in class net.morimekta.providence.serializer.JsonSerializer
- net.morimekta.providence - package net.morimekta.providence
- net.morimekta.providence.descriptor - package net.morimekta.providence.descriptor
- net.morimekta.providence.serializer - package net.morimekta.providence.serializer
- net.morimekta.providence.serializer.binary - package net.morimekta.providence.serializer.binary
- net.morimekta.providence.serializer.json - package net.morimekta.providence.serializer.json
- net.morimekta.providence.serializer.pretty - package net.morimekta.providence.serializer.pretty
- net.morimekta.providence.streams - package net.morimekta.providence.streams
- net.morimekta.providence.types - package net.morimekta.providence.types
- net.morimekta.providence.util - package net.morimekta.providence.util
- NONE - net.morimekta.providence.descriptor.PAnnotation
- NOOP - Static variable in interface net.morimekta.providence.PServiceCallInstrumentation
-
A simple NO-OP instrumentation instance.
- NS_IN_MILLIS - Static variable in interface net.morimekta.providence.PServiceCallInstrumentation
-
Handy constant for calculating MS duration.
- NUMBER - net.morimekta.providence.serializer.pretty.PrettyTokenType
- numberToken(char[], int, int, int, int) - Method in class net.morimekta.providence.serializer.pretty.PrettyTokenizer
O
- onComplete(double, PServiceCall, PServiceCall) - Method in interface net.morimekta.providence.PServiceCallInstrumentation
-
After each service call this method is called with the duration, call and response objects.
- ONEWAY - net.morimekta.providence.PServiceCallType
-
A one-way call is a request that does not expect a response at all.
- onMessageType() - Method in interface net.morimekta.providence.descriptor.PField
-
The message type the field is on.
- onMessageType() - Method in enum net.morimekta.providence.PApplicationException._Field
- onTransportException(Exception, double, PServiceCall, PServiceCall) - Method in interface net.morimekta.providence.PServiceCallInstrumentation
-
Called when the service call failed in the transport layer itself with something not related to the actual service call.
- OPTIONAL - net.morimekta.providence.descriptor.PRequirement
- optionalInMessage(PMessageOrBuilder, PField...) - Static method in class net.morimekta.providence.util.MessageUtil
-
Get a field value from a message with optional chaining.
- optionalMessage() - Method in interface net.morimekta.providence.PApplicationException_OrBuilder
-
Exception message.
- optionalMessage() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Exception message.
- optionalMessage() - Method in exception net.morimekta.providence.PApplicationException
-
Exception message.
- optionalType() - Method in interface net.morimekta.providence.PApplicationException_OrBuilder
-
The application exception type.
- optionalType() - Method in class net.morimekta.providence.PApplicationException._Builder
-
The application exception type.
- optionalType() - Method in exception net.morimekta.providence.PApplicationException
-
The application exception type.
- ORDERED - net.morimekta.providence.descriptor.PContainer.Type
- orderedProvider(PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PSet
- orderedProvider(PDescriptorProvider, PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PMap
- origGetLocalizedMessage() - Method in exception net.morimekta.providence.PApplicationException
- origGetLocalizedMessage() - Method in interface net.morimekta.providence.PException
-
Get the original message from the actual exception.
- origGetMessage() - Method in exception net.morimekta.providence.PApplicationException
- origGetMessage() - Method in interface net.morimekta.providence.PException
-
Get the original message from the actual exception.
P
- PAnnotation - Enum in net.morimekta.providence.descriptor
-
Enum containing known "general" providence annotations.
- PApplicationException - Exception in net.morimekta.providence
-
Base exception thrown on non-declared exceptions on a service call, and other server-side service call issues.
- PApplicationException(String, PApplicationExceptionType) - Constructor for exception net.morimekta.providence.PApplicationException
- PApplicationException_OrBuilder - Interface in net.morimekta.providence
-
Base exception thrown on non-declared exceptions on a service call, and other server-side service call issues.
- PApplicationException._Builder - Class in net.morimekta.providence
-
Base exception thrown on non-declared exceptions on a service call, and other server-side service call issues.
- PApplicationException._Field - Enum in net.morimekta.providence
- PApplicationExceptionType - Enum in net.morimekta.providence
-
General type of exception on the application level.
- PApplicationExceptionType._Builder - Class in net.morimekta.providence
- parseBinary(Binary, PMessageDescriptor<Message>) - Static method in class net.morimekta.providence.serializer.BinarySerializer
- parseDebugString(String, PMessageDescriptor<Message>) - Static method in class net.morimekta.providence.serializer.PrettySerializer
-
Parses a pretty formatted string, and makes exceptions unchecked.
- parseJsonString(String, PMessageDescriptor<Message>) - Static method in class net.morimekta.providence.serializer.JsonSerializer
-
Parses a JSON string, and makes exceptions unchecked.
- parseType(String) - Static method in class net.morimekta.providence.types.TypeReference
-
Create a type reference from a global reference name.
- parseType(String, String) - Static method in class net.morimekta.providence.types.TypeReference
-
Create a type reference from a program context.
- path(Path, Serializer, PMessageDescriptor<Message>) - Static method in class net.morimekta.providence.streams.MessageStreams
-
Read a file containing entries of a given type.
- PClient - Class in net.morimekta.providence
-
Base class for handling a call request from a synchronous client.
- PClient() - Constructor for class net.morimekta.providence.PClient
-
Create a base client.
- PContainer<Container> - Class in net.morimekta.providence.descriptor
-
Generic descriptor for a container type.
- PContainer(PDescriptorProvider) - Constructor for class net.morimekta.providence.descriptor.PContainer
- PContainer.Type - Enum in net.morimekta.providence.descriptor
-
Enum containing the values of the
container = "..."
- PContainerProvider<Container,Descriptor extends PContainer<Container>> - Class in net.morimekta.providence.descriptor
-
Provider for a container type.
- PContainerProvider(Descriptor) - Constructor for class net.morimekta.providence.descriptor.PContainerProvider
- PDeclaredDescriptor<T> - Class in net.morimekta.providence.descriptor
-
Descriptor for a declared type.
- PDeclaredDescriptor(String, String) - Constructor for class net.morimekta.providence.descriptor.PDeclaredDescriptor
- PDefaultValueProvider<V> - Class in net.morimekta.providence.descriptor
-
Provider for default value.
- PDefaultValueProvider(V) - Constructor for class net.morimekta.providence.descriptor.PDefaultValueProvider
- PDescriptor - Interface in net.morimekta.providence.descriptor
-
Descriptor interface for value type V.
- PDescriptorProvider - Interface in net.morimekta.providence.descriptor
-
Base descriptor provider interface.
- PEnumBuilder<T> - Class in net.morimekta.providence
-
A builder-helper for getting a correct enum entity from value or name.
- PEnumBuilder() - Constructor for class net.morimekta.providence.PEnumBuilder
- PEnumDescriptor<T extends PEnumValue<T>> - Class in net.morimekta.providence.descriptor
-
The definition of a thrift enum.
- PEnumDescriptor(String, String, Supplier<PEnumBuilder<T>>) - Constructor for class net.morimekta.providence.descriptor.PEnumDescriptor
- PEnumDescriptorProvider<E extends PEnumValue<E>> - Class in net.morimekta.providence.descriptor
-
Provider for enum type descriptor.
- PEnumDescriptorProvider(PEnumDescriptor<E>) - Constructor for class net.morimekta.providence.descriptor.PEnumDescriptorProvider
- PEnumValue<T> - Interface in net.morimekta.providence
-
Base interface for enum values.
- PException - Interface in net.morimekta.providence
-
Base class for exception type struct classes to access exception methods that may be hidden by actual fields.
- PExceptionDescriptor<Exception extends PMessage<Exception>> - Class in net.morimekta.providence.descriptor
-
The definition of a thrift exception.
- PExceptionDescriptor(String, String, Supplier<PMessageBuilder<Exception>>, boolean) - Constructor for class net.morimekta.providence.descriptor.PExceptionDescriptor
- PExceptionDescriptorProvider<Exception extends PMessage<Exception>> - Class in net.morimekta.providence.descriptor
-
Provider for exception descriptor.
- PExceptionDescriptorProvider() - Constructor for class net.morimekta.providence.descriptor.PExceptionDescriptorProvider
- PField<M extends PMessage<M>> - Interface in net.morimekta.providence.descriptor
-
Field descriptor.
- PInterfaceDescriptor<T extends PMessage<T>> - Class in net.morimekta.providence.descriptor
-
The definition of a providence interface.
- PInterfaceDescriptor(String, String, PField<T>[], PMessageDescriptorProvider<?>...) - Constructor for class net.morimekta.providence.descriptor.PInterfaceDescriptor
- PInterfaceDescriptorProvider<V extends PMessage<V>> - Class in net.morimekta.providence.descriptor
-
Provider of struct descriptors.
- PInterfaceDescriptorProvider() - Constructor for class net.morimekta.providence.descriptor.PInterfaceDescriptorProvider
- PList<Item> - Class in net.morimekta.providence.descriptor
-
Descriptor for a list with item type.
- PList(PDescriptorProvider, IntFunction<PList.Builder<Item>>) - Constructor for class net.morimekta.providence.descriptor.PList
- PList.Builder<I> - Interface in net.morimekta.providence.descriptor
-
Container builder used in serialization.
- PList.DefaultBuilder<I> - Class in net.morimekta.providence.descriptor
-
Default builder returning an ImmutableList.
- PMap<Key,Value> - Class in net.morimekta.providence.descriptor
-
Descriptor for a map with key and item type.
- PMap(PDescriptorProvider, PDescriptorProvider, IntFunction<PMap.Builder<Key, Value>>) - Constructor for class net.morimekta.providence.descriptor.PMap
- PMap.Builder<K,V> - Interface in net.morimekta.providence.descriptor
-
Container builder to be used in serialization.
- PMap.DefaultBuilder<K,V> - Class in net.morimekta.providence.descriptor
-
Default map builder returning an ImmutableMap.
- PMap.SortedBuilder<K extends java.lang.Comparable,V> - Class in net.morimekta.providence.descriptor
-
Sorted map builder returning an ImmutableSortedMap.
- PMessage<Message extends PMessage<Message>> - Interface in net.morimekta.providence
-
Base class for all messages.
- PMessageBuilder<Message extends PMessage<Message>> - Class in net.morimekta.providence
-
Base class for message builders.
- PMessageBuilder() - Constructor for class net.morimekta.providence.PMessageBuilder
- PMessageDescriptor<T extends PMessage<T>> - Class in net.morimekta.providence.descriptor
-
Descriptor base class for all messages.
- PMessageDescriptor(String, String, Supplier<PMessageBuilder<T>>, boolean) - Constructor for class net.morimekta.providence.descriptor.PMessageDescriptor
- PMessageDescriptorProvider<V extends PMessage<V>> - Class in net.morimekta.providence.descriptor
-
Provides message descriptors.
- PMessageDescriptorProvider() - Constructor for class net.morimekta.providence.descriptor.PMessageDescriptorProvider
- PMessageOrBuilder<Message extends PMessage<Message>> - Interface in net.morimekta.providence
-
Base class for all messages and message builders.
- PMessageVariant - Enum in net.morimekta.providence
-
The definition of a thrift structure.
- PPrimitive - Enum in net.morimekta.providence.descriptor
-
Descriptors for primitive types.
- PPrimitiveProvider - Class in net.morimekta.providence.descriptor
-
Provider of a primitive descriptor.
- PPrimitiveProvider(PPrimitive) - Constructor for class net.morimekta.providence.descriptor.PPrimitiveProvider
- PProcessor - Interface in net.morimekta.providence
-
Service processor is an extension to the service call handler that can provide it's own service definition.
- PRequirement - Enum in net.morimekta.providence.descriptor
-
Field requirement designation.
- presenceRequired - Variable in enum net.morimekta.providence.descriptor.PRequirement
- presentFields() - Method in class net.morimekta.providence.PMessageBuilder
-
Get a Collection of F with fields set on the builder.
- pretty() - Method in class net.morimekta.providence.serializer.JsonSerializer
- PrettyException - Exception in net.morimekta.providence.serializer.pretty
-
Exception when totalizing fails to make token or read the expected content.
- PrettyException(String, Object...) - Constructor for exception net.morimekta.providence.serializer.pretty.PrettyException
- PrettyException(Throwable, String, Object...) - Constructor for exception net.morimekta.providence.serializer.pretty.PrettyException
- PrettyException(PrettyToken, String, Object...) - Constructor for exception net.morimekta.providence.serializer.pretty.PrettyException
- PrettyException(LexerException, String, Object...) - Constructor for exception net.morimekta.providence.serializer.pretty.PrettyException
- PrettyLexer - Class in net.morimekta.providence.serializer.pretty
- PrettyLexer(InputStream) - Constructor for class net.morimekta.providence.serializer.pretty.PrettyLexer
- PrettyLexer(Tokenizer<PrettyTokenType, PrettyToken>) - Constructor for class net.morimekta.providence.serializer.pretty.PrettyLexer
- PrettySerializer - Class in net.morimekta.providence.serializer
-
Pretty printer that can print message content for easily reading and debugging.
- PrettySerializer() - Constructor for class net.morimekta.providence.serializer.PrettySerializer
- PrettySerializer(boolean) - Constructor for class net.morimekta.providence.serializer.PrettySerializer
- PrettyToken - Class in net.morimekta.providence.serializer.pretty
-
Pretty token.
- PrettyToken(char[], int, int, PrettyTokenType, int, int) - Constructor for class net.morimekta.providence.serializer.pretty.PrettyToken
- PrettyTokenizer - Class in net.morimekta.providence.serializer.pretty
-
Simple tokenizer for the pretty serializer that strips away comments based on the "#" (shell) comment character.
- PrettyTokenizer(InputStream) - Constructor for class net.morimekta.providence.serializer.pretty.PrettyTokenizer
-
Create a pretty tokenizer that reads from the input steam.
- PrettyTokenizer(InputStream, int) - Constructor for class net.morimekta.providence.serializer.pretty.PrettyTokenizer
-
Create a pretty tokenizer that reads from the input steam.
- PrettyTokenizer(Reader, int, boolean) - Constructor for class net.morimekta.providence.serializer.pretty.PrettyTokenizer
-
Create a pretty tokenizer that will read everything from the input stream and handle it as a single multi-line buffer.
- PrettyTokenType - Enum in net.morimekta.providence.serializer.pretty
- programName - Variable in class net.morimekta.providence.types.TypeReference
- PROTOCOL_ERROR - net.morimekta.providence.PApplicationExceptionType
-
Serialization or deserialization failed or the deserialized content was not valid for the requested message.
- provider() - Method in enum net.morimekta.providence.descriptor.PPrimitive
-
Get the descriptor provider for the primitive.
- provider() - Static method in exception net.morimekta.providence.PApplicationException
- provider() - Static method in enum net.morimekta.providence.PApplicationExceptionType
- provider() - Static method in enum net.morimekta.providence.PServiceCallType
- provider(PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PList
- provider(PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PSet
- provider(PDescriptorProvider, IntFunction<PList.Builder<I>>) - Static method in class net.morimekta.providence.descriptor.PList
- provider(PDescriptorProvider, PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PMap
- PService - Class in net.morimekta.providence.descriptor
-
Descriptor for a complete service.
- PService(String, String, PServiceProvider, Collection<? extends PServiceMethod>) - Constructor for class net.morimekta.providence.descriptor.PService
- PService(String, String, PServiceProvider, PServiceMethod[]) - Constructor for class net.morimekta.providence.descriptor.PService
- PServiceCall<Message extends PMessage<Message>> - Class in net.morimekta.providence
-
Enclosed call to a service method.
- PServiceCall(String, PServiceCallType, int, Message) - Constructor for class net.morimekta.providence.PServiceCall
- PServiceCallHandler - Interface in net.morimekta.providence
-
Interface for handling a call request from a synchronous client.
- PServiceCallInstrumentation - Interface in net.morimekta.providence
-
Interface handling the instrumentation of service calls.
- PServiceCallType - Enum in net.morimekta.providence
-
The service call type is a base distinction of what the message means, and lets the server or client select the proper message to be serialized or deserialized from the service method descriptor.
- PServiceCallType._Builder - Class in net.morimekta.providence
- PServiceMethod - Interface in net.morimekta.providence.descriptor
-
Descriptor for a single service method.
- PServiceProvider - Interface in net.morimekta.providence.descriptor
-
Provide a service descriptor
- PSet<Item> - Class in net.morimekta.providence.descriptor
-
Descriptor for a set with item type.
- PSet(PDescriptorProvider, IntFunction<PSet.Builder<Item>>) - Constructor for class net.morimekta.providence.descriptor.PSet
- PSet.Builder<I> - Interface in net.morimekta.providence.descriptor
-
Container builder used in serialization.
- PSet.DefaultBuilder<I> - Class in net.morimekta.providence.descriptor
-
Default builder returning an ImmutableSet.
- PSet.SortedBuilder<I extends java.lang.Comparable<I>> - Class in net.morimekta.providence.descriptor
-
Default builder returning an ImmutableSortedSet.
- PStructDescriptor<T extends PMessage<T>> - Class in net.morimekta.providence.descriptor
-
The definition of a thrift structure.
- PStructDescriptor(String, String, Supplier<PMessageBuilder<T>>, boolean) - Constructor for class net.morimekta.providence.descriptor.PStructDescriptor
- PStructDescriptorProvider<V extends PMessage<V>> - Class in net.morimekta.providence.descriptor
-
Provider of struct descriptors.
- PStructDescriptorProvider() - Constructor for class net.morimekta.providence.descriptor.PStructDescriptorProvider
- PType - Enum in net.morimekta.providence
-
Value type enum.
- PUnion<Union extends PUnion<Union>> - Interface in net.morimekta.providence
-
Base class for all unions.
- PUnionDescriptor<T extends PMessage<T>> - Class in net.morimekta.providence.descriptor
-
The definition of a thrift union.
- PUnionDescriptor(String, String, Supplier<PMessageBuilder<T>>, boolean) - Constructor for class net.morimekta.providence.descriptor.PUnionDescriptor
- PUnionDescriptorProvider<V extends PMessage<V>> - Class in net.morimekta.providence.descriptor
-
Provider of union descriptor.
- PUnionDescriptorProvider() - Constructor for class net.morimekta.providence.descriptor.PUnionDescriptorProvider
- put(K, V) - Method in interface net.morimekta.providence.descriptor.PMap.Builder
- put(K, V) - Method in class net.morimekta.providence.descriptor.PMap.DefaultBuilder
- put(K, V) - Method in class net.morimekta.providence.descriptor.PMap.SortedBuilder
- putAll(Map<K, V>) - Method in interface net.morimekta.providence.descriptor.PMap.Builder
- putAll(Map<K, V>) - Method in class net.morimekta.providence.descriptor.PMap.DefaultBuilder
- putAll(Map<K, V>) - Method in class net.morimekta.providence.descriptor.PMap.SortedBuilder
- PValue<T> - Interface in net.morimekta.providence
-
A specific value of a described type.
- PValueProvider<V> - Interface in net.morimekta.providence.descriptor
-
Simple provider of values.
R
- readBinary(char) - Method in class net.morimekta.providence.serializer.pretty.PrettyLexer
- readBinary(BigEndianBinaryReader, boolean) - Method in class net.morimekta.providence.PApplicationException._Builder
- readBinary(BigEndianBinaryReader, boolean) - Method in interface net.morimekta.providence.serializer.binary.BinaryReader
-
Read the binary content into the current builder.
- readFieldValue(BigEndianBinaryReader, BinaryFormatUtils.FieldInfo, PDescriptor, boolean) - Static method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils
-
Read a field value from stream.
- readMessage(BigEndianBinaryReader, PMessageDescriptor<Message>, boolean) - Static method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils
-
Read message from reader.
- ref(String, String) - Static method in class net.morimekta.providence.types.TypeReference
-
Create a simple type reference.
- REF_ENUM - net.morimekta.providence.descriptor.PAnnotation
-
Annotated on numeric fields (i8m i16 i32) will make methods to set field from enum value, and get field as enum value.
- register(Serializer, String...) - Method in class net.morimekta.providence.serializer.BaseSerializerProvider
-
Register the serializer with a given set of media types.
- registerConstant(TypeReference, PValueProvider) - Method in class net.morimekta.providence.types.SimpleTypeRegistry
- registerConstant(TypeReference, PValueProvider) - Method in class net.morimekta.providence.types.WritableTypeRegistry
-
Register a constant value.
- registerService(PService) - Method in class net.morimekta.providence.types.SimpleTypeRegistry
- registerService(PService) - Method in class net.morimekta.providence.types.WritableTypeRegistry
-
Services are not handled as "declared types", so they need to be registered separately.
- registerType(PDeclaredDescriptor<T>) - Method in class net.morimekta.providence.types.SimpleTypeRegistry
- registerType(PDeclaredDescriptor<T>) - Method in class net.morimekta.providence.types.WritableTypeRegistry
-
Register a declared type.
- registerTypedef(TypeReference, TypeReference) - Method in class net.morimekta.providence.types.SimpleTypeRegistry
- registerTypedef(TypeReference, TypeReference) - Method in class net.morimekta.providence.types.WritableTypeRegistry
-
Registers a typedef definition.
- REPLY - net.morimekta.providence.PServiceCallType
-
Normal method call reply.
- REQUIRED - net.morimekta.providence.descriptor.PRequirement
- requireDeclaredType(TypeReference) - Method in class net.morimekta.providence.types.TypeRegistry
-
Get the declared type with the given name and program context.
- requireEnumType(TypeReference) - Method in class net.morimekta.providence.types.TypeRegistry
-
Get the declared enum type.
- requireMessageType(TypeReference) - Method in class net.morimekta.providence.types.TypeRegistry
-
Get the declared message type.
- requireService(TypeReference) - Method in class net.morimekta.providence.types.TypeRegistry
-
Get the declared type with the given name and program context.
- resource(String, Serializer, PMessageDescriptor<Message>) - Static method in class net.morimekta.providence.streams.MessageStreams
-
Read a file containing entries of a given type.
S
- serialize(OutputStream, PMessageOrBuilder<Message>) - Method in class net.morimekta.providence.serializer.BinarySerializer
- serialize(OutputStream, PMessageOrBuilder<Message>) - Method in class net.morimekta.providence.serializer.FastBinarySerializer
- serialize(OutputStream, PMessageOrBuilder<Message>) - Method in class net.morimekta.providence.serializer.PrettySerializer
- serialize(OutputStream, PMessageOrBuilder<Message>) - Method in class net.morimekta.providence.serializer.Serializer
-
Serialize a message.
- serialize(OutputStream, PMessageOrBuilder<Message>) - Method in class net.morimekta.providence.serializer.UrlEncodedSerializer
- serialize(OutputStream, PMessageOrBuilder<T>) - Method in class net.morimekta.providence.serializer.JsonSerializer
- serialize(OutputStream, PServiceCall<Message>) - Method in class net.morimekta.providence.serializer.BinarySerializer
- serialize(OutputStream, PServiceCall<Message>) - Method in class net.morimekta.providence.serializer.FastBinarySerializer
- serialize(OutputStream, PServiceCall<Message>) - Method in class net.morimekta.providence.serializer.PrettySerializer
- serialize(OutputStream, PServiceCall<Message>) - Method in class net.morimekta.providence.serializer.Serializer
-
Serialize a service call.
- serialize(OutputStream, PServiceCall<Message>) - Method in class net.morimekta.providence.serializer.UrlEncodedSerializer
- serialize(OutputStream, PServiceCall<T>) - Method in class net.morimekta.providence.serializer.JsonSerializer
- serialize(PrintWriter, PMessageOrBuilder<T>) - Method in class net.morimekta.providence.serializer.JsonSerializer
- serialize(PMessageOrBuilder<Message>) - Method in class net.morimekta.providence.serializer.UrlEncodedSerializer
- Serializer - Class in net.morimekta.providence.serializer
-
Thrift serializers are stateless injectable implementation classes that transforms messages to binary stream (serializes), or binary stream to messages (deserializes).
- Serializer() - Constructor for class net.morimekta.providence.serializer.Serializer
- SerializerException - Exception in net.morimekta.providence.serializer
-
Exception on serialization or deserialization.
- SerializerException(String, Object...) - Constructor for exception net.morimekta.providence.serializer.SerializerException
- SerializerException(Throwable, String, Object...) - Constructor for exception net.morimekta.providence.serializer.SerializerException
- SerializerException(SerializerException) - Constructor for exception net.morimekta.providence.serializer.SerializerException
- SerializerProvider - Interface in net.morimekta.providence.serializer
-
Provider of serializers based on a string media type.
- set(int, Object) - Method in class net.morimekta.providence.PApplicationException._Builder
- set(int, Object) - Method in class net.morimekta.providence.PMessageBuilder
-
Set the provided field value.
- set(PField<Message>, Object) - Method in class net.morimekta.providence.PMessageBuilder
-
Set the provided field value.
- SET - net.morimekta.providence.PType
- SET - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- setById(int) - Method in class net.morimekta.providence.PApplicationExceptionType._Builder
- setById(int) - Method in class net.morimekta.providence.PEnumBuilder
-
Set the enum entity from integer value as it was defined in the thrift IDL.
- setById(int) - Method in class net.morimekta.providence.PServiceCallType._Builder
- setByName(String) - Method in class net.morimekta.providence.PApplicationExceptionType._Builder
- setByName(String) - Method in class net.morimekta.providence.PEnumBuilder
-
Set the enum entity from name as it was written in the thrift IDL.
- setByName(String) - Method in class net.morimekta.providence.PServiceCallType._Builder
- setCallType(PServiceCallType) - Method in exception net.morimekta.providence.serializer.SerializerException
- setExceptionType(PApplicationExceptionType) - Method in exception net.morimekta.providence.serializer.SerializerException
- setFile(String) - Method in exception net.morimekta.providence.serializer.pretty.PrettyException
- setLength(int) - Method in exception net.morimekta.providence.serializer.pretty.PrettyException
- setLine(CharSequence) - Method in exception net.morimekta.providence.serializer.pretty.PrettyException
- setLineNo(int) - Method in exception net.morimekta.providence.serializer.pretty.PrettyException
- setLinePos(int) - Method in exception net.morimekta.providence.serializer.pretty.PrettyException
- setMessage(String) - Method in class net.morimekta.providence.PApplicationException._Builder
-
Set the
message
field value. - setMethodName(String) - Method in exception net.morimekta.providence.serializer.SerializerException
- setSequenceNo(int) - Method in exception net.morimekta.providence.serializer.SerializerException
- setType(PApplicationExceptionType) - Method in class net.morimekta.providence.PApplicationException._Builder
-
Set the
type
field value. - SimpleTypeRegistry - Class in net.morimekta.providence.types
-
Registry for declared types referenced in a flat space program context.
- SimpleTypeRegistry() - Constructor for class net.morimekta.providence.types.SimpleTypeRegistry
- SORTED - net.morimekta.providence.descriptor.PContainer.Type
- SortedBuilder() - Constructor for class net.morimekta.providence.descriptor.PMap.SortedBuilder
- SortedBuilder() - Constructor for class net.morimekta.providence.descriptor.PSet.SortedBuilder
- SortedBuilder(int) - Constructor for class net.morimekta.providence.descriptor.PMap.SortedBuilder
- SortedBuilder(int) - Constructor for class net.morimekta.providence.descriptor.PSet.SortedBuilder
- sortedProvider(PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PSet
- sortedProvider(PDescriptorProvider, PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PMap
- startString() - Method in class net.morimekta.providence.serializer.pretty.PrettyTokenizer
- STOP - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- stream(InputStream, Serializer, PMessageDescriptor<Message>) - Static method in class net.morimekta.providence.streams.MessageStreams
-
Read a input stream containing entries of a given type.
- string() - Method in class net.morimekta.providence.serializer.PrettySerializer
-
Make a PrettySerializer that generates content similar to the PMessage toString methods.
- STRING - net.morimekta.providence.descriptor.PPrimitive
- STRING - net.morimekta.providence.PType
- STRING - net.morimekta.providence.serializer.pretty.PrettyTokenType
- STRING - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- stringToken(char[], int, int, int, int) - Method in class net.morimekta.providence.serializer.pretty.PrettyTokenizer
- STRUCT - net.morimekta.providence.PMessageVariant
- STRUCT - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- SYMBOL - net.morimekta.providence.serializer.pretty.PrettyTokenType
- symbolToken(char[], int, int, int, int) - Method in class net.morimekta.providence.serializer.pretty.PrettyTokenizer
T
- tag - Variable in enum net.morimekta.providence.descriptor.PAnnotation
- test(M) - Method in interface net.morimekta.providence.util.MessageValidator.Validation
- toBinary(Message) - Static method in class net.morimekta.providence.serializer.BinarySerializer
- toBuilder() - Method in interface net.morimekta.providence.PMessageOrBuilder
-
Cast the message or builder instance to it's builder or mutate the instance so we have a fresh builder.
- toDebugString(PMessageOrBuilder<Message>) - Static method in class net.morimekta.providence.serializer.PrettySerializer
-
Prints a pretty formatted string that is optimized for diffing (mainly for testing and debugging).
- toFile(File, Serializer) - Static method in class net.morimekta.providence.streams.MessageCollectors
-
write stream of messages to file.
- toJsonString(PMessageOrBuilder<Message>) - Static method in class net.morimekta.providence.serializer.JsonSerializer
-
Prints a JSON string of the provided message.
- toMap(PMessageOrBuilder<?>) - Static method in class net.morimekta.providence.util.MessageUtil
-
Transform a message into a native map structure.
- toMessage() - Method in interface net.morimekta.providence.PMessageOrBuilder
-
Cast the message or builder instance to it's instance, or build so it becomes a new instance from the builder.
- toMessageOrBuilders(Collection<MB>) - Static method in class net.morimekta.providence.util.MessageUtil
-
Casting utility to make into a collection of message-or-builders.
- toMessageOrBuilderValues(Map<K, MB>) - Static method in class net.morimekta.providence.util.MessageUtil
-
Casting utility to make into a map of message-or-builders.
- toPath(Path, Serializer) - Static method in class net.morimekta.providence.streams.MessageCollectors
-
Write stream of messages to file described by path.
- toPrettyJsonString(PMessageOrBuilder<Message>) - Static method in class net.morimekta.providence.serializer.JsonSerializer
-
Prints a pretty formatted JSON string of the provided message.
- toStream(OutputStream, Serializer) - Static method in class net.morimekta.providence.streams.MessageCollectors
-
Serialize stream of messages into stream.
- toStream(OutputStream, Serializer, boolean) - Static method in class net.morimekta.providence.streams.MessageCollectors
-
Serialize stream of messages into stream.
- toString() - Method in class net.morimekta.providence.descriptor.PContainer
- toString() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
- toString() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- toString() - Method in enum net.morimekta.providence.descriptor.PPrimitive
- toString() - Method in enum net.morimekta.providence.PApplicationException._Field
- toString() - Method in exception net.morimekta.providence.PApplicationException
- toString() - Method in enum net.morimekta.providence.PMessageVariant
- toString() - Method in class net.morimekta.providence.PServiceCall
- toString() - Method in enum net.morimekta.providence.PType
- toString() - Method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils.FieldInfo
- toString() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- toString() - Method in exception net.morimekta.providence.serializer.pretty.PrettyException
- toString() - Method in enum net.morimekta.providence.serializer.pretty.PrettyTokenType
- toString() - Method in class net.morimekta.providence.serializer.Serializer
- toString() - Method in exception net.morimekta.providence.serializer.SerializerException
- toString() - Method in class net.morimekta.providence.types.TypeReference
- tryAdvance(Consumer<? super Message>) - Method in class net.morimekta.providence.streams.MessageSpliterator
- trySplit() - Method in class net.morimekta.providence.streams.MessageSpliterator
-
Normally we cannot split the stream.
- TYPE - net.morimekta.providence.PApplicationException._Field
- typeForName(String) - Static method in class net.morimekta.providence.descriptor.PContainer
- typeName - Variable in class net.morimekta.providence.types.TypeReference
- TypeReference - Class in net.morimekta.providence.types
-
Simple class to represent a type reference or declaration reference (e.g. for constant, typedef etc).
- TypeRegistry - Class in net.morimekta.providence.types
-
Base class for type registry.
- TypeRegistry() - Constructor for class net.morimekta.providence.types.TypeRegistry
U
- UNION - net.morimekta.providence.PMessageVariant
- unionField() - Method in interface net.morimekta.providence.PUnion
-
The user should be able to assume that this value never is null.
- unionFieldIsSet() - Method in interface net.morimekta.providence.PUnion
- UNKNOWN - net.morimekta.providence.PApplicationExceptionType
-
Unknown or unidentified exception, should usually not be uased.
- UNKNOWN_METHOD - net.morimekta.providence.PApplicationExceptionType
-
There is no such method defined on the service.
- UNSUPPORTED_CLIENT_TYPE - net.morimekta.providence.PApplicationExceptionType
-
NOTE: This value is apparently not in use in thrift.
- UrlEncodedSerializer - Class in net.morimekta.providence.serializer
-
Serializer for handling URL encoded form data, also commonly used in open web protocols like OAuth2.
- UrlEncodedSerializer() - Constructor for class net.morimekta.providence.serializer.UrlEncodedSerializer
V
- valid() - Method in class net.morimekta.providence.PApplicationException._Builder
- valid() - Method in class net.morimekta.providence.PApplicationExceptionType._Builder
- valid() - Method in class net.morimekta.providence.PEnumBuilder
-
Check if the enum builder has been given a valid value.
- valid() - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if the current set data is enough to make a valid struct.
- valid() - Method in class net.morimekta.providence.PServiceCallType._Builder
- validate() - Method in class net.morimekta.providence.PApplicationException._Builder
- validate() - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if the current set data is enough to make a valid struct.
- validate(PMessageOrBuilder<M>) - Method in class net.morimekta.providence.util.MessageValidator
-
Validate a message using the built expectations.
- valueForId(int) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- valueForId(int) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Get a value based in its ID
- valueForId(int) - Static method in enum net.morimekta.providence.PServiceCallType
-
Get a value based in its ID
- valueForName(String) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- valueForName(String) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Get a value based in its name
- valueForName(String) - Static method in enum net.morimekta.providence.PServiceCallType
-
Get a value based in its name
- valueOf(String) - Static method in enum net.morimekta.providence.descriptor.PAnnotation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.descriptor.PContainer.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.descriptor.PPrimitive
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.descriptor.PRequirement
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PApplicationException._Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PMessageVariant
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PServiceCallType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.serializer.pretty.PrettyTokenType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.morimekta.providence.descriptor.PAnnotation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.descriptor.PContainer.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.descriptor.PPrimitive
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.descriptor.PRequirement
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.PApplicationException._Field
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.PMessageVariant
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.PServiceCallType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.PType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.serializer.pretty.PrettyTokenType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valueType - Variable in class net.morimekta.providence.types.TypeReference
- verifyEndOfContent(InputStream) - Method in class net.morimekta.providence.serializer.BinarySerializer
- verifyEndOfContent(InputStream) - Method in class net.morimekta.providence.serializer.FastBinarySerializer
- verifyEndOfContent(InputStream) - Method in class net.morimekta.providence.serializer.JsonSerializer
- verifyEndOfContent(InputStream) - Method in class net.morimekta.providence.serializer.PrettySerializer
- verifyEndOfContent(InputStream) - Method in class net.morimekta.providence.serializer.Serializer
-
Verify that the input stream does not contain any more readable content and close the stream.
- verifyEndOfContent(InputStream) - Method in class net.morimekta.providence.serializer.UrlEncodedSerializer
- verifyEndOfContent(Reader) - Method in class net.morimekta.providence.serializer.JsonSerializer
- VOID - net.morimekta.providence.descriptor.PPrimitive
- VOID - net.morimekta.providence.PType
- VOID - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
W
- withFlattenUnionOf() - Method in class net.morimekta.providence.serializer.JsonSerializer
- withIdEnums() - Method in class net.morimekta.providence.serializer.JsonSerializer
- withIdFields() - Method in class net.morimekta.providence.serializer.JsonSerializer
- withNamedEnums() - Method in class net.morimekta.providence.serializer.JsonSerializer
- withNamedFields() - Method in class net.morimekta.providence.serializer.JsonSerializer
- withPojoNamedFields() - Method in class net.morimekta.providence.serializer.JsonSerializer
- WritableTypeRegistry - Class in net.morimekta.providence.types
-
Registry for declared types referenced in a specific program context.
- WritableTypeRegistry() - Constructor for class net.morimekta.providence.types.WritableTypeRegistry
- writeBinary(BigEndianBinaryWriter) - Method in exception net.morimekta.providence.PApplicationException
- writeBinary(BigEndianBinaryWriter) - Method in interface net.morimekta.providence.serializer.binary.BinaryWriter
-
Write the current message to the binary writer.
- writeMessage(BigEndianBinaryWriter, PMessageOrBuilder<Message>) - Static method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils
-
Write message to writer.
- WRONG_METHOD_NAME - net.morimekta.providence.PApplicationExceptionType
-
The response came back with a non-matching method name.
_
- _Builder() - Constructor for class net.morimekta.providence.PApplicationException._Builder
-
Make a p_service.PApplicationException builder instance.
- _Builder() - Constructor for class net.morimekta.providence.PApplicationExceptionType._Builder
- _Builder() - Constructor for class net.morimekta.providence.PServiceCallType._Builder
- _Builder(PApplicationException) - Constructor for class net.morimekta.providence.PApplicationException._Builder
-
Make a mutating builder off a base p_service.PApplicationException.
All Classes All Packages