public static final class UnittestProto.TestParsingMerge extends com.google.protobuf.GeneratedMessage.ExtendableMessage<UnittestProto.TestParsingMerge> implements UnittestProto.TestParsingMergeOrBuilder
protobuf_unittest.TestParsingMerge
Test that if an optional or required message/group field appears multiple times in the input, they need to be merged.
| Modifier and Type | Class and Description |
|---|---|
static class |
UnittestProto.TestParsingMerge.Builder
Protobuf type
protobuf_unittest.TestParsingMerge |
static class |
UnittestProto.TestParsingMerge.OptionalGroup
Protobuf type
protobuf_unittest.TestParsingMerge.OptionalGroup |
static interface |
UnittestProto.TestParsingMerge.OptionalGroupOrBuilder |
static class |
UnittestProto.TestParsingMerge.RepeatedFieldsGenerator
Protobuf type
protobuf_unittest.TestParsingMerge.RepeatedFieldsGenerator |
static interface |
UnittestProto.TestParsingMerge.RepeatedFieldsGeneratorOrBuilder |
static class |
UnittestProto.TestParsingMerge.RepeatedGroup
Protobuf type
protobuf_unittest.TestParsingMerge.RepeatedGroup |
static interface |
UnittestProto.TestParsingMerge.RepeatedGroupOrBuilder |
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWritercom.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
OPTIONAL_ALL_TYPES_FIELD_NUMBER |
static int |
OPTIONAL_EXT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestProto.TestParsingMerge,UnittestProto.TestAllTypes> |
optionalExt
extend .protobuf_unittest.TestParsingMerge { ... |
static int |
OPTIONALGROUP_FIELD_NUMBER |
static com.google.protobuf.Parser<UnittestProto.TestParsingMerge> |
PARSER |
static int |
REPEATED_ALL_TYPES_FIELD_NUMBER |
static int |
REPEATED_EXT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestProto.TestParsingMerge,java.util.List<UnittestProto.TestAllTypes>> |
repeatedExt
extend .protobuf_unittest.TestParsingMerge { ... |
static int |
REPEATEDGROUP_FIELD_NUMBER |
static int |
REQUIRED_ALL_TYPES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static UnittestProto.TestParsingMerge |
getDefaultInstance() |
UnittestProto.TestParsingMerge |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
UnittestProto.TestAllTypes |
getOptionalAllTypes()
optional .protobuf_unittest.TestAllTypes optional_all_types = 2; |
UnittestProto.TestAllTypesOrBuilder |
getOptionalAllTypesOrBuilder()
optional .protobuf_unittest.TestAllTypes optional_all_types = 2; |
UnittestProto.TestParsingMerge.OptionalGroup |
getOptionalGroup()
optional group OptionalGroup = 10 { ... |
UnittestProto.TestParsingMerge.OptionalGroupOrBuilder |
getOptionalGroupOrBuilder()
optional group OptionalGroup = 10 { ... |
com.google.protobuf.Parser<UnittestProto.TestParsingMerge> |
getParserForType() |
UnittestProto.TestAllTypes |
getRepeatedAllTypes(int index)
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3; |
int |
getRepeatedAllTypesCount()
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3; |
java.util.List<UnittestProto.TestAllTypes> |
getRepeatedAllTypesList()
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3; |
UnittestProto.TestAllTypesOrBuilder |
getRepeatedAllTypesOrBuilder(int index)
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3; |
java.util.List<? extends UnittestProto.TestAllTypesOrBuilder> |
getRepeatedAllTypesOrBuilderList()
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3; |
UnittestProto.TestParsingMerge.RepeatedGroup |
getRepeatedGroup(int index)
repeated group RepeatedGroup = 20 { ... |
int |
getRepeatedGroupCount()
repeated group RepeatedGroup = 20 { ... |
java.util.List<UnittestProto.TestParsingMerge.RepeatedGroup> |
getRepeatedGroupList()
repeated group RepeatedGroup = 20 { ... |
UnittestProto.TestParsingMerge.RepeatedGroupOrBuilder |
getRepeatedGroupOrBuilder(int index)
repeated group RepeatedGroup = 20 { ... |
java.util.List<? extends UnittestProto.TestParsingMerge.RepeatedGroupOrBuilder> |
getRepeatedGroupOrBuilderList()
repeated group RepeatedGroup = 20 { ... |
UnittestProto.TestAllTypes |
getRequiredAllTypes()
required .protobuf_unittest.TestAllTypes required_all_types = 1; |
UnittestProto.TestAllTypesOrBuilder |
getRequiredAllTypesOrBuilder()
required .protobuf_unittest.TestAllTypes required_all_types = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasOptionalAllTypes()
optional .protobuf_unittest.TestAllTypes optional_all_types = 2; |
boolean |
hasOptionalGroup()
optional group OptionalGroup = 10 { ... |
boolean |
hasRequiredAllTypes()
required .protobuf_unittest.TestAllTypes required_all_types = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UnittestProto.TestParsingMerge.Builder |
newBuilder() |
static UnittestProto.TestParsingMerge.Builder |
newBuilder(UnittestProto.TestParsingMerge prototype) |
UnittestProto.TestParsingMerge.Builder |
newBuilderForType() |
protected UnittestProto.TestParsingMerge.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static UnittestProto.TestParsingMerge |
parseDelimitedFrom(java.io.InputStream input) |
static UnittestProto.TestParsingMerge |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestParsingMerge |
parseFrom(byte[] data) |
static UnittestProto.TestParsingMerge |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestParsingMerge |
parseFrom(com.google.protobuf.ByteString data) |
static UnittestProto.TestParsingMerge |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestParsingMerge |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UnittestProto.TestParsingMerge |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestParsingMerge |
parseFrom(java.io.InputStream input) |
static UnittestProto.TestParsingMerge |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnittestProto.TestParsingMerge.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownFieldgetDescriptorForType, getOneofFieldDescriptor, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtensionCount, hasExtensionpublic static com.google.protobuf.Parser<UnittestProto.TestParsingMerge> PARSER
public static final int REQUIRED_ALL_TYPES_FIELD_NUMBER
public static final int OPTIONAL_ALL_TYPES_FIELD_NUMBER
public static final int REPEATED_ALL_TYPES_FIELD_NUMBER
public static final int OPTIONALGROUP_FIELD_NUMBER
public static final int REPEATEDGROUP_FIELD_NUMBER
public static final int OPTIONAL_EXT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestProto.TestParsingMerge,UnittestProto.TestAllTypes> optionalExt
extend .protobuf_unittest.TestParsingMerge { ... }public static final int REPEATED_EXT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestProto.TestParsingMerge,java.util.List<UnittestProto.TestAllTypes>> repeatedExt
extend .protobuf_unittest.TestParsingMerge { ... }public static UnittestProto.TestParsingMerge getDefaultInstance()
public UnittestProto.TestParsingMerge getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<UnittestProto.TestParsingMerge>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<UnittestProto.TestParsingMerge> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasRequiredAllTypes()
required .protobuf_unittest.TestAllTypes required_all_types = 1;hasRequiredAllTypes in interface UnittestProto.TestParsingMergeOrBuilderpublic UnittestProto.TestAllTypes getRequiredAllTypes()
required .protobuf_unittest.TestAllTypes required_all_types = 1;getRequiredAllTypes in interface UnittestProto.TestParsingMergeOrBuilderpublic UnittestProto.TestAllTypesOrBuilder getRequiredAllTypesOrBuilder()
required .protobuf_unittest.TestAllTypes required_all_types = 1;getRequiredAllTypesOrBuilder in interface UnittestProto.TestParsingMergeOrBuilderpublic boolean hasOptionalAllTypes()
optional .protobuf_unittest.TestAllTypes optional_all_types = 2;hasOptionalAllTypes in interface UnittestProto.TestParsingMergeOrBuilderpublic UnittestProto.TestAllTypes getOptionalAllTypes()
optional .protobuf_unittest.TestAllTypes optional_all_types = 2;getOptionalAllTypes in interface UnittestProto.TestParsingMergeOrBuilderpublic UnittestProto.TestAllTypesOrBuilder getOptionalAllTypesOrBuilder()
optional .protobuf_unittest.TestAllTypes optional_all_types = 2;getOptionalAllTypesOrBuilder in interface UnittestProto.TestParsingMergeOrBuilderpublic java.util.List<UnittestProto.TestAllTypes> getRepeatedAllTypesList()
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3;getRepeatedAllTypesList in interface UnittestProto.TestParsingMergeOrBuilderpublic java.util.List<? extends UnittestProto.TestAllTypesOrBuilder> getRepeatedAllTypesOrBuilderList()
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3;getRepeatedAllTypesOrBuilderList in interface UnittestProto.TestParsingMergeOrBuilderpublic int getRepeatedAllTypesCount()
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3;getRepeatedAllTypesCount in interface UnittestProto.TestParsingMergeOrBuilderpublic UnittestProto.TestAllTypes getRepeatedAllTypes(int index)
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3;getRepeatedAllTypes in interface UnittestProto.TestParsingMergeOrBuilderpublic UnittestProto.TestAllTypesOrBuilder getRepeatedAllTypesOrBuilder(int index)
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3;getRepeatedAllTypesOrBuilder in interface UnittestProto.TestParsingMergeOrBuilderpublic boolean hasOptionalGroup()
optional group OptionalGroup = 10 { ... }hasOptionalGroup in interface UnittestProto.TestParsingMergeOrBuilderpublic UnittestProto.TestParsingMerge.OptionalGroup getOptionalGroup()
optional group OptionalGroup = 10 { ... }getOptionalGroup in interface UnittestProto.TestParsingMergeOrBuilderpublic UnittestProto.TestParsingMerge.OptionalGroupOrBuilder getOptionalGroupOrBuilder()
optional group OptionalGroup = 10 { ... }getOptionalGroupOrBuilder in interface UnittestProto.TestParsingMergeOrBuilderpublic java.util.List<UnittestProto.TestParsingMerge.RepeatedGroup> getRepeatedGroupList()
repeated group RepeatedGroup = 20 { ... }getRepeatedGroupList in interface UnittestProto.TestParsingMergeOrBuilderpublic java.util.List<? extends UnittestProto.TestParsingMerge.RepeatedGroupOrBuilder> getRepeatedGroupOrBuilderList()
repeated group RepeatedGroup = 20 { ... }getRepeatedGroupOrBuilderList in interface UnittestProto.TestParsingMergeOrBuilderpublic int getRepeatedGroupCount()
repeated group RepeatedGroup = 20 { ... }getRepeatedGroupCount in interface UnittestProto.TestParsingMergeOrBuilderpublic UnittestProto.TestParsingMerge.RepeatedGroup getRepeatedGroup(int index)
repeated group RepeatedGroup = 20 { ... }getRepeatedGroup in interface UnittestProto.TestParsingMergeOrBuilderpublic UnittestProto.TestParsingMerge.RepeatedGroupOrBuilder getRepeatedGroupOrBuilder(int index)
repeated group RepeatedGroup = 20 { ... }getRepeatedGroupOrBuilder in interface UnittestProto.TestParsingMergeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<UnittestProto.TestParsingMerge>public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessagejava.io.ObjectStreamExceptionpublic static UnittestProto.TestParsingMerge parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestParsingMerge parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestParsingMerge parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestParsingMerge parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestParsingMerge parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestParsingMerge parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestParsingMerge parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestParsingMerge parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestParsingMerge parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestParsingMerge parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestParsingMerge.Builder newBuilder()
public UnittestProto.TestParsingMerge.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UnittestProto.TestParsingMerge.Builder newBuilder(UnittestProto.TestParsingMerge prototype)
public UnittestProto.TestParsingMerge.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UnittestProto.TestParsingMerge.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessage