Uses of Interface
com.google.protobuf.Message
-
Packages that use Message Package Description com.google.protobuf com.google.protobuf.compiler -
-
Uses of Message in com.google.protobuf
Classes in com.google.protobuf with type parameters of type Message Modifier and Type Class Description static class
GeneratedMessage.GeneratedExtension<ContainingType extends Message,Type>
Type used to represent generated extensions.Classes in com.google.protobuf that implement Message Modifier and Type Class Description class
AbstractMessage
A partial implementation of theMessage
interface which implements as many methods of that interface as possible in terms of other methods.class
Any
`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.class
Api
Api is a light-weight descriptor for an API Interface.class
BoolValue
Wrapper message for `bool`.class
BytesValue
Wrapper message for `bytes`.static class
DescriptorProtos.DescriptorProto
Describes a message type.static class
DescriptorProtos.DescriptorProto.ExtensionRange
Protobuf typegoogle.protobuf.DescriptorProto.ExtensionRange
static class
DescriptorProtos.DescriptorProto.ReservedRange
Range of reserved tag numbers.static class
DescriptorProtos.EnumDescriptorProto
Describes an enum type.static class
DescriptorProtos.EnumDescriptorProto.EnumReservedRange
Range of reserved numeric values.static class
DescriptorProtos.EnumOptions
Protobuf typegoogle.protobuf.EnumOptions
static class
DescriptorProtos.EnumValueDescriptorProto
Describes a value within an enum.static class
DescriptorProtos.EnumValueOptions
Protobuf typegoogle.protobuf.EnumValueOptions
static class
DescriptorProtos.ExtensionRangeOptions
Protobuf typegoogle.protobuf.ExtensionRangeOptions
static class
DescriptorProtos.FieldDescriptorProto
Describes a field within a message.static class
DescriptorProtos.FieldOptions
Protobuf typegoogle.protobuf.FieldOptions
static class
DescriptorProtos.FileDescriptorProto
Describes a complete .proto file.static class
DescriptorProtos.FileDescriptorSet
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.static class
DescriptorProtos.FileOptions
Protobuf typegoogle.protobuf.FileOptions
static class
DescriptorProtos.GeneratedCodeInfo
Describes the relationship between generated code and its original source file.static class
DescriptorProtos.GeneratedCodeInfo.Annotation
Protobuf typegoogle.protobuf.GeneratedCodeInfo.Annotation
static class
DescriptorProtos.MessageOptions
Protobuf typegoogle.protobuf.MessageOptions
static class
DescriptorProtos.MethodDescriptorProto
Describes a method of a service.static class
DescriptorProtos.MethodOptions
Protobuf typegoogle.protobuf.MethodOptions
static class
DescriptorProtos.OneofDescriptorProto
Describes a oneof.static class
DescriptorProtos.OneofOptions
Protobuf typegoogle.protobuf.OneofOptions
static class
DescriptorProtos.ServiceDescriptorProto
Describes a service.static class
DescriptorProtos.ServiceOptions
Protobuf typegoogle.protobuf.ServiceOptions
static class
DescriptorProtos.SourceCodeInfo
Encapsulates information about the original source file from which a FileDescriptorProto was generated.static class
DescriptorProtos.SourceCodeInfo.Location
Protobuf typegoogle.protobuf.SourceCodeInfo.Location
static class
DescriptorProtos.UninterpretedOption
A message representing a option the parser does not recognize.static class
DescriptorProtos.UninterpretedOption.NamePart
The name of the uninterpreted option.class
DoubleValue
Wrapper message for `double`.class
Duration
A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.class
DynamicMessage
An implementation ofMessage
that can represent arbitrary types, given aDescriptors.Descriptor
.class
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.class
Enum
Enum type definition.class
EnumValue
Enum value definition.class
Field
A single field of a message type.class
FieldMask
`FieldMask` represents a set of symbolic field paths, for example: paths: "f.a" paths: "f.b.d" Here `f` represents a field in some root message, `a` and `b` fields in the message found in `f`, and `d` a field found in the message in `f.b`.class
FloatValue
Wrapper message for `float`.class
GeneratedMessage
All generated protocol message classes extend this class.static class
GeneratedMessage.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>
Generated message classes for message types that contain extension ranges subclass this.class
GeneratedMessageV3
All generated protocol message classes extend this class.static class
GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>
Generated message classes for message types that contain extension ranges subclass this.class
Int32Value
Wrapper message for `int32`.class
Int64Value
Wrapper message for `int64`.class
ListValue
`ListValue` is a wrapper around a repeated field of values.class
MapEntry<K,V>
Implements MapEntry messages.class
Method
Method represents a method of an API interface.class
Mixin
Declares an API Interface to be included in this interface.class
Option
A protocol buffer option, which can be attached to a message, field, enumeration, etc.class
SourceContext
`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.class
StringValue
Wrapper message for `string`.class
Struct
`Struct` represents a structured data value, consisting of fields which map to dynamically typed values.class
Timestamp
A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution.class
Type
A protocol buffer message type.class
UInt32Value
Wrapper message for `uint32`.class
UInt64Value
Wrapper message for `uint64`.class
Value
`Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values.Fields in com.google.protobuf declared as Message Modifier and Type Field Description 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 Message Modifier and Type Method Description 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>
.<T extends Message>
booleanAny. is(Class<T> clazz)
static <ContainingType extends Message,Type>
GeneratedMessage.GeneratedExtension<ContainingType,Type>GeneratedMessage. newFileScopedGeneratedExtension(Class singularType, Message defaultInstance)
For use by generated code only.static <ContainingType extends Message,Type>
GeneratedMessage.GeneratedExtension<ContainingType,Type>GeneratedMessage. newFileScopedGeneratedExtension(Class singularType, Message defaultInstance, String descriptorOuterClass, String extensionName)
Used in proto1 generated code only.static <ContainingType extends Message,Type>
GeneratedMessage.GeneratedExtension<ContainingType,Type>GeneratedMessage. newMessageScopedGeneratedExtension(Message scope, int descriptorIndex, Class singularType, Message defaultInstance)
For use by generated code only.static <ContainingType extends Message,Type>
GeneratedMessage.GeneratedExtension<ContainingType,Type>GeneratedMessage. newMessageScopedGeneratedExtension(Message scope, String name, Class singularType, Message defaultInstance)
Used in proto1 generated code only.static <T extends Message>
AnyAny. pack(T message)
static <T extends Message>
AnyAny. pack(T message, String typeUrlPrefix)
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(Parser<M> parser, InputStream input)
protected static <M extends Message>
MGeneratedMessage. parseDelimitedWithIOException(Parser<M> parser, InputStream input, ExtensionRegistryLite extensions)
protected static <M extends Message>
MGeneratedMessageV3. parseDelimitedWithIOException(Parser<M> parser, InputStream input)
protected static <M extends Message>
MGeneratedMessageV3. parseDelimitedWithIOException(Parser<M> parser, InputStream input, ExtensionRegistryLite extensions)
protected static <M extends Message>
MGeneratedMessage. parseWithIOException(Parser<M> parser, CodedInputStream input)
protected static <M extends Message>
MGeneratedMessage. parseWithIOException(Parser<M> parser, CodedInputStream input, ExtensionRegistryLite extensions)
protected static <M extends Message>
MGeneratedMessage. parseWithIOException(Parser<M> parser, InputStream input)
protected static <M extends Message>
MGeneratedMessage. parseWithIOException(Parser<M> parser, InputStream input, ExtensionRegistryLite extensions)
protected static <M extends Message>
MGeneratedMessageV3. parseWithIOException(Parser<M> parser, CodedInputStream input)
protected static <M extends Message>
MGeneratedMessageV3. parseWithIOException(Parser<M> parser, CodedInputStream input, ExtensionRegistryLite extensions)
protected static <M extends Message>
MGeneratedMessageV3. parseWithIOException(Parser<M> parser, InputStream input)
protected static <M extends Message>
MGeneratedMessageV3. parseWithIOException(Parser<M> parser, InputStream input, ExtensionRegistryLite extensions)
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>
TAny. unpack(Class<T> clazz)
static <T extends Message>
Parser<T>DiscardUnknownFieldsParser. wrap(Parser<T> parser)
Methods in com.google.protobuf that return Message Modifier and Type Method Description Message
Message.Builder. build()
Message
Message.Builder. buildPartial()
Message
BlockingRpcChannel. callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype)
Call the given method of the remote service and blocks until it returns.Message
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.Message
GeneratedMessage.ExtendableMessageOrBuilder. getDefaultInstanceForType()
Message
GeneratedMessageV3.ExtendableMessageOrBuilder. getDefaultInstanceForType()
Message
MessageOrBuilder. getDefaultInstanceForType()
abstract Message
Extension. getMessageDefaultInstance()
Returns the default instance of the extension field, if it's a message extension.Message
GeneratedMessage.GeneratedExtension. getMessageDefaultInstance()
If the extension is an embedded message or group, returns the default instance of the message.Message
Descriptors.DescriptorValidationException. getProblemProto()
Gets the protocol message representation of the invalid descriptor.Message
BlockingService. getRequestPrototype(Descriptors.MethodDescriptor method)
Message
Service. getRequestPrototype(Descriptors.MethodDescriptor method)
callMethod()
requires that the request passed in is of a particular subclass ofMessage
.Message
BlockingService. getResponsePrototype(Descriptors.MethodDescriptor method)
Message
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 Message Modifier and Type Method Description 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>
.Parser<? extends Message>
Message. getParserForType()
Methods in com.google.protobuf with parameters of type Message Modifier and Type Method Description void
ExtensionRegistry. add(Descriptors.FieldDescriptor type, Message defaultInstance)
Add a message-type extension to the registry by descriptor.Message
BlockingRpcChannel. callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype)
Call the given method of the remote service and blocks until it returns.Message
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.BuilderType
AbstractMessage.Builder. mergeFrom(Message other)
Any.Builder
Any.Builder. mergeFrom(Message other)
Api.Builder
Api.Builder. mergeFrom(Message other)
BoolValue.Builder
BoolValue.Builder. mergeFrom(Message other)
BytesValue.Builder
BytesValue.Builder. mergeFrom(Message other)
DescriptorProtos.DescriptorProto.Builder
DescriptorProtos.DescriptorProto.Builder. mergeFrom(Message other)
DescriptorProtos.DescriptorProto.ExtensionRange.Builder
DescriptorProtos.DescriptorProto.ExtensionRange.Builder. mergeFrom(Message other)
DescriptorProtos.DescriptorProto.ReservedRange.Builder
DescriptorProtos.DescriptorProto.ReservedRange.Builder. mergeFrom(Message other)
DescriptorProtos.EnumDescriptorProto.Builder
DescriptorProtos.EnumDescriptorProto.Builder. mergeFrom(Message other)
DescriptorProtos.EnumDescriptorProto.EnumReservedRange.Builder
DescriptorProtos.EnumDescriptorProto.EnumReservedRange.Builder. mergeFrom(Message other)
DescriptorProtos.EnumOptions.Builder
DescriptorProtos.EnumOptions.Builder. mergeFrom(Message other)
DescriptorProtos.EnumValueDescriptorProto.Builder
DescriptorProtos.EnumValueDescriptorProto.Builder. mergeFrom(Message other)
DescriptorProtos.EnumValueOptions.Builder
DescriptorProtos.EnumValueOptions.Builder. mergeFrom(Message other)
DescriptorProtos.ExtensionRangeOptions.Builder
DescriptorProtos.ExtensionRangeOptions.Builder. mergeFrom(Message other)
DescriptorProtos.FieldDescriptorProto.Builder
DescriptorProtos.FieldDescriptorProto.Builder. mergeFrom(Message other)
DescriptorProtos.FieldOptions.Builder
DescriptorProtos.FieldOptions.Builder. mergeFrom(Message other)
DescriptorProtos.FileDescriptorProto.Builder
DescriptorProtos.FileDescriptorProto.Builder. mergeFrom(Message other)
DescriptorProtos.FileDescriptorSet.Builder
DescriptorProtos.FileDescriptorSet.Builder. mergeFrom(Message other)
DescriptorProtos.FileOptions.Builder
DescriptorProtos.FileOptions.Builder. mergeFrom(Message other)
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder. mergeFrom(Message other)
DescriptorProtos.GeneratedCodeInfo.Builder
DescriptorProtos.GeneratedCodeInfo.Builder. mergeFrom(Message other)
DescriptorProtos.MessageOptions.Builder
DescriptorProtos.MessageOptions.Builder. mergeFrom(Message other)
DescriptorProtos.MethodDescriptorProto.Builder
DescriptorProtos.MethodDescriptorProto.Builder. mergeFrom(Message other)
DescriptorProtos.MethodOptions.Builder
DescriptorProtos.MethodOptions.Builder. mergeFrom(Message other)
DescriptorProtos.OneofDescriptorProto.Builder
DescriptorProtos.OneofDescriptorProto.Builder. mergeFrom(Message other)
DescriptorProtos.OneofOptions.Builder
DescriptorProtos.OneofOptions.Builder. mergeFrom(Message other)
DescriptorProtos.ServiceDescriptorProto.Builder
DescriptorProtos.ServiceDescriptorProto.Builder. mergeFrom(Message other)
DescriptorProtos.ServiceOptions.Builder
DescriptorProtos.ServiceOptions.Builder. mergeFrom(Message other)
DescriptorProtos.SourceCodeInfo.Builder
DescriptorProtos.SourceCodeInfo.Builder. mergeFrom(Message other)
DescriptorProtos.SourceCodeInfo.Location.Builder
DescriptorProtos.SourceCodeInfo.Location.Builder. mergeFrom(Message other)
DescriptorProtos.UninterpretedOption.Builder
DescriptorProtos.UninterpretedOption.Builder. mergeFrom(Message other)
DescriptorProtos.UninterpretedOption.NamePart.Builder
DescriptorProtos.UninterpretedOption.NamePart.Builder. mergeFrom(Message other)
DoubleValue.Builder
DoubleValue.Builder. mergeFrom(Message other)
Duration.Builder
Duration.Builder. mergeFrom(Message other)
DynamicMessage.Builder
DynamicMessage.Builder. mergeFrom(Message other)
Empty.Builder
Empty.Builder. mergeFrom(Message other)
Enum.Builder
Enum.Builder. mergeFrom(Message other)
EnumValue.Builder
EnumValue.Builder. mergeFrom(Message other)
Field.Builder
Field.Builder. mergeFrom(Message other)
FieldMask.Builder
FieldMask.Builder. mergeFrom(Message other)
FloatValue.Builder
FloatValue.Builder. mergeFrom(Message other)
Int32Value.Builder
Int32Value.Builder. mergeFrom(Message other)
Int64Value.Builder
Int64Value.Builder. mergeFrom(Message other)
ListValue.Builder
ListValue.Builder. mergeFrom(Message other)
Message.Builder
Message.Builder. mergeFrom(Message other)
Mergeother
into the message being built.Method.Builder
Method.Builder. mergeFrom(Message other)
Mixin.Builder
Mixin.Builder. mergeFrom(Message other)
Option.Builder
Option.Builder. mergeFrom(Message other)
SourceContext.Builder
SourceContext.Builder. mergeFrom(Message other)
StringValue.Builder
StringValue.Builder. mergeFrom(Message other)
Struct.Builder
Struct.Builder. mergeFrom(Message other)
Timestamp.Builder
Timestamp.Builder. mergeFrom(Message other)
Type.Builder
Type.Builder. mergeFrom(Message other)
UInt32Value.Builder
UInt32Value.Builder. mergeFrom(Message other)
UInt64Value.Builder
UInt64Value.Builder. mergeFrom(Message other)
Value.Builder
Value.Builder. mergeFrom(Message other)
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 <ContainingType extends Message,Type>
GeneratedMessage.GeneratedExtension<ContainingType,Type>GeneratedMessage. newFileScopedGeneratedExtension(Class singularType, Message defaultInstance)
For use by generated code only.static <ContainingType extends Message,Type>
GeneratedMessage.GeneratedExtension<ContainingType,Type>GeneratedMessage. newFileScopedGeneratedExtension(Class singularType, Message defaultInstance, String descriptorOuterClass, String extensionName)
Used in proto1 generated code only.static <ContainingType extends Message,Type>
GeneratedMessage.GeneratedExtension<ContainingType,Type>GeneratedMessage. newMessageScopedGeneratedExtension(Message scope, int descriptorIndex, Class singularType, Message defaultInstance)
For use by generated code only.static <ContainingType extends Message,Type>
GeneratedMessage.GeneratedExtension<ContainingType,Type>GeneratedMessage. newMessageScopedGeneratedExtension(Message scope, String name, Class singularType, Message defaultInstance)
Used in proto1 generated code only.protected static 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 Message Modifier and Type Method Description 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.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 Message Modifier and Type Class Description static class
PluginProtos.CodeGeneratorRequest
An encoded CodeGeneratorRequest is written to the plugin's stdin.static class
PluginProtos.CodeGeneratorResponse
The plugin writes an encoded CodeGeneratorResponse to stdout.static class
PluginProtos.CodeGeneratorResponse.File
Represents a single generated file.static class
PluginProtos.Version
The version number of protocol compiler.Methods in com.google.protobuf.compiler with parameters of type Message Modifier and Type Method Description PluginProtos.CodeGeneratorRequest.Builder
PluginProtos.CodeGeneratorRequest.Builder. mergeFrom(Message other)
PluginProtos.CodeGeneratorResponse.Builder
PluginProtos.CodeGeneratorResponse.Builder. mergeFrom(Message other)
PluginProtos.CodeGeneratorResponse.File.Builder
PluginProtos.CodeGeneratorResponse.File.Builder. mergeFrom(Message other)
PluginProtos.Version.Builder
PluginProtos.Version.Builder. mergeFrom(Message other)
-