Uses of Interface
com.google.protobuf.Message
-
Packages that use Message Package Description com.google.protobuf com.google.protobuf.compiler com.google.protobuf.util -
-
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.classAny`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.classApiApi is a light-weight descriptor for an API Interface.classBoolValueWrapper message for `bool`.classBytesValueWrapper message for `bytes`.static classDescriptorProtos.DescriptorProtoDescribes a message type.static classDescriptorProtos.DescriptorProto.ExtensionRangeProtobuf typegoogle.protobuf.DescriptorProto.ExtensionRangestatic classDescriptorProtos.DescriptorProto.ReservedRangeRange of reserved tag numbers.static classDescriptorProtos.EnumDescriptorProtoDescribes an enum type.static classDescriptorProtos.EnumDescriptorProto.EnumReservedRangeRange of reserved numeric values.static classDescriptorProtos.EnumOptionsProtobuf typegoogle.protobuf.EnumOptionsstatic classDescriptorProtos.EnumValueDescriptorProtoDescribes a value within an enum.static classDescriptorProtos.EnumValueOptionsProtobuf typegoogle.protobuf.EnumValueOptionsstatic classDescriptorProtos.ExtensionRangeOptionsProtobuf typegoogle.protobuf.ExtensionRangeOptionsstatic classDescriptorProtos.ExtensionRangeOptions.DeclarationProtobuf typegoogle.protobuf.ExtensionRangeOptions.Declarationstatic classDescriptorProtos.FeatureSetTODO Enums in C++ gencode (and potentially other languages) are not well scoped.static classDescriptorProtos.FeatureSetDefaultsA compiled specification for the defaults of a set of features.static classDescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultA map from every known edition with a unique set of defaults to its defaults.static classDescriptorProtos.FieldDescriptorProtoDescribes a field within a message.static classDescriptorProtos.FieldOptionsProtobuf typegoogle.protobuf.FieldOptionsstatic classDescriptorProtos.FieldOptions.EditionDefaultProtobuf typegoogle.protobuf.FieldOptions.EditionDefaultstatic classDescriptorProtos.FieldOptions.FeatureSupportInformation about the support window of a feature.static classDescriptorProtos.FileDescriptorProtoDescribes a complete .proto file.static classDescriptorProtos.FileDescriptorSetThe protocol compiler can output a FileDescriptorSet containing the .proto files it parses.static classDescriptorProtos.FileOptionsProtobuf typegoogle.protobuf.FileOptionsstatic classDescriptorProtos.GeneratedCodeInfoDescribes the relationship between generated code and its original source file.static classDescriptorProtos.GeneratedCodeInfo.AnnotationProtobuf typegoogle.protobuf.GeneratedCodeInfo.Annotationstatic classDescriptorProtos.MessageOptionsProtobuf typegoogle.protobuf.MessageOptionsstatic classDescriptorProtos.MethodDescriptorProtoDescribes a method of a service.static classDescriptorProtos.MethodOptionsProtobuf typegoogle.protobuf.MethodOptionsstatic classDescriptorProtos.OneofDescriptorProtoDescribes a oneof.static classDescriptorProtos.OneofOptionsProtobuf typegoogle.protobuf.OneofOptionsstatic classDescriptorProtos.ServiceDescriptorProtoDescribes a service.static classDescriptorProtos.ServiceOptionsProtobuf typegoogle.protobuf.ServiceOptionsstatic classDescriptorProtos.SourceCodeInfoEncapsulates information about the original source file from which a FileDescriptorProto was generated.static classDescriptorProtos.SourceCodeInfo.LocationProtobuf typegoogle.protobuf.SourceCodeInfo.Locationstatic classDescriptorProtos.UninterpretedOptionA message representing a option the parser does not recognize.static classDescriptorProtos.UninterpretedOption.NamePartThe name of the uninterpreted option.classDoubleValueWrapper message for `double`.classDurationA Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.classDynamicMessageAn implementation ofMessagethat can represent arbitrary types, given aDescriptors.Descriptor.classEmptyA generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.classEnumEnum type definition.classEnumValueEnum value definition.classFieldA single field of a message type.classFieldMask`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`.classFloatValueWrapper message for `float`.classGeneratedMessageAll 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).classInt32ValueWrapper message for `int32`.classInt64ValueWrapper message for `int64`.static classJavaFeaturesProto.JavaFeaturesProtobuf typepb.JavaFeaturesclassListValue`ListValue` is a wrapper around a repeated field of values.classMapEntry<K,V>Implements MapEntry messages.classMethodMethod represents a method of an API interface.classMixinDeclares an API Interface to be included in this interface.classOptionA protocol buffer option, which can be attached to a message, field, enumeration, etc.classSourceContext`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.classStringValueWrapper message for `string`.classStruct`Struct` represents a structured data value, consisting of fields which map to dynamically typed values.classTimestampA 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.classTypeA protocol buffer message type.classUInt32ValueWrapper message for `uint32`.classUInt64ValueWrapper message for `uint64`.classValue`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 private MessageAny. cachedUnpackValueMessageExtensionRegistry.ExtensionInfo. defaultInstanceA default instance of the extension's type, if it has a message type.private MessageGeneratedMessage.FieldAccessorTable.MapFieldAccessor. mapEntryMessageDefaultInstanceprivate MessageGeneratedMessage.GeneratedExtension. messageDefaultInstanceprivate MessageDescriptors.DescriptorValidationException. protoFields in com.google.protobuf with type parameters of type Message Modifier and Type Field Description private java.util.List<Message>MapField. listData(package private) java.util.List<Message>MapFieldBuilder. messageListnullableMethods in com.google.protobuf with type parameters of type Message Modifier and Type Method Description private static <Type extends Message>
TypeRpcUtil. copyAsType(Type typeDefaultInstance, Message source)Creates a new message of type "Type" which is a copy of "source".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.private MessageGeneratedMessage.FieldAccessorTable.MapFieldAccessor. coerceType(Message value)MessageMapField.Converter. convertKeyAndValueToMessage(K key, V value)private MessageMapField. convertKeyAndValueToMessage(K key, V value)MessageMapField.ImmutableMessageConverter. convertKeyAndValueToMessage(K key, V value)private static MessageDescriptorMessageInfoFactory. getDefaultInstance(java.lang.Class<?> messageType)MessageGeneratedMessage.ExtendableMessageOrBuilder. getDefaultInstanceForType()MessageMessageOrBuilder. getDefaultInstanceForType()(package private) MessageMapField. getMapEntryMessageDefaultInstance()Gets the default instance of the message stored in the list view of this map field.(package private) MessageMapFieldBuilder. getMapEntryMessageDefaultInstance()Gets the default instance of the message stored in the list view of this map field.(package private) abstract MessageMapFieldReflectionAccessor. getMapEntryMessageDefaultInstance()Gets the default instance of the message stored in the list view of this map field.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.MessageMapField.Converter. getMessageDefaultInstance()MessageMapField.ImmutableMessageConverter. getMessageDefaultInstance()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.MessageDescriptors.DescriptorPool.PackageDescriptor. toProto()abstract MessageDescriptors.GenericDescriptor. toProto()Methods in com.google.protobuf that return types with arguments of type Message Modifier and Type Method Description private java.util.List<Message>MapField. convertMapToList(MapField.MutabilityAwareMap<K,V> mapData)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>.(package private) java.util.List<Message>MapField. getList()Gets the content of this MapField as a read-only List.(package private) java.util.List<Message>MapFieldBuilder. getList()Gets the content of this MapField as a read-only List.(package private) abstract java.util.List<Message>MapFieldReflectionAccessor. getList()Gets the content of this MapField as a list of read-only values.(package private) java.util.List<Message>MapField. getMutableList()Gets a mutable List view of this MapField.(package private) java.util.List<Message>MapFieldBuilder. getMutableList()Gets a mutable List view of this MapField.(package private) abstract java.util.List<Message>MapFieldReflectionAccessor. getMutableList()Gets a mutable List view of this MapField.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.private MessageGeneratedMessage.FieldAccessorTable.MapFieldAccessor. coerceType(Message value)voidMapField.Converter. convertMessageToKeyAndValue(Message message, java.util.Map<K,V> map)private voidMapField. convertMessageToKeyAndValue(Message message, java.util.Map<K,V> map)voidMapField.ImmutableMessageConverter. convertMessageToKeyAndValue(Message message, java.util.Map<K,V> map)private static <Type extends Message>
TypeRpcUtil. copyAsType(Type typeDefaultInstance, Message source)Creates a new message of type "Type" which is a copy of "source".(package private) static intMessageReflection. getSerializedSize(Message message, java.util.Map<Descriptors.FieldDescriptor,java.lang.Object> fields)booleanAny. isSameTypeAs(Message message)BuilderTypeAbstractMessage.Builder. mergeFrom(Message other)(package private) BuilderTypeAbstractMessage.Builder. mergeFrom(Message other, java.util.Map<Descriptors.FieldDescriptor,java.lang.Object> allFields)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.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)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)voidMessageReflection.BuilderAdapter. mergeGroup(CodedInputStream input, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance)voidMessageReflection.ExtensionAdapter. mergeGroup(CodedInputStream input, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance)voidMessageReflection.ExtensionBuilderAdapter. mergeGroup(CodedInputStream input, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance)voidMessageReflection.MergeTarget. mergeGroup(CodedInputStream input, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance)Read the given group field from the wire, merging with the existing field if it is already present.voidMessageReflection.BuilderAdapter. mergeMessage(CodedInputStream input, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance)voidMessageReflection.ExtensionAdapter. mergeMessage(CodedInputStream input, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance)voidMessageReflection.ExtensionBuilderAdapter. mergeMessage(CodedInputStream input, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance)voidMessageReflection.MergeTarget. mergeMessage(CodedInputStream input, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance)Read the given message field from the wire, merging with the existing field if it is already present.static DynamicMessage.BuilderDynamicMessage. newBuilder(Message prototype)Construct aMessage.Builderfor a message of the same type asprototype, and initialize it withprototype's contents.MessageReflection.MergeTargetMessageReflection.BuilderAdapter. newEmptyTargetForField(Descriptors.FieldDescriptor field, Message defaultInstance)MessageReflection.MergeTargetMessageReflection.ExtensionAdapter. newEmptyTargetForField(Descriptors.FieldDescriptor descriptor, Message defaultInstance)MessageReflection.MergeTargetMessageReflection.ExtensionBuilderAdapter. newEmptyTargetForField(Descriptors.FieldDescriptor descriptor, Message defaultInstance)MessageReflection.MergeTargetMessageReflection.MergeTarget. newEmptyTargetForField(Descriptors.FieldDescriptor descriptor, Message defaultInstance)Returns an empty merge target for a sub-field.static <ContainingT extends Message,T>
GeneratedMessage.GeneratedExtension<ContainingT,T>GeneratedMessage. newFileScopedGeneratedExtension(java.lang.Class<?> singularType, Message defaultInstance)For use by generated code only.MessageReflection.MergeTargetMessageReflection.BuilderAdapter. newMergeTargetForField(Descriptors.FieldDescriptor field, Message defaultInstance)MessageReflection.MergeTargetMessageReflection.ExtensionAdapter. newMergeTargetForField(Descriptors.FieldDescriptor descriptor, Message defaultInstance)MessageReflection.MergeTargetMessageReflection.ExtensionBuilderAdapter. newMergeTargetForField(Descriptors.FieldDescriptor descriptor, Message defaultInstance)MessageReflection.MergeTargetMessageReflection.MergeTarget. newMergeTargetForField(Descriptors.FieldDescriptor descriptor, Message defaultInstance)Returns a new merge target for a sub-field.private Message.BuilderMessageReflection.BuilderAdapter. newMessageFieldInstance(Descriptors.FieldDescriptor field, Message defaultInstance)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.java.lang.ObjectMessageReflection.BuilderAdapter. parseGroup(CodedInputStream input, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance)java.lang.ObjectMessageReflection.ExtensionAdapter. parseGroup(CodedInputStream input, ExtensionRegistryLite registry, Descriptors.FieldDescriptor field, Message defaultInstance)java.lang.ObjectMessageReflection.ExtensionBuilderAdapter. parseGroup(CodedInputStream input, ExtensionRegistryLite registry, Descriptors.FieldDescriptor field, Message defaultInstance)java.lang.ObjectMessageReflection.MergeTarget. parseGroup(CodedInputStream input, ExtensionRegistryLite registry, Descriptors.FieldDescriptor descriptor, Message defaultInstance)Parse the input stream into a sub field group defined based on either FieldDescriptor or the default instance.java.lang.ObjectMessageReflection.BuilderAdapter. parseMessage(CodedInputStream input, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance)java.lang.ObjectMessageReflection.ExtensionAdapter. parseMessage(CodedInputStream input, ExtensionRegistryLite registry, Descriptors.FieldDescriptor field, Message defaultInstance)java.lang.ObjectMessageReflection.ExtensionBuilderAdapter. parseMessage(CodedInputStream input, ExtensionRegistryLite registry, Descriptors.FieldDescriptor field, Message defaultInstance)java.lang.ObjectMessageReflection.MergeTarget. parseMessage(CodedInputStream input, ExtensionRegistryLite registry, Descriptors.FieldDescriptor descriptor, Message defaultInstance)Parse the input stream into a sub field message defined based on either FieldDescriptor or the default instance.java.lang.ObjectMessageReflection.BuilderAdapter. parseMessageFromBytes(ByteString bytes, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance)java.lang.ObjectMessageReflection.ExtensionAdapter. parseMessageFromBytes(ByteString bytes, ExtensionRegistryLite registry, Descriptors.FieldDescriptor field, Message defaultInstance)java.lang.ObjectMessageReflection.ExtensionBuilderAdapter. parseMessageFromBytes(ByteString bytes, ExtensionRegistryLite registry, Descriptors.FieldDescriptor field, Message defaultInstance)java.lang.ObjectMessageReflection.MergeTarget. parseMessageFromBytes(ByteString bytes, ExtensionRegistryLite registry, Descriptors.FieldDescriptor descriptor, Message defaultInstance)Parse from a ByteString into a sub field message defined based on either FieldDescriptor or the default instance.(package private) static voidMessageReflection. writeMessageTo(Message message, java.util.Map<Descriptors.FieldDescriptor,java.lang.Object> fields, CodedOutputStream output, boolean alwaysWriteRequiredFields)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.private MapField.MutabilityAwareMap<K,V>MapField. convertListToMap(java.util.List<Message> listData)static <Type extends Message>
RpcCallback<Type>RpcUtil. specializeCallback(RpcCallback<Message> originalCallback)Take anRpcCallback<Message>and convert it to anRpcCallbackaccepting a specific message type.Constructors in com.google.protobuf with parameters of type Message Constructor Description ExtensionInfo(Descriptors.FieldDescriptor descriptor, Message defaultInstance)GeneratedExtension(GeneratedMessage.ExtensionDescriptorRetriever descriptorRetriever, java.lang.Class<?> singularType, Message messageDefaultInstance, Extension.ExtensionType extensionType) -
Uses of Message in com.google.protobuf.compiler
Classes in com.google.protobuf.compiler that implement Message Modifier and Type Class Description static classPluginProtos.CodeGeneratorRequestAn encoded CodeGeneratorRequest is written to the plugin's stdin.static classPluginProtos.CodeGeneratorResponseThe plugin writes an encoded CodeGeneratorResponse to stdout.static classPluginProtos.CodeGeneratorResponse.FileRepresents a single generated file.static classPluginProtos.VersionThe version number of protocol compiler.Methods 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) -
Uses of Message in com.google.protobuf.util
Methods in com.google.protobuf.util with type parameters of type Message Modifier and Type Method Description static <P extends Message>
PFieldMaskUtil. trim(FieldMask mask, P source)Returns the result of keeping only the masked fields of the given proto.Methods in com.google.protobuf.util with parameters of type Message Modifier and Type Method Description (package private) voidFieldMaskTree. merge(Message source, Message.Builder destination, FieldMaskUtil.MergeOptions options)Merges all fields specified by this FieldMaskTree fromsourcetodestination.private static voidFieldMaskTree. merge(FieldMaskTree.Node node, Message source, Message.Builder destination, FieldMaskUtil.MergeOptions options)Merges all fields specified by a sub-tree fromsourcetodestination.static voidFieldMaskUtil. merge(FieldMask mask, Message source, Message.Builder destination)Merges fields specified by a FieldMask from one message to another.static voidFieldMaskUtil. 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 Message Modifier and Type Method Description static FieldMaskFieldMaskUtil. fromFieldNumbers(java.lang.Class<? extends Message> type, int... fieldNumbers)Constructs a FieldMask from the passed field numbers.static FieldMaskFieldMaskUtil. fromFieldNumbers(java.lang.Class<? extends Message> type, java.lang.Iterable<java.lang.Integer> fieldNumbers)Constructs a FieldMask from the passed field numbers.static FieldMaskFieldMaskUtil. fromString(java.lang.Class<? extends Message> type, java.lang.String value)Parses from a string to a FieldMask and validates all field paths.static FieldMaskFieldMaskUtil. fromStringList(java.lang.Class<? extends Message> type, java.lang.Iterable<java.lang.String> paths)Constructs a FieldMask for a list of field paths in a certain type.static booleanFieldMaskUtil. isValid(java.lang.Class<? extends Message> type, FieldMask fieldMask)Checks whether paths in a given fields mask are valid.static booleanFieldMaskUtil. isValid(java.lang.Class<? extends Message> type, java.lang.String path)Checks whether a given field path is valid.
-