Uses of Interface
com.google.protobuf.Message
Packages that use Message
Package
Description
API for gRPC over Protocol Buffers, including tools for serializing and de-serializing protobuf
messages.
-
Uses of Message in com.google.protobuf
Classes in com.google.protobuf with type parameters of type MessageModifier and TypeClassDescriptionstatic class
GeneratedMessage.GeneratedExtension<ContainingT extends Message,
T> Type used to represent generated extensions.Classes in com.google.protobuf that implement MessageModifier and TypeClassDescriptionclass
A partial implementation of theMessage
interface which implements as many methods of that interface as possible in terms of other methods.final class
Protobuf typegoogle.protobuf.Any
final class
Protobuf typegoogle.protobuf.Api
final class
Protobuf typegoogle.protobuf.BoolValue
final class
Protobuf typegoogle.protobuf.BytesValue
static final class
Protobuf typegoogle.protobuf.DescriptorProto
static final class
Protobuf typegoogle.protobuf.DescriptorProto.ExtensionRange
static final class
Protobuf typegoogle.protobuf.DescriptorProto.ReservedRange
static final class
Protobuf typegoogle.protobuf.EnumDescriptorProto
static final class
Protobuf typegoogle.protobuf.EnumDescriptorProto.EnumReservedRange
static final class
Protobuf typegoogle.protobuf.EnumOptions
static final class
Protobuf typegoogle.protobuf.EnumValueDescriptorProto
static final class
Protobuf typegoogle.protobuf.EnumValueOptions
static final class
Protobuf typegoogle.protobuf.ExtensionRangeOptions
static final class
Protobuf typegoogle.protobuf.ExtensionRangeOptions.Declaration
static final class
Protobuf typegoogle.protobuf.FeatureSet
static final class
Protobuf typegoogle.protobuf.FeatureSetDefaults
static final class
Protobuf typegoogle.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
static final class
Protobuf typegoogle.protobuf.FieldDescriptorProto
static final class
Protobuf typegoogle.protobuf.FieldOptions
static final class
Protobuf typegoogle.protobuf.FieldOptions.EditionDefault
static final class
Protobuf typegoogle.protobuf.FieldOptions.FeatureSupport
static final class
Protobuf typegoogle.protobuf.FileDescriptorProto
static final class
Protobuf typegoogle.protobuf.FileDescriptorSet
static final class
Protobuf typegoogle.protobuf.FileOptions
static final class
Protobuf typegoogle.protobuf.GeneratedCodeInfo
static final class
Protobuf typegoogle.protobuf.GeneratedCodeInfo.Annotation
static final class
Protobuf typegoogle.protobuf.MessageOptions
static final class
Protobuf typegoogle.protobuf.MethodDescriptorProto
static final class
Protobuf typegoogle.protobuf.MethodOptions
static final class
Protobuf typegoogle.protobuf.OneofDescriptorProto
static final class
Protobuf typegoogle.protobuf.OneofOptions
static final class
Protobuf typegoogle.protobuf.ServiceDescriptorProto
static final class
Protobuf typegoogle.protobuf.ServiceOptions
static final class
Protobuf typegoogle.protobuf.SourceCodeInfo
static final class
Protobuf typegoogle.protobuf.SourceCodeInfo.Location
static final class
Protobuf typegoogle.protobuf.UninterpretedOption
static final class
Protobuf typegoogle.protobuf.UninterpretedOption.NamePart
final class
Protobuf typegoogle.protobuf.DoubleValue
final class
Protobuf typegoogle.protobuf.Duration
final class
An implementation ofMessage
that can represent arbitrary types, given aDescriptors.Descriptor
.final class
Protobuf typegoogle.protobuf.Empty
final class
Protobuf typegoogle.protobuf.Enum
final class
Protobuf typegoogle.protobuf.EnumValue
final class
Protobuf typegoogle.protobuf.Field
final class
Protobuf typegoogle.protobuf.FieldMask
final class
Protobuf typegoogle.protobuf.FloatValue
class
All generated protocol message classes extend this class.static class
GeneratedMessage.ExtendableMessage<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>>
Generated message classes for message types that contain extension ranges subclass this.class
Deprecated.This class is deprecated, and slated for removal in the next Java breaking change (5.x).static class
GeneratedMessageV3.ExtendableMessage<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>
Deprecated.This class is deprecated, and slated for removal in the next Java breaking change (5.x).final class
Protobuf typegoogle.protobuf.Int32Value
final class
Protobuf typegoogle.protobuf.Int64Value
static final class
Protobuf typepb.JavaFeatures
final class
Protobuf typegoogle.protobuf.ListValue
final class
MapEntry<K,
V> Implements MapEntry messages.final class
Protobuf typegoogle.protobuf.Method
final class
Protobuf typegoogle.protobuf.Mixin
final class
Protobuf typegoogle.protobuf.Option
final class
Protobuf typegoogle.protobuf.SourceContext
final class
Protobuf typegoogle.protobuf.StringValue
final class
Protobuf typegoogle.protobuf.Struct
final class
Protobuf typegoogle.protobuf.Timestamp
final class
Protobuf typegoogle.protobuf.Type
final class
Protobuf typegoogle.protobuf.UInt32Value
final class
Protobuf typegoogle.protobuf.UInt64Value
final class
Protobuf typegoogle.protobuf.Value
Fields in com.google.protobuf declared as MessageModifier and TypeFieldDescriptionfinal Message
ExtensionRegistry.ExtensionInfo.defaultInstance
A default instance of the extension's type, if it has a message type.Methods in com.google.protobuf with type parameters of type MessageModifier and TypeMethodDescriptionstatic <Type extends Message>
RpcCallback<Message> RpcUtil.generalizeCallback
(RpcCallback<Type> originalCallback, Class<Type> originalClass, Type defaultInstance) Take anRpcCallback
accepting a specific message type and convert it to anRpcCallback<Message>
.<T extends Message>
booleanstatic <ContainingT extends Message,
T>
GeneratedMessage.GeneratedExtension<ContainingT, T> GeneratedMessage.newFileScopedGeneratedExtension
(Class<?> singularType, Message defaultInstance) For use by generated code only.static <ContainingT extends Message,
T>
GeneratedMessage.GeneratedExtension<ContainingT, T> GeneratedMessage.newMessageScopedGeneratedExtension
(Message scope, int descriptorIndex, Class<?> singularType, Message defaultInstance) For use by generated code only.Any.pack
(T message) Packs a message using the given type URL prefix.static <T extends Message>
TTextFormat.parse
(CharSequence input, ExtensionRegistry extensionRegistry, Class<T> protoClass) Parse a text-format message frominput
.static <T extends Message>
TTextFormat.parse
(CharSequence input, Class<T> protoClass) Parse a text-format message frominput
.protected static <M extends Message>
MGeneratedMessage.parseDelimitedWithIOException
(com.google.protobuf.Parser<M> parser, InputStream input) Used by generated code.protected static <M extends Message>
MGeneratedMessage.parseDelimitedWithIOException
(com.google.protobuf.Parser<M> parser, InputStream input, com.google.protobuf.ExtensionRegistryLite extensions) Used by generated code.protected static <M extends Message>
MGeneratedMessage.parseWithIOException
(com.google.protobuf.Parser<M> parser, com.google.protobuf.CodedInputStream input) Used by generated code.protected static <M extends Message>
MGeneratedMessage.parseWithIOException
(com.google.protobuf.Parser<M> parser, com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensions) Used by generated code.protected static <M extends Message>
MGeneratedMessage.parseWithIOException
(com.google.protobuf.Parser<M> parser, InputStream input) Used by generated code.protected static <M extends Message>
MGeneratedMessage.parseWithIOException
(com.google.protobuf.Parser<M> parser, InputStream input, com.google.protobuf.ExtensionRegistryLite extensions) Used by generated code.static <Type extends Message>
RpcCallback<Type> RpcUtil.specializeCallback
(RpcCallback<Message> originalCallback) Take anRpcCallback<Message>
and convert it to anRpcCallback
accepting a specific message type.<T extends Message>
T<T extends Message>
TAny.unpackSameTypeAs
(T message) static final <T extends Message>
com.google.protobuf.Parser<T> DiscardUnknownFieldsParser.wrap
(com.google.protobuf.Parser<T> parser) Wraps a givenParser
into a newParser
that discards unknown fields during parsing.Methods in com.google.protobuf that return MessageModifier and TypeMethodDescriptionMessage.Builder.build()
Message.Builder.buildPartial()
BlockingRpcChannel.callBlockingMethod
(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype) Call the given method of the remote service and blocks until it returns.BlockingService.callBlockingMethod
(Descriptors.MethodDescriptor method, RpcController controller, Message request) Equivalent toService.callMethod(com.google.protobuf.Descriptors.MethodDescriptor, com.google.protobuf.RpcController, com.google.protobuf.Message, com.google.protobuf.RpcCallback<com.google.protobuf.Message>)
, except thatcallBlockingMethod()
returns the result of the RPC or throws aServiceException
if there is a failure, rather than passing the information to a callback.GeneratedMessage.ExtendableMessageOrBuilder.getDefaultInstanceForType()
MessageOrBuilder.getDefaultInstanceForType()
abstract Message
Extension.getMessageDefaultInstance()
Overridden to returnMessage
instead ofMessageLite
.GeneratedMessage.GeneratedExtension.getMessageDefaultInstance()
If the extension is an embedded message or group, returns the default instance of the message.Descriptors.DescriptorValidationException.getProblemProto()
Gets the protocol message representation of the invalid descriptor.BlockingService.getRequestPrototype
(Descriptors.MethodDescriptor method) Service.getRequestPrototype
(Descriptors.MethodDescriptor method) callMethod()
requires that the request passed in is of a particular subclass ofMessage
.BlockingService.getResponsePrototype
(Descriptors.MethodDescriptor method) Service.getResponsePrototype
(Descriptors.MethodDescriptor method) LikegetRequestPrototype()
, but gets a prototype of the response message.abstract Message
Descriptors.GenericDescriptor.toProto()
Methods in com.google.protobuf that return types with arguments of type MessageModifier and TypeMethodDescriptionMapFieldBuilder.ensureMessageList()
static <Type extends Message>
RpcCallback<Message> RpcUtil.generalizeCallback
(RpcCallback<Type> originalCallback, Class<Type> originalClass, Type defaultInstance) Take anRpcCallback
accepting a specific message type and convert it to anRpcCallback<Message>
.com.google.protobuf.Parser
<? extends Message> Message.getParserForType()
Methods in com.google.protobuf with parameters of type MessageModifier and TypeMethodDescriptionvoid
ExtensionRegistry.add
(Descriptors.FieldDescriptor type, Message defaultInstance) Add a message-type extension to the registry by descriptor.BlockingRpcChannel.callBlockingMethod
(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype) Call the given method of the remote service and blocks until it returns.BlockingService.callBlockingMethod
(Descriptors.MethodDescriptor method, RpcController controller, Message request) Equivalent toService.callMethod(com.google.protobuf.Descriptors.MethodDescriptor, com.google.protobuf.RpcController, com.google.protobuf.Message, com.google.protobuf.RpcCallback<com.google.protobuf.Message>)
, except thatcallBlockingMethod()
returns the result of the RPC or throws aServiceException
if there is a failure, rather than passing the information to a callback.void
RpcChannel.callMethod
(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype, RpcCallback<Message> done) Call the given method of the remote service.void
Service.callMethod
(Descriptors.MethodDescriptor method, RpcController controller, Message request, RpcCallback<Message> done) Call a method of the service specified by MethodDescriptor.boolean
Any.isSameTypeAs
(Message message) Mergeother
into the message being built.static DynamicMessage.Builder
DynamicMessage.newBuilder
(Message prototype) Construct aMessage.Builder
for a message of the same type asprototype
, and initialize it withprototype
's contents.static <ContainingT extends Message,
T>
GeneratedMessage.GeneratedExtension<ContainingT, T> GeneratedMessage.newFileScopedGeneratedExtension
(Class<?> singularType, Message defaultInstance) For use by generated code only.static <ContainingT extends Message,
T>
GeneratedMessage.GeneratedExtension<ContainingT, T> GeneratedMessage.newMessageScopedGeneratedExtension
(Message scope, int descriptorIndex, Class<?> singularType, Message defaultInstance) For use by generated code only.protected static com.google.protobuf.UninitializedMessageException
AbstractMessage.Builder.newUninitializedMessageException
(Message message) Construct an UninitializedMessageException reporting missing fields in the given message.Method parameters in com.google.protobuf with type arguments of type MessageModifier and TypeMethodDescriptionvoid
RpcChannel.callMethod
(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype, RpcCallback<Message> done) Call the given method of the remote service.void
Service.callMethod
(Descriptors.MethodDescriptor method, RpcController controller, Message request, RpcCallback<Message> done) Call a method of the service specified by MethodDescriptor.static <Type extends Message>
RpcCallback<Type> RpcUtil.specializeCallback
(RpcCallback<Message> originalCallback) Take anRpcCallback<Message>
and convert it to anRpcCallback
accepting a specific message type. -
Uses of Message in com.google.protobuf.compiler
Classes in com.google.protobuf.compiler that implement MessageModifier and TypeClassDescriptionstatic final class
Protobuf typegoogle.protobuf.compiler.CodeGeneratorRequest
static final class
Protobuf typegoogle.protobuf.compiler.CodeGeneratorResponse
static final class
Protobuf typegoogle.protobuf.compiler.CodeGeneratorResponse.File
static final class
Protobuf typegoogle.protobuf.compiler.Version
Methods in com.google.protobuf.compiler with parameters of type MessageModifier and TypeMethodDescription -
Uses of Message in com.google.protobuf.util
Methods in com.google.protobuf.util with type parameters of type MessageModifier and TypeMethodDescriptionstatic <P extends Message>
PReturns the result of keeping only the masked fields of the given proto.Methods in com.google.protobuf.util with parameters of type MessageModifier and TypeMethodDescriptionstatic void
FieldMaskUtil.merge
(FieldMask mask, Message source, Message.Builder destination) Merges fields specified by a FieldMask from one message to another.static void
FieldMaskUtil.merge
(FieldMask mask, Message source, Message.Builder destination, FieldMaskUtil.MergeOptions options) Merges fields specified by a FieldMask from one message to another with the specified merge options.Method parameters in com.google.protobuf.util with type arguments of type MessageModifier and TypeMethodDescriptionstatic FieldMask
FieldMaskUtil.fromFieldNumbers
(Class<? extends Message> type, int... fieldNumbers) Constructs a FieldMask from the passed field numbers.static FieldMask
FieldMaskUtil.fromFieldNumbers
(Class<? extends Message> type, Iterable<Integer> fieldNumbers) Constructs a FieldMask from the passed field numbers.static FieldMask
FieldMaskUtil.fromString
(Class<? extends Message> type, String value) Parses from a string to a FieldMask and validates all field paths.static FieldMask
FieldMaskUtil.fromStringList
(Class<? extends Message> type, Iterable<String> paths) Constructs a FieldMask for a list of field paths in a certain type.static boolean
Checks whether paths in a given fields mask are valid.static boolean
Checks whether a given field path is valid. -
Uses of Message in dev.enola.common.protobuf
Methods in dev.enola.common.protobuf with type parameters of type MessageModifier and TypeMethodDescription<M extends Message>
MProtoIO.read
(ReadableResource resource, Message.Builder builder, Class<M> messageClass) static <T extends Message>
TMethods in dev.enola.common.protobuf that return MessageMethods in dev.enola.common.protobuf with parameters of type MessageModifier and TypeMethodDescriptionstatic Wany
void
ProtoIO.write
(Message message, WritableResource resource) Constructor parameters in dev.enola.common.protobuf with type arguments of type MessageModifierConstructorDescriptionprotected
Messages
(DescriptorProvider descriptorProvider, com.google.protobuf.ExtensionRegistryLite extensionRegistry, com.google.common.collect.ImmutableMap<String, Message> defaultInstances) -
Uses of Message in dev.enola.common.validation
Classes in dev.enola.common.validation that implement MessageModifier and TypeClassDescriptionfinal class
Protobuf typedev.enola.validation.Validation
final class
Protobuf typedev.enola.validation.Validations
Methods in dev.enola.common.validation with parameters of type MessageModifier and TypeMethodDescription -
Uses of Message in dev.enola.core.proto
Classes in dev.enola.core.proto that implement MessageModifier and TypeClassDescriptionfinal class
Intentionally empty (currently).final class
Protobuf typedev.enola.core.GetFileDescriptorSetResponse
final class
Protobuf typedev.enola.core.GetThingRequest
final class
Protobuf typedev.enola.core.GetThingResponse
final class
Protobuf typedev.enola.core.GetThingsRequest
final class
Protobuf typedev.enola.core.GetThingsResponse
Methods in dev.enola.core.proto with parameters of type MessageModifier and TypeMethodDescription -
Uses of Message in dev.enola.core.util.proto
Classes in dev.enola.core.util.proto that implement MessageModifier and TypeClassDescriptionfinal class
TODO Log isn't actually used, just yet...static final class
Protobuf typedev.enola.core.util.Log.Entry
static final class
Protobuf typedev.enola.core.util.Log.Inline
Methods in dev.enola.core.util.proto with parameters of type MessageModifier and TypeMethodDescription -
Uses of Message in dev.enola.core.view
Methods in dev.enola.core.view that return types with arguments of type Message -
Uses of Message in dev.enola.thing.message
Methods in dev.enola.thing.message that return MessageModifier and TypeMethodDescriptionMessageWithIRI.message()
Returns the value of themessage
record component.Constructors in dev.enola.thing.message with parameters of type MessageModifierConstructorDescriptionMessageWithIRI
(String iri, Message message) Creates an instance of aMessageWithIRI
record class. -
Uses of Message in dev.enola.thing.proto
Classes in dev.enola.thing.proto that implement MessageModifier and TypeClassDescriptionfinal class
Protobuf typedev.enola.thing.CompactThing
final class
Protobuf typedev.enola.thing.CompactThings
final class
Protobuf typedev.enola.thing.LinksMetadata
final class
Protobuf typedev.enola.thing.TextThing
final class
Protobuf typedev.enola.thing.TextThings
final class
Thing is a generic datastructure for Linked Data.final class
Protobuf typedev.enola.thing.ThingMetadata
final class
Things are repeated things.final class
Value is the stuff that Thing's fields are made of.static final class
TODO Keep or remove this? See https://github.com/enola-dev/enola/pull/540...static final class
TODO Rename to Collectionstatic final class
Protobuf typedev.enola.thing.Value.Literal
Methods in dev.enola.thing.proto with parameters of type MessageModifier and TypeMethodDescription -
Uses of Message in io.grpc.protobuf
Methods in io.grpc.protobuf with type parameters of type MessageModifier and TypeMethodDescriptionstatic <T extends Message>
Metadata.Key<T> ProtoUtils.keyForProto
(T instance) Produce a metadata key for a generated protobuf type.static <T extends Message>
MethodDescriptor.Marshaller<T> ProtoUtils.marshaller
(T defaultInstance) Create aMethodDescriptor.Marshaller
for protos of the same type asdefaultInstance
.static <T extends Message>
MethodDescriptor.Marshaller<T> ProtoUtils.marshallerWithRecursionLimit
(T defaultInstance, int recursionLimit) Creates aMethodDescriptor.Marshaller
for protos of the same type asdefaultInstance
and a custom limit for the recursion depth.static <T extends Message>
Metadata.BinaryMarshaller<T> ProtoUtils.metadataMarshaller
(T instance) Produce a metadata marshaller for a protobuf type.