public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor
.computeEnumSize(6, compress_.getNumber());
ucar.nc2.stream.NcStreamProto.Compress value = ucar.nc2.stream.NcStreamProto.Compress.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(6, rawValue);
ucar.nc2.stream.NcStreamProto.Compress value = ucar.nc2.stream.NcStreamProto.Compress.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(6, rawValue);
.computeUInt32Size(4, version_); if (compress_ != ucar.nc2.stream.NcStreamProto.Compress.NONE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, compress_);
.computeUInt32Size(5, version_); if (compress_ != ucar.nc2.stream.NcStreamProto.Compress.NONE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, compress_);
.computeEnumSize(6, compress_.getNumber());
output.writeUInt32(4, version_); if (compress_ != ucar.nc2.stream.NcStreamProto.Compress.NONE.getNumber()) { output.writeEnum(5, compress_);
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getVarNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, varName_); } if (dataType_ != ucar.nc2.stream.NcStreamProto.DataType.CHAR.getNumber()) { output.writeEnum(2, dataType_); } if (section_ != null) { output.writeMessage(3, getSection()); } if (bigendPresentCase_ == 4) { output.writeBool( 4, (boolean)((java.lang.Boolean) bigendPresent_)); } if (version_ != 0) { output.writeUInt32(5, version_); } if (compress_ != ucar.nc2.stream.NcStreamProto.Compress.NONE.getNumber()) { output.writeEnum(6, compress_); } if (vdata_ != false) { output.writeBool(7, vdata_); } if (uncompressedSize_ != 0) { output.writeUInt32(8, uncompressedSize_); } }
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); }
/** * <code>optional .Compress compress = 5;</code> */ public Builder setCompress(ucar.nc2.stream.NcStreamProto.Compress value) { if (value == null) { throw new NullPointerException(); } compress_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional .Compress compress = 5;</code> */ public ucar.nc2.stream.NcStreamProto.Compress getCompress() { ucar.nc2.stream.NcStreamProto.Compress result = ucar.nc2.stream.NcStreamProto.Compress.valueOf(compress_); return result == null ? ucar.nc2.stream.NcStreamProto.Compress.UNRECOGNIZED : result; }
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor
public static Compress valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; }
public static Compress valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; }
public static Compress valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; }
/** * <code>optional .Compress compress = 6;</code> */ public ucar.nc2.stream.NcStreamProto.Compress getCompress() { ucar.nc2.stream.NcStreamProto.Compress result = ucar.nc2.stream.NcStreamProto.Compress.valueOf(compress_); return result == null ? ucar.nc2.stream.NcStreamProto.Compress.UNRECOGNIZED : result; } /**