public static final class UnittestProto.TestPackedTypes extends com.google.protobuf.GeneratedMessage implements UnittestProto.TestPackedTypesOrBuilder
protobuf_unittest.TestPackedTypes| Modifier and Type | Class and Description |
|---|---|
static class |
UnittestProto.TestPackedTypes.Builder
Protobuf type
protobuf_unittest.TestPackedTypes |
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 |
PACKED_BOOL_FIELD_NUMBER |
static int |
PACKED_DOUBLE_FIELD_NUMBER |
static int |
PACKED_ENUM_FIELD_NUMBER |
static int |
PACKED_FIXED32_FIELD_NUMBER |
static int |
PACKED_FIXED64_FIELD_NUMBER |
static int |
PACKED_FLOAT_FIELD_NUMBER |
static int |
PACKED_INT32_FIELD_NUMBER |
static int |
PACKED_INT64_FIELD_NUMBER |
static int |
PACKED_SFIXED32_FIELD_NUMBER |
static int |
PACKED_SFIXED64_FIELD_NUMBER |
static int |
PACKED_SINT32_FIELD_NUMBER |
static int |
PACKED_SINT64_FIELD_NUMBER |
static int |
PACKED_UINT32_FIELD_NUMBER |
static int |
PACKED_UINT64_FIELD_NUMBER |
static com.google.protobuf.Parser<UnittestProto.TestPackedTypes> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
static UnittestProto.TestPackedTypes |
getDefaultInstance() |
UnittestProto.TestPackedTypes |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getPackedBool(int index)
repeated bool packed_bool = 102 [packed = true]; |
int |
getPackedBoolCount()
repeated bool packed_bool = 102 [packed = true]; |
java.util.List<java.lang.Boolean> |
getPackedBoolList()
repeated bool packed_bool = 102 [packed = true]; |
double |
getPackedDouble(int index)
repeated double packed_double = 101 [packed = true]; |
int |
getPackedDoubleCount()
repeated double packed_double = 101 [packed = true]; |
java.util.List<java.lang.Double> |
getPackedDoubleList()
repeated double packed_double = 101 [packed = true]; |
UnittestProto.ForeignEnum |
getPackedEnum(int index)
repeated .protobuf_unittest.ForeignEnum packed_enum = 103 [packed = true]; |
int |
getPackedEnumCount()
repeated .protobuf_unittest.ForeignEnum packed_enum = 103 [packed = true]; |
java.util.List<UnittestProto.ForeignEnum> |
getPackedEnumList()
repeated .protobuf_unittest.ForeignEnum packed_enum = 103 [packed = true]; |
int |
getPackedFixed32(int index)
repeated fixed32 packed_fixed32 = 96 [packed = true]; |
int |
getPackedFixed32Count()
repeated fixed32 packed_fixed32 = 96 [packed = true]; |
java.util.List<java.lang.Integer> |
getPackedFixed32List()
repeated fixed32 packed_fixed32 = 96 [packed = true]; |
long |
getPackedFixed64(int index)
repeated fixed64 packed_fixed64 = 97 [packed = true]; |
int |
getPackedFixed64Count()
repeated fixed64 packed_fixed64 = 97 [packed = true]; |
java.util.List<java.lang.Long> |
getPackedFixed64List()
repeated fixed64 packed_fixed64 = 97 [packed = true]; |
float |
getPackedFloat(int index)
repeated float packed_float = 100 [packed = true]; |
int |
getPackedFloatCount()
repeated float packed_float = 100 [packed = true]; |
java.util.List<java.lang.Float> |
getPackedFloatList()
repeated float packed_float = 100 [packed = true]; |
int |
getPackedInt32(int index)
repeated int32 packed_int32 = 90 [packed = true]; |
int |
getPackedInt32Count()
repeated int32 packed_int32 = 90 [packed = true]; |
java.util.List<java.lang.Integer> |
getPackedInt32List()
repeated int32 packed_int32 = 90 [packed = true]; |
long |
getPackedInt64(int index)
repeated int64 packed_int64 = 91 [packed = true]; |
int |
getPackedInt64Count()
repeated int64 packed_int64 = 91 [packed = true]; |
java.util.List<java.lang.Long> |
getPackedInt64List()
repeated int64 packed_int64 = 91 [packed = true]; |
int |
getPackedSfixed32(int index)
repeated sfixed32 packed_sfixed32 = 98 [packed = true]; |
int |
getPackedSfixed32Count()
repeated sfixed32 packed_sfixed32 = 98 [packed = true]; |
java.util.List<java.lang.Integer> |
getPackedSfixed32List()
repeated sfixed32 packed_sfixed32 = 98 [packed = true]; |
long |
getPackedSfixed64(int index)
repeated sfixed64 packed_sfixed64 = 99 [packed = true]; |
int |
getPackedSfixed64Count()
repeated sfixed64 packed_sfixed64 = 99 [packed = true]; |
java.util.List<java.lang.Long> |
getPackedSfixed64List()
repeated sfixed64 packed_sfixed64 = 99 [packed = true]; |
int |
getPackedSint32(int index)
repeated sint32 packed_sint32 = 94 [packed = true]; |
int |
getPackedSint32Count()
repeated sint32 packed_sint32 = 94 [packed = true]; |
java.util.List<java.lang.Integer> |
getPackedSint32List()
repeated sint32 packed_sint32 = 94 [packed = true]; |
long |
getPackedSint64(int index)
repeated sint64 packed_sint64 = 95 [packed = true]; |
int |
getPackedSint64Count()
repeated sint64 packed_sint64 = 95 [packed = true]; |
java.util.List<java.lang.Long> |
getPackedSint64List()
repeated sint64 packed_sint64 = 95 [packed = true]; |
int |
getPackedUint32(int index)
repeated uint32 packed_uint32 = 92 [packed = true]; |
int |
getPackedUint32Count()
repeated uint32 packed_uint32 = 92 [packed = true]; |
java.util.List<java.lang.Integer> |
getPackedUint32List()
repeated uint32 packed_uint32 = 92 [packed = true]; |
long |
getPackedUint64(int index)
repeated uint64 packed_uint64 = 93 [packed = true]; |
int |
getPackedUint64Count()
repeated uint64 packed_uint64 = 93 [packed = true]; |
java.util.List<java.lang.Long> |
getPackedUint64List()
repeated uint64 packed_uint64 = 93 [packed = true]; |
com.google.protobuf.Parser<UnittestProto.TestPackedTypes> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UnittestProto.TestPackedTypes.Builder |
newBuilder() |
static UnittestProto.TestPackedTypes.Builder |
newBuilder(UnittestProto.TestPackedTypes prototype) |
UnittestProto.TestPackedTypes.Builder |
newBuilderForType() |
protected UnittestProto.TestPackedTypes.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static UnittestProto.TestPackedTypes |
parseDelimitedFrom(java.io.InputStream input) |
static UnittestProto.TestPackedTypes |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestPackedTypes |
parseFrom(byte[] data) |
static UnittestProto.TestPackedTypes |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestPackedTypes |
parseFrom(com.google.protobuf.ByteString data) |
static UnittestProto.TestPackedTypes |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestPackedTypes |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UnittestProto.TestPackedTypes |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestPackedTypes |
parseFrom(java.io.InputStream input) |
static UnittestProto.TestPackedTypes |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnittestProto.TestPackedTypes.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<UnittestProto.TestPackedTypes> PARSER
public static final int PACKED_INT32_FIELD_NUMBER
public static final int PACKED_INT64_FIELD_NUMBER
public static final int PACKED_UINT32_FIELD_NUMBER
public static final int PACKED_UINT64_FIELD_NUMBER
public static final int PACKED_SINT32_FIELD_NUMBER
public static final int PACKED_SINT64_FIELD_NUMBER
public static final int PACKED_FIXED32_FIELD_NUMBER
public static final int PACKED_FIXED64_FIELD_NUMBER
public static final int PACKED_SFIXED32_FIELD_NUMBER
public static final int PACKED_SFIXED64_FIELD_NUMBER
public static final int PACKED_FLOAT_FIELD_NUMBER
public static final int PACKED_DOUBLE_FIELD_NUMBER
public static final int PACKED_BOOL_FIELD_NUMBER
public static final int PACKED_ENUM_FIELD_NUMBER
public static UnittestProto.TestPackedTypes getDefaultInstance()
public UnittestProto.TestPackedTypes getDefaultInstanceForType()
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.TestPackedTypes> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic java.util.List<java.lang.Integer> getPackedInt32List()
repeated int32 packed_int32 = 90 [packed = true];getPackedInt32List in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedInt32Count()
repeated int32 packed_int32 = 90 [packed = true];getPackedInt32Count in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedInt32(int index)
repeated int32 packed_int32 = 90 [packed = true];getPackedInt32 in interface UnittestProto.TestPackedTypesOrBuilderpublic java.util.List<java.lang.Long> getPackedInt64List()
repeated int64 packed_int64 = 91 [packed = true];getPackedInt64List in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedInt64Count()
repeated int64 packed_int64 = 91 [packed = true];getPackedInt64Count in interface UnittestProto.TestPackedTypesOrBuilderpublic long getPackedInt64(int index)
repeated int64 packed_int64 = 91 [packed = true];getPackedInt64 in interface UnittestProto.TestPackedTypesOrBuilderpublic java.util.List<java.lang.Integer> getPackedUint32List()
repeated uint32 packed_uint32 = 92 [packed = true];getPackedUint32List in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedUint32Count()
repeated uint32 packed_uint32 = 92 [packed = true];getPackedUint32Count in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedUint32(int index)
repeated uint32 packed_uint32 = 92 [packed = true];getPackedUint32 in interface UnittestProto.TestPackedTypesOrBuilderpublic java.util.List<java.lang.Long> getPackedUint64List()
repeated uint64 packed_uint64 = 93 [packed = true];getPackedUint64List in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedUint64Count()
repeated uint64 packed_uint64 = 93 [packed = true];getPackedUint64Count in interface UnittestProto.TestPackedTypesOrBuilderpublic long getPackedUint64(int index)
repeated uint64 packed_uint64 = 93 [packed = true];getPackedUint64 in interface UnittestProto.TestPackedTypesOrBuilderpublic java.util.List<java.lang.Integer> getPackedSint32List()
repeated sint32 packed_sint32 = 94 [packed = true];getPackedSint32List in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedSint32Count()
repeated sint32 packed_sint32 = 94 [packed = true];getPackedSint32Count in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedSint32(int index)
repeated sint32 packed_sint32 = 94 [packed = true];getPackedSint32 in interface UnittestProto.TestPackedTypesOrBuilderpublic java.util.List<java.lang.Long> getPackedSint64List()
repeated sint64 packed_sint64 = 95 [packed = true];getPackedSint64List in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedSint64Count()
repeated sint64 packed_sint64 = 95 [packed = true];getPackedSint64Count in interface UnittestProto.TestPackedTypesOrBuilderpublic long getPackedSint64(int index)
repeated sint64 packed_sint64 = 95 [packed = true];getPackedSint64 in interface UnittestProto.TestPackedTypesOrBuilderpublic java.util.List<java.lang.Integer> getPackedFixed32List()
repeated fixed32 packed_fixed32 = 96 [packed = true];getPackedFixed32List in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedFixed32Count()
repeated fixed32 packed_fixed32 = 96 [packed = true];getPackedFixed32Count in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedFixed32(int index)
repeated fixed32 packed_fixed32 = 96 [packed = true];getPackedFixed32 in interface UnittestProto.TestPackedTypesOrBuilderpublic java.util.List<java.lang.Long> getPackedFixed64List()
repeated fixed64 packed_fixed64 = 97 [packed = true];getPackedFixed64List in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedFixed64Count()
repeated fixed64 packed_fixed64 = 97 [packed = true];getPackedFixed64Count in interface UnittestProto.TestPackedTypesOrBuilderpublic long getPackedFixed64(int index)
repeated fixed64 packed_fixed64 = 97 [packed = true];getPackedFixed64 in interface UnittestProto.TestPackedTypesOrBuilderpublic java.util.List<java.lang.Integer> getPackedSfixed32List()
repeated sfixed32 packed_sfixed32 = 98 [packed = true];getPackedSfixed32List in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedSfixed32Count()
repeated sfixed32 packed_sfixed32 = 98 [packed = true];getPackedSfixed32Count in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedSfixed32(int index)
repeated sfixed32 packed_sfixed32 = 98 [packed = true];getPackedSfixed32 in interface UnittestProto.TestPackedTypesOrBuilderpublic java.util.List<java.lang.Long> getPackedSfixed64List()
repeated sfixed64 packed_sfixed64 = 99 [packed = true];getPackedSfixed64List in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedSfixed64Count()
repeated sfixed64 packed_sfixed64 = 99 [packed = true];getPackedSfixed64Count in interface UnittestProto.TestPackedTypesOrBuilderpublic long getPackedSfixed64(int index)
repeated sfixed64 packed_sfixed64 = 99 [packed = true];getPackedSfixed64 in interface UnittestProto.TestPackedTypesOrBuilderpublic java.util.List<java.lang.Float> getPackedFloatList()
repeated float packed_float = 100 [packed = true];getPackedFloatList in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedFloatCount()
repeated float packed_float = 100 [packed = true];getPackedFloatCount in interface UnittestProto.TestPackedTypesOrBuilderpublic float getPackedFloat(int index)
repeated float packed_float = 100 [packed = true];getPackedFloat in interface UnittestProto.TestPackedTypesOrBuilderpublic java.util.List<java.lang.Double> getPackedDoubleList()
repeated double packed_double = 101 [packed = true];getPackedDoubleList in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedDoubleCount()
repeated double packed_double = 101 [packed = true];getPackedDoubleCount in interface UnittestProto.TestPackedTypesOrBuilderpublic double getPackedDouble(int index)
repeated double packed_double = 101 [packed = true];getPackedDouble in interface UnittestProto.TestPackedTypesOrBuilderpublic java.util.List<java.lang.Boolean> getPackedBoolList()
repeated bool packed_bool = 102 [packed = true];getPackedBoolList in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedBoolCount()
repeated bool packed_bool = 102 [packed = true];getPackedBoolCount in interface UnittestProto.TestPackedTypesOrBuilderpublic boolean getPackedBool(int index)
repeated bool packed_bool = 102 [packed = true];getPackedBool in interface UnittestProto.TestPackedTypesOrBuilderpublic java.util.List<UnittestProto.ForeignEnum> getPackedEnumList()
repeated .protobuf_unittest.ForeignEnum packed_enum = 103 [packed = true];getPackedEnumList in interface UnittestProto.TestPackedTypesOrBuilderpublic int getPackedEnumCount()
repeated .protobuf_unittest.ForeignEnum packed_enum = 103 [packed = true];getPackedEnumCount in interface UnittestProto.TestPackedTypesOrBuilderpublic UnittestProto.ForeignEnum getPackedEnum(int index)
repeated .protobuf_unittest.ForeignEnum packed_enum = 103 [packed = true];getPackedEnum in interface UnittestProto.TestPackedTypesOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic 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.TestPackedTypes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestPackedTypes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestPackedTypes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestPackedTypes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestPackedTypes parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestPackedTypes parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestPackedTypes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestPackedTypes parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestPackedTypes parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestPackedTypes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestPackedTypes.Builder newBuilder()
public UnittestProto.TestPackedTypes.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UnittestProto.TestPackedTypes.Builder newBuilder(UnittestProto.TestPackedTypes prototype)
public UnittestProto.TestPackedTypes.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UnittestProto.TestPackedTypes.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessage