Uses of Interface
com.google.protobuf.Message

Uses of Message in com.google.protobuf
 

Classes in com.google.protobuf with type parameters of type Message
static class GeneratedMessage.GeneratedExtension<ContainingType extends Message,Type>
          Type used to represent generated extensions.
 

Classes in com.google.protobuf that implement Message
 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.DescriptorProto
           
static class DescriptorProtos.DescriptorProto.ExtensionRange
           
static class DescriptorProtos.EnumDescriptorProto
           
static class DescriptorProtos.EnumOptions
           
static class DescriptorProtos.EnumValueDescriptorProto
           
static class DescriptorProtos.EnumValueOptions
           
static class DescriptorProtos.FieldDescriptorProto
           
static class DescriptorProtos.FieldOptions
           
static class DescriptorProtos.FileDescriptorProto
           
static class DescriptorProtos.FileDescriptorSet
           
static class DescriptorProtos.FileOptions
           
static class DescriptorProtos.MessageOptions
           
static class DescriptorProtos.MethodDescriptorProto
           
static class DescriptorProtos.MethodOptions
           
static class DescriptorProtos.ServiceDescriptorProto
           
static class DescriptorProtos.ServiceOptions
           
static class DescriptorProtos.UninterpretedOption
           
static class DescriptorProtos.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.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>
          Generated message classes for message types that contain extension ranges subclass this.
 

Fields in com.google.protobuf declared as Message
 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
static
<Type extends Message>
RpcCallback<Message>
RpcUtil.generalizeCallback(RpcCallback<Type> originalCallback, java.lang.Class<Type> originalClass, Type defaultInstance)
          Take an RpcCallback accepting a specific message type and convert it to an RpcCallback<Message>.
static
<ContainingType extends Message,Type>
GeneratedMessage.GeneratedExtension<ContainingType,Type>
GeneratedMessage.newGeneratedExtension(Descriptors.FieldDescriptor descriptor, java.lang.Class<Type> type)
          For use by generated code only.
static
<ContainingType extends Message,Type>
GeneratedMessage.GeneratedExtension<ContainingType,java.util.List<Type>>
GeneratedMessage.newRepeatedGeneratedExtension(Descriptors.FieldDescriptor descriptor, java.lang.Class<Type> type)
          For use by generated code only.
static
<Type extends Message>
RpcCallback<Type>
RpcUtil.specializeCallback(RpcCallback<Message> originalCallback)
          Take an RpcCallback<Message> and convert it to an RpcCallback accepting a specific message type.
 

Methods in com.google.protobuf that return Message
 Message Message.Builder.build()
          Construct the final message.
 Message Message.Builder.buildPartial()
          Like Message.Builder.build(), but does not throw an exception if the message is missing required fields.
 Message BlockingService.callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request)
          Equivalent to Service.callMethod(com.google.protobuf.Descriptors.MethodDescriptor, com.google.protobuf.RpcController, com.google.protobuf.Message, com.google.protobuf.RpcCallback), 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.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype)
          Call the given method of the remote service and blocks until it returns.
 Message Message.getDefaultInstanceForType()
          Get an instance of the type with all fields set to their default values.
 Message Message.Builder.getDefaultInstanceForType()
          Get the message's type's default instance.
 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 the protocol message representation of the invalid descriptor.
 Message Service.getRequestPrototype(Descriptors.MethodDescriptor method)
          callMethod() requires that the request passed in is of a particular subclass of Message.
 Message BlockingService.getRequestPrototype(Descriptors.MethodDescriptor method)
          Equivalent to Service.getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor).
 Message Service.getResponsePrototype(Descriptors.MethodDescriptor method)
          Like getRequestPrototype(), but gets a prototype of the response message.
 Message BlockingService.getResponsePrototype(Descriptors.MethodDescriptor method)
          Equivalent to Service.getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor).
 

Methods in com.google.protobuf that return types with arguments of type Message
static
<Type extends Message>
RpcCallback<Message>
RpcUtil.generalizeCallback(RpcCallback<Type> originalCallback, java.lang.Class<Type> originalClass, Type defaultInstance)
          Take an RpcCallback accepting a specific message type and convert it to an RpcCallback<Message>.
 

Methods in com.google.protobuf with parameters of type Message
 void ExtensionRegistry.add(Descriptors.FieldDescriptor type, Message defaultInstance)
          Add a message-type extension to the registry by descriptor.
 Message BlockingService.callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request)
          Equivalent to Service.callMethod(com.google.protobuf.Descriptors.MethodDescriptor, com.google.protobuf.RpcController, com.google.protobuf.Message, com.google.protobuf.RpcCallback), 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.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype)
          Call the given method of the remote service and blocks until it returns.
 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 int CodedOutputStream.computeGroupSize(int fieldNumber, Message value)
          Compute the number of bytes that would be needed to encode a group field, including tag.
