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.ExtensionWriter
com.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, parseUnknownField
getDescriptorForType, getOneofFieldDescriptor, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExtension, getExtension, getExtensionCount, hasExtension
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<UnittestProto.TestParsingMerge> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasRequiredAllTypes()
required .protobuf_unittest.TestAllTypes required_all_types = 1;
hasRequiredAllTypes
in interface UnittestProto.TestParsingMergeOrBuilder
public UnittestProto.TestAllTypes getRequiredAllTypes()
required .protobuf_unittest.TestAllTypes required_all_types = 1;
getRequiredAllTypes
in interface UnittestProto.TestParsingMergeOrBuilder
public UnittestProto.TestAllTypesOrBuilder getRequiredAllTypesOrBuilder()
required .protobuf_unittest.TestAllTypes required_all_types = 1;
getRequiredAllTypesOrBuilder
in interface UnittestProto.TestParsingMergeOrBuilder
public boolean hasOptionalAllTypes()
optional .protobuf_unittest.TestAllTypes optional_all_types = 2;
hasOptionalAllTypes
in interface UnittestProto.TestParsingMergeOrBuilder
public UnittestProto.TestAllTypes getOptionalAllTypes()
optional .protobuf_unittest.TestAllTypes optional_all_types = 2;
getOptionalAllTypes
in interface UnittestProto.TestParsingMergeOrBuilder
public UnittestProto.TestAllTypesOrBuilder getOptionalAllTypesOrBuilder()
optional .protobuf_unittest.TestAllTypes optional_all_types = 2;
getOptionalAllTypesOrBuilder
in interface UnittestProto.TestParsingMergeOrBuilder
public java.util.List<UnittestProto.TestAllTypes> getRepeatedAllTypesList()
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3;
getRepeatedAllTypesList
in interface UnittestProto.TestParsingMergeOrBuilder
public java.util.List<? extends UnittestProto.TestAllTypesOrBuilder> getRepeatedAllTypesOrBuilderList()
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3;
getRepeatedAllTypesOrBuilderList
in interface UnittestProto.TestParsingMergeOrBuilder
public int getRepeatedAllTypesCount()
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3;
getRepeatedAllTypesCount
in interface UnittestProto.TestParsingMergeOrBuilder
public UnittestProto.TestAllTypes getRepeatedAllTypes(int index)
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3;
getRepeatedAllTypes
in interface UnittestProto.TestParsingMergeOrBuilder
public UnittestProto.TestAllTypesOrBuilder getRepeatedAllTypesOrBuilder(int index)
repeated .protobuf_unittest.TestAllTypes repeated_all_types = 3;
getRepeatedAllTypesOrBuilder
in interface UnittestProto.TestParsingMergeOrBuilder
public boolean hasOptionalGroup()
optional group OptionalGroup = 10 { ... }
hasOptionalGroup
in interface UnittestProto.TestParsingMergeOrBuilder
public UnittestProto.TestParsingMerge.OptionalGroup getOptionalGroup()
optional group OptionalGroup = 10 { ... }
getOptionalGroup
in interface UnittestProto.TestParsingMergeOrBuilder
public UnittestProto.TestParsingMerge.OptionalGroupOrBuilder getOptionalGroupOrBuilder()
optional group OptionalGroup = 10 { ... }
getOptionalGroupOrBuilder
in interface UnittestProto.TestParsingMergeOrBuilder
public java.util.List<UnittestProto.TestParsingMerge.RepeatedGroup> getRepeatedGroupList()
repeated group RepeatedGroup = 20 { ... }
getRepeatedGroupList
in interface UnittestProto.TestParsingMergeOrBuilder
public java.util.List<? extends UnittestProto.TestParsingMerge.RepeatedGroupOrBuilder> getRepeatedGroupOrBuilderList()
repeated group RepeatedGroup = 20 { ... }
getRepeatedGroupOrBuilderList
in interface UnittestProto.TestParsingMergeOrBuilder
public int getRepeatedGroupCount()
repeated group RepeatedGroup = 20 { ... }
getRepeatedGroupCount
in interface UnittestProto.TestParsingMergeOrBuilder
public UnittestProto.TestParsingMerge.RepeatedGroup getRepeatedGroup(int index)
repeated group RepeatedGroup = 20 { ... }
getRepeatedGroup
in interface UnittestProto.TestParsingMergeOrBuilder
public UnittestProto.TestParsingMerge.RepeatedGroupOrBuilder getRepeatedGroupOrBuilder(int index)
repeated group RepeatedGroup = 20 { ... }
getRepeatedGroupOrBuilder
in interface UnittestProto.TestParsingMergeOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
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.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
java.io.ObjectStreamException
public static UnittestProto.TestParsingMerge parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestProto.TestParsingMerge parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestProto.TestParsingMerge parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestProto.TestParsingMerge parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestProto.TestParsingMerge parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestParsingMerge parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestParsingMerge parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestParsingMerge parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestParsingMerge parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestParsingMerge parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestParsingMerge.Builder newBuilder()
public UnittestProto.TestParsingMerge.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static UnittestProto.TestParsingMerge.Builder newBuilder(UnittestProto.TestParsingMerge prototype)
public UnittestProto.TestParsingMerge.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected UnittestProto.TestParsingMerge.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage