public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, objectType_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, offset_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, packedSize_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, inflatedSize_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, deltaBase_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBool(6, isFragmented_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, objectType_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, offset_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, packedSize_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, inflatedSize_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, deltaBase_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBool(6, isFragmented_); } getUnknownFields().writeTo(output); }
if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, objectType_.getNumber());
if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, objectType_.getNumber());
/** @return type of the object, in OBJ_* constants. */ public int getType() { return data.getObjectType().getNumber(); }
/** @return type of the object, in OBJ_* constants. */ public int getType() { return data.getObjectType().getNumber(); }