Uses of Interface
com.google.protobuf.MessageOrBuilder
-
Packages that use MessageOrBuilder Package Description com.google.protobuf com.google.protobuf.compiler com.google.protobuf.util -
-
Uses of MessageOrBuilder in com.google.protobuf
Classes in com.google.protobuf with type parameters of type MessageOrBuilder Modifier and Type Class Description class
RepeatedFieldBuilder<MType extends GeneratedMessage,BType extends GeneratedMessage.Builder,IType extends MessageOrBuilder>
RepeatedFieldBuilder
implements a structure that a protocol message uses to hold a repeated field of other protocol messages.private static class
RepeatedFieldBuilder.BuilderExternalList<MType extends GeneratedMessage,BType extends GeneratedMessage.Builder,IType extends MessageOrBuilder>
Provides a live view of the builder as a list of builders.private static class
RepeatedFieldBuilder.MessageExternalList<MType extends GeneratedMessage,BType extends GeneratedMessage.Builder,IType extends MessageOrBuilder>
Provides a live view of the builder as a list of messages.private static class
RepeatedFieldBuilder.MessageOrBuilderExternalList<MType extends GeneratedMessage,BType extends GeneratedMessage.Builder,IType extends MessageOrBuilder>
Provides a live view of the builder as a list of builders.class
RepeatedFieldBuilderV3<MType extends AbstractMessage,BType extends AbstractMessage.Builder,IType extends MessageOrBuilder>
RepeatedFieldBuilderV3
implements a structure that a protocol message uses to hold a repeated field of other protocol messages.private static class
RepeatedFieldBuilderV3.BuilderExternalList<MType extends AbstractMessage,BType extends AbstractMessage.Builder,IType extends MessageOrBuilder>
Provides a live view of the builder as a list of builders.private static class
RepeatedFieldBuilderV3.MessageExternalList<MType extends AbstractMessage,BType extends AbstractMessage.Builder,IType extends MessageOrBuilder>
Provides a live view of the builder as a list of messages.private static class
RepeatedFieldBuilderV3.MessageOrBuilderExternalList<MType extends AbstractMessage,BType extends AbstractMessage.Builder,IType extends MessageOrBuilder>
Provides a live view of the builder as a list of builders.class
SingleFieldBuilder<MType extends GeneratedMessage,BType extends GeneratedMessage.Builder,IType extends MessageOrBuilder>
SingleFieldBuilder
implements a structure that a protocol message uses to hold a single field of another protocol message.class
SingleFieldBuilderV3<MType extends AbstractMessage,BType extends AbstractMessage.Builder,IType extends MessageOrBuilder>
SingleFieldBuilderV3
implements a structure that a protocol message uses to hold a single field of another protocol message.Classes in com.google.protobuf that implement MessageOrBuilder 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.static class
AbstractMessage.Builder<BuilderType extends AbstractMessage.Builder<BuilderType>>
A partial implementation of theMessage.Builder
interface which implements as many methods of that interface as possible in terms of other methods.static class
DescriptorProtos.DescriptorProto
Describes a message type.static class
DescriptorProtos.DescriptorProto.Builder
Describes a message type.static class
DescriptorProtos.DescriptorProto.ExtensionRange
Protobuf typegoogle.protobuf.DescriptorProto.ExtensionRange
static class
DescriptorProtos.DescriptorProto.ExtensionRange.Builder
Protobuf typegoogle.protobuf.DescriptorProto.ExtensionRange
static class
DescriptorProtos.DescriptorProto.ReservedRange
Range of reserved tag numbers.static class
DescriptorProtos.DescriptorProto.ReservedRange.Builder
Range of reserved tag numbers.static class
DescriptorProtos.EnumDescriptorProto
Describes an enum type.static class
DescriptorProtos.EnumDescriptorProto.Builder
Describes an enum type.static class
DescriptorProtos.EnumDescriptorProto.EnumReservedRange
Range of reserved numeric values.static class
DescriptorProtos.EnumDescriptorProto.EnumReservedRange.Builder
Range of reserved numeric values.static class
DescriptorProtos.EnumOptions
Protobuf typegoogle.protobuf.EnumOptions
static class
DescriptorProtos.EnumOptions.Builder
Protobuf typegoogle.protobuf.EnumOptions
static class
DescriptorProtos.EnumValueDescriptorProto
Describes a value within an enum.static class
DescriptorProtos.EnumValueDescriptorProto.Builder
Describes a value within an enum.static class
DescriptorProtos.EnumValueOptions
Protobuf typegoogle.protobuf.EnumValueOptions
static class
DescriptorProtos.EnumValueOptions.Builder
Protobuf typegoogle.protobuf.EnumValueOptions
static class
DescriptorProtos.ExtensionRangeOptions
Protobuf typegoogle.protobuf.ExtensionRangeOptions
static class
DescriptorProtos.ExtensionRangeOptions.Builder
Protobuf typegoogle.protobuf.ExtensionRangeOptions
static class
DescriptorProtos.FieldDescriptorProto
Describes a field within a message.static class
DescriptorProtos.FieldDescriptorProto.Builder
Describes a field within a message.static class
DescriptorProtos.FieldOptions
Protobuf typegoogle.protobuf.FieldOptions
static class
DescriptorProtos.FieldOptions.Builder
Protobuf typegoogle.protobuf.FieldOptions
static class
DescriptorProtos.FileDescriptorProto
Describes a complete .proto file.static class
DescriptorProtos.FileDescriptorProto.Builder
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.FileDescriptorSet.Builder
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.static class
DescriptorProtos.FileOptions
Protobuf typegoogle.protobuf.FileOptions
static class
DescriptorProtos.FileOptions.Builder
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.GeneratedCodeInfo.Annotation.Builder
Protobuf typegoogle.protobuf.GeneratedCodeInfo.Annotation
static class
DescriptorProtos.GeneratedCodeInfo.Builder
Describes the relationship between generated code and its original source file.static class
DescriptorProtos.MessageOptions
Protobuf typegoogle.protobuf.MessageOptions
static class
DescriptorProtos.MessageOptions.Builder
Protobuf typegoogle.protobuf.MessageOptions
static class
DescriptorProtos.MethodDescriptorProto
Describes a method of a service.static class
DescriptorProtos.MethodDescriptorProto.Builder
Describes a method of a service.static class
DescriptorProtos.MethodOptions
Protobuf typegoogle.protobuf.MethodOptions
static class
DescriptorProtos.MethodOptions.Builder
Protobuf typegoogle.protobuf.MethodOptions
static class
DescriptorProtos.OneofDescriptorProto
Describes a oneof.static class
DescriptorProtos.OneofDescriptorProto.Builder
Describes a oneof.static class
DescriptorProtos.OneofOptions
Protobuf typegoogle.protobuf.OneofOptions
static class
DescriptorProtos.OneofOptions.Builder
Protobuf typegoogle.protobuf.OneofOptions
static class
DescriptorProtos.ServiceDescriptorProto
Describes a service.static class
DescriptorProtos.ServiceDescriptorProto.Builder
Describes a service.static class
DescriptorProtos.ServiceOptions
Protobuf typegoogle.protobuf.ServiceOptions
static class
DescriptorProtos.ServiceOptions.Builder
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.Builder
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.SourceCodeInfo.Location.Builder
Protobuf typegoogle.protobuf.SourceCodeInfo.Location
static class
DescriptorProtos.UninterpretedOption
A message representing a option the parser does not recognize.static class
DescriptorProtos.UninterpretedOption.Builder
A message representing a option the parser does not recognize.static class
DescriptorProtos.UninterpretedOption.NamePart
The name of the uninterpreted option.static class
DescriptorProtos.UninterpretedOption.NamePart.Builder
The name of the uninterpreted option.class
DynamicMessage
An implementation ofMessage
that can represent arbitrary types, given aDescriptors.Descriptor
.static class
DynamicMessage.Builder
Builder forDynamicMessage
s.class
GeneratedMessage
All generated protocol message classes extend this class.static class
GeneratedMessage.Builder<BuilderType extends GeneratedMessage.Builder<BuilderType>>
static class
GeneratedMessage.ExtendableBuilder<MessageType extends GeneratedMessage.ExtendableMessage,BuilderType extends GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>
Generated message builders for message types that contain extension ranges subclass this.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.Builder<BuilderType extends GeneratedMessageV3.Builder<BuilderType>>
static class
GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>
Generated message builders for message types that contain extension ranges subclass this.static class
GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>
Generated message classes for message types that contain extension ranges subclass this.class
MapEntry<K,V>
Implements MapEntry messages.static class
MapEntry.Builder<K,V>
Builder to createMapEntry
messages.Methods in com.google.protobuf with parameters of type MessageOrBuilder Modifier and Type Method Description (package private) static java.util.List<java.lang.String>
MessageReflection. findMissingFields(MessageOrBuilder message)
Populatesthis.missingFields
with the full "path" of each missing required field in the given message.private static void
MessageReflection. findMissingFields(MessageOrBuilder message, java.lang.String prefix, java.util.List<java.lang.String> results)
(package private) static boolean
MessageReflection. isInitialized(MessageOrBuilder message)
static void
TextFormat. print(MessageOrBuilder message, java.lang.Appendable output)
Deprecated.Useprinter().print(MessageOrBuilder, Appendable)
private void
TextFormat.Printer. print(MessageOrBuilder message, TextFormat.TextGenerator generator)
void
TextFormat.Printer. print(MessageOrBuilder message, java.lang.Appendable output)
Outputs a textual representation of the Protocol Message supplied into the parameter output.private boolean
TextFormat.Printer. printAny(MessageOrBuilder message, TextFormat.TextGenerator generator)
Attempt to print the 'google.protobuf.Any' message in a human-friendly format.private void
TextFormat.Printer. printMessage(MessageOrBuilder message, TextFormat.TextGenerator generator)
java.lang.String
TextFormat.Printer. printToString(MessageOrBuilder message)
Likeprint()
, but writes directly to aString
and returns it.static java.lang.String
TextFormat. printToString(MessageOrBuilder message)
Deprecated.Usemessage.toString()
static java.lang.String
TextFormat. printToUnicodeString(MessageOrBuilder message)
Deprecated.Useprinter().escapingNonAscii(false).printToString(MessageOrBuilder)
static void
TextFormat. printUnicode(MessageOrBuilder message, java.lang.Appendable output)
Deprecated.Useprinter().escapingNonAscii(false).print(MessageOrBuilder, Appendable)
java.lang.String
TextFormat.Printer. shortDebugString(MessageOrBuilder message)
Generates a human readable form of this message, useful for debugging and other purposes, with no newline characters.static java.lang.String
TextFormat. shortDebugString(MessageOrBuilder message)
Generates a human readable form of this message, useful for debugging and other purposes, with no newline characters. -
Uses of MessageOrBuilder in com.google.protobuf.compiler
Subinterfaces of MessageOrBuilder in com.google.protobuf.compiler Modifier and Type Interface Description static interface
PluginProtos.CodeGeneratorRequestOrBuilder
static interface
PluginProtos.CodeGeneratorResponse.FileOrBuilder
static interface
PluginProtos.CodeGeneratorResponseOrBuilder
static interface
PluginProtos.VersionOrBuilder
Classes in com.google.protobuf.compiler that implement MessageOrBuilder Modifier and Type Class Description static class
PluginProtos.CodeGeneratorRequest
An encoded CodeGeneratorRequest is written to the plugin's stdin.static class
PluginProtos.CodeGeneratorRequest.Builder
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.Builder
The plugin writes an encoded CodeGeneratorResponse to stdout.static class
PluginProtos.CodeGeneratorResponse.File
Represents a single generated file.static class
PluginProtos.CodeGeneratorResponse.File.Builder
Represents a single generated file.static class
PluginProtos.Version
The version number of protocol compiler.static class
PluginProtos.Version.Builder
The version number of protocol compiler. -
Uses of MessageOrBuilder in com.google.protobuf.util
Methods in com.google.protobuf.util with parameters of type MessageOrBuilder Modifier and Type Method Description void
JsonFormat.Printer. appendTo(MessageOrBuilder message, java.lang.Appendable output)
Converts a protobuf message to the proto3 JSON format.java.lang.String
JsonFormat.Printer. print(MessageOrBuilder message)
Converts a protobuf message to the proto3 JSON format.(package private) void
JsonFormat.PrinterImpl. print(MessageOrBuilder message)
private void
JsonFormat.PrinterImpl. print(MessageOrBuilder message, java.lang.String typeUrl)
Prints a regular message with an optional type URL.void
JsonFormat.PrinterImpl.WellKnownTypePrinter. print(JsonFormat.PrinterImpl printer, MessageOrBuilder message)
private void
JsonFormat.PrinterImpl. printAny(MessageOrBuilder message)
Prints google.protobuf.Anyprivate void
JsonFormat.PrinterImpl. printDuration(MessageOrBuilder message)
Prints google.protobuf.Durationprivate void
JsonFormat.PrinterImpl. printFieldMask(MessageOrBuilder message)
Prints google.protobuf.FieldMaskprivate void
JsonFormat.PrinterImpl. printListValue(MessageOrBuilder message)
Prints google.protobuf.ListValueprivate void
JsonFormat.PrinterImpl. printStruct(MessageOrBuilder message)
Prints google.protobuf.Structprivate void
JsonFormat.PrinterImpl. printTimestamp(MessageOrBuilder message)
Prints google.protobuf.Timestampprivate void
JsonFormat.PrinterImpl. printValue(MessageOrBuilder message)
Prints google.protobuf.Valueprivate void
JsonFormat.PrinterImpl. printWrapper(MessageOrBuilder message)
Prints wrapper types (e.g., google.protobuf.Int32Value)private ByteString
JsonFormat.PrinterImpl. toByteString(MessageOrBuilder message)
-