| Package | Description |
|---|---|
| com.google.protobuf |
| Modifier and Type | Class and Description |
|---|---|
static class |
GeneratedMessage
Type used to represent generated extensions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMessage
A partial implementation of the
Message interface which implements as many methods of that interface as possible in terms of other methods.
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.DescriptorProto
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.DescriptorProto.ExtensionRange
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.EnumDescriptorProto
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.EnumOptions
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.EnumValueDescriptorProto
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.EnumValueOptions
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.FieldDescriptorProto
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.FieldOptions
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.FileDescriptorProto
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.FileDescriptorSet
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.FileOptions
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.MessageOptions
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.MethodDescriptorProto
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.MethodOptions
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.OneofDescriptorProto
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.ServiceDescriptorProto
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.ServiceOptions
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.SourceCodeInfo
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.SourceCodeInfo.Location
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.UninterpretedOption
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.UninterpretedOption.NamePart
|
class |
DynamicMessage
An implementation of
Message that can represent arbitrary types, given a
Descriptors.Descriptor.
|
class |
GeneratedMessage
All generated protocol message classes extend this class.
|
static class |
GeneratedMessage
Generated message classes for message types that contain extension ranges subclass this.
|
| Modifier and Type | Field and Description |
|---|---|
Message |
ExtensionRegistry.ExtensionInfo.defaultInstance
A default instance of the extension's type, if it has a message type.
|
| Modifier and Type | Method and Description |
|---|---|
static <Type extends Message |
RpcUtil.generalizeCallback(RpcCallback
Take an
RpcCallback accepting a specific message type and convert it to an
RpcCallback<Message>.
|
static <ContainingType extends Message |
GeneratedMessage.newFileScopedGeneratedExtension(Class
For use by generated code only.
|
static <ContainingType extends Message |
GeneratedMessage.newFileScopedGeneratedExtension(Class
Used in proto1 generated code only.
|
static <ContainingType extends Message |
GeneratedMessage.newMessageScopedGeneratedExtension(Message
For use by generated code only.
|
static <ContainingType extends Message |
GeneratedMessage.newMessageScopedGeneratedExtension(Message
Used in proto1 generated code only.
|
static <Type extends Message |
RpcUtil.specializeCallback(RpcCallback
Take an
RpcCallback<Message> and convert it to an
RpcCallback accepting a specific message type.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
Message.Builder.build()
|
Message |
Message.Builder.buildPartial()
|
Message |
BlockingService.callBlockingMethod(Descriptors
Equivalent to
Service, except that
callBlockingMethod() returns the result of the RPC or throws a
ServiceException if there is a failure, rather than passing the information to a callback.
|
Message |
BlockingRpcChannel.callBlockingMethod(Descriptors
Call the given method of the remote service and blocks until it returns.
|
Message |
GeneratedMessage.ExtendableMessageOrBuilder.getDefaultInstanceForType()
|
Message |
MessageOrBuilder.getDefaultInstanceForType()
|
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
|
Message |
Service.getRequestPrototype(Descriptors
callMethod() requires that the request passed in is of a particular subclass of
Message.
|
Message |
BlockingService.getResponsePrototype(Descriptors
|
Message |
Service.getResponsePrototype(Descriptors
Like
getRequestPrototype(), but gets a prototype of the response message.
|
abstract Message |
Descriptors.GenericDescriptor.toProto()
|
| Modifier and Type | Method and Description |
|---|---|
static <Type extends Message |
RpcUtil.generalizeCallback(RpcCallback
Take an
RpcCallback accepting a specific message type and convert it to an
RpcCallback<Message>.
|
Parser |
Message.getParserForType()
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExtensionRegistry.add(Descriptors
Add a message-type extension to the registry by descriptor.
|
Message |
BlockingService.callBlockingMethod(Descriptors
Equivalent to
Service, except that
callBlockingMethod() returns the result of the RPC or throws a
ServiceException if there is a failure, rather than passing the information to a callback.
|
Message |
BlockingRpcChannel.callBlockingMethod(Descriptors
Call the given method of the remote service and blocks until it returns.
|
void |
RpcChannel.callMethod(Descriptors
Call the given method of the remote service.
|
void |
Service.callMethod(Descriptors
Call a method of the service specified by MethodDescriptor.
|
Message |
Message.Builder.mergeFrom(Message
Merge
other into the message being built.
|
DescriptorProtos |
DescriptorProtos.FileDescriptorSet.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.FileDescriptorProto.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.DescriptorProto.ExtensionRange.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.DescriptorProto.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.FieldDescriptorProto.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.OneofDescriptorProto.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.EnumDescriptorProto.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.EnumValueDescriptorProto.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.ServiceDescriptorProto.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.MethodDescriptorProto.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.FileOptions.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.MessageOptions.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.FieldOptions.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.EnumOptions.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.EnumValueOptions.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.ServiceOptions.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.MethodOptions.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.UninterpretedOption.NamePart.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.UninterpretedOption.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.SourceCodeInfo.Location.Builder.mergeFrom(Message
|
DescriptorProtos |
DescriptorProtos.SourceCodeInfo.Builder.mergeFrom(Message
|
BuilderType |
AbstractMessage.Builder.mergeFrom(Message
|
DynamicMessage |
DynamicMessage.Builder.mergeFrom(Message
|
static DynamicMessage |
DynamicMessage.newBuilder(Message
Construct a
Message.Builder for a message of the same type as
prototype, and initialize it with
prototype's contents.
|
static <ContainingType extends Message |
GeneratedMessage.newFileScopedGeneratedExtension(Class
For use by generated code only.
|
static <ContainingType extends Message |
GeneratedMessage.newFileScopedGeneratedExtension(Class
Used in proto1 generated code only.
|
static <ContainingType extends Message |
GeneratedMessage.newMessageScopedGeneratedExtension(Message
For use by generated code only.
|
static <ContainingType extends Message |
GeneratedMessage.newMessageScopedGeneratedExtension(Message
Used in proto1 generated code only.
|
protected static UninitializedMessageException |
AbstractMessage.Builder.newUninitializedMessageException(Message
Construct an UninitializedMessageException reporting missing fields in the given message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RpcChannel.callMethod(Descriptors
Call the given method of the remote service.
|
void |
Service.callMethod(Descriptors
Call a method of the service specified by MethodDescriptor.
|
static <Type extends Message |
RpcUtil.specializeCallback(RpcCallback
Take an
RpcCallback<Message> and convert it to an
RpcCallback accepting a specific message type.
|