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, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.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.TestPackedTypes> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public java.util.List<java.lang.Integer> getPackedInt32List()
repeated int32 packed_int32 = 90 [packed = true];
getPackedInt32List
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedInt32Count()
repeated int32 packed_int32 = 90 [packed = true];
getPackedInt32Count
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedInt32(int index)
repeated int32 packed_int32 = 90 [packed = true];
getPackedInt32
in interface UnittestProto.TestPackedTypesOrBuilder
public java.util.List<java.lang.Long> getPackedInt64List()
repeated int64 packed_int64 = 91 [packed = true];
getPackedInt64List
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedInt64Count()
repeated int64 packed_int64 = 91 [packed = true];
getPackedInt64Count
in interface UnittestProto.TestPackedTypesOrBuilder
public long getPackedInt64(int index)
repeated int64 packed_int64 = 91 [packed = true];
getPackedInt64
in interface UnittestProto.TestPackedTypesOrBuilder
public java.util.List<java.lang.Integer> getPackedUint32List()
repeated uint32 packed_uint32 = 92 [packed = true];
getPackedUint32List
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedUint32Count()
repeated uint32 packed_uint32 = 92 [packed = true];
getPackedUint32Count
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedUint32(int index)
repeated uint32 packed_uint32 = 92 [packed = true];
getPackedUint32
in interface UnittestProto.TestPackedTypesOrBuilder
public java.util.List<java.lang.Long> getPackedUint64List()
repeated uint64 packed_uint64 = 93 [packed = true];
getPackedUint64List
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedUint64Count()
repeated uint64 packed_uint64 = 93 [packed = true];
getPackedUint64Count
in interface UnittestProto.TestPackedTypesOrBuilder
public long getPackedUint64(int index)
repeated uint64 packed_uint64 = 93 [packed = true];
getPackedUint64
in interface UnittestProto.TestPackedTypesOrBuilder
public java.util.List<java.lang.Integer> getPackedSint32List()
repeated sint32 packed_sint32 = 94 [packed = true];
getPackedSint32List
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedSint32Count()
repeated sint32 packed_sint32 = 94 [packed = true];
getPackedSint32Count
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedSint32(int index)
repeated sint32 packed_sint32 = 94 [packed = true];
getPackedSint32
in interface UnittestProto.TestPackedTypesOrBuilder
public java.util.List<java.lang.Long> getPackedSint64List()
repeated sint64 packed_sint64 = 95 [packed = true];
getPackedSint64List
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedSint64Count()
repeated sint64 packed_sint64 = 95 [packed = true];
getPackedSint64Count
in interface UnittestProto.TestPackedTypesOrBuilder
public long getPackedSint64(int index)
repeated sint64 packed_sint64 = 95 [packed = true];
getPackedSint64
in interface UnittestProto.TestPackedTypesOrBuilder
public java.util.List<java.lang.Integer> getPackedFixed32List()
repeated fixed32 packed_fixed32 = 96 [packed = true];
getPackedFixed32List
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedFixed32Count()
repeated fixed32 packed_fixed32 = 96 [packed = true];
getPackedFixed32Count
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedFixed32(int index)
repeated fixed32 packed_fixed32 = 96 [packed = true];
getPackedFixed32
in interface UnittestProto.TestPackedTypesOrBuilder
public java.util.List<java.lang.Long> getPackedFixed64List()
repeated fixed64 packed_fixed64 = 97 [packed = true];
getPackedFixed64List
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedFixed64Count()
repeated fixed64 packed_fixed64 = 97 [packed = true];
getPackedFixed64Count
in interface UnittestProto.TestPackedTypesOrBuilder
public long getPackedFixed64(int index)
repeated fixed64 packed_fixed64 = 97 [packed = true];
getPackedFixed64
in interface UnittestProto.TestPackedTypesOrBuilder
public java.util.List<java.lang.Integer> getPackedSfixed32List()
repeated sfixed32 packed_sfixed32 = 98 [packed = true];
getPackedSfixed32List
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedSfixed32Count()
repeated sfixed32 packed_sfixed32 = 98 [packed = true];
getPackedSfixed32Count
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedSfixed32(int index)
repeated sfixed32 packed_sfixed32 = 98 [packed = true];
getPackedSfixed32
in interface UnittestProto.TestPackedTypesOrBuilder
public java.util.List<java.lang.Long> getPackedSfixed64List()
repeated sfixed64 packed_sfixed64 = 99 [packed = true];
getPackedSfixed64List
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedSfixed64Count()
repeated sfixed64 packed_sfixed64 = 99 [packed = true];
getPackedSfixed64Count
in interface UnittestProto.TestPackedTypesOrBuilder
public long getPackedSfixed64(int index)
repeated sfixed64 packed_sfixed64 = 99 [packed = true];
getPackedSfixed64
in interface UnittestProto.TestPackedTypesOrBuilder
public java.util.List<java.lang.Float> getPackedFloatList()
repeated float packed_float = 100 [packed = true];
getPackedFloatList
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedFloatCount()
repeated float packed_float = 100 [packed = true];
getPackedFloatCount
in interface UnittestProto.TestPackedTypesOrBuilder
public float getPackedFloat(int index)
repeated float packed_float = 100 [packed = true];
getPackedFloat
in interface UnittestProto.TestPackedTypesOrBuilder
public java.util.List<java.lang.Double> getPackedDoubleList()
repeated double packed_double = 101 [packed = true];
getPackedDoubleList
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedDoubleCount()
repeated double packed_double = 101 [packed = true];
getPackedDoubleCount
in interface UnittestProto.TestPackedTypesOrBuilder
public double getPackedDouble(int index)
repeated double packed_double = 101 [packed = true];
getPackedDouble
in interface UnittestProto.TestPackedTypesOrBuilder
public java.util.List<java.lang.Boolean> getPackedBoolList()
repeated bool packed_bool = 102 [packed = true];
getPackedBoolList
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedBoolCount()
repeated bool packed_bool = 102 [packed = true];
getPackedBoolCount
in interface UnittestProto.TestPackedTypesOrBuilder
public boolean getPackedBool(int index)
repeated bool packed_bool = 102 [packed = true];
getPackedBool
in interface UnittestProto.TestPackedTypesOrBuilder
public java.util.List<UnittestProto.ForeignEnum> getPackedEnumList()
repeated .protobuf_unittest.ForeignEnum packed_enum = 103 [packed = true];
getPackedEnumList
in interface UnittestProto.TestPackedTypesOrBuilder
public int getPackedEnumCount()
repeated .protobuf_unittest.ForeignEnum packed_enum = 103 [packed = true];
getPackedEnumCount
in interface UnittestProto.TestPackedTypesOrBuilder
public UnittestProto.ForeignEnum getPackedEnum(int index)
repeated .protobuf_unittest.ForeignEnum packed_enum = 103 [packed = true];
getPackedEnum
in interface UnittestProto.TestPackedTypesOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
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.TestPackedTypes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestProto.TestPackedTypes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestProto.TestPackedTypes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestProto.TestPackedTypes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestProto.TestPackedTypes parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestPackedTypes parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestPackedTypes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestPackedTypes parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestPackedTypes parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestPackedTypes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestPackedTypes.Builder newBuilder()
public UnittestProto.TestPackedTypes.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static UnittestProto.TestPackedTypes.Builder newBuilder(UnittestProto.TestPackedTypes prototype)
public UnittestProto.TestPackedTypes.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected UnittestProto.TestPackedTypes.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage