Package akka.protobuf
Interface MessageLiteOrBuilder
-
- All Known Subinterfaces:
DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
,DescriptorProtos.DescriptorProtoOrBuilder
,DescriptorProtos.EnumDescriptorProtoOrBuilder
,DescriptorProtos.EnumOptionsOrBuilder
,DescriptorProtos.EnumValueDescriptorProtoOrBuilder
,DescriptorProtos.EnumValueOptionsOrBuilder
,DescriptorProtos.FieldDescriptorProtoOrBuilder
,DescriptorProtos.FieldOptionsOrBuilder
,DescriptorProtos.FileDescriptorProtoOrBuilder
,DescriptorProtos.FileDescriptorSetOrBuilder
,DescriptorProtos.FileOptionsOrBuilder
,DescriptorProtos.MessageOptionsOrBuilder
,DescriptorProtos.MethodDescriptorProtoOrBuilder
,DescriptorProtos.MethodOptionsOrBuilder
,DescriptorProtos.ServiceDescriptorProtoOrBuilder
,DescriptorProtos.ServiceOptionsOrBuilder
,DescriptorProtos.SourceCodeInfo.LocationOrBuilder
,DescriptorProtos.SourceCodeInfoOrBuilder
,DescriptorProtos.UninterpretedOption.NamePartOrBuilder
,DescriptorProtos.UninterpretedOptionOrBuilder
,GeneratedMessage.ExtendableMessageOrBuilder<MessageType>
,GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType>
,Message
,Message.Builder
,MessageLite
,MessageLite.Builder
,MessageOrBuilder
- All Known Implementing Classes:
AbstractMessage
,AbstractMessage.Builder
,AbstractMessageLite
,AbstractMessageLite.Builder
,DescriptorProtos.DescriptorProto
,DescriptorProtos.DescriptorProto.Builder
,DescriptorProtos.DescriptorProto.ExtensionRange
,DescriptorProtos.DescriptorProto.ExtensionRange.Builder
,DescriptorProtos.EnumDescriptorProto
,DescriptorProtos.EnumDescriptorProto.Builder
,DescriptorProtos.EnumOptions
,DescriptorProtos.EnumOptions.Builder
,DescriptorProtos.EnumValueDescriptorProto
,DescriptorProtos.EnumValueDescriptorProto.Builder
,DescriptorProtos.EnumValueOptions
,DescriptorProtos.EnumValueOptions.Builder
,DescriptorProtos.FieldDescriptorProto
,DescriptorProtos.FieldDescriptorProto.Builder
,DescriptorProtos.FieldOptions
,DescriptorProtos.FieldOptions.Builder
,DescriptorProtos.FileDescriptorProto
,DescriptorProtos.FileDescriptorProto.Builder
,DescriptorProtos.FileDescriptorSet
,DescriptorProtos.FileDescriptorSet.Builder
,DescriptorProtos.FileOptions
,DescriptorProtos.FileOptions.Builder
,DescriptorProtos.MessageOptions
,DescriptorProtos.MessageOptions.Builder
,DescriptorProtos.MethodDescriptorProto
,DescriptorProtos.MethodDescriptorProto.Builder
,DescriptorProtos.MethodOptions
,DescriptorProtos.MethodOptions.Builder
,DescriptorProtos.ServiceDescriptorProto
,DescriptorProtos.ServiceDescriptorProto.Builder
,DescriptorProtos.ServiceOptions
,DescriptorProtos.ServiceOptions.Builder
,DescriptorProtos.SourceCodeInfo
,DescriptorProtos.SourceCodeInfo.Builder
,DescriptorProtos.SourceCodeInfo.Location
,DescriptorProtos.SourceCodeInfo.Location.Builder
,DescriptorProtos.UninterpretedOption
,DescriptorProtos.UninterpretedOption.Builder
,DescriptorProtos.UninterpretedOption.NamePart
,DescriptorProtos.UninterpretedOption.NamePart.Builder
,DynamicMessage
,DynamicMessage.Builder
,GeneratedMessage
,GeneratedMessage.Builder
,GeneratedMessage.ExtendableBuilder
,GeneratedMessage.ExtendableMessage
,GeneratedMessageLite
,GeneratedMessageLite.Builder
,GeneratedMessageLite.ExtendableBuilder
,GeneratedMessageLite.ExtendableMessage
,UnknownFieldSet
,UnknownFieldSet.Builder
public interface MessageLiteOrBuilder
Base interface for methods common toMessageLite
andMessageLite.Builder
to provide type equivalency.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageLite
getDefaultInstanceForType()
Get an instance of the type with no fields set.boolean
isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false otherwise.
-
-
-
Method Detail
-
getDefaultInstanceForType
MessageLite getDefaultInstanceForType()
Get an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()
method of generated message classes in that this method is an abstract method of theMessageLite
interface whereasgetDefaultInstance()
is a static method of a specific class. They return the same thing.
-
isInitialized
boolean isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false otherwise.
-
-