public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (dataType_ != ucar.nc2.stream.NcStreamProto.DataType.CHAR.getNumber()) { output.writeEnum(2, dataType_); } for (int i = 0; i < shape_.size(); i++) { output.writeMessage(3, shape_.get(i)); } for (int i = 0; i < atts_.size(); i++) { output.writeMessage(4, atts_.get(i)); } for (int i = 0; i < vars_.size(); i++) { output.writeMessage(5, vars_.get(i)); } for (int i = 0; i < structs_.size(); i++) { output.writeMessage(6, structs_.get(i)); } }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (dataType_ != ucar.nc2.stream.NcStreamProto.DataType.CHAR.getNumber()) { output.writeEnum(2, dataType_); } for (int i = 0; i < shape_.size(); i++) { output.writeMessage(3, shape_.get(i)); } for (int i = 0; i < atts_.size(); i++) { output.writeMessage(4, atts_.get(i)); } if (unsigned_ != false) { output.writeBool(5, unsigned_); } if (!data_.isEmpty()) { output.writeBytes(6, data_); } if (!getEnumTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 7, enumType_); } }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getDescBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getUnitsBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeEnum(4, dataType_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, section_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getVarNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, dataType_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, section_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, bigend_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, version_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeEnum(6, compress_.getNumber()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBool(7, vdata_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeUInt32(8, uncompressedSize_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getVarNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, dataType_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, section_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, bigend_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, version_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeEnum(6, compress_.getNumber()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBool(7, vdata_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeUInt32(8, uncompressedSize_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (dataType_ != ucar.nc2.stream.NcStreamProto.DataType.CHAR.getNumber()) { output.writeEnum(2, dataType_); } for (int i = 0; i < atts_.size(); i++) { output.writeMessage(4, atts_.get(i)); } if (!getCoordSysBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 5, coordSys_); } if (!getUnitsBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 6, units_); } if (!getDescriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 7, description_); } }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getDescBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getUnitsBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeEnum(4, dataType_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, section_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!getShortNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, shortName_); } if (dataType_ != ucar.nc2.stream.NcStreamProto.DataType.CHAR.getNumber()) { output.writeEnum(2, dataType_); } if (getShapeList().size() > 0) { output.writeRawVarint32(26); output.writeRawVarint32(shapeMemoizedSerializedSize); } for (int i = 0; i < shape_.size(); i++) { output.writeUInt32NoTag(shape_.get(i)); } if (isVlen_ != false) { output.writeBool(4, isVlen_); } }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (!getDescBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 2, desc_); } if (!getUnitsBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 3, units_); } if (dataType_ != ucar.nc2.stream.NcStreamProto.DataType.CHAR.getNumber()) { output.writeEnum(4, dataType_); } if (section_ != null) { output.writeMessage(5, getSection()); } }
/** * <code>optional .DataType dataType = 7;</code> * * <pre> * 5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING * </pre> */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } dataType_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional .DataType dataType = 2;</code> * * <pre> * STRUCTURE or SEQUENCE * </pre> */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } dataType_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional .DataType dataType = 4;</code> */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } dataType_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional .DataType dataType = 2;</code> */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } dataType_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional .DataType dataType = 2;</code> */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } dataType_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional .DataType dataType = 2;</code> */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } dataType_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional .DataType dataType = 2;</code> */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } dataType_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional .DataType dataType = 2;</code> */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } dataType_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional .DataType dataType = 2;</code> */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } dataType_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional .DataType dataType = 2;</code> */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } dataType_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional .DataType dataType = 2;</code> */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } dataType_ = value.getNumber(); onChanged(); return this; } /**