static int CodedOutputStream.computeGroupSizeNoTag(Message value)
          Compute the number of bytes that would be needed to encode a group field.
static int CodedOutputStream.computeMessageSetExtensionSize(int fieldNumber, Message value)
          Compute the number of bytes that would be needed to encode a MessageSet extension to the stream.
static int CodedOutputStream.computeMessageSize(int fieldNumber, Message value)
          Compute the number of bytes that would be needed to encode an embedded message field, including tag.
static int CodedOutputStream.computeMessageSizeNoTag(Message value)
          Compute the number of bytes that would be needed to encode an embedded message field.
 Message.Builder Message.Builder.mergeFrom(Message other)
          Merge other into the message being built.
 BuilderType GeneratedMessage.Builder.mergeFrom(Message other)
           
 DynamicMessage.Builder DynamicMessage.Builder.mergeFrom(Message other)
           
 DescriptorProtos.FileDescriptorSet.Builder DescriptorProtos.FileDescriptorSet.Builder.mergeFrom(Message other)
           
 DescriptorProtos.FileDescriptorProto.Builder DescriptorProtos.FileDescriptorProto.Builder.mergeFrom(Message other)
           
 DescriptorProtos.DescriptorProto.ExtensionRange.Builder DescriptorProtos.DescriptorProto.ExtensionRange.Builder.mergeFrom(Message other)
           
 DescriptorProtos.DescriptorProto.Builder DescriptorProtos.DescriptorProto.Builder.mergeFrom(Message other)
           
 DescriptorProtos.FieldDescriptorProto.Builder DescriptorProtos.FieldDescriptorProto.Builder.mergeFrom(Message other)
           
 DescriptorProtos.EnumDescriptorProto.Builder DescriptorProtos.EnumDescriptorProto.Builder.mergeFrom(Message other)
           
 DescriptorProtos.EnumValueDescriptorProto.Builder DescriptorProtos.EnumValueDescriptorProto.Builder.mergeFrom(Message other)
           
 DescriptorProtos.ServiceDescriptorProto.Builder DescriptorProtos.ServiceDescriptorProto.Builder.mergeFrom(Message other)
           
 DescriptorProtos.MethodDescriptorProto.Builder DescriptorProtos.MethodDescriptorProto.Builder.mergeFrom(Message other)
           
 DescriptorProtos.FileOptions.Builder DescriptorProtos.FileOptions.Builder.mergeFrom(Message other)
           
 DescriptorProtos.MessageOptions.Builder DescriptorProtos.MessageOptions.Builder.mergeFrom(Message other)
           
 DescriptorProtos.FieldOptions.Builder DescriptorProtos.FieldOptions.Builder.mergeFrom(Message other)
           
 DescriptorProtos.EnumOptions.Builder DescriptorProtos.EnumOptions.Builder.mergeFrom(Message other)
           
 DescriptorProtos.EnumValueOptions.Builder DescriptorProtos.EnumValueOptions.Builder.mergeFrom(Message other)
           
 DescriptorProtos.ServiceOptions.Builder DescriptorProtos.ServiceOptions.Builder.mergeFrom(Message other)
           
 DescriptorProtos.MethodOptions.Builder DescriptorProtos.MethodOptions.Builder.mergeFrom(Message other)
           
 DescriptorProtos.UninterpretedOption.NamePart.Builder DescriptorProtos.UninterpretedOption.NamePart.Builder.mergeFrom(Message other)
           
 DescriptorProtos.UninterpretedOption.Builder DescriptorProtos.UninterpretedOption.Builder.mergeFrom(Message other)
           
 BuilderType AbstractMessage.Builder.mergeFrom(Message other)
           
static DynamicMessage.Builder DynamicMessage.newBuilder(Message prototype)
          Construct a DynamicMessage.Builder for a message of the same type as prototype, and initialize it with prototype's contents.
static void TextFormat.print(Message message, java.lang.Appendable output)
          Outputs a textual representation of the Protocol Message supplied into the parameter output.
static java.lang.String TextFormat.printToString(Message message)
          Like print(), but writes directly to a String and returns it.
 void CodedOutputStream.writeGroup(int fieldNumber, Message value)
          Write a group field, including tag, to the stream.
 void CodedOutputStream.writeGroupNoTag(Message value)
          Write a group field to the stream.
 void CodedOutputStream.writeMessage(int fieldNumber, Message value)
          Write an embedded message field, including tag, to the stream.
 void CodedOutputStream.writeMessageNoTag(Message value)
          Write an embedded message field to the stream.
 void CodedOutputStream.writeMessageSetExtension(int fieldNumber, Message value)
          Write a MessageSet extension field to the stream.
 

Method parameters in com.google.protobuf with type arguments of type Message
 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 an RpcCallback<Message> and convert it to an RpcCallback accepting a specific message type.
 

Constructors in com.google.protobuf with parameters of type Message
UninitializedMessageException(Message message)
           
 



Copyright © 2008-2009. All Rights Reserved.