Package | Description |
---|---|
com.google.protobuf |
Modifier and Type | Interface and Description |
---|---|
static interface |
Message.Builder
Abstract interface implemented by Protocol Message builders.
|
Modifier and Type | Class and Description |
---|---|
static class |
AbstractMessage.Builder<BuilderType extends AbstractMessage.Builder>
A partial implementation of the
Message.Builder interface which
implements as many methods of that interface as possible in terms of
other methods. |
static class |
AbstractMessageLite.Builder<BuilderType extends AbstractMessageLite.Builder>
A partial implementation of the
Message.Builder interface which
implements as many methods of that interface as possible in terms of
other methods. |
static class |
DescriptorProtos.DescriptorProto.Builder
Protobuf type
google.protobuf.DescriptorProto |
static class |
DescriptorProtos.DescriptorProto.ExtensionRange.Builder
Protobuf type
google.protobuf.DescriptorProto.ExtensionRange |
static class |
DescriptorProtos.EnumDescriptorProto.Builder
Protobuf type
google.protobuf.EnumDescriptorProto |
static class |
DescriptorProtos.EnumOptions.Builder
Protobuf type
google.protobuf.EnumOptions |
static class |
DescriptorProtos.EnumValueDescriptorProto.Builder
Protobuf type
google.protobuf.EnumValueDescriptorProto |
static class |
DescriptorProtos.EnumValueOptions.Builder
Protobuf type
google.protobuf.EnumValueOptions |
static class |
DescriptorProtos.FieldDescriptorProto.Builder
Protobuf type
google.protobuf.FieldDescriptorProto |
static class |
DescriptorProtos.FieldOptions.Builder
Protobuf type
google.protobuf.FieldOptions |
static class |
DescriptorProtos.FileDescriptorProto.Builder
Protobuf type
google.protobuf.FileDescriptorProto |
static class |
DescriptorProtos.FileDescriptorSet.Builder
Protobuf type
google.protobuf.FileDescriptorSet |
static class |
DescriptorProtos.FileOptions.Builder
Protobuf type
google.protobuf.FileOptions |
static class |
DescriptorProtos.MessageOptions.Builder
Protobuf type
google.protobuf.MessageOptions |
static class |
DescriptorProtos.MethodDescriptorProto.Builder
Protobuf type
google.protobuf.MethodDescriptorProto |
static class |
DescriptorProtos.MethodOptions.Builder
Protobuf type
google.protobuf.MethodOptions |
static class |
DescriptorProtos.ServiceDescriptorProto.Builder
Protobuf type
google.protobuf.ServiceDescriptorProto |
static class |
DescriptorProtos.ServiceOptions.Builder
Protobuf type
google.protobuf.ServiceOptions |
static class |
DescriptorProtos.SourceCodeInfo.Builder
Protobuf type
google.protobuf.SourceCodeInfo |
static class |
DescriptorProtos.SourceCodeInfo.Location.Builder
Protobuf type
google.protobuf.SourceCodeInfo.Location |
static class |
DescriptorProtos.UninterpretedOption.Builder
Protobuf type
google.protobuf.UninterpretedOption |
static class |
DescriptorProtos.UninterpretedOption.NamePart.Builder
Protobuf type
google.protobuf.UninterpretedOption.NamePart |
static class |
DynamicMessage.Builder
Builder for
DynamicMessage s. |
static class |
GeneratedMessage.Builder<BuilderType extends GeneratedMessage.Builder> |
static class |
GeneratedMessage.ExtendableBuilder<MessageType extends GeneratedMessage.ExtendableMessage,BuilderType extends GeneratedMessage.ExtendableBuilder>
Generated message builders for message types that contain extension ranges
subclass this.
|
static class |
GeneratedMessageLite.Builder<MessageType extends GeneratedMessageLite,BuilderType extends GeneratedMessageLite.Builder> |
static class |
GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>
Lite equivalent of
GeneratedMessage.ExtendableBuilder . |
static class |
UnknownFieldSet.Builder
Builder for
UnknownFieldSet s. |
Modifier and Type | Method and Description |
---|---|
MessageLite.Builder |
MessageLite.Builder.clear()
Resets all fields to their default values.
|
MessageLite.Builder |
MessageLite.Builder.clone()
Clones the Builder.
|
MessageLite.Builder |
Descriptors.FieldDescriptor.internalMergeFrom(MessageLite.Builder to,
MessageLite from)
For internal use only.
|
MessageLite.Builder |
MessageLite.Builder.mergeFrom(byte[] data)
Parse
data as a message of this type and merge it with the
message being built. |
MessageLite.Builder |
MessageLite.Builder.mergeFrom(byte[] data,
ExtensionRegistryLite extensionRegistry)
Parse
data as a message of this type and merge it with the
message being built. |
MessageLite.Builder |
MessageLite.Builder.mergeFrom(byte[] data,
int off,
int len)
Parse
data as a message of this type and merge it with the
message being built. |
MessageLite.Builder |
MessageLite.Builder.mergeFrom(byte[] data,
int off,
int len,
ExtensionRegistryLite extensionRegistry)
Parse
data as a message of this type and merge it with the
message being built. |
MessageLite.Builder |
MessageLite.Builder.mergeFrom(ByteString data)
Parse
data as a message of this type and merge it with the
message being built. |
MessageLite.Builder |
MessageLite.Builder.mergeFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
Parse
data as a message of this type and merge it with the
message being built. |
MessageLite.Builder |
MessageLite.Builder.mergeFrom(CodedInputStream input)
Parses a message of this type from the input and merges it with this
message.
|
MessageLite.Builder |
MessageLite.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry)
Like
mergeFrom(CodedInputStream) , but also
parses extensions. |
MessageLite.Builder |
MessageLite.Builder.mergeFrom(java.io.InputStream input)
Parse a message of this type from
input and merge it with the
message being built. |
MessageLite.Builder |
MessageLite.Builder.mergeFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry)
Parse a message of this type from
input and merge it with the
message being built. |
MessageLite.Builder |
MessageLite.newBuilderForType()
Constructs a new builder for a message of the same type as this message.
|
MessageLite.Builder |
MessageLite.toBuilder()
Constructs a builder initialized with the current message.
|
Modifier and Type | Method and Description |
---|---|
MessageLite.Builder |
Descriptors.FieldDescriptor.internalMergeFrom(MessageLite.Builder to,
MessageLite from)
For internal use only.
|
void |
CodedInputStream.readGroup(int fieldNumber,
MessageLite.Builder builder,
ExtensionRegistryLite extensionRegistry)
Read a
group field value from the stream. |
void |
CodedInputStream.readMessage(MessageLite.Builder builder,
ExtensionRegistryLite extensionRegistry)
Read an embedded message field value from the stream.
|
void |
CodedInputStream.readUnknownGroup(int fieldNumber,
MessageLite.Builder builder)
Deprecated.
UnknownFieldSet.Builder now implements MessageLite.Builder, so
you can just call
CodedInputStream.readGroup(int, com.google.protobuf.MessageLite.Builder, com.google.protobuf.ExtensionRegistryLite) . |