public static final class UnittestLite.TestPackedTypesLite extends com.google.protobuf.GeneratedMessageLite implements UnittestLite.TestPackedTypesLiteOrBuilder
protobuf_unittest.TestPackedTypesLite
Modifier and Type | Class and Description |
---|---|
static class |
UnittestLite.TestPackedTypesLite.Builder
Protobuf type
protobuf_unittest.TestPackedTypesLite |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,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<UnittestLite.TestPackedTypesLite> |
PARSER |
Modifier and Type | Method and Description |
---|---|
static UnittestLite.TestPackedTypesLite |
getDefaultInstance() |
UnittestLite.TestPackedTypesLite |
getDefaultInstanceForType() |
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]; |
UnittestLite.ForeignEnumLite |
getPackedEnum(int index)
repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; |
int |
getPackedEnumCount()
repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true]; |
java.util.List<UnittestLite.ForeignEnumLite> |
getPackedEnumList()
repeated .protobuf_unittest.ForeignEnumLite 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<UnittestLite.TestPackedTypesLite> |
getParserForType() |
int |
getSerializedSize() |
boolean |
isInitialized() |
static UnittestLite.TestPackedTypesLite.Builder |
newBuilder() |
static UnittestLite.TestPackedTypesLite.Builder |
newBuilder(UnittestLite.TestPackedTypesLite prototype) |
UnittestLite.TestPackedTypesLite.Builder |
newBuilderForType() |
static UnittestLite.TestPackedTypesLite |
parseDelimitedFrom(java.io.InputStream input) |
static UnittestLite.TestPackedTypesLite |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestLite.TestPackedTypesLite |
parseFrom(byte[] data) |
static UnittestLite.TestPackedTypesLite |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestLite.TestPackedTypesLite |
parseFrom(com.google.protobuf.ByteString data) |
static UnittestLite.TestPackedTypesLite |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestLite.TestPackedTypesLite |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UnittestLite.TestPackedTypesLite |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestLite.TestPackedTypesLite |
parseFrom(java.io.InputStream input) |
static UnittestLite.TestPackedTypesLite |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnittestLite.TestPackedTypesLite.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
public static com.google.protobuf.Parser<UnittestLite.TestPackedTypesLite> 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 UnittestLite.TestPackedTypesLite getDefaultInstance()
public UnittestLite.TestPackedTypesLite getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
public com.google.protobuf.Parser<UnittestLite.TestPackedTypesLite> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
public java.util.List<java.lang.Integer> getPackedInt32List()
repeated int32 packed_int32 = 90 [packed = true];
getPackedInt32List
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedInt32Count()
repeated int32 packed_int32 = 90 [packed = true];
getPackedInt32Count
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedInt32(int index)
repeated int32 packed_int32 = 90 [packed = true];
getPackedInt32
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public java.util.List<java.lang.Long> getPackedInt64List()
repeated int64 packed_int64 = 91 [packed = true];
getPackedInt64List
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedInt64Count()
repeated int64 packed_int64 = 91 [packed = true];
getPackedInt64Count
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public long getPackedInt64(int index)
repeated int64 packed_int64 = 91 [packed = true];
getPackedInt64
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public java.util.List<java.lang.Integer> getPackedUint32List()
repeated uint32 packed_uint32 = 92 [packed = true];
getPackedUint32List
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedUint32Count()
repeated uint32 packed_uint32 = 92 [packed = true];
getPackedUint32Count
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedUint32(int index)
repeated uint32 packed_uint32 = 92 [packed = true];
getPackedUint32
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public java.util.List<java.lang.Long> getPackedUint64List()
repeated uint64 packed_uint64 = 93 [packed = true];
getPackedUint64List
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedUint64Count()
repeated uint64 packed_uint64 = 93 [packed = true];
getPackedUint64Count
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public long getPackedUint64(int index)
repeated uint64 packed_uint64 = 93 [packed = true];
getPackedUint64
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public java.util.List<java.lang.Integer> getPackedSint32List()
repeated sint32 packed_sint32 = 94 [packed = true];
getPackedSint32List
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedSint32Count()
repeated sint32 packed_sint32 = 94 [packed = true];
getPackedSint32Count
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedSint32(int index)
repeated sint32 packed_sint32 = 94 [packed = true];
getPackedSint32
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public java.util.List<java.lang.Long> getPackedSint64List()
repeated sint64 packed_sint64 = 95 [packed = true];
getPackedSint64List
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedSint64Count()
repeated sint64 packed_sint64 = 95 [packed = true];
getPackedSint64Count
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public long getPackedSint64(int index)
repeated sint64 packed_sint64 = 95 [packed = true];
getPackedSint64
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public java.util.List<java.lang.Integer> getPackedFixed32List()
repeated fixed32 packed_fixed32 = 96 [packed = true];
getPackedFixed32List
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedFixed32Count()
repeated fixed32 packed_fixed32 = 96 [packed = true];
getPackedFixed32Count
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedFixed32(int index)
repeated fixed32 packed_fixed32 = 96 [packed = true];
getPackedFixed32
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public java.util.List<java.lang.Long> getPackedFixed64List()
repeated fixed64 packed_fixed64 = 97 [packed = true];
getPackedFixed64List
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedFixed64Count()
repeated fixed64 packed_fixed64 = 97 [packed = true];
getPackedFixed64Count
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public long getPackedFixed64(int index)
repeated fixed64 packed_fixed64 = 97 [packed = true];
getPackedFixed64
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public java.util.List<java.lang.Integer> getPackedSfixed32List()
repeated sfixed32 packed_sfixed32 = 98 [packed = true];
getPackedSfixed32List
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedSfixed32Count()
repeated sfixed32 packed_sfixed32 = 98 [packed = true];
getPackedSfixed32Count
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedSfixed32(int index)
repeated sfixed32 packed_sfixed32 = 98 [packed = true];
getPackedSfixed32
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public java.util.List<java.lang.Long> getPackedSfixed64List()
repeated sfixed64 packed_sfixed64 = 99 [packed = true];
getPackedSfixed64List
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedSfixed64Count()
repeated sfixed64 packed_sfixed64 = 99 [packed = true];
getPackedSfixed64Count
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public long getPackedSfixed64(int index)
repeated sfixed64 packed_sfixed64 = 99 [packed = true];
getPackedSfixed64
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public java.util.List<java.lang.Float> getPackedFloatList()
repeated float packed_float = 100 [packed = true];
getPackedFloatList
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedFloatCount()
repeated float packed_float = 100 [packed = true];
getPackedFloatCount
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public float getPackedFloat(int index)
repeated float packed_float = 100 [packed = true];
getPackedFloat
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public java.util.List<java.lang.Double> getPackedDoubleList()
repeated double packed_double = 101 [packed = true];
getPackedDoubleList
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedDoubleCount()
repeated double packed_double = 101 [packed = true];
getPackedDoubleCount
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public double getPackedDouble(int index)
repeated double packed_double = 101 [packed = true];
getPackedDouble
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public java.util.List<java.lang.Boolean> getPackedBoolList()
repeated bool packed_bool = 102 [packed = true];
getPackedBoolList
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedBoolCount()
repeated bool packed_bool = 102 [packed = true];
getPackedBoolCount
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public boolean getPackedBool(int index)
repeated bool packed_bool = 102 [packed = true];
getPackedBool
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public java.util.List<UnittestLite.ForeignEnumLite> getPackedEnumList()
repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];
getPackedEnumList
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public int getPackedEnumCount()
repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];
getPackedEnumCount
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public UnittestLite.ForeignEnumLite getPackedEnum(int index)
repeated .protobuf_unittest.ForeignEnumLite packed_enum = 103 [packed = true];
getPackedEnum
in interface UnittestLite.TestPackedTypesLiteOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessageLite
java.io.ObjectStreamException
public static UnittestLite.TestPackedTypesLite parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestLite.TestPackedTypesLite parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestLite.TestPackedTypesLite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestLite.TestPackedTypesLite parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestLite.TestPackedTypesLite parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestLite.TestPackedTypesLite parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestLite.TestPackedTypesLite parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestLite.TestPackedTypesLite parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestLite.TestPackedTypesLite parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static UnittestLite.TestPackedTypesLite parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestLite.TestPackedTypesLite.Builder newBuilder()
public UnittestLite.TestPackedTypesLite.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static UnittestLite.TestPackedTypesLite.Builder newBuilder(UnittestLite.TestPackedTypesLite prototype)
public UnittestLite.TestPackedTypesLite.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite