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 classGeneratedMessage.GeneratedExtension<ContainingT extends Message,T>Type used to represent generated extensions.Classes in com.google.protobuf that implement Message Modifier and Type Class Description classAbstractMessageA partial implementation of theMessageinterface which implements as many methods of that interface as possible in terms of other methods.classAnyProtobuf typegoogle.protobuf.AnyclassApiProtobuf typegoogle.protobuf.ApiclassBoolValueProtobuf typegoogle.protobuf.BoolValueclassBytesValueProtobuf typegoogle.protobuf.BytesValuestatic classDescriptorProtos.DescriptorProtoProtobuf typegoogle.protobuf.DescriptorProtostatic classDescriptorProtos.DescriptorProto.ExtensionRangeProtobuf typegoogle.protobuf.DescriptorProto.ExtensionRangestatic classDescriptorProtos.DescriptorProto.ReservedRangeProtobuf typegoogle.protobuf.DescriptorProto.ReservedRangestatic classDescriptorProtos.EnumDescriptorProtoProtobuf typegoogle.protobuf.EnumDescriptorProtostatic classDescriptorProtos.EnumDescriptorProto.EnumReservedRangeProtobuf typegoogle.protobuf.EnumDescriptorProto.EnumReservedRangestatic classDescriptorProtos.EnumOptionsProtobuf typegoogle.protobuf.EnumOptionsstatic classDescriptorProtos.EnumValueDescriptorProtoProtobuf typegoogle.protobuf.EnumValueDescriptorProtostatic classDescriptorProtos.EnumValueOptionsProtobuf typegoogle.protobuf.EnumValueOptionsstatic classDescriptorProtos.ExtensionRangeOptionsProtobuf typegoogle.protobuf.ExtensionRangeOptionsstatic classDescriptorProtos.ExtensionRangeOptions.DeclarationProtobuf typegoogle.protobuf.ExtensionRangeOptions.Declarationstatic classDescriptorProtos.FeatureSetProtobuf typegoogle.protobuf.FeatureSetstatic classDescriptorProtos.FeatureSet.VisibilityFeatureProtobuf typegoogle.protobuf.FeatureSet.VisibilityFeaturestatic classDescriptorProtos.FeatureSetDefaultsProtobuf typegoogle.protobuf.FeatureSetDefaultsstatic classDescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultProtobuf typegoogle.protobuf.FeatureSetDefaults.FeatureSetEditionDefaultstatic classDescriptorProtos.FieldDescriptorProtoProtobuf typegoogle.protobuf.FieldDescriptorProtostatic classDescriptorProtos.FieldOptionsProtobuf typegoogle.protobuf.FieldOptionsstatic classDescriptorProtos.FieldOptions.EditionDefaultProtobuf typegoogle.protobuf.FieldOptions.EditionDefaultstatic classDescriptorProtos.FieldOptions.FeatureSupportProtobuf typegoogle.protobuf.FieldOptions.FeatureSupportstatic classDescriptorProtos.FileDescriptorProtoProtobuf typegoogle.protobuf.FileDescriptorProtostatic classDescriptorProtos.FileDescriptorSetProtobuf typegoogle.protobuf.FileDescriptorSetstatic classDescriptorProtos.FileOptionsProtobuf typegoogle.protobuf.FileOptionsstatic classDescriptorProtos.GeneratedCodeInfoProtobuf typegoogle.protobuf.GeneratedCodeInfostatic classDescriptorProtos.GeneratedCodeInfo.AnnotationProtobuf typegoogle.protobuf.GeneratedCodeInfo.Annotationstatic classDescriptorProtos.MessageOptionsProtobuf typegoogle.protobuf.MessageOptionsstatic classDescriptorProtos.MethodDescriptorProtoProtobuf typegoogle.protobuf.MethodDescriptorProtostatic classDescriptorProtos.MethodOptionsProtobuf typegoogle.protobuf.MethodOptionsstatic classDescriptorProtos.OneofDescriptorProtoProtobuf typegoogle.protobuf.OneofDescriptorProtostatic classDescriptorProtos.OneofOptionsProtobuf typegoogle.protobuf.OneofOptionsstatic classDescriptorProtos.ServiceDescriptorProtoProtobuf typegoogle.protobuf.ServiceDescriptorProtostatic classDescriptorProtos.ServiceOptionsProtobuf typegoogle.protobuf.ServiceOptionsstatic classDescriptorProtos.SourceCodeInfoProtobuf typegoogle.protobuf.SourceCodeInfostatic classDescriptorProtos.SourceCodeInfo.LocationProtobuf typegoogle.protobuf.SourceCodeInfo.Locationstatic classDescriptorProtos.UninterpretedOptionProtobuf typegoogle.protobuf.UninterpretedOptionstatic classDescriptorProtos.UninterpretedOption.NamePartProtobuf typegoogle.protobuf.UninterpretedOption.NamePartclassDoubleValueProtobuf typegoogle.protobuf.DoubleValueclassDurationProtobuf typegoogle.protobuf.DurationclassDynamicMessageAn implementation ofMessagethat can represent arbitrary types, given aDescriptors.Descriptor.classEmptyProtobuf typegoogle.protobuf.EmptyclassEnumProtobuf typegoogle.protobuf.EnumclassEnumValueProtobuf typegoogle.protobuf.EnumValueclassFieldProtobuf typegoogle.protobuf.FieldclassFieldMaskProtobuf typegoogle.protobuf.FieldMaskclassFloatValueProtobuf typegoogle.protobuf.FloatValueclassGeneratedMessageAll generated protocol message classes extend this class.static classGeneratedMessage.ExtendableMessage<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>>Generated message classes for message types that contain extension ranges subclass this.classGeneratedMessageV3Deprecated.This class is deprecated, and slated for removal in the next Java breaking change (5.x).static classGeneratedMessageV3.ExtendableMessage<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>Deprecated.This class is deprecated, and slated for removal in the next Java breaking change (5.x).classInt32ValueProtobuf typegoogle.protobuf.Int32ValueclassInt64ValueProtobuf typegoogle.protobuf.Int64Valuestatic classJavaFeaturesProto.JavaFeaturesProtobuf typepb.JavaFeaturesstatic classJavaFeaturesProto.JavaFeatures.NestInFileClassFeatureProtobuf typepb.JavaFeatures.NestInFileClassFeatureclassListValueProtobuf typegoogle.protobuf.ListValueclassMapEntry<K,V>Implements MapEntry messages.classMethodProtobuf typegoogle.protobuf.MethodclassMixinProtobuf typegoogle.protobuf.MixinclassOptionProtobuf typegoogle.protobuf.OptionclassSourceContextProtobuf typegoogle.protobuf.SourceContextclassStringValueProtobuf typegoogle.protobuf.StringValueclassStructProtobuf typegoogle.protobuf.StructclassTimestampProtobuf typegoogle.protobuf.TimestampclassTypeProtobuf typegoogle.protobuf.TypeclassUInt32ValueProtobuf typegoogle.protobuf.UInt32ValueclassUInt64ValueProtobuf typegoogle.protobuf.UInt64ValueclassValueProtobuf typegoogle.protobuf.ValueFields in com.google.protobuf declared as Message Modifier and Type Field Description MessageExtensionRegistry.ExtensionInfo. defaultInstanceA 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, java.lang.Class<Type> originalClass, Type defaultInstance)Take anRpcCallbackaccepting a specific message type and convert it to anRpcCallback<Message>.<T extends Message>
booleanAny. is(java.lang.Class<T> clazz)static <ContainingT extends Message,T>
GeneratedMessage.GeneratedExtension<ContainingT,T>GeneratedMessage. newFileScopedGeneratedExtension(java.lang.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, java.lang.Class<?> singularType, Message defaultInstance)For use by generated code only.static <T extends Message>
AnyAny. pack(T message)static <T extends Message>
AnyAny. pack(T message, java.lang.String typeUrlPrefix)Packs a message using the given type URL prefix.static <T extends Message>
TTextFormat. parse(java.lang.CharSequence input, ExtensionRegistry extensionRegistry, java.lang.Class<T> protoClass)Parse a text-format message frominput.static <T extends Message>
TTextFormat. parse(java.lang.CharSequence input, java.lang.Class<T> protoClass)Parse a text-format message frominput.protected static <M extends Message>
MGeneratedMessage. parseDelimitedWithIOException(Parser<M> parser, java.io.InputStream input)Used by generated code.protected static <M extends Message>
MGeneratedMessage. parseDelimitedWithIOException(Parser<M> parser, java.io.InputStream input, ExtensionRegistryLite extensions)Used by generated code.protected static <M extends Message>
MGeneratedMessage. parseWithIOException(Parser<M> parser, CodedInputStream input)Used by generated code.protected static <M extends Message>
MGeneratedMessage. parseWithIOException(Parser<M> parser, CodedInputStream input, ExtensionRegistryLite extensions)Used by generated code.protected static <M extends Message>
MGeneratedMessage. parseWithIOException(Parser<M> parser, java.io.InputStream input)Used by generated code.protected static <M extends Message>
MGeneratedMessage. parseWithIOException(Parser<M> parser, java.io.InputStream input, ExtensionRegistryLite extensions)Used by generated code.static <Type extends Message>
RpcCallback<Type>RpcUtil. specializeCallback(RpcCallback<Message> originalCallback)Take anRpcCallback<Message>and convert it to anRpcCallbackaccepting a specific message type.<T extends Message>
TAny. unpack(java.lang.Class<T> clazz)<T extends Message>
TAny. unpackSameTypeAs(T message)static <T extends Message>
Parser<T>DiscardUnknownFieldsParser. wrap(Parser<T> parser)Methods in com.google.protobuf that return Message Modifier and Type Method Description MessageMessage.Builder. build()MessageMessage.Builder. buildPartial()MessageBlockingRpcChannel. callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype)Call the given method of the remote service and blocks until it returns.MessageBlockingService. 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 aServiceExceptionif there is a failure, rather than passing the information to a callback.MessageGeneratedMessage.ExtendableMessageOrBuilder. getDefaultInstanceForType()MessageMessageOrBuilder. getDefaultInstanceForType()abstract MessageExtension. getMessageDefaultInstance()Returns the default instance of the extension field, if it's a message extension.MessageGeneratedMessage.GeneratedExtension. getMessageDefaultInstance()If the extension is an embedded message or group, returns the default instance of the message.MessageDescriptors.DescriptorValidationException. getProblemProto()Gets the protocol message representation of the invalid descriptor.MessageBlockingService. getRequestPrototype(Descriptors.MethodDescriptor method)MessageService. getRequestPrototype(Descriptors.MethodDescriptor method)callMethod()requires that the request passed in is of a particular subclass ofMessage.MessageBlockingService. getResponsePrototype(Descriptors.MethodDescriptor method)MessageService. getResponsePrototype(Descriptors.MethodDescriptor method)LikegetRequestPrototype(), but gets a prototype of the response message.abstract MessageDescriptors.GenericDescriptor. toProto()Methods in com.google.protobuf that return types with arguments of type Message Modifier and Type Method Description java.util.List<Message>MapFieldBuilder. ensureMessageList()static <Type extends Message>
RpcCallback<Message>RpcUtil. generalizeCallback(RpcCallback<Type> originalCallback, java.lang.Class<Type> originalClass, Type defaultInstance)Take anRpcCallbackaccepting 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 voidExtensionRegistry. add(Descriptors.FieldDescriptor type, Message defaultInstance)Add a message-type extension to the registry by descriptor.MessageBlockingRpcChannel. callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype)Call the given method of the remote service and blocks until it returns.MessageBlockingService. 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 aServiceExceptionif there is a failure, rather than passing the information to a callback.voidRpcChannel. callMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype, RpcCallback<Message> done)Call the given method of the remote service.voidService. callMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, RpcCallback<Message> done)Call a method of the service specified by MethodDescriptor.booleanAny. isSameTypeAs(Message message)BuilderTypeAbstractMessage.Builder. mergeFrom(Message other)Any.BuilderAny.Builder. mergeFrom(Message other)Api.BuilderApi.Builder. mergeFrom(Message other)BoolValue.BuilderBoolValue.Builder. mergeFrom(Message other)BytesValue.BuilderBytesValue.Builder. mergeFrom(Message other)DescriptorProtos.DescriptorProto.BuilderDescriptorProtos.DescriptorProto.Builder. mergeFrom(Message other)DescriptorProtos.DescriptorProto.ExtensionRange.BuilderDescriptorProtos.DescriptorProto.ExtensionRange.Builder. mergeFrom(Message other)DescriptorProtos.DescriptorProto.ReservedRange.BuilderDescriptorProtos.DescriptorProto.ReservedRange.Builder. mergeFrom(Message other)DescriptorProtos.EnumDescriptorProto.BuilderDescriptorProtos.EnumDescriptorProto.Builder. mergeFrom(Message other)DescriptorProtos.EnumDescriptorProto.EnumReservedRange.BuilderDescriptorProtos.EnumDescriptorProto.EnumReservedRange.Builder. mergeFrom(Message other)DescriptorProtos.EnumOptions.BuilderDescriptorProtos.EnumOptions.Builder. mergeFrom(Message other)DescriptorProtos.EnumValueDescriptorProto.BuilderDescriptorProtos.EnumValueDescriptorProto.Builder. mergeFrom(Message other)DescriptorProtos.EnumValueOptions.BuilderDescriptorProtos.EnumValueOptions.Builder. mergeFrom(Message other)DescriptorProtos.ExtensionRangeOptions.BuilderDescriptorProtos.ExtensionRangeOptions.Builder. mergeFrom(Message other)DescriptorProtos.ExtensionRangeOptions.Declaration.BuilderDescriptorProtos.ExtensionRangeOptions.Declaration.Builder. mergeFrom(Message other)DescriptorProtos.FeatureSet.BuilderDescriptorProtos.FeatureSet.Builder. mergeFrom(Message other)DescriptorProtos.FeatureSet.VisibilityFeature.BuilderDescriptorProtos.FeatureSet.VisibilityFeature.Builder. mergeFrom(Message other)DescriptorProtos.FeatureSetDefaults.BuilderDescriptorProtos.FeatureSetDefaults.Builder. mergeFrom(Message other)DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault.BuilderDescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault.Builder. mergeFrom(Message other)DescriptorProtos.FieldDescriptorProto.BuilderDescriptorProtos.FieldDescriptorProto.Builder. mergeFrom(Message other)DescriptorProtos.FieldOptions.BuilderDescriptorProtos.FieldOptions.Builder. mergeFrom(Message other)DescriptorProtos.FieldOptions.EditionDefault.BuilderDescriptorProtos.FieldOptions.EditionDefault.Builder. mergeFrom(Message other)DescriptorProtos.FieldOptions.FeatureSupport.BuilderDescriptorProtos.FieldOptions.FeatureSupport.Builder. mergeFrom(Message other)DescriptorProtos.FileDescriptorProto.BuilderDescriptorProtos.FileDescriptorProto.Builder. mergeFrom(Message other)DescriptorProtos.FileDescriptorSet.BuilderDescriptorProtos.FileDescriptorSet.Builder. mergeFrom(Message other)DescriptorProtos.FileOptions.BuilderDescriptorProtos.FileOptions.Builder. mergeFrom(Message other)DescriptorProtos.GeneratedCodeInfo.Annotation.BuilderDescriptorProtos.GeneratedCodeInfo.Annotation.Builder. mergeFrom(Message other)DescriptorProtos.GeneratedCodeInfo.BuilderDescriptorProtos.GeneratedCodeInfo.Builder. mergeFrom(Message other)DescriptorProtos.MessageOptions.BuilderDescriptorProtos.MessageOptions.Builder. mergeFrom(Message other)DescriptorProtos.MethodDescriptorProto.BuilderDescriptorProtos.MethodDescriptorProto.Builder. mergeFrom(Message other)DescriptorProtos.MethodOptions.BuilderDescriptorProtos.MethodOptions.Builder. mergeFrom(Message other)DescriptorProtos.OneofDescriptorProto.BuilderDescriptorProtos.OneofDescriptorProto.Builder. mergeFrom(Message other)DescriptorProtos.OneofOptions.BuilderDescriptorProtos.OneofOptions.Builder. mergeFrom(Message other)DescriptorProtos.ServiceDescriptorProto.BuilderDescriptorProtos.ServiceDescriptorProto.Builder. mergeFrom(Message other)DescriptorProtos.ServiceOptions.BuilderDescriptorProtos.ServiceOptions.Builder. mergeFrom(Message other)DescriptorProtos.SourceCodeInfo.BuilderDescriptorProtos.SourceCodeInfo.Builder. mergeFrom(Message other)DescriptorProtos.SourceCodeInfo.Location.BuilderDescriptorProtos.SourceCodeInfo.Location.Builder. mergeFrom(Message other)DescriptorProtos.UninterpretedOption.BuilderDescriptorProtos.UninterpretedOption.Builder. mergeFrom(Message other)DescriptorProtos.UninterpretedOption.NamePart.BuilderDescriptorProtos.UninterpretedOption.NamePart.Builder. mergeFrom(Message other)DoubleValue.BuilderDoubleValue.Builder. mergeFrom(Message other)Duration.BuilderDuration.Builder. mergeFrom(Message other)DynamicMessage.BuilderDynamicMessage.Builder. mergeFrom(Message other)Empty.BuilderEmpty.Builder. mergeFrom(Message other)Enum.BuilderEnum.Builder. mergeFrom(Message other)EnumValue.BuilderEnumValue.Builder. mergeFrom(Message other)Field.BuilderField.Builder. mergeFrom(Message other)FieldMask.BuilderFieldMask.Builder. mergeFrom(Message other)FloatValue.BuilderFloatValue.Builder. mergeFrom(Message other)Int32Value.BuilderInt32Value.Builder. mergeFrom(Message other)Int64Value.BuilderInt64Value.Builder. mergeFrom(Message other)JavaFeaturesProto.JavaFeatures.BuilderJavaFeaturesProto.JavaFeatures.Builder. mergeFrom(Message other)JavaFeaturesProto.JavaFeatures.NestInFileClassFeature.BuilderJavaFeaturesProto.JavaFeatures.NestInFileClassFeature.Builder. mergeFrom(Message other)ListValue.BuilderListValue.Builder. mergeFrom(Message other)Message.BuilderMessage.Builder. mergeFrom(Message other)Mergeotherinto the message being built.Method.BuilderMethod.Builder. mergeFrom(Message other)Mixin.BuilderMixin.Builder. mergeFrom(Message other)Option.BuilderOption.Builder. mergeFrom(Message other)SourceContext.BuilderSourceContext.Builder. mergeFrom(Message other)StringValue.BuilderStringValue.Builder. mergeFrom(Message other)Struct.BuilderStruct.Builder. mergeFrom(Message other)Timestamp.BuilderTimestamp.Builder. mergeFrom(Message other)Type.BuilderType.Builder. mergeFrom(Message other)UInt32Value.BuilderUInt32Value.Builder. mergeFrom(Message other)UInt64Value.BuilderUInt64Value.Builder. mergeFrom(Message other)Value.BuilderValue.Builder. mergeFrom(Message other)static DynamicMessage.BuilderDynamicMessage. newBuilder(Message prototype)Construct aMessage.Builderfor a message of the same type asprototype, and initialize it withprototype's contents.static <ContainingT extends Message,T>
GeneratedMessage.GeneratedExtension<ContainingT,T>GeneratedMessage. newFileScopedGeneratedExtension(java.lang.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, java.lang.Class<?> singularType, Message defaultInstance)For use by generated code only.protected static UninitializedMessageExceptionAbstractMessage.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 voidRpcChannel. callMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype, RpcCallback<Message> done)Call the given method of the remote service.voidService. 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 anRpcCallbackaccepting 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 classPluginProtos.CodeGeneratorRequestProtobuf typegoogle.protobuf.compiler.CodeGeneratorRequeststatic classPluginProtos.CodeGeneratorResponseProtobuf typegoogle.protobuf.compiler.CodeGeneratorResponsestatic classPluginProtos.CodeGeneratorResponse.FileProtobuf typegoogle.protobuf.compiler.CodeGeneratorResponse.Filestatic classPluginProtos.VersionProtobuf typegoogle.protobuf.compiler.VersionMethods in com.google.protobuf.compiler with parameters of type Message Modifier and Type Method Description PluginProtos.CodeGeneratorRequest.BuilderPluginProtos.CodeGeneratorRequest.Builder. mergeFrom(Message other)PluginProtos.CodeGeneratorResponse.BuilderPluginProtos.CodeGeneratorResponse.Builder. mergeFrom(Message other)PluginProtos.CodeGeneratorResponse.File.BuilderPluginProtos.CodeGeneratorResponse.File.Builder. mergeFrom(Message other)PluginProtos.Version.BuilderPluginProtos.Version.Builder. mergeFrom(Message other)
-