All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ucar.nc2.ft2.coverage.remote.CdmrFeatureProto Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: cdmrfeature.proto

package ucar.nc2.ft2.coverage.remote;

public final class CdmrFeatureProto {
  private CdmrFeatureProto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * 
   * same as ucar.nc2.constants.AxisType
   * 
* * Protobuf enum {@code AxisType} */ public enum AxisType implements com.google.protobuf.ProtocolMessageEnum { /** * RunTime = 0; */ RunTime(0), /** * Ensemble = 1; */ Ensemble(1), /** * Time = 2; */ Time(2), /** * GeoX = 3; */ GeoX(3), /** * GeoY = 4; */ GeoY(4), /** * GeoZ = 5; */ GeoZ(5), /** * Lat = 6; */ Lat(6), /** * Lon = 7; */ Lon(7), /** * Height = 8; */ Height(8), /** * Pressure = 9; */ Pressure(9), /** * RadialAzimuth = 10; */ RadialAzimuth(10), /** * RadialDistance = 11; */ RadialDistance(11), /** * RadialElevation = 12; */ RadialElevation(12), /** * Spectral = 13; */ Spectral(13), /** * TimeOffset = 14; */ TimeOffset(14), UNRECOGNIZED(-1), ; /** * RunTime = 0; */ public static final int RunTime_VALUE = 0; /** * Ensemble = 1; */ public static final int Ensemble_VALUE = 1; /** * Time = 2; */ public static final int Time_VALUE = 2; /** * GeoX = 3; */ public static final int GeoX_VALUE = 3; /** * GeoY = 4; */ public static final int GeoY_VALUE = 4; /** * GeoZ = 5; */ public static final int GeoZ_VALUE = 5; /** * Lat = 6; */ public static final int Lat_VALUE = 6; /** * Lon = 7; */ public static final int Lon_VALUE = 7; /** * Height = 8; */ public static final int Height_VALUE = 8; /** * Pressure = 9; */ public static final int Pressure_VALUE = 9; /** * RadialAzimuth = 10; */ public static final int RadialAzimuth_VALUE = 10; /** * RadialDistance = 11; */ public static final int RadialDistance_VALUE = 11; /** * RadialElevation = 12; */ public static final int RadialElevation_VALUE = 12; /** * Spectral = 13; */ public static final int Spectral_VALUE = 13; /** * TimeOffset = 14; */ public static final int TimeOffset_VALUE = 14; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static AxisType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static AxisType forNumber(int value) { switch (value) { case 0: return RunTime; case 1: return Ensemble; case 2: return Time; case 3: return GeoX; case 4: return GeoY; case 5: return GeoZ; case 6: return Lat; case 7: return Lon; case 8: return Height; case 9: return Pressure; case 10: return RadialAzimuth; case 11: return RadialDistance; case 12: return RadialElevation; case 13: return Spectral; case 14: return TimeOffset; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< AxisType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public AxisType findValueByNumber(int number) { return AxisType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.getDescriptor().getEnumTypes().get(0); } private static final AxisType[] VALUES = values(); public static AxisType 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()]; } private final int value; private AxisType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:AxisType) } /** *
   * same as CoverageCoordAxis.Spacing
   * 
* * Protobuf enum {@code AxisSpacing} */ public enum AxisSpacing implements com.google.protobuf.ProtocolMessageEnum { /** * regularPoint = 0; */ regularPoint(0), /** * irregularPoint = 1; */ irregularPoint(1), /** * contiguousInterval = 2; */ contiguousInterval(2), /** * discontiguousInterval = 3; */ discontiguousInterval(3), /** * regularInterval = 4; */ regularInterval(4), UNRECOGNIZED(-1), ; /** * regularPoint = 0; */ public static final int regularPoint_VALUE = 0; /** * irregularPoint = 1; */ public static final int irregularPoint_VALUE = 1; /** * contiguousInterval = 2; */ public static final int contiguousInterval_VALUE = 2; /** * discontiguousInterval = 3; */ public static final int discontiguousInterval_VALUE = 3; /** * regularInterval = 4; */ public static final int regularInterval_VALUE = 4; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static AxisSpacing valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static AxisSpacing forNumber(int value) { switch (value) { case 0: return regularPoint; case 1: return irregularPoint; case 2: return contiguousInterval; case 3: return discontiguousInterval; case 4: return regularInterval; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< AxisSpacing> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public AxisSpacing findValueByNumber(int number) { return AxisSpacing.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.getDescriptor().getEnumTypes().get(1); } private static final AxisSpacing[] VALUES = values(); public static AxisSpacing 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()]; } private final int value; private AxisSpacing(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:AxisSpacing) } /** *
   * same as CoverageCoordAxis.DependenceType
   * 
* * Protobuf enum {@code DependenceType} */ public enum DependenceType implements com.google.protobuf.ProtocolMessageEnum { /** *
     * has its own dimension, is a coordinate variable, eg x(x)
     * 
* * independent = 0; */ independent(0), /** *
     * aux coordinate, reftime(time) or time_bounds(time);
     * 
* * dependent = 1; */ dependent(1), /** *
     * reftime
     * 
* * scalar = 2; */ scalar(2), /** *
     * lat(x,y)
     * 
* * twoD = 3; */ twoD(3), /** *
     * time(reftime, hourOfDay)
     * 
* * fmrcReg = 4; */ fmrcReg(4), UNRECOGNIZED(-1), ; /** *
     * has its own dimension, is a coordinate variable, eg x(x)
     * 
* * independent = 0; */ public static final int independent_VALUE = 0; /** *
     * aux coordinate, reftime(time) or time_bounds(time);
     * 
* * dependent = 1; */ public static final int dependent_VALUE = 1; /** *
     * reftime
     * 
* * scalar = 2; */ public static final int scalar_VALUE = 2; /** *
     * lat(x,y)
     * 
* * twoD = 3; */ public static final int twoD_VALUE = 3; /** *
     * time(reftime, hourOfDay)
     * 
* * fmrcReg = 4; */ public static final int fmrcReg_VALUE = 4; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DependenceType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static DependenceType forNumber(int value) { switch (value) { case 0: return independent; case 1: return dependent; case 2: return scalar; case 3: return twoD; case 4: return fmrcReg; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< DependenceType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public DependenceType findValueByNumber(int number) { return DependenceType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.getDescriptor().getEnumTypes().get(2); } private static final DependenceType[] VALUES = values(); public static DependenceType 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()]; } private final int value; private DependenceType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:DependenceType) } /** *
   * same as ucar.nc2.time.Calendar
   * 
* * Protobuf enum {@code Calendar} */ public enum Calendar implements com.google.protobuf.ProtocolMessageEnum { /** * proleptic_gregorian = 0; */ proleptic_gregorian(0), /** * gregorian = 1; */ gregorian(1), /** * noleap = 2; */ noleap(2), /** * all_leap = 3; */ all_leap(3), /** * uniform30day = 4; */ uniform30day(4), /** * julian = 5; */ julian(5), /** * none = 6; */ none(6), UNRECOGNIZED(-1), ; /** * proleptic_gregorian = 0; */ public static final int proleptic_gregorian_VALUE = 0; /** * gregorian = 1; */ public static final int gregorian_VALUE = 1; /** * noleap = 2; */ public static final int noleap_VALUE = 2; /** * all_leap = 3; */ public static final int all_leap_VALUE = 3; /** * uniform30day = 4; */ public static final int uniform30day_VALUE = 4; /** * julian = 5; */ public static final int julian_VALUE = 5; /** * none = 6; */ public static final int none_VALUE = 6; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Calendar valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Calendar forNumber(int value) { switch (value) { case 0: return proleptic_gregorian; case 1: return gregorian; case 2: return noleap; case 3: return all_leap; case 4: return uniform30day; case 5: return julian; case 6: return none; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Calendar> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Calendar findValueByNumber(int number) { return Calendar.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.getDescriptor().getEnumTypes().get(3); } private static final Calendar[] VALUES = values(); public static Calendar 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()]; } private final int value; private Calendar(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Calendar) } /** * Protobuf enum {@code CoverageType} */ public enum CoverageType implements com.google.protobuf.ProtocolMessageEnum { /** * General = 0; */ General(0), /** * Curvilinear = 1; */ Curvilinear(1), /** * Grid = 2; */ Grid(2), /** * Swath = 3; */ Swath(3), /** * Fmrc = 4; */ Fmrc(4), UNRECOGNIZED(-1), ; /** * General = 0; */ public static final int General_VALUE = 0; /** * Curvilinear = 1; */ public static final int Curvilinear_VALUE = 1; /** * Grid = 2; */ public static final int Grid_VALUE = 2; /** * Swath = 3; */ public static final int Swath_VALUE = 3; /** * Fmrc = 4; */ public static final int Fmrc_VALUE = 4; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static CoverageType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static CoverageType forNumber(int value) { switch (value) { case 0: return General; case 1: return Curvilinear; case 2: return Grid; case 3: return Swath; case 4: return Fmrc; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< CoverageType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public CoverageType findValueByNumber(int number) { return CoverageType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.getDescriptor().getEnumTypes().get(4); } private static final CoverageType[] VALUES = values(); public static CoverageType 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()]; } private final int value; private CoverageType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:CoverageType) } public interface CoordTransformOrBuilder extends // @@protoc_insertion_point(interface_extends:CoordTransform) com.google.protobuf.MessageOrBuilder { /** * bool isHoriz = 1; * @return The isHoriz. */ boolean getIsHoriz(); /** *
     * short name, unique within dataset
     * 
* * string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * short name, unique within dataset
     * 
* * string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * repeated .Attribute params = 3; */ java.util.List getParamsList(); /** * repeated .Attribute params = 3; */ ucar.nc2.stream.NcStreamProto.Attribute getParams(int index); /** * repeated .Attribute params = 3; */ int getParamsCount(); /** * repeated .Attribute params = 3; */ java.util.List getParamsOrBuilderList(); /** * repeated .Attribute params = 3; */ ucar.nc2.stream.NcStreamProto.AttributeOrBuilder getParamsOrBuilder( int index); } /** * Protobuf type {@code CoordTransform} */ public static final class CoordTransform extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:CoordTransform) CoordTransformOrBuilder { private static final long serialVersionUID = 0L; // Use CoordTransform.newBuilder() to construct. private CoordTransform(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CoordTransform() { name_ = ""; params_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CoordTransform(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordTransform_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordTransform_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder.class); } public static final int ISHORIZ_FIELD_NUMBER = 1; private boolean isHoriz_ = false; /** * bool isHoriz = 1; * @return The isHoriz. */ @java.lang.Override public boolean getIsHoriz() { return isHoriz_; } public static final int NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * short name, unique within dataset
     * 
* * string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * short name, unique within dataset
     * 
* * string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARAMS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List params_; /** * repeated .Attribute params = 3; */ @java.lang.Override public java.util.List getParamsList() { return params_; } /** * repeated .Attribute params = 3; */ @java.lang.Override public java.util.List getParamsOrBuilderList() { return params_; } /** * repeated .Attribute params = 3; */ @java.lang.Override public int getParamsCount() { return params_.size(); } /** * repeated .Attribute params = 3; */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.Attribute getParams(int index) { return params_.get(index); } /** * repeated .Attribute params = 3; */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.AttributeOrBuilder getParamsOrBuilder( int index) { return params_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (isHoriz_ != false) { output.writeBool(1, isHoriz_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } for (int i = 0; i < params_.size(); i++) { output.writeMessage(3, params_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (isHoriz_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, isHoriz_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } for (int i = 0; i < params_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, params_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform)) { return super.equals(obj); } ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform other = (ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform) obj; if (getIsHoriz() != other.getIsHoriz()) return false; if (!getName() .equals(other.getName())) return false; if (!getParamsList() .equals(other.getParamsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ISHORIZ_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsHoriz()); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (getParamsCount() > 0) { hash = (37 * hash) + PARAMS_FIELD_NUMBER; hash = (53 * hash) + getParamsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code CoordTransform} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:CoordTransform) ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransformOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordTransform_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordTransform_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder.class); } // Construct using ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; isHoriz_ = false; name_ = ""; if (paramsBuilder_ == null) { params_ = java.util.Collections.emptyList(); } else { params_ = null; paramsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordTransform_descriptor; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform getDefaultInstanceForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.getDefaultInstance(); } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform build() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform buildPartial() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform result = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform result) { if (paramsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { params_ = java.util.Collections.unmodifiableList(params_); bitField0_ = (bitField0_ & ~0x00000004); } result.params_ = params_; } else { result.params_ = paramsBuilder_.build(); } } private void buildPartial0(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.isHoriz_ = isHoriz_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.name_ = name_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform) { return mergeFrom((ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform other) { if (other == ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.getDefaultInstance()) return this; if (other.getIsHoriz() != false) { setIsHoriz(other.getIsHoriz()); } if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000002; onChanged(); } if (paramsBuilder_ == null) { if (!other.params_.isEmpty()) { if (params_.isEmpty()) { params_ = other.params_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureParamsIsMutable(); params_.addAll(other.params_); } onChanged(); } } else { if (!other.params_.isEmpty()) { if (paramsBuilder_.isEmpty()) { paramsBuilder_.dispose(); paramsBuilder_ = null; params_ = other.params_; bitField0_ = (bitField0_ & ~0x00000004); paramsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getParamsFieldBuilder() : null; } else { paramsBuilder_.addAllMessages(other.params_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { isHoriz_ = input.readBool(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { ucar.nc2.stream.NcStreamProto.Attribute m = input.readMessage( ucar.nc2.stream.NcStreamProto.Attribute.parser(), extensionRegistry); if (paramsBuilder_ == null) { ensureParamsIsMutable(); params_.add(m); } else { paramsBuilder_.addMessage(m); } break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private boolean isHoriz_ ; /** * bool isHoriz = 1; * @return The isHoriz. */ @java.lang.Override public boolean getIsHoriz() { return isHoriz_; } /** * bool isHoriz = 1; * @param value The isHoriz to set. * @return This builder for chaining. */ public Builder setIsHoriz(boolean value) { isHoriz_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * bool isHoriz = 1; * @return This builder for chaining. */ public Builder clearIsHoriz() { bitField0_ = (bitField0_ & ~0x00000001); isHoriz_ = false; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * short name, unique within dataset
       * 
* * string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * short name, unique within dataset
       * 
* * string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * short name, unique within dataset
       * 
* * string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * short name, unique within dataset
       * 
* * string name = 2; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * short name, unique within dataset
       * 
* * string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.util.List params_ = java.util.Collections.emptyList(); private void ensureParamsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { params_ = new java.util.ArrayList(params_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.stream.NcStreamProto.Attribute, ucar.nc2.stream.NcStreamProto.Attribute.Builder, ucar.nc2.stream.NcStreamProto.AttributeOrBuilder> paramsBuilder_; /** * repeated .Attribute params = 3; */ public java.util.List getParamsList() { if (paramsBuilder_ == null) { return java.util.Collections.unmodifiableList(params_); } else { return paramsBuilder_.getMessageList(); } } /** * repeated .Attribute params = 3; */ public int getParamsCount() { if (paramsBuilder_ == null) { return params_.size(); } else { return paramsBuilder_.getCount(); } } /** * repeated .Attribute params = 3; */ public ucar.nc2.stream.NcStreamProto.Attribute getParams(int index) { if (paramsBuilder_ == null) { return params_.get(index); } else { return paramsBuilder_.getMessage(index); } } /** * repeated .Attribute params = 3; */ public Builder setParams( int index, ucar.nc2.stream.NcStreamProto.Attribute value) { if (paramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParamsIsMutable(); params_.set(index, value); onChanged(); } else { paramsBuilder_.setMessage(index, value); } return this; } /** * repeated .Attribute params = 3; */ public Builder setParams( int index, ucar.nc2.stream.NcStreamProto.Attribute.Builder builderForValue) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); params_.set(index, builderForValue.build()); onChanged(); } else { paramsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Attribute params = 3; */ public Builder addParams(ucar.nc2.stream.NcStreamProto.Attribute value) { if (paramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParamsIsMutable(); params_.add(value); onChanged(); } else { paramsBuilder_.addMessage(value); } return this; } /** * repeated .Attribute params = 3; */ public Builder addParams( int index, ucar.nc2.stream.NcStreamProto.Attribute value) { if (paramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParamsIsMutable(); params_.add(index, value); onChanged(); } else { paramsBuilder_.addMessage(index, value); } return this; } /** * repeated .Attribute params = 3; */ public Builder addParams( ucar.nc2.stream.NcStreamProto.Attribute.Builder builderForValue) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); params_.add(builderForValue.build()); onChanged(); } else { paramsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Attribute params = 3; */ public Builder addParams( int index, ucar.nc2.stream.NcStreamProto.Attribute.Builder builderForValue) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); params_.add(index, builderForValue.build()); onChanged(); } else { paramsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Attribute params = 3; */ public Builder addAllParams( java.lang.Iterable values) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, params_); onChanged(); } else { paramsBuilder_.addAllMessages(values); } return this; } /** * repeated .Attribute params = 3; */ public Builder clearParams() { if (paramsBuilder_ == null) { params_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { paramsBuilder_.clear(); } return this; } /** * repeated .Attribute params = 3; */ public Builder removeParams(int index) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); params_.remove(index); onChanged(); } else { paramsBuilder_.remove(index); } return this; } /** * repeated .Attribute params = 3; */ public ucar.nc2.stream.NcStreamProto.Attribute.Builder getParamsBuilder( int index) { return getParamsFieldBuilder().getBuilder(index); } /** * repeated .Attribute params = 3; */ public ucar.nc2.stream.NcStreamProto.AttributeOrBuilder getParamsOrBuilder( int index) { if (paramsBuilder_ == null) { return params_.get(index); } else { return paramsBuilder_.getMessageOrBuilder(index); } } /** * repeated .Attribute params = 3; */ public java.util.List getParamsOrBuilderList() { if (paramsBuilder_ != null) { return paramsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(params_); } } /** * repeated .Attribute params = 3; */ public ucar.nc2.stream.NcStreamProto.Attribute.Builder addParamsBuilder() { return getParamsFieldBuilder().addBuilder( ucar.nc2.stream.NcStreamProto.Attribute.getDefaultInstance()); } /** * repeated .Attribute params = 3; */ public ucar.nc2.stream.NcStreamProto.Attribute.Builder addParamsBuilder( int index) { return getParamsFieldBuilder().addBuilder( index, ucar.nc2.stream.NcStreamProto.Attribute.getDefaultInstance()); } /** * repeated .Attribute params = 3; */ public java.util.List getParamsBuilderList() { return getParamsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.stream.NcStreamProto.Attribute, ucar.nc2.stream.NcStreamProto.Attribute.Builder, ucar.nc2.stream.NcStreamProto.AttributeOrBuilder> getParamsFieldBuilder() { if (paramsBuilder_ == null) { paramsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.stream.NcStreamProto.Attribute, ucar.nc2.stream.NcStreamProto.Attribute.Builder, ucar.nc2.stream.NcStreamProto.AttributeOrBuilder>( params_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); params_ = null; } return paramsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:CoordTransform) } // @@protoc_insertion_point(class_scope:CoordTransform) private static final ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform(); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CoordTransform parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CoordAxisOrBuilder extends // @@protoc_insertion_point(interface_extends:CoordAxis) com.google.protobuf.MessageOrBuilder { /** *
     * short name, unique within dataset
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * short name, unique within dataset
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * .DataType dataType = 2; * @return The enum numeric value on the wire for dataType. */ int getDataTypeValue(); /** * .DataType dataType = 2; * @return The dataType. */ ucar.nc2.stream.NcStreamProto.DataType getDataType(); /** *
     * find calendar attribute here?
     * 
* * repeated .Attribute atts = 3; */ java.util.List getAttsList(); /** *
     * find calendar attribute here?
     * 
* * repeated .Attribute atts = 3; */ ucar.nc2.stream.NcStreamProto.Attribute getAtts(int index); /** *
     * find calendar attribute here?
     * 
* * repeated .Attribute atts = 3; */ int getAttsCount(); /** *
     * find calendar attribute here?
     * 
* * repeated .Attribute atts = 3; */ java.util.List getAttsOrBuilderList(); /** *
     * find calendar attribute here?
     * 
* * repeated .Attribute atts = 3; */ ucar.nc2.stream.NcStreamProto.AttributeOrBuilder getAttsOrBuilder( int index); /** * .AxisType axisType = 4; * @return The enum numeric value on the wire for axisType. */ int getAxisTypeValue(); /** * .AxisType axisType = 4; * @return The axisType. */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisType getAxisType(); /** * string units = 5; * @return The units. */ java.lang.String getUnits(); /** * string units = 5; * @return The bytes for units. */ com.google.protobuf.ByteString getUnitsBytes(); /** * string description = 6; * @return The description. */ java.lang.String getDescription(); /** * string description = 6; * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * .DependenceType depend = 7; * @return The enum numeric value on the wire for depend. */ int getDependValue(); /** * .DependenceType depend = 7; * @return The depend. */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.DependenceType getDepend(); /** *
     * depends on these axes, only for non-independent axes
     * 
* * repeated string dependsOn = 8; * @return A list containing the dependsOn. */ java.util.List getDependsOnList(); /** *
     * depends on these axes, only for non-independent axes
     * 
* * repeated string dependsOn = 8; * @return The count of dependsOn. */ int getDependsOnCount(); /** *
     * depends on these axes, only for non-independent axes
     * 
* * repeated string dependsOn = 8; * @param index The index of the element to return. * @return The dependsOn at the given index. */ java.lang.String getDependsOn(int index); /** *
     * depends on these axes, only for non-independent axes
     * 
* * repeated string dependsOn = 8; * @param index The index of the value to return. * @return The bytes of the dependsOn at the given index. */ com.google.protobuf.ByteString getDependsOnBytes(int index); /** *
     * the shape of the axis (>1D only)
     * 
* * repeated uint32 shape = 9; * @return A list containing the shape. */ java.util.List getShapeList(); /** *
     * the shape of the axis (>1D only)
     * 
* * repeated uint32 shape = 9; * @return The count of shape. */ int getShapeCount(); /** *
     * the shape of the axis (>1D only)
     * 
* * repeated uint32 shape = 9; * @param index The index of the element to return. * @return The shape at the given index. */ int getShape(int index); /** * int64 nvalues = 10; * @return The nvalues. */ long getNvalues(); /** * .AxisSpacing spacing = 11; * @return The enum numeric value on the wire for spacing. */ int getSpacingValue(); /** * .AxisSpacing spacing = 11; * @return The spacing. */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisSpacing getSpacing(); /** * double startValue = 12; * @return The startValue. */ double getStartValue(); /** * double endValue = 13; * @return The endValue. */ double getEndValue(); /** *
     * resolution = (end-start) / (nvalues-1)
     * 
* * double resolution = 14; * @return The resolution. */ double getResolution(); /** *
     * big endian doubles; not used for regular, may be deferred
     * 
* * bytes values = 15; * @return The values. */ com.google.protobuf.ByteString getValues(); } /** * Protobuf type {@code CoordAxis} */ public static final class CoordAxis extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:CoordAxis) CoordAxisOrBuilder { private static final long serialVersionUID = 0L; // Use CoordAxis.newBuilder() to construct. private CoordAxis(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CoordAxis() { name_ = ""; dataType_ = 0; atts_ = java.util.Collections.emptyList(); axisType_ = 0; units_ = ""; description_ = ""; depend_ = 0; dependsOn_ = com.google.protobuf.LazyStringArrayList.emptyList(); shape_ = emptyIntList(); spacing_ = 0; values_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CoordAxis(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordAxis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordAxis_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * short name, unique within dataset
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * short name, unique within dataset
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATATYPE_FIELD_NUMBER = 2; private int dataType_ = 0; /** * .DataType dataType = 2; * @return The enum numeric value on the wire for dataType. */ @java.lang.Override public int getDataTypeValue() { return dataType_; } /** * .DataType dataType = 2; * @return The dataType. */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.DataType getDataType() { ucar.nc2.stream.NcStreamProto.DataType result = ucar.nc2.stream.NcStreamProto.DataType.forNumber(dataType_); return result == null ? ucar.nc2.stream.NcStreamProto.DataType.UNRECOGNIZED : result; } public static final int ATTS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List atts_; /** *
     * find calendar attribute here?
     * 
* * repeated .Attribute atts = 3; */ @java.lang.Override public java.util.List getAttsList() { return atts_; } /** *
     * find calendar attribute here?
     * 
* * repeated .Attribute atts = 3; */ @java.lang.Override public java.util.List getAttsOrBuilderList() { return atts_; } /** *
     * find calendar attribute here?
     * 
* * repeated .Attribute atts = 3; */ @java.lang.Override public int getAttsCount() { return atts_.size(); } /** *
     * find calendar attribute here?
     * 
* * repeated .Attribute atts = 3; */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.Attribute getAtts(int index) { return atts_.get(index); } /** *
     * find calendar attribute here?
     * 
* * repeated .Attribute atts = 3; */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.AttributeOrBuilder getAttsOrBuilder( int index) { return atts_.get(index); } public static final int AXISTYPE_FIELD_NUMBER = 4; private int axisType_ = 0; /** * .AxisType axisType = 4; * @return The enum numeric value on the wire for axisType. */ @java.lang.Override public int getAxisTypeValue() { return axisType_; } /** * .AxisType axisType = 4; * @return The axisType. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisType getAxisType() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisType result = ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisType.forNumber(axisType_); return result == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisType.UNRECOGNIZED : result; } public static final int UNITS_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object units_ = ""; /** * string units = 5; * @return The units. */ @java.lang.Override public java.lang.String getUnits() { java.lang.Object ref = units_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); units_ = s; return s; } } /** * string units = 5; * @return The bytes for units. */ @java.lang.Override public com.google.protobuf.ByteString getUnitsBytes() { java.lang.Object ref = units_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); units_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 6; @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** * string description = 6; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** * string description = 6; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEPEND_FIELD_NUMBER = 7; private int depend_ = 0; /** * .DependenceType depend = 7; * @return The enum numeric value on the wire for depend. */ @java.lang.Override public int getDependValue() { return depend_; } /** * .DependenceType depend = 7; * @return The depend. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.DependenceType getDepend() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.DependenceType result = ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.DependenceType.forNumber(depend_); return result == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.DependenceType.UNRECOGNIZED : result; } public static final int DEPENDSON_FIELD_NUMBER = 8; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList dependsOn_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * depends on these axes, only for non-independent axes
     * 
* * repeated string dependsOn = 8; * @return A list containing the dependsOn. */ public com.google.protobuf.ProtocolStringList getDependsOnList() { return dependsOn_; } /** *
     * depends on these axes, only for non-independent axes
     * 
* * repeated string dependsOn = 8; * @return The count of dependsOn. */ public int getDependsOnCount() { return dependsOn_.size(); } /** *
     * depends on these axes, only for non-independent axes
     * 
* * repeated string dependsOn = 8; * @param index The index of the element to return. * @return The dependsOn at the given index. */ public java.lang.String getDependsOn(int index) { return dependsOn_.get(index); } /** *
     * depends on these axes, only for non-independent axes
     * 
* * repeated string dependsOn = 8; * @param index The index of the value to return. * @return The bytes of the dependsOn at the given index. */ public com.google.protobuf.ByteString getDependsOnBytes(int index) { return dependsOn_.getByteString(index); } public static final int SHAPE_FIELD_NUMBER = 9; @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList shape_; /** *
     * the shape of the axis (>1D only)
     * 
* * repeated uint32 shape = 9; * @return A list containing the shape. */ @java.lang.Override public java.util.List getShapeList() { return shape_; } /** *
     * the shape of the axis (>1D only)
     * 
* * repeated uint32 shape = 9; * @return The count of shape. */ public int getShapeCount() { return shape_.size(); } /** *
     * the shape of the axis (>1D only)
     * 
* * repeated uint32 shape = 9; * @param index The index of the element to return. * @return The shape at the given index. */ public int getShape(int index) { return shape_.getInt(index); } private int shapeMemoizedSerializedSize = -1; public static final int NVALUES_FIELD_NUMBER = 10; private long nvalues_ = 0L; /** * int64 nvalues = 10; * @return The nvalues. */ @java.lang.Override public long getNvalues() { return nvalues_; } public static final int SPACING_FIELD_NUMBER = 11; private int spacing_ = 0; /** * .AxisSpacing spacing = 11; * @return The enum numeric value on the wire for spacing. */ @java.lang.Override public int getSpacingValue() { return spacing_; } /** * .AxisSpacing spacing = 11; * @return The spacing. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisSpacing getSpacing() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisSpacing result = ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisSpacing.forNumber(spacing_); return result == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisSpacing.UNRECOGNIZED : result; } public static final int STARTVALUE_FIELD_NUMBER = 12; private double startValue_ = 0D; /** * double startValue = 12; * @return The startValue. */ @java.lang.Override public double getStartValue() { return startValue_; } public static final int ENDVALUE_FIELD_NUMBER = 13; private double endValue_ = 0D; /** * double endValue = 13; * @return The endValue. */ @java.lang.Override public double getEndValue() { return endValue_; } public static final int RESOLUTION_FIELD_NUMBER = 14; private double resolution_ = 0D; /** *
     * resolution = (end-start) / (nvalues-1)
     * 
* * double resolution = 14; * @return The resolution. */ @java.lang.Override public double getResolution() { return resolution_; } public static final int VALUES_FIELD_NUMBER = 15; private com.google.protobuf.ByteString values_ = com.google.protobuf.ByteString.EMPTY; /** *
     * big endian doubles; not used for regular, may be deferred
     * 
* * bytes values = 15; * @return The values. */ @java.lang.Override public com.google.protobuf.ByteString getValues() { return values_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.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(3, atts_.get(i)); } if (axisType_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisType.RunTime.getNumber()) { output.writeEnum(4, axisType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(units_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, units_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, description_); } if (depend_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.DependenceType.independent.getNumber()) { output.writeEnum(7, depend_); } for (int i = 0; i < dependsOn_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, dependsOn_.getRaw(i)); } if (getShapeList().size() > 0) { output.writeUInt32NoTag(74); output.writeUInt32NoTag(shapeMemoizedSerializedSize); } for (int i = 0; i < shape_.size(); i++) { output.writeUInt32NoTag(shape_.getInt(i)); } if (nvalues_ != 0L) { output.writeInt64(10, nvalues_); } if (spacing_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisSpacing.regularPoint.getNumber()) { output.writeEnum(11, spacing_); } if (java.lang.Double.doubleToRawLongBits(startValue_) != 0) { output.writeDouble(12, startValue_); } if (java.lang.Double.doubleToRawLongBits(endValue_) != 0) { output.writeDouble(13, endValue_); } if (java.lang.Double.doubleToRawLongBits(resolution_) != 0) { output.writeDouble(14, resolution_); } if (!values_.isEmpty()) { output.writeBytes(15, values_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (dataType_ != ucar.nc2.stream.NcStreamProto.DataType.CHAR.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, dataType_); } for (int i = 0; i < atts_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, atts_.get(i)); } if (axisType_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisType.RunTime.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, axisType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(units_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, units_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); } if (depend_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.DependenceType.independent.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, depend_); } { int dataSize = 0; for (int i = 0; i < dependsOn_.size(); i++) { dataSize += computeStringSizeNoTag(dependsOn_.getRaw(i)); } size += dataSize; size += 1 * getDependsOnList().size(); } { int dataSize = 0; for (int i = 0; i < shape_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(shape_.getInt(i)); } size += dataSize; if (!getShapeList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } shapeMemoizedSerializedSize = dataSize; } if (nvalues_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(10, nvalues_); } if (spacing_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisSpacing.regularPoint.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(11, spacing_); } if (java.lang.Double.doubleToRawLongBits(startValue_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(12, startValue_); } if (java.lang.Double.doubleToRawLongBits(endValue_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(13, endValue_); } if (java.lang.Double.doubleToRawLongBits(resolution_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(14, resolution_); } if (!values_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(15, values_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis)) { return super.equals(obj); } ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis other = (ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis) obj; if (!getName() .equals(other.getName())) return false; if (dataType_ != other.dataType_) return false; if (!getAttsList() .equals(other.getAttsList())) return false; if (axisType_ != other.axisType_) return false; if (!getUnits() .equals(other.getUnits())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (depend_ != other.depend_) return false; if (!getDependsOnList() .equals(other.getDependsOnList())) return false; if (!getShapeList() .equals(other.getShapeList())) return false; if (getNvalues() != other.getNvalues()) return false; if (spacing_ != other.spacing_) return false; if (java.lang.Double.doubleToLongBits(getStartValue()) != java.lang.Double.doubleToLongBits( other.getStartValue())) return false; if (java.lang.Double.doubleToLongBits(getEndValue()) != java.lang.Double.doubleToLongBits( other.getEndValue())) return false; if (java.lang.Double.doubleToLongBits(getResolution()) != java.lang.Double.doubleToLongBits( other.getResolution())) return false; if (!getValues() .equals(other.getValues())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DATATYPE_FIELD_NUMBER; hash = (53 * hash) + dataType_; if (getAttsCount() > 0) { hash = (37 * hash) + ATTS_FIELD_NUMBER; hash = (53 * hash) + getAttsList().hashCode(); } hash = (37 * hash) + AXISTYPE_FIELD_NUMBER; hash = (53 * hash) + axisType_; hash = (37 * hash) + UNITS_FIELD_NUMBER; hash = (53 * hash) + getUnits().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + DEPEND_FIELD_NUMBER; hash = (53 * hash) + depend_; if (getDependsOnCount() > 0) { hash = (37 * hash) + DEPENDSON_FIELD_NUMBER; hash = (53 * hash) + getDependsOnList().hashCode(); } if (getShapeCount() > 0) { hash = (37 * hash) + SHAPE_FIELD_NUMBER; hash = (53 * hash) + getShapeList().hashCode(); } hash = (37 * hash) + NVALUES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNvalues()); hash = (37 * hash) + SPACING_FIELD_NUMBER; hash = (53 * hash) + spacing_; hash = (37 * hash) + STARTVALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getStartValue())); hash = (37 * hash) + ENDVALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getEndValue())); hash = (37 * hash) + RESOLUTION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getResolution())); hash = (37 * hash) + VALUES_FIELD_NUMBER; hash = (53 * hash) + getValues().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code CoordAxis} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:CoordAxis) ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxisOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordAxis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordAxis_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder.class); } // Construct using ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; dataType_ = 0; if (attsBuilder_ == null) { atts_ = java.util.Collections.emptyList(); } else { atts_ = null; attsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); axisType_ = 0; units_ = ""; description_ = ""; depend_ = 0; dependsOn_ = com.google.protobuf.LazyStringArrayList.emptyList(); shape_ = emptyIntList(); nvalues_ = 0L; spacing_ = 0; startValue_ = 0D; endValue_ = 0D; resolution_ = 0D; values_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordAxis_descriptor; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis getDefaultInstanceForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.getDefaultInstance(); } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis build() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis buildPartial() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis result = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis result) { if (attsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { atts_ = java.util.Collections.unmodifiableList(atts_); bitField0_ = (bitField0_ & ~0x00000004); } result.atts_ = atts_; } else { result.atts_ = attsBuilder_.build(); } if (((bitField0_ & 0x00000100) != 0)) { shape_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000100); } result.shape_ = shape_; } private void buildPartial0(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.dataType_ = dataType_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.axisType_ = axisType_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.units_ = units_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.description_ = description_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.depend_ = depend_; } if (((from_bitField0_ & 0x00000080) != 0)) { dependsOn_.makeImmutable(); result.dependsOn_ = dependsOn_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.nvalues_ = nvalues_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.spacing_ = spacing_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.startValue_ = startValue_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.endValue_ = endValue_; } if (((from_bitField0_ & 0x00002000) != 0)) { result.resolution_ = resolution_; } if (((from_bitField0_ & 0x00004000) != 0)) { result.values_ = values_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis) { return mergeFrom((ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis other) { if (other == ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (other.dataType_ != 0) { setDataTypeValue(other.getDataTypeValue()); } if (attsBuilder_ == null) { if (!other.atts_.isEmpty()) { if (atts_.isEmpty()) { atts_ = other.atts_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureAttsIsMutable(); atts_.addAll(other.atts_); } onChanged(); } } else { if (!other.atts_.isEmpty()) { if (attsBuilder_.isEmpty()) { attsBuilder_.dispose(); attsBuilder_ = null; atts_ = other.atts_; bitField0_ = (bitField0_ & ~0x00000004); attsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAttsFieldBuilder() : null; } else { attsBuilder_.addAllMessages(other.atts_); } } } if (other.axisType_ != 0) { setAxisTypeValue(other.getAxisTypeValue()); } if (!other.getUnits().isEmpty()) { units_ = other.units_; bitField0_ |= 0x00000010; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; bitField0_ |= 0x00000020; onChanged(); } if (other.depend_ != 0) { setDependValue(other.getDependValue()); } if (!other.dependsOn_.isEmpty()) { if (dependsOn_.isEmpty()) { dependsOn_ = other.dependsOn_; bitField0_ |= 0x00000080; } else { ensureDependsOnIsMutable(); dependsOn_.addAll(other.dependsOn_); } onChanged(); } if (!other.shape_.isEmpty()) { if (shape_.isEmpty()) { shape_ = other.shape_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureShapeIsMutable(); shape_.addAll(other.shape_); } onChanged(); } if (other.getNvalues() != 0L) { setNvalues(other.getNvalues()); } if (other.spacing_ != 0) { setSpacingValue(other.getSpacingValue()); } if (other.getStartValue() != 0D) { setStartValue(other.getStartValue()); } if (other.getEndValue() != 0D) { setEndValue(other.getEndValue()); } if (other.getResolution() != 0D) { setResolution(other.getResolution()); } if (other.getValues() != com.google.protobuf.ByteString.EMPTY) { setValues(other.getValues()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { dataType_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { ucar.nc2.stream.NcStreamProto.Attribute m = input.readMessage( ucar.nc2.stream.NcStreamProto.Attribute.parser(), extensionRegistry); if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.add(m); } else { attsBuilder_.addMessage(m); } break; } // case 26 case 32: { axisType_ = input.readEnum(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { units_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 case 50: { description_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000020; break; } // case 50 case 56: { depend_ = input.readEnum(); bitField0_ |= 0x00000040; break; } // case 56 case 66: { java.lang.String s = input.readStringRequireUtf8(); ensureDependsOnIsMutable(); dependsOn_.add(s); break; } // case 66 case 72: { int v = input.readUInt32(); ensureShapeIsMutable(); shape_.addInt(v); break; } // case 72 case 74: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); ensureShapeIsMutable(); while (input.getBytesUntilLimit() > 0) { shape_.addInt(input.readUInt32()); } input.popLimit(limit); break; } // case 74 case 80: { nvalues_ = input.readInt64(); bitField0_ |= 0x00000200; break; } // case 80 case 88: { spacing_ = input.readEnum(); bitField0_ |= 0x00000400; break; } // case 88 case 97: { startValue_ = input.readDouble(); bitField0_ |= 0x00000800; break; } // case 97 case 105: { endValue_ = input.readDouble(); bitField0_ |= 0x00001000; break; } // case 105 case 113: { resolution_ = input.readDouble(); bitField0_ |= 0x00002000; break; } // case 113 case 122: { values_ = input.readBytes(); bitField0_ |= 0x00004000; break; } // case 122 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * short name, unique within dataset
       * 
* * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * short name, unique within dataset
       * 
* * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * short name, unique within dataset
       * 
* * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * short name, unique within dataset
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * short name, unique within dataset
       * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private int dataType_ = 0; /** * .DataType dataType = 2; * @return The enum numeric value on the wire for dataType. */ @java.lang.Override public int getDataTypeValue() { return dataType_; } /** * .DataType dataType = 2; * @param value The enum numeric value on the wire for dataType to set. * @return This builder for chaining. */ public Builder setDataTypeValue(int value) { dataType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * .DataType dataType = 2; * @return The dataType. */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.DataType getDataType() { ucar.nc2.stream.NcStreamProto.DataType result = ucar.nc2.stream.NcStreamProto.DataType.forNumber(dataType_); return result == null ? ucar.nc2.stream.NcStreamProto.DataType.UNRECOGNIZED : result; } /** * .DataType dataType = 2; * @param value The dataType to set. * @return This builder for chaining. */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; dataType_ = value.getNumber(); onChanged(); return this; } /** * .DataType dataType = 2; * @return This builder for chaining. */ public Builder clearDataType() { bitField0_ = (bitField0_ & ~0x00000002); dataType_ = 0; onChanged(); return this; } private java.util.List atts_ = java.util.Collections.emptyList(); private void ensureAttsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { atts_ = new java.util.ArrayList(atts_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.stream.NcStreamProto.Attribute, ucar.nc2.stream.NcStreamProto.Attribute.Builder, ucar.nc2.stream.NcStreamProto.AttributeOrBuilder> attsBuilder_; /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public java.util.List getAttsList() { if (attsBuilder_ == null) { return java.util.Collections.unmodifiableList(atts_); } else { return attsBuilder_.getMessageList(); } } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public int getAttsCount() { if (attsBuilder_ == null) { return atts_.size(); } else { return attsBuilder_.getCount(); } } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public ucar.nc2.stream.NcStreamProto.Attribute getAtts(int index) { if (attsBuilder_ == null) { return atts_.get(index); } else { return attsBuilder_.getMessage(index); } } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public Builder setAtts( int index, ucar.nc2.stream.NcStreamProto.Attribute value) { if (attsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttsIsMutable(); atts_.set(index, value); onChanged(); } else { attsBuilder_.setMessage(index, value); } return this; } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public Builder setAtts( int index, ucar.nc2.stream.NcStreamProto.Attribute.Builder builderForValue) { if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.set(index, builderForValue.build()); onChanged(); } else { attsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public Builder addAtts(ucar.nc2.stream.NcStreamProto.Attribute value) { if (attsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttsIsMutable(); atts_.add(value); onChanged(); } else { attsBuilder_.addMessage(value); } return this; } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public Builder addAtts( int index, ucar.nc2.stream.NcStreamProto.Attribute value) { if (attsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttsIsMutable(); atts_.add(index, value); onChanged(); } else { attsBuilder_.addMessage(index, value); } return this; } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public Builder addAtts( ucar.nc2.stream.NcStreamProto.Attribute.Builder builderForValue) { if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.add(builderForValue.build()); onChanged(); } else { attsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public Builder addAtts( int index, ucar.nc2.stream.NcStreamProto.Attribute.Builder builderForValue) { if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.add(index, builderForValue.build()); onChanged(); } else { attsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public Builder addAllAtts( java.lang.Iterable values) { if (attsBuilder_ == null) { ensureAttsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, atts_); onChanged(); } else { attsBuilder_.addAllMessages(values); } return this; } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public Builder clearAtts() { if (attsBuilder_ == null) { atts_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { attsBuilder_.clear(); } return this; } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public Builder removeAtts(int index) { if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.remove(index); onChanged(); } else { attsBuilder_.remove(index); } return this; } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public ucar.nc2.stream.NcStreamProto.Attribute.Builder getAttsBuilder( int index) { return getAttsFieldBuilder().getBuilder(index); } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public ucar.nc2.stream.NcStreamProto.AttributeOrBuilder getAttsOrBuilder( int index) { if (attsBuilder_ == null) { return atts_.get(index); } else { return attsBuilder_.getMessageOrBuilder(index); } } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public java.util.List getAttsOrBuilderList() { if (attsBuilder_ != null) { return attsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(atts_); } } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public ucar.nc2.stream.NcStreamProto.Attribute.Builder addAttsBuilder() { return getAttsFieldBuilder().addBuilder( ucar.nc2.stream.NcStreamProto.Attribute.getDefaultInstance()); } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public ucar.nc2.stream.NcStreamProto.Attribute.Builder addAttsBuilder( int index) { return getAttsFieldBuilder().addBuilder( index, ucar.nc2.stream.NcStreamProto.Attribute.getDefaultInstance()); } /** *
       * find calendar attribute here?
       * 
* * repeated .Attribute atts = 3; */ public java.util.List getAttsBuilderList() { return getAttsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.stream.NcStreamProto.Attribute, ucar.nc2.stream.NcStreamProto.Attribute.Builder, ucar.nc2.stream.NcStreamProto.AttributeOrBuilder> getAttsFieldBuilder() { if (attsBuilder_ == null) { attsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.stream.NcStreamProto.Attribute, ucar.nc2.stream.NcStreamProto.Attribute.Builder, ucar.nc2.stream.NcStreamProto.AttributeOrBuilder>( atts_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); atts_ = null; } return attsBuilder_; } private int axisType_ = 0; /** * .AxisType axisType = 4; * @return The enum numeric value on the wire for axisType. */ @java.lang.Override public int getAxisTypeValue() { return axisType_; } /** * .AxisType axisType = 4; * @param value The enum numeric value on the wire for axisType to set. * @return This builder for chaining. */ public Builder setAxisTypeValue(int value) { axisType_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * .AxisType axisType = 4; * @return The axisType. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisType getAxisType() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisType result = ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisType.forNumber(axisType_); return result == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisType.UNRECOGNIZED : result; } /** * .AxisType axisType = 4; * @param value The axisType to set. * @return This builder for chaining. */ public Builder setAxisType(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; axisType_ = value.getNumber(); onChanged(); return this; } /** * .AxisType axisType = 4; * @return This builder for chaining. */ public Builder clearAxisType() { bitField0_ = (bitField0_ & ~0x00000008); axisType_ = 0; onChanged(); return this; } private java.lang.Object units_ = ""; /** * string units = 5; * @return The units. */ public java.lang.String getUnits() { java.lang.Object ref = units_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); units_ = s; return s; } else { return (java.lang.String) ref; } } /** * string units = 5; * @return The bytes for units. */ public com.google.protobuf.ByteString getUnitsBytes() { java.lang.Object ref = units_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); units_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string units = 5; * @param value The units to set. * @return This builder for chaining. */ public Builder setUnits( java.lang.String value) { if (value == null) { throw new NullPointerException(); } units_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * string units = 5; * @return This builder for chaining. */ public Builder clearUnits() { units_ = getDefaultInstance().getUnits(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * string units = 5; * @param value The bytes for units to set. * @return This builder for chaining. */ public Builder setUnitsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); units_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private java.lang.Object description_ = ""; /** * string description = 6; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** * string description = 6; * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string description = 6; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * string description = 6; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** * string description = 6; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } private int depend_ = 0; /** * .DependenceType depend = 7; * @return The enum numeric value on the wire for depend. */ @java.lang.Override public int getDependValue() { return depend_; } /** * .DependenceType depend = 7; * @param value The enum numeric value on the wire for depend to set. * @return This builder for chaining. */ public Builder setDependValue(int value) { depend_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * .DependenceType depend = 7; * @return The depend. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.DependenceType getDepend() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.DependenceType result = ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.DependenceType.forNumber(depend_); return result == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.DependenceType.UNRECOGNIZED : result; } /** * .DependenceType depend = 7; * @param value The depend to set. * @return This builder for chaining. */ public Builder setDepend(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.DependenceType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; depend_ = value.getNumber(); onChanged(); return this; } /** * .DependenceType depend = 7; * @return This builder for chaining. */ public Builder clearDepend() { bitField0_ = (bitField0_ & ~0x00000040); depend_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList dependsOn_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureDependsOnIsMutable() { if (!dependsOn_.isModifiable()) { dependsOn_ = new com.google.protobuf.LazyStringArrayList(dependsOn_); } bitField0_ |= 0x00000080; } /** *
       * depends on these axes, only for non-independent axes
       * 
* * repeated string dependsOn = 8; * @return A list containing the dependsOn. */ public com.google.protobuf.ProtocolStringList getDependsOnList() { dependsOn_.makeImmutable(); return dependsOn_; } /** *
       * depends on these axes, only for non-independent axes
       * 
* * repeated string dependsOn = 8; * @return The count of dependsOn. */ public int getDependsOnCount() { return dependsOn_.size(); } /** *
       * depends on these axes, only for non-independent axes
       * 
* * repeated string dependsOn = 8; * @param index The index of the element to return. * @return The dependsOn at the given index. */ public java.lang.String getDependsOn(int index) { return dependsOn_.get(index); } /** *
       * depends on these axes, only for non-independent axes
       * 
* * repeated string dependsOn = 8; * @param index The index of the value to return. * @return The bytes of the dependsOn at the given index. */ public com.google.protobuf.ByteString getDependsOnBytes(int index) { return dependsOn_.getByteString(index); } /** *
       * depends on these axes, only for non-independent axes
       * 
* * repeated string dependsOn = 8; * @param index The index to set the value at. * @param value The dependsOn to set. * @return This builder for chaining. */ public Builder setDependsOn( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDependsOnIsMutable(); dependsOn_.set(index, value); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * depends on these axes, only for non-independent axes
       * 
* * repeated string dependsOn = 8; * @param value The dependsOn to add. * @return This builder for chaining. */ public Builder addDependsOn( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDependsOnIsMutable(); dependsOn_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * depends on these axes, only for non-independent axes
       * 
* * repeated string dependsOn = 8; * @param values The dependsOn to add. * @return This builder for chaining. */ public Builder addAllDependsOn( java.lang.Iterable values) { ensureDependsOnIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dependsOn_); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * depends on these axes, only for non-independent axes
       * 
* * repeated string dependsOn = 8; * @return This builder for chaining. */ public Builder clearDependsOn() { dependsOn_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000080);; onChanged(); return this; } /** *
       * depends on these axes, only for non-independent axes
       * 
* * repeated string dependsOn = 8; * @param value The bytes of the dependsOn to add. * @return This builder for chaining. */ public Builder addDependsOnBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDependsOnIsMutable(); dependsOn_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } private com.google.protobuf.Internal.IntList shape_ = emptyIntList(); private void ensureShapeIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { shape_ = mutableCopy(shape_); bitField0_ |= 0x00000100; } } /** *
       * the shape of the axis (>1D only)
       * 
* * repeated uint32 shape = 9; * @return A list containing the shape. */ public java.util.List getShapeList() { return ((bitField0_ & 0x00000100) != 0) ? java.util.Collections.unmodifiableList(shape_) : shape_; } /** *
       * the shape of the axis (>1D only)
       * 
* * repeated uint32 shape = 9; * @return The count of shape. */ public int getShapeCount() { return shape_.size(); } /** *
       * the shape of the axis (>1D only)
       * 
* * repeated uint32 shape = 9; * @param index The index of the element to return. * @return The shape at the given index. */ public int getShape(int index) { return shape_.getInt(index); } /** *
       * the shape of the axis (>1D only)
       * 
* * repeated uint32 shape = 9; * @param index The index to set the value at. * @param value The shape to set. * @return This builder for chaining. */ public Builder setShape( int index, int value) { ensureShapeIsMutable(); shape_.setInt(index, value); onChanged(); return this; } /** *
       * the shape of the axis (>1D only)
       * 
* * repeated uint32 shape = 9; * @param value The shape to add. * @return This builder for chaining. */ public Builder addShape(int value) { ensureShapeIsMutable(); shape_.addInt(value); onChanged(); return this; } /** *
       * the shape of the axis (>1D only)
       * 
* * repeated uint32 shape = 9; * @param values The shape to add. * @return This builder for chaining. */ public Builder addAllShape( java.lang.Iterable values) { ensureShapeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, shape_); onChanged(); return this; } /** *
       * the shape of the axis (>1D only)
       * 
* * repeated uint32 shape = 9; * @return This builder for chaining. */ public Builder clearShape() { shape_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } private long nvalues_ ; /** * int64 nvalues = 10; * @return The nvalues. */ @java.lang.Override public long getNvalues() { return nvalues_; } /** * int64 nvalues = 10; * @param value The nvalues to set. * @return This builder for chaining. */ public Builder setNvalues(long value) { nvalues_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** * int64 nvalues = 10; * @return This builder for chaining. */ public Builder clearNvalues() { bitField0_ = (bitField0_ & ~0x00000200); nvalues_ = 0L; onChanged(); return this; } private int spacing_ = 0; /** * .AxisSpacing spacing = 11; * @return The enum numeric value on the wire for spacing. */ @java.lang.Override public int getSpacingValue() { return spacing_; } /** * .AxisSpacing spacing = 11; * @param value The enum numeric value on the wire for spacing to set. * @return This builder for chaining. */ public Builder setSpacingValue(int value) { spacing_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** * .AxisSpacing spacing = 11; * @return The spacing. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisSpacing getSpacing() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisSpacing result = ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisSpacing.forNumber(spacing_); return result == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisSpacing.UNRECOGNIZED : result; } /** * .AxisSpacing spacing = 11; * @param value The spacing to set. * @return This builder for chaining. */ public Builder setSpacing(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.AxisSpacing value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; spacing_ = value.getNumber(); onChanged(); return this; } /** * .AxisSpacing spacing = 11; * @return This builder for chaining. */ public Builder clearSpacing() { bitField0_ = (bitField0_ & ~0x00000400); spacing_ = 0; onChanged(); return this; } private double startValue_ ; /** * double startValue = 12; * @return The startValue. */ @java.lang.Override public double getStartValue() { return startValue_; } /** * double startValue = 12; * @param value The startValue to set. * @return This builder for chaining. */ public Builder setStartValue(double value) { startValue_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** * double startValue = 12; * @return This builder for chaining. */ public Builder clearStartValue() { bitField0_ = (bitField0_ & ~0x00000800); startValue_ = 0D; onChanged(); return this; } private double endValue_ ; /** * double endValue = 13; * @return The endValue. */ @java.lang.Override public double getEndValue() { return endValue_; } /** * double endValue = 13; * @param value The endValue to set. * @return This builder for chaining. */ public Builder setEndValue(double value) { endValue_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** * double endValue = 13; * @return This builder for chaining. */ public Builder clearEndValue() { bitField0_ = (bitField0_ & ~0x00001000); endValue_ = 0D; onChanged(); return this; } private double resolution_ ; /** *
       * resolution = (end-start) / (nvalues-1)
       * 
* * double resolution = 14; * @return The resolution. */ @java.lang.Override public double getResolution() { return resolution_; } /** *
       * resolution = (end-start) / (nvalues-1)
       * 
* * double resolution = 14; * @param value The resolution to set. * @return This builder for chaining. */ public Builder setResolution(double value) { resolution_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** *
       * resolution = (end-start) / (nvalues-1)
       * 
* * double resolution = 14; * @return This builder for chaining. */ public Builder clearResolution() { bitField0_ = (bitField0_ & ~0x00002000); resolution_ = 0D; onChanged(); return this; } private com.google.protobuf.ByteString values_ = com.google.protobuf.ByteString.EMPTY; /** *
       * big endian doubles; not used for regular, may be deferred
       * 
* * bytes values = 15; * @return The values. */ @java.lang.Override public com.google.protobuf.ByteString getValues() { return values_; } /** *
       * big endian doubles; not used for regular, may be deferred
       * 
* * bytes values = 15; * @param value The values to set. * @return This builder for chaining. */ public Builder setValues(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } values_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * big endian doubles; not used for regular, may be deferred
       * 
* * bytes values = 15; * @return This builder for chaining. */ public Builder clearValues() { bitField0_ = (bitField0_ & ~0x00004000); values_ = getDefaultInstance().getValues(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:CoordAxis) } // @@protoc_insertion_point(class_scope:CoordAxis) private static final ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis(); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CoordAxis parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CoordSysOrBuilder extends // @@protoc_insertion_point(interface_extends:CoordSys) com.google.protobuf.MessageOrBuilder { /** *
     * must be unique in dataset's CoordSys
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * must be unique in dataset's CoordSys
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * repeated string axisNames = 2; * @return A list containing the axisNames. */ java.util.List getAxisNamesList(); /** * repeated string axisNames = 2; * @return The count of axisNames. */ int getAxisNamesCount(); /** * repeated string axisNames = 2; * @param index The index of the element to return. * @return The axisNames at the given index. */ java.lang.String getAxisNames(int index); /** * repeated string axisNames = 2; * @param index The index of the value to return. * @return The bytes of the axisNames at the given index. */ com.google.protobuf.ByteString getAxisNamesBytes(int index); /** * repeated string transformNames = 3; * @return A list containing the transformNames. */ java.util.List getTransformNamesList(); /** * repeated string transformNames = 3; * @return The count of transformNames. */ int getTransformNamesCount(); /** * repeated string transformNames = 3; * @param index The index of the element to return. * @return The transformNames at the given index. */ java.lang.String getTransformNames(int index); /** * repeated string transformNames = 3; * @param index The index of the value to return. * @return The bytes of the transformNames at the given index. */ com.google.protobuf.ByteString getTransformNamesBytes(int index); /** * .CoverageType coverageType = 5; * @return The enum numeric value on the wire for coverageType. */ int getCoverageTypeValue(); /** * .CoverageType coverageType = 5; * @return The coverageType. */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType getCoverageType(); } /** * Protobuf type {@code CoordSys} */ public static final class CoordSys extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:CoordSys) CoordSysOrBuilder { private static final long serialVersionUID = 0L; // Use CoordSys.newBuilder() to construct. private CoordSys(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CoordSys() { name_ = ""; axisNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); transformNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); coverageType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CoordSys(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordSys_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordSys_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * must be unique in dataset's CoordSys
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * must be unique in dataset's CoordSys
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int AXISNAMES_FIELD_NUMBER = 2; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList axisNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string axisNames = 2; * @return A list containing the axisNames. */ public com.google.protobuf.ProtocolStringList getAxisNamesList() { return axisNames_; } /** * repeated string axisNames = 2; * @return The count of axisNames. */ public int getAxisNamesCount() { return axisNames_.size(); } /** * repeated string axisNames = 2; * @param index The index of the element to return. * @return The axisNames at the given index. */ public java.lang.String getAxisNames(int index) { return axisNames_.get(index); } /** * repeated string axisNames = 2; * @param index The index of the value to return. * @return The bytes of the axisNames at the given index. */ public com.google.protobuf.ByteString getAxisNamesBytes(int index) { return axisNames_.getByteString(index); } public static final int TRANSFORMNAMES_FIELD_NUMBER = 3; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList transformNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string transformNames = 3; * @return A list containing the transformNames. */ public com.google.protobuf.ProtocolStringList getTransformNamesList() { return transformNames_; } /** * repeated string transformNames = 3; * @return The count of transformNames. */ public int getTransformNamesCount() { return transformNames_.size(); } /** * repeated string transformNames = 3; * @param index The index of the element to return. * @return The transformNames at the given index. */ public java.lang.String getTransformNames(int index) { return transformNames_.get(index); } /** * repeated string transformNames = 3; * @param index The index of the value to return. * @return The bytes of the transformNames at the given index. */ public com.google.protobuf.ByteString getTransformNamesBytes(int index) { return transformNames_.getByteString(index); } public static final int COVERAGETYPE_FIELD_NUMBER = 5; private int coverageType_ = 0; /** * .CoverageType coverageType = 5; * @return The enum numeric value on the wire for coverageType. */ @java.lang.Override public int getCoverageTypeValue() { return coverageType_; } /** * .CoverageType coverageType = 5; * @return The coverageType. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType getCoverageType() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType result = ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType.forNumber(coverageType_); return result == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < axisNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, axisNames_.getRaw(i)); } for (int i = 0; i < transformNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, transformNames_.getRaw(i)); } if (coverageType_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType.General.getNumber()) { output.writeEnum(5, coverageType_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } { int dataSize = 0; for (int i = 0; i < axisNames_.size(); i++) { dataSize += computeStringSizeNoTag(axisNames_.getRaw(i)); } size += dataSize; size += 1 * getAxisNamesList().size(); } { int dataSize = 0; for (int i = 0; i < transformNames_.size(); i++) { dataSize += computeStringSizeNoTag(transformNames_.getRaw(i)); } size += dataSize; size += 1 * getTransformNamesList().size(); } if (coverageType_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType.General.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, coverageType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys)) { return super.equals(obj); } ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys other = (ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys) obj; if (!getName() .equals(other.getName())) return false; if (!getAxisNamesList() .equals(other.getAxisNamesList())) return false; if (!getTransformNamesList() .equals(other.getTransformNamesList())) return false; if (coverageType_ != other.coverageType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (getAxisNamesCount() > 0) { hash = (37 * hash) + AXISNAMES_FIELD_NUMBER; hash = (53 * hash) + getAxisNamesList().hashCode(); } if (getTransformNamesCount() > 0) { hash = (37 * hash) + TRANSFORMNAMES_FIELD_NUMBER; hash = (53 * hash) + getTransformNamesList().hashCode(); } hash = (37 * hash) + COVERAGETYPE_FIELD_NUMBER; hash = (53 * hash) + coverageType_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code CoordSys} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:CoordSys) ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSysOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordSys_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordSys_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder.class); } // Construct using ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; axisNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); transformNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); coverageType_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoordSys_descriptor; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys getDefaultInstanceForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.getDefaultInstance(); } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys build() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys buildPartial() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys result = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { axisNames_.makeImmutable(); result.axisNames_ = axisNames_; } if (((from_bitField0_ & 0x00000004) != 0)) { transformNames_.makeImmutable(); result.transformNames_ = transformNames_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.coverageType_ = coverageType_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys) { return mergeFrom((ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys other) { if (other == ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (!other.axisNames_.isEmpty()) { if (axisNames_.isEmpty()) { axisNames_ = other.axisNames_; bitField0_ |= 0x00000002; } else { ensureAxisNamesIsMutable(); axisNames_.addAll(other.axisNames_); } onChanged(); } if (!other.transformNames_.isEmpty()) { if (transformNames_.isEmpty()) { transformNames_ = other.transformNames_; bitField0_ |= 0x00000004; } else { ensureTransformNamesIsMutable(); transformNames_.addAll(other.transformNames_); } onChanged(); } if (other.coverageType_ != 0) { setCoverageTypeValue(other.getCoverageTypeValue()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { java.lang.String s = input.readStringRequireUtf8(); ensureAxisNamesIsMutable(); axisNames_.add(s); break; } // case 18 case 26: { java.lang.String s = input.readStringRequireUtf8(); ensureTransformNamesIsMutable(); transformNames_.add(s); break; } // case 26 case 40: { coverageType_ = input.readEnum(); bitField0_ |= 0x00000008; break; } // case 40 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * must be unique in dataset's CoordSys
       * 
* * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * must be unique in dataset's CoordSys
       * 
* * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * must be unique in dataset's CoordSys
       * 
* * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * must be unique in dataset's CoordSys
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * must be unique in dataset's CoordSys
       * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList axisNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAxisNamesIsMutable() { if (!axisNames_.isModifiable()) { axisNames_ = new com.google.protobuf.LazyStringArrayList(axisNames_); } bitField0_ |= 0x00000002; } /** * repeated string axisNames = 2; * @return A list containing the axisNames. */ public com.google.protobuf.ProtocolStringList getAxisNamesList() { axisNames_.makeImmutable(); return axisNames_; } /** * repeated string axisNames = 2; * @return The count of axisNames. */ public int getAxisNamesCount() { return axisNames_.size(); } /** * repeated string axisNames = 2; * @param index The index of the element to return. * @return The axisNames at the given index. */ public java.lang.String getAxisNames(int index) { return axisNames_.get(index); } /** * repeated string axisNames = 2; * @param index The index of the value to return. * @return The bytes of the axisNames at the given index. */ public com.google.protobuf.ByteString getAxisNamesBytes(int index) { return axisNames_.getByteString(index); } /** * repeated string axisNames = 2; * @param index The index to set the value at. * @param value The axisNames to set. * @return This builder for chaining. */ public Builder setAxisNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAxisNamesIsMutable(); axisNames_.set(index, value); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string axisNames = 2; * @param value The axisNames to add. * @return This builder for chaining. */ public Builder addAxisNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAxisNamesIsMutable(); axisNames_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string axisNames = 2; * @param values The axisNames to add. * @return This builder for chaining. */ public Builder addAllAxisNames( java.lang.Iterable values) { ensureAxisNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, axisNames_); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string axisNames = 2; * @return This builder for chaining. */ public Builder clearAxisNames() { axisNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** * repeated string axisNames = 2; * @param value The bytes of the axisNames to add. * @return This builder for chaining. */ public Builder addAxisNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAxisNamesIsMutable(); axisNames_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList transformNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureTransformNamesIsMutable() { if (!transformNames_.isModifiable()) { transformNames_ = new com.google.protobuf.LazyStringArrayList(transformNames_); } bitField0_ |= 0x00000004; } /** * repeated string transformNames = 3; * @return A list containing the transformNames. */ public com.google.protobuf.ProtocolStringList getTransformNamesList() { transformNames_.makeImmutable(); return transformNames_; } /** * repeated string transformNames = 3; * @return The count of transformNames. */ public int getTransformNamesCount() { return transformNames_.size(); } /** * repeated string transformNames = 3; * @param index The index of the element to return. * @return The transformNames at the given index. */ public java.lang.String getTransformNames(int index) { return transformNames_.get(index); } /** * repeated string transformNames = 3; * @param index The index of the value to return. * @return The bytes of the transformNames at the given index. */ public com.google.protobuf.ByteString getTransformNamesBytes(int index) { return transformNames_.getByteString(index); } /** * repeated string transformNames = 3; * @param index The index to set the value at. * @param value The transformNames to set. * @return This builder for chaining. */ public Builder setTransformNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTransformNamesIsMutable(); transformNames_.set(index, value); bitField0_ |= 0x00000004; onChanged(); return this; } /** * repeated string transformNames = 3; * @param value The transformNames to add. * @return This builder for chaining. */ public Builder addTransformNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTransformNamesIsMutable(); transformNames_.add(value); bitField0_ |= 0x00000004; onChanged(); return this; } /** * repeated string transformNames = 3; * @param values The transformNames to add. * @return This builder for chaining. */ public Builder addAllTransformNames( java.lang.Iterable values) { ensureTransformNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, transformNames_); bitField0_ |= 0x00000004; onChanged(); return this; } /** * repeated string transformNames = 3; * @return This builder for chaining. */ public Builder clearTransformNames() { transformNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** * repeated string transformNames = 3; * @param value The bytes of the transformNames to add. * @return This builder for chaining. */ public Builder addTransformNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTransformNamesIsMutable(); transformNames_.add(value); bitField0_ |= 0x00000004; onChanged(); return this; } private int coverageType_ = 0; /** * .CoverageType coverageType = 5; * @return The enum numeric value on the wire for coverageType. */ @java.lang.Override public int getCoverageTypeValue() { return coverageType_; } /** * .CoverageType coverageType = 5; * @param value The enum numeric value on the wire for coverageType to set. * @return This builder for chaining. */ public Builder setCoverageTypeValue(int value) { coverageType_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * .CoverageType coverageType = 5; * @return The coverageType. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType getCoverageType() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType result = ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType.forNumber(coverageType_); return result == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType.UNRECOGNIZED : result; } /** * .CoverageType coverageType = 5; * @param value The coverageType to set. * @return This builder for chaining. */ public Builder setCoverageType(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; coverageType_ = value.getNumber(); onChanged(); return this; } /** * .CoverageType coverageType = 5; * @return This builder for chaining. */ public Builder clearCoverageType() { bitField0_ = (bitField0_ & ~0x00000008); coverageType_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:CoordSys) } // @@protoc_insertion_point(class_scope:CoordSys) private static final ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys(); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CoordSys parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CalendarDateRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:CalendarDateRange) com.google.protobuf.MessageOrBuilder { /** * int64 start = 1; * @return The start. */ long getStart(); /** * int64 end = 2; * @return The end. */ long getEnd(); /** * .Calendar calendar = 3; * @return The enum numeric value on the wire for calendar. */ int getCalendarValue(); /** * .Calendar calendar = 3; * @return The calendar. */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Calendar getCalendar(); } /** * Protobuf type {@code CalendarDateRange} */ public static final class CalendarDateRange extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:CalendarDateRange) CalendarDateRangeOrBuilder { private static final long serialVersionUID = 0L; // Use CalendarDateRange.newBuilder() to construct. private CalendarDateRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CalendarDateRange() { calendar_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CalendarDateRange(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CalendarDateRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CalendarDateRange_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.Builder.class); } public static final int START_FIELD_NUMBER = 1; private long start_ = 0L; /** * int64 start = 1; * @return The start. */ @java.lang.Override public long getStart() { return start_; } public static final int END_FIELD_NUMBER = 2; private long end_ = 0L; /** * int64 end = 2; * @return The end. */ @java.lang.Override public long getEnd() { return end_; } public static final int CALENDAR_FIELD_NUMBER = 3; private int calendar_ = 0; /** * .Calendar calendar = 3; * @return The enum numeric value on the wire for calendar. */ @java.lang.Override public int getCalendarValue() { return calendar_; } /** * .Calendar calendar = 3; * @return The calendar. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Calendar getCalendar() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Calendar result = ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Calendar.forNumber(calendar_); return result == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Calendar.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (start_ != 0L) { output.writeInt64(1, start_); } if (end_ != 0L) { output.writeInt64(2, end_); } if (calendar_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Calendar.proleptic_gregorian.getNumber()) { output.writeEnum(3, calendar_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (start_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, start_); } if (end_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, end_); } if (calendar_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Calendar.proleptic_gregorian.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, calendar_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange)) { return super.equals(obj); } ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange other = (ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange) obj; if (getStart() != other.getStart()) return false; if (getEnd() != other.getEnd()) return false; if (calendar_ != other.calendar_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStart()); hash = (37 * hash) + END_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEnd()); hash = (37 * hash) + CALENDAR_FIELD_NUMBER; hash = (53 * hash) + calendar_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code CalendarDateRange} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:CalendarDateRange) ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CalendarDateRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CalendarDateRange_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.Builder.class); } // Construct using ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; start_ = 0L; end_ = 0L; calendar_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CalendarDateRange_descriptor; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange getDefaultInstanceForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.getDefaultInstance(); } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange build() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange buildPartial() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange result = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.start_ = start_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.end_ = end_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.calendar_ = calendar_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange) { return mergeFrom((ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange other) { if (other == ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.getDefaultInstance()) return this; if (other.getStart() != 0L) { setStart(other.getStart()); } if (other.getEnd() != 0L) { setEnd(other.getEnd()); } if (other.calendar_ != 0) { setCalendarValue(other.getCalendarValue()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { start_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { end_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { calendar_ = input.readEnum(); bitField0_ |= 0x00000004; break; } // case 24 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long start_ ; /** * int64 start = 1; * @return The start. */ @java.lang.Override public long getStart() { return start_; } /** * int64 start = 1; * @param value The start to set. * @return This builder for chaining. */ public Builder setStart(long value) { start_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * int64 start = 1; * @return This builder for chaining. */ public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000001); start_ = 0L; onChanged(); return this; } private long end_ ; /** * int64 end = 2; * @return The end. */ @java.lang.Override public long getEnd() { return end_; } /** * int64 end = 2; * @param value The end to set. * @return This builder for chaining. */ public Builder setEnd(long value) { end_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * int64 end = 2; * @return This builder for chaining. */ public Builder clearEnd() { bitField0_ = (bitField0_ & ~0x00000002); end_ = 0L; onChanged(); return this; } private int calendar_ = 0; /** * .Calendar calendar = 3; * @return The enum numeric value on the wire for calendar. */ @java.lang.Override public int getCalendarValue() { return calendar_; } /** * .Calendar calendar = 3; * @param value The enum numeric value on the wire for calendar to set. * @return This builder for chaining. */ public Builder setCalendarValue(int value) { calendar_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Calendar calendar = 3; * @return The calendar. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Calendar getCalendar() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Calendar result = ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Calendar.forNumber(calendar_); return result == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Calendar.UNRECOGNIZED : result; } /** * .Calendar calendar = 3; * @param value The calendar to set. * @return This builder for chaining. */ public Builder setCalendar(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Calendar value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; calendar_ = value.getNumber(); onChanged(); return this; } /** * .Calendar calendar = 3; * @return This builder for chaining. */ public Builder clearCalendar() { bitField0_ = (bitField0_ & ~0x00000004); calendar_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:CalendarDateRange) } // @@protoc_insertion_point(class_scope:CalendarDateRange) private static final ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange(); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CalendarDateRange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RectangleOrBuilder extends // @@protoc_insertion_point(interface_extends:Rectangle) com.google.protobuf.MessageOrBuilder { /** * double startx = 1; * @return The startx. */ double getStartx(); /** * double starty = 2; * @return The starty. */ double getStarty(); /** * double incx = 3; * @return The incx. */ double getIncx(); /** * double incy = 4; * @return The incy. */ double getIncy(); } /** * Protobuf type {@code Rectangle} */ public static final class Rectangle extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Rectangle) RectangleOrBuilder { private static final long serialVersionUID = 0L; // Use Rectangle.newBuilder() to construct. private Rectangle(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Rectangle() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Rectangle(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_Rectangle_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_Rectangle_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.Builder.class); } public static final int STARTX_FIELD_NUMBER = 1; private double startx_ = 0D; /** * double startx = 1; * @return The startx. */ @java.lang.Override public double getStartx() { return startx_; } public static final int STARTY_FIELD_NUMBER = 2; private double starty_ = 0D; /** * double starty = 2; * @return The starty. */ @java.lang.Override public double getStarty() { return starty_; } public static final int INCX_FIELD_NUMBER = 3; private double incx_ = 0D; /** * double incx = 3; * @return The incx. */ @java.lang.Override public double getIncx() { return incx_; } public static final int INCY_FIELD_NUMBER = 4; private double incy_ = 0D; /** * double incy = 4; * @return The incy. */ @java.lang.Override public double getIncy() { return incy_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(startx_) != 0) { output.writeDouble(1, startx_); } if (java.lang.Double.doubleToRawLongBits(starty_) != 0) { output.writeDouble(2, starty_); } if (java.lang.Double.doubleToRawLongBits(incx_) != 0) { output.writeDouble(3, incx_); } if (java.lang.Double.doubleToRawLongBits(incy_) != 0) { output.writeDouble(4, incy_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (java.lang.Double.doubleToRawLongBits(startx_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, startx_); } if (java.lang.Double.doubleToRawLongBits(starty_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, starty_); } if (java.lang.Double.doubleToRawLongBits(incx_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, incx_); } if (java.lang.Double.doubleToRawLongBits(incy_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, incy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle)) { return super.equals(obj); } ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle other = (ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle) obj; if (java.lang.Double.doubleToLongBits(getStartx()) != java.lang.Double.doubleToLongBits( other.getStartx())) return false; if (java.lang.Double.doubleToLongBits(getStarty()) != java.lang.Double.doubleToLongBits( other.getStarty())) return false; if (java.lang.Double.doubleToLongBits(getIncx()) != java.lang.Double.doubleToLongBits( other.getIncx())) return false; if (java.lang.Double.doubleToLongBits(getIncy()) != java.lang.Double.doubleToLongBits( other.getIncy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STARTX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getStartx())); hash = (37 * hash) + STARTY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getStarty())); hash = (37 * hash) + INCX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getIncx())); hash = (37 * hash) + INCY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getIncy())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Rectangle} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Rectangle) ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.RectangleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_Rectangle_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_Rectangle_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.Builder.class); } // Construct using ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; startx_ = 0D; starty_ = 0D; incx_ = 0D; incy_ = 0D; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_Rectangle_descriptor; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle getDefaultInstanceForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.getDefaultInstance(); } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle build() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle buildPartial() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle result = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.startx_ = startx_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.starty_ = starty_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.incx_ = incx_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.incy_ = incy_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle) { return mergeFrom((ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle other) { if (other == ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.getDefaultInstance()) return this; if (other.getStartx() != 0D) { setStartx(other.getStartx()); } if (other.getStarty() != 0D) { setStarty(other.getStarty()); } if (other.getIncx() != 0D) { setIncx(other.getIncx()); } if (other.getIncy() != 0D) { setIncy(other.getIncy()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 9: { startx_ = input.readDouble(); bitField0_ |= 0x00000001; break; } // case 9 case 17: { starty_ = input.readDouble(); bitField0_ |= 0x00000002; break; } // case 17 case 25: { incx_ = input.readDouble(); bitField0_ |= 0x00000004; break; } // case 25 case 33: { incy_ = input.readDouble(); bitField0_ |= 0x00000008; break; } // case 33 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private double startx_ ; /** * double startx = 1; * @return The startx. */ @java.lang.Override public double getStartx() { return startx_; } /** * double startx = 1; * @param value The startx to set. * @return This builder for chaining. */ public Builder setStartx(double value) { startx_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * double startx = 1; * @return This builder for chaining. */ public Builder clearStartx() { bitField0_ = (bitField0_ & ~0x00000001); startx_ = 0D; onChanged(); return this; } private double starty_ ; /** * double starty = 2; * @return The starty. */ @java.lang.Override public double getStarty() { return starty_; } /** * double starty = 2; * @param value The starty to set. * @return This builder for chaining. */ public Builder setStarty(double value) { starty_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * double starty = 2; * @return This builder for chaining. */ public Builder clearStarty() { bitField0_ = (bitField0_ & ~0x00000002); starty_ = 0D; onChanged(); return this; } private double incx_ ; /** * double incx = 3; * @return The incx. */ @java.lang.Override public double getIncx() { return incx_; } /** * double incx = 3; * @param value The incx to set. * @return This builder for chaining. */ public Builder setIncx(double value) { incx_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * double incx = 3; * @return This builder for chaining. */ public Builder clearIncx() { bitField0_ = (bitField0_ & ~0x00000004); incx_ = 0D; onChanged(); return this; } private double incy_ ; /** * double incy = 4; * @return The incy. */ @java.lang.Override public double getIncy() { return incy_; } /** * double incy = 4; * @param value The incy to set. * @return This builder for chaining. */ public Builder setIncy(double value) { incy_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * double incy = 4; * @return This builder for chaining. */ public Builder clearIncy() { bitField0_ = (bitField0_ & ~0x00000008); incy_ = 0D; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Rectangle) } // @@protoc_insertion_point(class_scope:Rectangle) private static final ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle(); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Rectangle parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CoverageOrBuilder extends // @@protoc_insertion_point(interface_extends:Coverage) com.google.protobuf.MessageOrBuilder { /** *
     * short name, unique within dataset
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * short name, unique within dataset
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * .DataType dataType = 2; * @return The enum numeric value on the wire for dataType. */ int getDataTypeValue(); /** * .DataType dataType = 2; * @return The dataType. */ ucar.nc2.stream.NcStreamProto.DataType getDataType(); /** * repeated .Attribute atts = 4; */ java.util.List getAttsList(); /** * repeated .Attribute atts = 4; */ ucar.nc2.stream.NcStreamProto.Attribute getAtts(int index); /** * repeated .Attribute atts = 4; */ int getAttsCount(); /** * repeated .Attribute atts = 4; */ java.util.List getAttsOrBuilderList(); /** * repeated .Attribute atts = 4; */ ucar.nc2.stream.NcStreamProto.AttributeOrBuilder getAttsOrBuilder( int index); /** * string coordSys = 5; * @return The coordSys. */ java.lang.String getCoordSys(); /** * string coordSys = 5; * @return The bytes for coordSys. */ com.google.protobuf.ByteString getCoordSysBytes(); /** * string units = 6; * @return The units. */ java.lang.String getUnits(); /** * string units = 6; * @return The bytes for units. */ com.google.protobuf.ByteString getUnitsBytes(); /** * string description = 7; * @return The description. */ java.lang.String getDescription(); /** * string description = 7; * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); } /** * Protobuf type {@code Coverage} */ public static final class Coverage extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Coverage) CoverageOrBuilder { private static final long serialVersionUID = 0L; // Use Coverage.newBuilder() to construct. private Coverage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Coverage() { name_ = ""; dataType_ = 0; atts_ = java.util.Collections.emptyList(); coordSys_ = ""; units_ = ""; description_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Coverage(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_Coverage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_Coverage_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * short name, unique within dataset
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * short name, unique within dataset
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATATYPE_FIELD_NUMBER = 2; private int dataType_ = 0; /** * .DataType dataType = 2; * @return The enum numeric value on the wire for dataType. */ @java.lang.Override public int getDataTypeValue() { return dataType_; } /** * .DataType dataType = 2; * @return The dataType. */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.DataType getDataType() { ucar.nc2.stream.NcStreamProto.DataType result = ucar.nc2.stream.NcStreamProto.DataType.forNumber(dataType_); return result == null ? ucar.nc2.stream.NcStreamProto.DataType.UNRECOGNIZED : result; } public static final int ATTS_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List atts_; /** * repeated .Attribute atts = 4; */ @java.lang.Override public java.util.List getAttsList() { return atts_; } /** * repeated .Attribute atts = 4; */ @java.lang.Override public java.util.List getAttsOrBuilderList() { return atts_; } /** * repeated .Attribute atts = 4; */ @java.lang.Override public int getAttsCount() { return atts_.size(); } /** * repeated .Attribute atts = 4; */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.Attribute getAtts(int index) { return atts_.get(index); } /** * repeated .Attribute atts = 4; */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.AttributeOrBuilder getAttsOrBuilder( int index) { return atts_.get(index); } public static final int COORDSYS_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object coordSys_ = ""; /** * string coordSys = 5; * @return The coordSys. */ @java.lang.Override public java.lang.String getCoordSys() { java.lang.Object ref = coordSys_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); coordSys_ = s; return s; } } /** * string coordSys = 5; * @return The bytes for coordSys. */ @java.lang.Override public com.google.protobuf.ByteString getCoordSysBytes() { java.lang.Object ref = coordSys_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); coordSys_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNITS_FIELD_NUMBER = 6; @SuppressWarnings("serial") private volatile java.lang.Object units_ = ""; /** * string units = 6; * @return The units. */ @java.lang.Override public java.lang.String getUnits() { java.lang.Object ref = units_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); units_ = s; return s; } } /** * string units = 6; * @return The bytes for units. */ @java.lang.Override public com.google.protobuf.ByteString getUnitsBytes() { java.lang.Object ref = units_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); units_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 7; @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** * string description = 7; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** * string description = 7; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(coordSys_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, coordSys_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(units_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, units_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (dataType_ != ucar.nc2.stream.NcStreamProto.DataType.CHAR.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, dataType_); } for (int i = 0; i < atts_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, atts_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(coordSys_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, coordSys_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(units_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, units_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage)) { return super.equals(obj); } ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage other = (ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage) obj; if (!getName() .equals(other.getName())) return false; if (dataType_ != other.dataType_) return false; if (!getAttsList() .equals(other.getAttsList())) return false; if (!getCoordSys() .equals(other.getCoordSys())) return false; if (!getUnits() .equals(other.getUnits())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DATATYPE_FIELD_NUMBER; hash = (53 * hash) + dataType_; if (getAttsCount() > 0) { hash = (37 * hash) + ATTS_FIELD_NUMBER; hash = (53 * hash) + getAttsList().hashCode(); } hash = (37 * hash) + COORDSYS_FIELD_NUMBER; hash = (53 * hash) + getCoordSys().hashCode(); hash = (37 * hash) + UNITS_FIELD_NUMBER; hash = (53 * hash) + getUnits().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Coverage} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Coverage) ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_Coverage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_Coverage_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.Builder.class); } // Construct using ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; dataType_ = 0; if (attsBuilder_ == null) { atts_ = java.util.Collections.emptyList(); } else { atts_ = null; attsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); coordSys_ = ""; units_ = ""; description_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_Coverage_descriptor; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage getDefaultInstanceForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.getDefaultInstance(); } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage build() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage buildPartial() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage result = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage result) { if (attsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { atts_ = java.util.Collections.unmodifiableList(atts_); bitField0_ = (bitField0_ & ~0x00000004); } result.atts_ = atts_; } else { result.atts_ = attsBuilder_.build(); } } private void buildPartial0(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.dataType_ = dataType_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.coordSys_ = coordSys_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.units_ = units_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.description_ = description_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage) { return mergeFrom((ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage other) { if (other == ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (other.dataType_ != 0) { setDataTypeValue(other.getDataTypeValue()); } if (attsBuilder_ == null) { if (!other.atts_.isEmpty()) { if (atts_.isEmpty()) { atts_ = other.atts_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureAttsIsMutable(); atts_.addAll(other.atts_); } onChanged(); } } else { if (!other.atts_.isEmpty()) { if (attsBuilder_.isEmpty()) { attsBuilder_.dispose(); attsBuilder_ = null; atts_ = other.atts_; bitField0_ = (bitField0_ & ~0x00000004); attsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAttsFieldBuilder() : null; } else { attsBuilder_.addAllMessages(other.atts_); } } } if (!other.getCoordSys().isEmpty()) { coordSys_ = other.coordSys_; bitField0_ |= 0x00000008; onChanged(); } if (!other.getUnits().isEmpty()) { units_ = other.units_; bitField0_ |= 0x00000010; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; bitField0_ |= 0x00000020; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { dataType_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 34: { ucar.nc2.stream.NcStreamProto.Attribute m = input.readMessage( ucar.nc2.stream.NcStreamProto.Attribute.parser(), extensionRegistry); if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.add(m); } else { attsBuilder_.addMessage(m); } break; } // case 34 case 42: { coordSys_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 42 case 50: { units_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 50 case 58: { description_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000020; break; } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * short name, unique within dataset
       * 
* * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * short name, unique within dataset
       * 
* * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * short name, unique within dataset
       * 
* * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * short name, unique within dataset
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * short name, unique within dataset
       * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private int dataType_ = 0; /** * .DataType dataType = 2; * @return The enum numeric value on the wire for dataType. */ @java.lang.Override public int getDataTypeValue() { return dataType_; } /** * .DataType dataType = 2; * @param value The enum numeric value on the wire for dataType to set. * @return This builder for chaining. */ public Builder setDataTypeValue(int value) { dataType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * .DataType dataType = 2; * @return The dataType. */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.DataType getDataType() { ucar.nc2.stream.NcStreamProto.DataType result = ucar.nc2.stream.NcStreamProto.DataType.forNumber(dataType_); return result == null ? ucar.nc2.stream.NcStreamProto.DataType.UNRECOGNIZED : result; } /** * .DataType dataType = 2; * @param value The dataType to set. * @return This builder for chaining. */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; dataType_ = value.getNumber(); onChanged(); return this; } /** * .DataType dataType = 2; * @return This builder for chaining. */ public Builder clearDataType() { bitField0_ = (bitField0_ & ~0x00000002); dataType_ = 0; onChanged(); return this; } private java.util.List atts_ = java.util.Collections.emptyList(); private void ensureAttsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { atts_ = new java.util.ArrayList(atts_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.stream.NcStreamProto.Attribute, ucar.nc2.stream.NcStreamProto.Attribute.Builder, ucar.nc2.stream.NcStreamProto.AttributeOrBuilder> attsBuilder_; /** * repeated .Attribute atts = 4; */ public java.util.List getAttsList() { if (attsBuilder_ == null) { return java.util.Collections.unmodifiableList(atts_); } else { return attsBuilder_.getMessageList(); } } /** * repeated .Attribute atts = 4; */ public int getAttsCount() { if (attsBuilder_ == null) { return atts_.size(); } else { return attsBuilder_.getCount(); } } /** * repeated .Attribute atts = 4; */ public ucar.nc2.stream.NcStreamProto.Attribute getAtts(int index) { if (attsBuilder_ == null) { return atts_.get(index); } else { return attsBuilder_.getMessage(index); } } /** * repeated .Attribute atts = 4; */ public Builder setAtts( int index, ucar.nc2.stream.NcStreamProto.Attribute value) { if (attsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttsIsMutable(); atts_.set(index, value); onChanged(); } else { attsBuilder_.setMessage(index, value); } return this; } /** * repeated .Attribute atts = 4; */ public Builder setAtts( int index, ucar.nc2.stream.NcStreamProto.Attribute.Builder builderForValue) { if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.set(index, builderForValue.build()); onChanged(); } else { attsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Attribute atts = 4; */ public Builder addAtts(ucar.nc2.stream.NcStreamProto.Attribute value) { if (attsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttsIsMutable(); atts_.add(value); onChanged(); } else { attsBuilder_.addMessage(value); } return this; } /** * repeated .Attribute atts = 4; */ public Builder addAtts( int index, ucar.nc2.stream.NcStreamProto.Attribute value) { if (attsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttsIsMutable(); atts_.add(index, value); onChanged(); } else { attsBuilder_.addMessage(index, value); } return this; } /** * repeated .Attribute atts = 4; */ public Builder addAtts( ucar.nc2.stream.NcStreamProto.Attribute.Builder builderForValue) { if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.add(builderForValue.build()); onChanged(); } else { attsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Attribute atts = 4; */ public Builder addAtts( int index, ucar.nc2.stream.NcStreamProto.Attribute.Builder builderForValue) { if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.add(index, builderForValue.build()); onChanged(); } else { attsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Attribute atts = 4; */ public Builder addAllAtts( java.lang.Iterable values) { if (attsBuilder_ == null) { ensureAttsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, atts_); onChanged(); } else { attsBuilder_.addAllMessages(values); } return this; } /** * repeated .Attribute atts = 4; */ public Builder clearAtts() { if (attsBuilder_ == null) { atts_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { attsBuilder_.clear(); } return this; } /** * repeated .Attribute atts = 4; */ public Builder removeAtts(int index) { if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.remove(index); onChanged(); } else { attsBuilder_.remove(index); } return this; } /** * repeated .Attribute atts = 4; */ public ucar.nc2.stream.NcStreamProto.Attribute.Builder getAttsBuilder( int index) { return getAttsFieldBuilder().getBuilder(index); } /** * repeated .Attribute atts = 4; */ public ucar.nc2.stream.NcStreamProto.AttributeOrBuilder getAttsOrBuilder( int index) { if (attsBuilder_ == null) { return atts_.get(index); } else { return attsBuilder_.getMessageOrBuilder(index); } } /** * repeated .Attribute atts = 4; */ public java.util.List getAttsOrBuilderList() { if (attsBuilder_ != null) { return attsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(atts_); } } /** * repeated .Attribute atts = 4; */ public ucar.nc2.stream.NcStreamProto.Attribute.Builder addAttsBuilder() { return getAttsFieldBuilder().addBuilder( ucar.nc2.stream.NcStreamProto.Attribute.getDefaultInstance()); } /** * repeated .Attribute atts = 4; */ public ucar.nc2.stream.NcStreamProto.Attribute.Builder addAttsBuilder( int index) { return getAttsFieldBuilder().addBuilder( index, ucar.nc2.stream.NcStreamProto.Attribute.getDefaultInstance()); } /** * repeated .Attribute atts = 4; */ public java.util.List getAttsBuilderList() { return getAttsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.stream.NcStreamProto.Attribute, ucar.nc2.stream.NcStreamProto.Attribute.Builder, ucar.nc2.stream.NcStreamProto.AttributeOrBuilder> getAttsFieldBuilder() { if (attsBuilder_ == null) { attsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.stream.NcStreamProto.Attribute, ucar.nc2.stream.NcStreamProto.Attribute.Builder, ucar.nc2.stream.NcStreamProto.AttributeOrBuilder>( atts_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); atts_ = null; } return attsBuilder_; } private java.lang.Object coordSys_ = ""; /** * string coordSys = 5; * @return The coordSys. */ public java.lang.String getCoordSys() { java.lang.Object ref = coordSys_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); coordSys_ = s; return s; } else { return (java.lang.String) ref; } } /** * string coordSys = 5; * @return The bytes for coordSys. */ public com.google.protobuf.ByteString getCoordSysBytes() { java.lang.Object ref = coordSys_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); coordSys_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string coordSys = 5; * @param value The coordSys to set. * @return This builder for chaining. */ public Builder setCoordSys( java.lang.String value) { if (value == null) { throw new NullPointerException(); } coordSys_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * string coordSys = 5; * @return This builder for chaining. */ public Builder clearCoordSys() { coordSys_ = getDefaultInstance().getCoordSys(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * string coordSys = 5; * @param value The bytes for coordSys to set. * @return This builder for chaining. */ public Builder setCoordSysBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); coordSys_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private java.lang.Object units_ = ""; /** * string units = 6; * @return The units. */ public java.lang.String getUnits() { java.lang.Object ref = units_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); units_ = s; return s; } else { return (java.lang.String) ref; } } /** * string units = 6; * @return The bytes for units. */ public com.google.protobuf.ByteString getUnitsBytes() { java.lang.Object ref = units_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); units_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string units = 6; * @param value The units to set. * @return This builder for chaining. */ public Builder setUnits( java.lang.String value) { if (value == null) { throw new NullPointerException(); } units_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * string units = 6; * @return This builder for chaining. */ public Builder clearUnits() { units_ = getDefaultInstance().getUnits(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * string units = 6; * @param value The bytes for units to set. * @return This builder for chaining. */ public Builder setUnitsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); units_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private java.lang.Object description_ = ""; /** * string description = 7; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** * string description = 7; * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string description = 7; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * string description = 7; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** * string description = 7; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Coverage) } // @@protoc_insertion_point(class_scope:Coverage) private static final ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage(); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Coverage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CoverageDatasetOrBuilder extends // @@protoc_insertion_point(interface_extends:CoverageDataset) com.google.protobuf.MessageOrBuilder { /** * string name = 1; * @return The name. */ java.lang.String getName(); /** * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * repeated .Attribute atts = 2; */ java.util.List getAttsList(); /** * repeated .Attribute atts = 2; */ ucar.nc2.stream.NcStreamProto.Attribute getAtts(int index); /** * repeated .Attribute atts = 2; */ int getAttsCount(); /** * repeated .Attribute atts = 2; */ java.util.List getAttsOrBuilderList(); /** * repeated .Attribute atts = 2; */ ucar.nc2.stream.NcStreamProto.AttributeOrBuilder getAttsOrBuilder( int index); /** * .Rectangle latlonRect = 3; * @return Whether the latlonRect field is set. */ boolean hasLatlonRect(); /** * .Rectangle latlonRect = 3; * @return The latlonRect. */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle getLatlonRect(); /** * .Rectangle latlonRect = 3; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.RectangleOrBuilder getLatlonRectOrBuilder(); /** * .Rectangle projRect = 4; * @return Whether the projRect field is set. */ boolean hasProjRect(); /** * .Rectangle projRect = 4; * @return The projRect. */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle getProjRect(); /** * .Rectangle projRect = 4; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.RectangleOrBuilder getProjRectOrBuilder(); /** * .CalendarDateRange dateRange = 5; * @return Whether the dateRange field is set. */ boolean hasDateRange(); /** * .CalendarDateRange dateRange = 5; * @return The dateRange. */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange getDateRange(); /** * .CalendarDateRange dateRange = 5; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRangeOrBuilder getDateRangeOrBuilder(); /** * repeated .CoordSys coordSys = 6; */ java.util.List getCoordSysList(); /** * repeated .CoordSys coordSys = 6; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys getCoordSys(int index); /** * repeated .CoordSys coordSys = 6; */ int getCoordSysCount(); /** * repeated .CoordSys coordSys = 6; */ java.util.List getCoordSysOrBuilderList(); /** * repeated .CoordSys coordSys = 6; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSysOrBuilder getCoordSysOrBuilder( int index); /** * repeated .CoordTransform coordTransforms = 7; */ java.util.List getCoordTransformsList(); /** * repeated .CoordTransform coordTransforms = 7; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform getCoordTransforms(int index); /** * repeated .CoordTransform coordTransforms = 7; */ int getCoordTransformsCount(); /** * repeated .CoordTransform coordTransforms = 7; */ java.util.List getCoordTransformsOrBuilderList(); /** * repeated .CoordTransform coordTransforms = 7; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransformOrBuilder getCoordTransformsOrBuilder( int index); /** * repeated .CoordAxis coordAxes = 8; */ java.util.List getCoordAxesList(); /** * repeated .CoordAxis coordAxes = 8; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis getCoordAxes(int index); /** * repeated .CoordAxis coordAxes = 8; */ int getCoordAxesCount(); /** * repeated .CoordAxis coordAxes = 8; */ java.util.List getCoordAxesOrBuilderList(); /** * repeated .CoordAxis coordAxes = 8; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxisOrBuilder getCoordAxesOrBuilder( int index); /** * repeated .Coverage grids = 9; */ java.util.List getGridsList(); /** * repeated .Coverage grids = 9; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage getGrids(int index); /** * repeated .Coverage grids = 9; */ int getGridsCount(); /** * repeated .Coverage grids = 9; */ java.util.List getGridsOrBuilderList(); /** * repeated .Coverage grids = 9; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageOrBuilder getGridsOrBuilder( int index); /** * .CoverageType coverageType = 10; * @return The enum numeric value on the wire for coverageType. */ int getCoverageTypeValue(); /** * .CoverageType coverageType = 10; * @return The coverageType. */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType getCoverageType(); } /** * Protobuf type {@code CoverageDataset} */ public static final class CoverageDataset extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:CoverageDataset) CoverageDatasetOrBuilder { private static final long serialVersionUID = 0L; // Use CoverageDataset.newBuilder() to construct. private CoverageDataset(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CoverageDataset() { name_ = ""; atts_ = java.util.Collections.emptyList(); coordSys_ = java.util.Collections.emptyList(); coordTransforms_ = java.util.Collections.emptyList(); coordAxes_ = java.util.Collections.emptyList(); grids_ = java.util.Collections.emptyList(); coverageType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CoverageDataset(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoverageDataset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoverageDataset_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ATTS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List atts_; /** * repeated .Attribute atts = 2; */ @java.lang.Override public java.util.List getAttsList() { return atts_; } /** * repeated .Attribute atts = 2; */ @java.lang.Override public java.util.List getAttsOrBuilderList() { return atts_; } /** * repeated .Attribute atts = 2; */ @java.lang.Override public int getAttsCount() { return atts_.size(); } /** * repeated .Attribute atts = 2; */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.Attribute getAtts(int index) { return atts_.get(index); } /** * repeated .Attribute atts = 2; */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.AttributeOrBuilder getAttsOrBuilder( int index) { return atts_.get(index); } public static final int LATLONRECT_FIELD_NUMBER = 3; private ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle latlonRect_; /** * .Rectangle latlonRect = 3; * @return Whether the latlonRect field is set. */ @java.lang.Override public boolean hasLatlonRect() { return latlonRect_ != null; } /** * .Rectangle latlonRect = 3; * @return The latlonRect. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle getLatlonRect() { return latlonRect_ == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.getDefaultInstance() : latlonRect_; } /** * .Rectangle latlonRect = 3; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.RectangleOrBuilder getLatlonRectOrBuilder() { return latlonRect_ == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.getDefaultInstance() : latlonRect_; } public static final int PROJRECT_FIELD_NUMBER = 4; private ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle projRect_; /** * .Rectangle projRect = 4; * @return Whether the projRect field is set. */ @java.lang.Override public boolean hasProjRect() { return projRect_ != null; } /** * .Rectangle projRect = 4; * @return The projRect. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle getProjRect() { return projRect_ == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.getDefaultInstance() : projRect_; } /** * .Rectangle projRect = 4; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.RectangleOrBuilder getProjRectOrBuilder() { return projRect_ == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.getDefaultInstance() : projRect_; } public static final int DATERANGE_FIELD_NUMBER = 5; private ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange dateRange_; /** * .CalendarDateRange dateRange = 5; * @return Whether the dateRange field is set. */ @java.lang.Override public boolean hasDateRange() { return dateRange_ != null; } /** * .CalendarDateRange dateRange = 5; * @return The dateRange. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange getDateRange() { return dateRange_ == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.getDefaultInstance() : dateRange_; } /** * .CalendarDateRange dateRange = 5; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRangeOrBuilder getDateRangeOrBuilder() { return dateRange_ == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.getDefaultInstance() : dateRange_; } public static final int COORDSYS_FIELD_NUMBER = 6; @SuppressWarnings("serial") private java.util.List coordSys_; /** * repeated .CoordSys coordSys = 6; */ @java.lang.Override public java.util.List getCoordSysList() { return coordSys_; } /** * repeated .CoordSys coordSys = 6; */ @java.lang.Override public java.util.List getCoordSysOrBuilderList() { return coordSys_; } /** * repeated .CoordSys coordSys = 6; */ @java.lang.Override public int getCoordSysCount() { return coordSys_.size(); } /** * repeated .CoordSys coordSys = 6; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys getCoordSys(int index) { return coordSys_.get(index); } /** * repeated .CoordSys coordSys = 6; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSysOrBuilder getCoordSysOrBuilder( int index) { return coordSys_.get(index); } public static final int COORDTRANSFORMS_FIELD_NUMBER = 7; @SuppressWarnings("serial") private java.util.List coordTransforms_; /** * repeated .CoordTransform coordTransforms = 7; */ @java.lang.Override public java.util.List getCoordTransformsList() { return coordTransforms_; } /** * repeated .CoordTransform coordTransforms = 7; */ @java.lang.Override public java.util.List getCoordTransformsOrBuilderList() { return coordTransforms_; } /** * repeated .CoordTransform coordTransforms = 7; */ @java.lang.Override public int getCoordTransformsCount() { return coordTransforms_.size(); } /** * repeated .CoordTransform coordTransforms = 7; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform getCoordTransforms(int index) { return coordTransforms_.get(index); } /** * repeated .CoordTransform coordTransforms = 7; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransformOrBuilder getCoordTransformsOrBuilder( int index) { return coordTransforms_.get(index); } public static final int COORDAXES_FIELD_NUMBER = 8; @SuppressWarnings("serial") private java.util.List coordAxes_; /** * repeated .CoordAxis coordAxes = 8; */ @java.lang.Override public java.util.List getCoordAxesList() { return coordAxes_; } /** * repeated .CoordAxis coordAxes = 8; */ @java.lang.Override public java.util.List getCoordAxesOrBuilderList() { return coordAxes_; } /** * repeated .CoordAxis coordAxes = 8; */ @java.lang.Override public int getCoordAxesCount() { return coordAxes_.size(); } /** * repeated .CoordAxis coordAxes = 8; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis getCoordAxes(int index) { return coordAxes_.get(index); } /** * repeated .CoordAxis coordAxes = 8; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxisOrBuilder getCoordAxesOrBuilder( int index) { return coordAxes_.get(index); } public static final int GRIDS_FIELD_NUMBER = 9; @SuppressWarnings("serial") private java.util.List grids_; /** * repeated .Coverage grids = 9; */ @java.lang.Override public java.util.List getGridsList() { return grids_; } /** * repeated .Coverage grids = 9; */ @java.lang.Override public java.util.List getGridsOrBuilderList() { return grids_; } /** * repeated .Coverage grids = 9; */ @java.lang.Override public int getGridsCount() { return grids_.size(); } /** * repeated .Coverage grids = 9; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage getGrids(int index) { return grids_.get(index); } /** * repeated .Coverage grids = 9; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageOrBuilder getGridsOrBuilder( int index) { return grids_.get(index); } public static final int COVERAGETYPE_FIELD_NUMBER = 10; private int coverageType_ = 0; /** * .CoverageType coverageType = 10; * @return The enum numeric value on the wire for coverageType. */ @java.lang.Override public int getCoverageTypeValue() { return coverageType_; } /** * .CoverageType coverageType = 10; * @return The coverageType. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType getCoverageType() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType result = ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType.forNumber(coverageType_); return result == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < atts_.size(); i++) { output.writeMessage(2, atts_.get(i)); } if (latlonRect_ != null) { output.writeMessage(3, getLatlonRect()); } if (projRect_ != null) { output.writeMessage(4, getProjRect()); } if (dateRange_ != null) { output.writeMessage(5, getDateRange()); } for (int i = 0; i < coordSys_.size(); i++) { output.writeMessage(6, coordSys_.get(i)); } for (int i = 0; i < coordTransforms_.size(); i++) { output.writeMessage(7, coordTransforms_.get(i)); } for (int i = 0; i < coordAxes_.size(); i++) { output.writeMessage(8, coordAxes_.get(i)); } for (int i = 0; i < grids_.size(); i++) { output.writeMessage(9, grids_.get(i)); } if (coverageType_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType.General.getNumber()) { output.writeEnum(10, coverageType_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < atts_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, atts_.get(i)); } if (latlonRect_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getLatlonRect()); } if (projRect_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getProjRect()); } if (dateRange_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getDateRange()); } for (int i = 0; i < coordSys_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, coordSys_.get(i)); } for (int i = 0; i < coordTransforms_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, coordTransforms_.get(i)); } for (int i = 0; i < coordAxes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, coordAxes_.get(i)); } for (int i = 0; i < grids_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, grids_.get(i)); } if (coverageType_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType.General.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(10, coverageType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset)) { return super.equals(obj); } ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset other = (ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset) obj; if (!getName() .equals(other.getName())) return false; if (!getAttsList() .equals(other.getAttsList())) return false; if (hasLatlonRect() != other.hasLatlonRect()) return false; if (hasLatlonRect()) { if (!getLatlonRect() .equals(other.getLatlonRect())) return false; } if (hasProjRect() != other.hasProjRect()) return false; if (hasProjRect()) { if (!getProjRect() .equals(other.getProjRect())) return false; } if (hasDateRange() != other.hasDateRange()) return false; if (hasDateRange()) { if (!getDateRange() .equals(other.getDateRange())) return false; } if (!getCoordSysList() .equals(other.getCoordSysList())) return false; if (!getCoordTransformsList() .equals(other.getCoordTransformsList())) return false; if (!getCoordAxesList() .equals(other.getCoordAxesList())) return false; if (!getGridsList() .equals(other.getGridsList())) return false; if (coverageType_ != other.coverageType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (getAttsCount() > 0) { hash = (37 * hash) + ATTS_FIELD_NUMBER; hash = (53 * hash) + getAttsList().hashCode(); } if (hasLatlonRect()) { hash = (37 * hash) + LATLONRECT_FIELD_NUMBER; hash = (53 * hash) + getLatlonRect().hashCode(); } if (hasProjRect()) { hash = (37 * hash) + PROJRECT_FIELD_NUMBER; hash = (53 * hash) + getProjRect().hashCode(); } if (hasDateRange()) { hash = (37 * hash) + DATERANGE_FIELD_NUMBER; hash = (53 * hash) + getDateRange().hashCode(); } if (getCoordSysCount() > 0) { hash = (37 * hash) + COORDSYS_FIELD_NUMBER; hash = (53 * hash) + getCoordSysList().hashCode(); } if (getCoordTransformsCount() > 0) { hash = (37 * hash) + COORDTRANSFORMS_FIELD_NUMBER; hash = (53 * hash) + getCoordTransformsList().hashCode(); } if (getCoordAxesCount() > 0) { hash = (37 * hash) + COORDAXES_FIELD_NUMBER; hash = (53 * hash) + getCoordAxesList().hashCode(); } if (getGridsCount() > 0) { hash = (37 * hash) + GRIDS_FIELD_NUMBER; hash = (53 * hash) + getGridsList().hashCode(); } hash = (37 * hash) + COVERAGETYPE_FIELD_NUMBER; hash = (53 * hash) + coverageType_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code CoverageDataset} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:CoverageDataset) ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDatasetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoverageDataset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoverageDataset_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset.Builder.class); } // Construct using ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; if (attsBuilder_ == null) { atts_ = java.util.Collections.emptyList(); } else { atts_ = null; attsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); latlonRect_ = null; if (latlonRectBuilder_ != null) { latlonRectBuilder_.dispose(); latlonRectBuilder_ = null; } projRect_ = null; if (projRectBuilder_ != null) { projRectBuilder_.dispose(); projRectBuilder_ = null; } dateRange_ = null; if (dateRangeBuilder_ != null) { dateRangeBuilder_.dispose(); dateRangeBuilder_ = null; } if (coordSysBuilder_ == null) { coordSys_ = java.util.Collections.emptyList(); } else { coordSys_ = null; coordSysBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (coordTransformsBuilder_ == null) { coordTransforms_ = java.util.Collections.emptyList(); } else { coordTransforms_ = null; coordTransformsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); if (coordAxesBuilder_ == null) { coordAxes_ = java.util.Collections.emptyList(); } else { coordAxes_ = null; coordAxesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); if (gridsBuilder_ == null) { grids_ = java.util.Collections.emptyList(); } else { grids_ = null; gridsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); coverageType_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoverageDataset_descriptor; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset getDefaultInstanceForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset.getDefaultInstance(); } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset build() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset buildPartial() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset result = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset result) { if (attsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { atts_ = java.util.Collections.unmodifiableList(atts_); bitField0_ = (bitField0_ & ~0x00000002); } result.atts_ = atts_; } else { result.atts_ = attsBuilder_.build(); } if (coordSysBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { coordSys_ = java.util.Collections.unmodifiableList(coordSys_); bitField0_ = (bitField0_ & ~0x00000020); } result.coordSys_ = coordSys_; } else { result.coordSys_ = coordSysBuilder_.build(); } if (coordTransformsBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { coordTransforms_ = java.util.Collections.unmodifiableList(coordTransforms_); bitField0_ = (bitField0_ & ~0x00000040); } result.coordTransforms_ = coordTransforms_; } else { result.coordTransforms_ = coordTransformsBuilder_.build(); } if (coordAxesBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { coordAxes_ = java.util.Collections.unmodifiableList(coordAxes_); bitField0_ = (bitField0_ & ~0x00000080); } result.coordAxes_ = coordAxes_; } else { result.coordAxes_ = coordAxesBuilder_.build(); } if (gridsBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { grids_ = java.util.Collections.unmodifiableList(grids_); bitField0_ = (bitField0_ & ~0x00000100); } result.grids_ = grids_; } else { result.grids_ = gridsBuilder_.build(); } } private void buildPartial0(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.latlonRect_ = latlonRectBuilder_ == null ? latlonRect_ : latlonRectBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.projRect_ = projRectBuilder_ == null ? projRect_ : projRectBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.dateRange_ = dateRangeBuilder_ == null ? dateRange_ : dateRangeBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.coverageType_ = coverageType_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset) { return mergeFrom((ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset other) { if (other == ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (attsBuilder_ == null) { if (!other.atts_.isEmpty()) { if (atts_.isEmpty()) { atts_ = other.atts_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAttsIsMutable(); atts_.addAll(other.atts_); } onChanged(); } } else { if (!other.atts_.isEmpty()) { if (attsBuilder_.isEmpty()) { attsBuilder_.dispose(); attsBuilder_ = null; atts_ = other.atts_; bitField0_ = (bitField0_ & ~0x00000002); attsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAttsFieldBuilder() : null; } else { attsBuilder_.addAllMessages(other.atts_); } } } if (other.hasLatlonRect()) { mergeLatlonRect(other.getLatlonRect()); } if (other.hasProjRect()) { mergeProjRect(other.getProjRect()); } if (other.hasDateRange()) { mergeDateRange(other.getDateRange()); } if (coordSysBuilder_ == null) { if (!other.coordSys_.isEmpty()) { if (coordSys_.isEmpty()) { coordSys_ = other.coordSys_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureCoordSysIsMutable(); coordSys_.addAll(other.coordSys_); } onChanged(); } } else { if (!other.coordSys_.isEmpty()) { if (coordSysBuilder_.isEmpty()) { coordSysBuilder_.dispose(); coordSysBuilder_ = null; coordSys_ = other.coordSys_; bitField0_ = (bitField0_ & ~0x00000020); coordSysBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCoordSysFieldBuilder() : null; } else { coordSysBuilder_.addAllMessages(other.coordSys_); } } } if (coordTransformsBuilder_ == null) { if (!other.coordTransforms_.isEmpty()) { if (coordTransforms_.isEmpty()) { coordTransforms_ = other.coordTransforms_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureCoordTransformsIsMutable(); coordTransforms_.addAll(other.coordTransforms_); } onChanged(); } } else { if (!other.coordTransforms_.isEmpty()) { if (coordTransformsBuilder_.isEmpty()) { coordTransformsBuilder_.dispose(); coordTransformsBuilder_ = null; coordTransforms_ = other.coordTransforms_; bitField0_ = (bitField0_ & ~0x00000040); coordTransformsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCoordTransformsFieldBuilder() : null; } else { coordTransformsBuilder_.addAllMessages(other.coordTransforms_); } } } if (coordAxesBuilder_ == null) { if (!other.coordAxes_.isEmpty()) { if (coordAxes_.isEmpty()) { coordAxes_ = other.coordAxes_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureCoordAxesIsMutable(); coordAxes_.addAll(other.coordAxes_); } onChanged(); } } else { if (!other.coordAxes_.isEmpty()) { if (coordAxesBuilder_.isEmpty()) { coordAxesBuilder_.dispose(); coordAxesBuilder_ = null; coordAxes_ = other.coordAxes_; bitField0_ = (bitField0_ & ~0x00000080); coordAxesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCoordAxesFieldBuilder() : null; } else { coordAxesBuilder_.addAllMessages(other.coordAxes_); } } } if (gridsBuilder_ == null) { if (!other.grids_.isEmpty()) { if (grids_.isEmpty()) { grids_ = other.grids_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureGridsIsMutable(); grids_.addAll(other.grids_); } onChanged(); } } else { if (!other.grids_.isEmpty()) { if (gridsBuilder_.isEmpty()) { gridsBuilder_.dispose(); gridsBuilder_ = null; grids_ = other.grids_; bitField0_ = (bitField0_ & ~0x00000100); gridsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGridsFieldBuilder() : null; } else { gridsBuilder_.addAllMessages(other.grids_); } } } if (other.coverageType_ != 0) { setCoverageTypeValue(other.getCoverageTypeValue()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { ucar.nc2.stream.NcStreamProto.Attribute m = input.readMessage( ucar.nc2.stream.NcStreamProto.Attribute.parser(), extensionRegistry); if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.add(m); } else { attsBuilder_.addMessage(m); } break; } // case 18 case 26: { input.readMessage( getLatlonRectFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getProjRectFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { input.readMessage( getDateRangeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys m = input.readMessage( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.parser(), extensionRegistry); if (coordSysBuilder_ == null) { ensureCoordSysIsMutable(); coordSys_.add(m); } else { coordSysBuilder_.addMessage(m); } break; } // case 50 case 58: { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform m = input.readMessage( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.parser(), extensionRegistry); if (coordTransformsBuilder_ == null) { ensureCoordTransformsIsMutable(); coordTransforms_.add(m); } else { coordTransformsBuilder_.addMessage(m); } break; } // case 58 case 66: { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis m = input.readMessage( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.parser(), extensionRegistry); if (coordAxesBuilder_ == null) { ensureCoordAxesIsMutable(); coordAxes_.add(m); } else { coordAxesBuilder_.addMessage(m); } break; } // case 66 case 74: { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage m = input.readMessage( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.parser(), extensionRegistry); if (gridsBuilder_ == null) { ensureGridsIsMutable(); grids_.add(m); } else { gridsBuilder_.addMessage(m); } break; } // case 74 case 80: { coverageType_ = input.readEnum(); bitField0_ |= 0x00000200; break; } // case 80 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.util.List atts_ = java.util.Collections.emptyList(); private void ensureAttsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { atts_ = new java.util.ArrayList(atts_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.stream.NcStreamProto.Attribute, ucar.nc2.stream.NcStreamProto.Attribute.Builder, ucar.nc2.stream.NcStreamProto.AttributeOrBuilder> attsBuilder_; /** * repeated .Attribute atts = 2; */ public java.util.List getAttsList() { if (attsBuilder_ == null) { return java.util.Collections.unmodifiableList(atts_); } else { return attsBuilder_.getMessageList(); } } /** * repeated .Attribute atts = 2; */ public int getAttsCount() { if (attsBuilder_ == null) { return atts_.size(); } else { return attsBuilder_.getCount(); } } /** * repeated .Attribute atts = 2; */ public ucar.nc2.stream.NcStreamProto.Attribute getAtts(int index) { if (attsBuilder_ == null) { return atts_.get(index); } else { return attsBuilder_.getMessage(index); } } /** * repeated .Attribute atts = 2; */ public Builder setAtts( int index, ucar.nc2.stream.NcStreamProto.Attribute value) { if (attsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttsIsMutable(); atts_.set(index, value); onChanged(); } else { attsBuilder_.setMessage(index, value); } return this; } /** * repeated .Attribute atts = 2; */ public Builder setAtts( int index, ucar.nc2.stream.NcStreamProto.Attribute.Builder builderForValue) { if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.set(index, builderForValue.build()); onChanged(); } else { attsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Attribute atts = 2; */ public Builder addAtts(ucar.nc2.stream.NcStreamProto.Attribute value) { if (attsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttsIsMutable(); atts_.add(value); onChanged(); } else { attsBuilder_.addMessage(value); } return this; } /** * repeated .Attribute atts = 2; */ public Builder addAtts( int index, ucar.nc2.stream.NcStreamProto.Attribute value) { if (attsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttsIsMutable(); atts_.add(index, value); onChanged(); } else { attsBuilder_.addMessage(index, value); } return this; } /** * repeated .Attribute atts = 2; */ public Builder addAtts( ucar.nc2.stream.NcStreamProto.Attribute.Builder builderForValue) { if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.add(builderForValue.build()); onChanged(); } else { attsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Attribute atts = 2; */ public Builder addAtts( int index, ucar.nc2.stream.NcStreamProto.Attribute.Builder builderForValue) { if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.add(index, builderForValue.build()); onChanged(); } else { attsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Attribute atts = 2; */ public Builder addAllAtts( java.lang.Iterable values) { if (attsBuilder_ == null) { ensureAttsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, atts_); onChanged(); } else { attsBuilder_.addAllMessages(values); } return this; } /** * repeated .Attribute atts = 2; */ public Builder clearAtts() { if (attsBuilder_ == null) { atts_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { attsBuilder_.clear(); } return this; } /** * repeated .Attribute atts = 2; */ public Builder removeAtts(int index) { if (attsBuilder_ == null) { ensureAttsIsMutable(); atts_.remove(index); onChanged(); } else { attsBuilder_.remove(index); } return this; } /** * repeated .Attribute atts = 2; */ public ucar.nc2.stream.NcStreamProto.Attribute.Builder getAttsBuilder( int index) { return getAttsFieldBuilder().getBuilder(index); } /** * repeated .Attribute atts = 2; */ public ucar.nc2.stream.NcStreamProto.AttributeOrBuilder getAttsOrBuilder( int index) { if (attsBuilder_ == null) { return atts_.get(index); } else { return attsBuilder_.getMessageOrBuilder(index); } } /** * repeated .Attribute atts = 2; */ public java.util.List getAttsOrBuilderList() { if (attsBuilder_ != null) { return attsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(atts_); } } /** * repeated .Attribute atts = 2; */ public ucar.nc2.stream.NcStreamProto.Attribute.Builder addAttsBuilder() { return getAttsFieldBuilder().addBuilder( ucar.nc2.stream.NcStreamProto.Attribute.getDefaultInstance()); } /** * repeated .Attribute atts = 2; */ public ucar.nc2.stream.NcStreamProto.Attribute.Builder addAttsBuilder( int index) { return getAttsFieldBuilder().addBuilder( index, ucar.nc2.stream.NcStreamProto.Attribute.getDefaultInstance()); } /** * repeated .Attribute atts = 2; */ public java.util.List getAttsBuilderList() { return getAttsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.stream.NcStreamProto.Attribute, ucar.nc2.stream.NcStreamProto.Attribute.Builder, ucar.nc2.stream.NcStreamProto.AttributeOrBuilder> getAttsFieldBuilder() { if (attsBuilder_ == null) { attsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.stream.NcStreamProto.Attribute, ucar.nc2.stream.NcStreamProto.Attribute.Builder, ucar.nc2.stream.NcStreamProto.AttributeOrBuilder>( atts_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); atts_ = null; } return attsBuilder_; } private ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle latlonRect_; private com.google.protobuf.SingleFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.RectangleOrBuilder> latlonRectBuilder_; /** * .Rectangle latlonRect = 3; * @return Whether the latlonRect field is set. */ public boolean hasLatlonRect() { return ((bitField0_ & 0x00000004) != 0); } /** * .Rectangle latlonRect = 3; * @return The latlonRect. */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle getLatlonRect() { if (latlonRectBuilder_ == null) { return latlonRect_ == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.getDefaultInstance() : latlonRect_; } else { return latlonRectBuilder_.getMessage(); } } /** * .Rectangle latlonRect = 3; */ public Builder setLatlonRect(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle value) { if (latlonRectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } latlonRect_ = value; } else { latlonRectBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Rectangle latlonRect = 3; */ public Builder setLatlonRect( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.Builder builderForValue) { if (latlonRectBuilder_ == null) { latlonRect_ = builderForValue.build(); } else { latlonRectBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Rectangle latlonRect = 3; */ public Builder mergeLatlonRect(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle value) { if (latlonRectBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && latlonRect_ != null && latlonRect_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.getDefaultInstance()) { getLatlonRectBuilder().mergeFrom(value); } else { latlonRect_ = value; } } else { latlonRectBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Rectangle latlonRect = 3; */ public Builder clearLatlonRect() { bitField0_ = (bitField0_ & ~0x00000004); latlonRect_ = null; if (latlonRectBuilder_ != null) { latlonRectBuilder_.dispose(); latlonRectBuilder_ = null; } onChanged(); return this; } /** * .Rectangle latlonRect = 3; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.Builder getLatlonRectBuilder() { bitField0_ |= 0x00000004; onChanged(); return getLatlonRectFieldBuilder().getBuilder(); } /** * .Rectangle latlonRect = 3; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.RectangleOrBuilder getLatlonRectOrBuilder() { if (latlonRectBuilder_ != null) { return latlonRectBuilder_.getMessageOrBuilder(); } else { return latlonRect_ == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.getDefaultInstance() : latlonRect_; } } /** * .Rectangle latlonRect = 3; */ private com.google.protobuf.SingleFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.RectangleOrBuilder> getLatlonRectFieldBuilder() { if (latlonRectBuilder_ == null) { latlonRectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.RectangleOrBuilder>( getLatlonRect(), getParentForChildren(), isClean()); latlonRect_ = null; } return latlonRectBuilder_; } private ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle projRect_; private com.google.protobuf.SingleFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.RectangleOrBuilder> projRectBuilder_; /** * .Rectangle projRect = 4; * @return Whether the projRect field is set. */ public boolean hasProjRect() { return ((bitField0_ & 0x00000008) != 0); } /** * .Rectangle projRect = 4; * @return The projRect. */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle getProjRect() { if (projRectBuilder_ == null) { return projRect_ == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.getDefaultInstance() : projRect_; } else { return projRectBuilder_.getMessage(); } } /** * .Rectangle projRect = 4; */ public Builder setProjRect(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle value) { if (projRectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } projRect_ = value; } else { projRectBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * .Rectangle projRect = 4; */ public Builder setProjRect( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.Builder builderForValue) { if (projRectBuilder_ == null) { projRect_ = builderForValue.build(); } else { projRectBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * .Rectangle projRect = 4; */ public Builder mergeProjRect(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle value) { if (projRectBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && projRect_ != null && projRect_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.getDefaultInstance()) { getProjRectBuilder().mergeFrom(value); } else { projRect_ = value; } } else { projRectBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * .Rectangle projRect = 4; */ public Builder clearProjRect() { bitField0_ = (bitField0_ & ~0x00000008); projRect_ = null; if (projRectBuilder_ != null) { projRectBuilder_.dispose(); projRectBuilder_ = null; } onChanged(); return this; } /** * .Rectangle projRect = 4; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.Builder getProjRectBuilder() { bitField0_ |= 0x00000008; onChanged(); return getProjRectFieldBuilder().getBuilder(); } /** * .Rectangle projRect = 4; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.RectangleOrBuilder getProjRectOrBuilder() { if (projRectBuilder_ != null) { return projRectBuilder_.getMessageOrBuilder(); } else { return projRect_ == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.getDefaultInstance() : projRect_; } } /** * .Rectangle projRect = 4; */ private com.google.protobuf.SingleFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.RectangleOrBuilder> getProjRectFieldBuilder() { if (projRectBuilder_ == null) { projRectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Rectangle.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.RectangleOrBuilder>( getProjRect(), getParentForChildren(), isClean()); projRect_ = null; } return projRectBuilder_; } private ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange dateRange_; private com.google.protobuf.SingleFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRangeOrBuilder> dateRangeBuilder_; /** * .CalendarDateRange dateRange = 5; * @return Whether the dateRange field is set. */ public boolean hasDateRange() { return ((bitField0_ & 0x00000010) != 0); } /** * .CalendarDateRange dateRange = 5; * @return The dateRange. */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange getDateRange() { if (dateRangeBuilder_ == null) { return dateRange_ == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.getDefaultInstance() : dateRange_; } else { return dateRangeBuilder_.getMessage(); } } /** * .CalendarDateRange dateRange = 5; */ public Builder setDateRange(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange value) { if (dateRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dateRange_ = value; } else { dateRangeBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * .CalendarDateRange dateRange = 5; */ public Builder setDateRange( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.Builder builderForValue) { if (dateRangeBuilder_ == null) { dateRange_ = builderForValue.build(); } else { dateRangeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * .CalendarDateRange dateRange = 5; */ public Builder mergeDateRange(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange value) { if (dateRangeBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && dateRange_ != null && dateRange_ != ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.getDefaultInstance()) { getDateRangeBuilder().mergeFrom(value); } else { dateRange_ = value; } } else { dateRangeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * .CalendarDateRange dateRange = 5; */ public Builder clearDateRange() { bitField0_ = (bitField0_ & ~0x00000010); dateRange_ = null; if (dateRangeBuilder_ != null) { dateRangeBuilder_.dispose(); dateRangeBuilder_ = null; } onChanged(); return this; } /** * .CalendarDateRange dateRange = 5; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.Builder getDateRangeBuilder() { bitField0_ |= 0x00000010; onChanged(); return getDateRangeFieldBuilder().getBuilder(); } /** * .CalendarDateRange dateRange = 5; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRangeOrBuilder getDateRangeOrBuilder() { if (dateRangeBuilder_ != null) { return dateRangeBuilder_.getMessageOrBuilder(); } else { return dateRange_ == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.getDefaultInstance() : dateRange_; } } /** * .CalendarDateRange dateRange = 5; */ private com.google.protobuf.SingleFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRangeOrBuilder> getDateRangeFieldBuilder() { if (dateRangeBuilder_ == null) { dateRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRange.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CalendarDateRangeOrBuilder>( getDateRange(), getParentForChildren(), isClean()); dateRange_ = null; } return dateRangeBuilder_; } private java.util.List coordSys_ = java.util.Collections.emptyList(); private void ensureCoordSysIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { coordSys_ = new java.util.ArrayList(coordSys_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSysOrBuilder> coordSysBuilder_; /** * repeated .CoordSys coordSys = 6; */ public java.util.List getCoordSysList() { if (coordSysBuilder_ == null) { return java.util.Collections.unmodifiableList(coordSys_); } else { return coordSysBuilder_.getMessageList(); } } /** * repeated .CoordSys coordSys = 6; */ public int getCoordSysCount() { if (coordSysBuilder_ == null) { return coordSys_.size(); } else { return coordSysBuilder_.getCount(); } } /** * repeated .CoordSys coordSys = 6; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys getCoordSys(int index) { if (coordSysBuilder_ == null) { return coordSys_.get(index); } else { return coordSysBuilder_.getMessage(index); } } /** * repeated .CoordSys coordSys = 6; */ public Builder setCoordSys( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys value) { if (coordSysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordSysIsMutable(); coordSys_.set(index, value); onChanged(); } else { coordSysBuilder_.setMessage(index, value); } return this; } /** * repeated .CoordSys coordSys = 6; */ public Builder setCoordSys( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder builderForValue) { if (coordSysBuilder_ == null) { ensureCoordSysIsMutable(); coordSys_.set(index, builderForValue.build()); onChanged(); } else { coordSysBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .CoordSys coordSys = 6; */ public Builder addCoordSys(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys value) { if (coordSysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordSysIsMutable(); coordSys_.add(value); onChanged(); } else { coordSysBuilder_.addMessage(value); } return this; } /** * repeated .CoordSys coordSys = 6; */ public Builder addCoordSys( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys value) { if (coordSysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordSysIsMutable(); coordSys_.add(index, value); onChanged(); } else { coordSysBuilder_.addMessage(index, value); } return this; } /** * repeated .CoordSys coordSys = 6; */ public Builder addCoordSys( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder builderForValue) { if (coordSysBuilder_ == null) { ensureCoordSysIsMutable(); coordSys_.add(builderForValue.build()); onChanged(); } else { coordSysBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .CoordSys coordSys = 6; */ public Builder addCoordSys( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder builderForValue) { if (coordSysBuilder_ == null) { ensureCoordSysIsMutable(); coordSys_.add(index, builderForValue.build()); onChanged(); } else { coordSysBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .CoordSys coordSys = 6; */ public Builder addAllCoordSys( java.lang.Iterable values) { if (coordSysBuilder_ == null) { ensureCoordSysIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, coordSys_); onChanged(); } else { coordSysBuilder_.addAllMessages(values); } return this; } /** * repeated .CoordSys coordSys = 6; */ public Builder clearCoordSys() { if (coordSysBuilder_ == null) { coordSys_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { coordSysBuilder_.clear(); } return this; } /** * repeated .CoordSys coordSys = 6; */ public Builder removeCoordSys(int index) { if (coordSysBuilder_ == null) { ensureCoordSysIsMutable(); coordSys_.remove(index); onChanged(); } else { coordSysBuilder_.remove(index); } return this; } /** * repeated .CoordSys coordSys = 6; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder getCoordSysBuilder( int index) { return getCoordSysFieldBuilder().getBuilder(index); } /** * repeated .CoordSys coordSys = 6; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSysOrBuilder getCoordSysOrBuilder( int index) { if (coordSysBuilder_ == null) { return coordSys_.get(index); } else { return coordSysBuilder_.getMessageOrBuilder(index); } } /** * repeated .CoordSys coordSys = 6; */ public java.util.List getCoordSysOrBuilderList() { if (coordSysBuilder_ != null) { return coordSysBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(coordSys_); } } /** * repeated .CoordSys coordSys = 6; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder addCoordSysBuilder() { return getCoordSysFieldBuilder().addBuilder( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.getDefaultInstance()); } /** * repeated .CoordSys coordSys = 6; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder addCoordSysBuilder( int index) { return getCoordSysFieldBuilder().addBuilder( index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.getDefaultInstance()); } /** * repeated .CoordSys coordSys = 6; */ public java.util.List getCoordSysBuilderList() { return getCoordSysFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSysOrBuilder> getCoordSysFieldBuilder() { if (coordSysBuilder_ == null) { coordSysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSysOrBuilder>( coordSys_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); coordSys_ = null; } return coordSysBuilder_; } private java.util.List coordTransforms_ = java.util.Collections.emptyList(); private void ensureCoordTransformsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { coordTransforms_ = new java.util.ArrayList(coordTransforms_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransformOrBuilder> coordTransformsBuilder_; /** * repeated .CoordTransform coordTransforms = 7; */ public java.util.List getCoordTransformsList() { if (coordTransformsBuilder_ == null) { return java.util.Collections.unmodifiableList(coordTransforms_); } else { return coordTransformsBuilder_.getMessageList(); } } /** * repeated .CoordTransform coordTransforms = 7; */ public int getCoordTransformsCount() { if (coordTransformsBuilder_ == null) { return coordTransforms_.size(); } else { return coordTransformsBuilder_.getCount(); } } /** * repeated .CoordTransform coordTransforms = 7; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform getCoordTransforms(int index) { if (coordTransformsBuilder_ == null) { return coordTransforms_.get(index); } else { return coordTransformsBuilder_.getMessage(index); } } /** * repeated .CoordTransform coordTransforms = 7; */ public Builder setCoordTransforms( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform value) { if (coordTransformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordTransformsIsMutable(); coordTransforms_.set(index, value); onChanged(); } else { coordTransformsBuilder_.setMessage(index, value); } return this; } /** * repeated .CoordTransform coordTransforms = 7; */ public Builder setCoordTransforms( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder builderForValue) { if (coordTransformsBuilder_ == null) { ensureCoordTransformsIsMutable(); coordTransforms_.set(index, builderForValue.build()); onChanged(); } else { coordTransformsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .CoordTransform coordTransforms = 7; */ public Builder addCoordTransforms(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform value) { if (coordTransformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordTransformsIsMutable(); coordTransforms_.add(value); onChanged(); } else { coordTransformsBuilder_.addMessage(value); } return this; } /** * repeated .CoordTransform coordTransforms = 7; */ public Builder addCoordTransforms( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform value) { if (coordTransformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordTransformsIsMutable(); coordTransforms_.add(index, value); onChanged(); } else { coordTransformsBuilder_.addMessage(index, value); } return this; } /** * repeated .CoordTransform coordTransforms = 7; */ public Builder addCoordTransforms( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder builderForValue) { if (coordTransformsBuilder_ == null) { ensureCoordTransformsIsMutable(); coordTransforms_.add(builderForValue.build()); onChanged(); } else { coordTransformsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .CoordTransform coordTransforms = 7; */ public Builder addCoordTransforms( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder builderForValue) { if (coordTransformsBuilder_ == null) { ensureCoordTransformsIsMutable(); coordTransforms_.add(index, builderForValue.build()); onChanged(); } else { coordTransformsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .CoordTransform coordTransforms = 7; */ public Builder addAllCoordTransforms( java.lang.Iterable values) { if (coordTransformsBuilder_ == null) { ensureCoordTransformsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, coordTransforms_); onChanged(); } else { coordTransformsBuilder_.addAllMessages(values); } return this; } /** * repeated .CoordTransform coordTransforms = 7; */ public Builder clearCoordTransforms() { if (coordTransformsBuilder_ == null) { coordTransforms_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { coordTransformsBuilder_.clear(); } return this; } /** * repeated .CoordTransform coordTransforms = 7; */ public Builder removeCoordTransforms(int index) { if (coordTransformsBuilder_ == null) { ensureCoordTransformsIsMutable(); coordTransforms_.remove(index); onChanged(); } else { coordTransformsBuilder_.remove(index); } return this; } /** * repeated .CoordTransform coordTransforms = 7; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder getCoordTransformsBuilder( int index) { return getCoordTransformsFieldBuilder().getBuilder(index); } /** * repeated .CoordTransform coordTransforms = 7; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransformOrBuilder getCoordTransformsOrBuilder( int index) { if (coordTransformsBuilder_ == null) { return coordTransforms_.get(index); } else { return coordTransformsBuilder_.getMessageOrBuilder(index); } } /** * repeated .CoordTransform coordTransforms = 7; */ public java.util.List getCoordTransformsOrBuilderList() { if (coordTransformsBuilder_ != null) { return coordTransformsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(coordTransforms_); } } /** * repeated .CoordTransform coordTransforms = 7; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder addCoordTransformsBuilder() { return getCoordTransformsFieldBuilder().addBuilder( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.getDefaultInstance()); } /** * repeated .CoordTransform coordTransforms = 7; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder addCoordTransformsBuilder( int index) { return getCoordTransformsFieldBuilder().addBuilder( index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.getDefaultInstance()); } /** * repeated .CoordTransform coordTransforms = 7; */ public java.util.List getCoordTransformsBuilderList() { return getCoordTransformsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransformOrBuilder> getCoordTransformsFieldBuilder() { if (coordTransformsBuilder_ == null) { coordTransformsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransformOrBuilder>( coordTransforms_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); coordTransforms_ = null; } return coordTransformsBuilder_; } private java.util.List coordAxes_ = java.util.Collections.emptyList(); private void ensureCoordAxesIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { coordAxes_ = new java.util.ArrayList(coordAxes_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxisOrBuilder> coordAxesBuilder_; /** * repeated .CoordAxis coordAxes = 8; */ public java.util.List getCoordAxesList() { if (coordAxesBuilder_ == null) { return java.util.Collections.unmodifiableList(coordAxes_); } else { return coordAxesBuilder_.getMessageList(); } } /** * repeated .CoordAxis coordAxes = 8; */ public int getCoordAxesCount() { if (coordAxesBuilder_ == null) { return coordAxes_.size(); } else { return coordAxesBuilder_.getCount(); } } /** * repeated .CoordAxis coordAxes = 8; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis getCoordAxes(int index) { if (coordAxesBuilder_ == null) { return coordAxes_.get(index); } else { return coordAxesBuilder_.getMessage(index); } } /** * repeated .CoordAxis coordAxes = 8; */ public Builder setCoordAxes( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis value) { if (coordAxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordAxesIsMutable(); coordAxes_.set(index, value); onChanged(); } else { coordAxesBuilder_.setMessage(index, value); } return this; } /** * repeated .CoordAxis coordAxes = 8; */ public Builder setCoordAxes( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder builderForValue) { if (coordAxesBuilder_ == null) { ensureCoordAxesIsMutable(); coordAxes_.set(index, builderForValue.build()); onChanged(); } else { coordAxesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .CoordAxis coordAxes = 8; */ public Builder addCoordAxes(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis value) { if (coordAxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordAxesIsMutable(); coordAxes_.add(value); onChanged(); } else { coordAxesBuilder_.addMessage(value); } return this; } /** * repeated .CoordAxis coordAxes = 8; */ public Builder addCoordAxes( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis value) { if (coordAxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordAxesIsMutable(); coordAxes_.add(index, value); onChanged(); } else { coordAxesBuilder_.addMessage(index, value); } return this; } /** * repeated .CoordAxis coordAxes = 8; */ public Builder addCoordAxes( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder builderForValue) { if (coordAxesBuilder_ == null) { ensureCoordAxesIsMutable(); coordAxes_.add(builderForValue.build()); onChanged(); } else { coordAxesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .CoordAxis coordAxes = 8; */ public Builder addCoordAxes( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder builderForValue) { if (coordAxesBuilder_ == null) { ensureCoordAxesIsMutable(); coordAxes_.add(index, builderForValue.build()); onChanged(); } else { coordAxesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .CoordAxis coordAxes = 8; */ public Builder addAllCoordAxes( java.lang.Iterable values) { if (coordAxesBuilder_ == null) { ensureCoordAxesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, coordAxes_); onChanged(); } else { coordAxesBuilder_.addAllMessages(values); } return this; } /** * repeated .CoordAxis coordAxes = 8; */ public Builder clearCoordAxes() { if (coordAxesBuilder_ == null) { coordAxes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { coordAxesBuilder_.clear(); } return this; } /** * repeated .CoordAxis coordAxes = 8; */ public Builder removeCoordAxes(int index) { if (coordAxesBuilder_ == null) { ensureCoordAxesIsMutable(); coordAxes_.remove(index); onChanged(); } else { coordAxesBuilder_.remove(index); } return this; } /** * repeated .CoordAxis coordAxes = 8; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder getCoordAxesBuilder( int index) { return getCoordAxesFieldBuilder().getBuilder(index); } /** * repeated .CoordAxis coordAxes = 8; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxisOrBuilder getCoordAxesOrBuilder( int index) { if (coordAxesBuilder_ == null) { return coordAxes_.get(index); } else { return coordAxesBuilder_.getMessageOrBuilder(index); } } /** * repeated .CoordAxis coordAxes = 8; */ public java.util.List getCoordAxesOrBuilderList() { if (coordAxesBuilder_ != null) { return coordAxesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(coordAxes_); } } /** * repeated .CoordAxis coordAxes = 8; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder addCoordAxesBuilder() { return getCoordAxesFieldBuilder().addBuilder( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.getDefaultInstance()); } /** * repeated .CoordAxis coordAxes = 8; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder addCoordAxesBuilder( int index) { return getCoordAxesFieldBuilder().addBuilder( index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.getDefaultInstance()); } /** * repeated .CoordAxis coordAxes = 8; */ public java.util.List getCoordAxesBuilderList() { return getCoordAxesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxisOrBuilder> getCoordAxesFieldBuilder() { if (coordAxesBuilder_ == null) { coordAxesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxisOrBuilder>( coordAxes_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); coordAxes_ = null; } return coordAxesBuilder_; } private java.util.List grids_ = java.util.Collections.emptyList(); private void ensureGridsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { grids_ = new java.util.ArrayList(grids_); bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageOrBuilder> gridsBuilder_; /** * repeated .Coverage grids = 9; */ public java.util.List getGridsList() { if (gridsBuilder_ == null) { return java.util.Collections.unmodifiableList(grids_); } else { return gridsBuilder_.getMessageList(); } } /** * repeated .Coverage grids = 9; */ public int getGridsCount() { if (gridsBuilder_ == null) { return grids_.size(); } else { return gridsBuilder_.getCount(); } } /** * repeated .Coverage grids = 9; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage getGrids(int index) { if (gridsBuilder_ == null) { return grids_.get(index); } else { return gridsBuilder_.getMessage(index); } } /** * repeated .Coverage grids = 9; */ public Builder setGrids( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage value) { if (gridsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGridsIsMutable(); grids_.set(index, value); onChanged(); } else { gridsBuilder_.setMessage(index, value); } return this; } /** * repeated .Coverage grids = 9; */ public Builder setGrids( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.Builder builderForValue) { if (gridsBuilder_ == null) { ensureGridsIsMutable(); grids_.set(index, builderForValue.build()); onChanged(); } else { gridsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Coverage grids = 9; */ public Builder addGrids(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage value) { if (gridsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGridsIsMutable(); grids_.add(value); onChanged(); } else { gridsBuilder_.addMessage(value); } return this; } /** * repeated .Coverage grids = 9; */ public Builder addGrids( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage value) { if (gridsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGridsIsMutable(); grids_.add(index, value); onChanged(); } else { gridsBuilder_.addMessage(index, value); } return this; } /** * repeated .Coverage grids = 9; */ public Builder addGrids( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.Builder builderForValue) { if (gridsBuilder_ == null) { ensureGridsIsMutable(); grids_.add(builderForValue.build()); onChanged(); } else { gridsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Coverage grids = 9; */ public Builder addGrids( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.Builder builderForValue) { if (gridsBuilder_ == null) { ensureGridsIsMutable(); grids_.add(index, builderForValue.build()); onChanged(); } else { gridsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Coverage grids = 9; */ public Builder addAllGrids( java.lang.Iterable values) { if (gridsBuilder_ == null) { ensureGridsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, grids_); onChanged(); } else { gridsBuilder_.addAllMessages(values); } return this; } /** * repeated .Coverage grids = 9; */ public Builder clearGrids() { if (gridsBuilder_ == null) { grids_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { gridsBuilder_.clear(); } return this; } /** * repeated .Coverage grids = 9; */ public Builder removeGrids(int index) { if (gridsBuilder_ == null) { ensureGridsIsMutable(); grids_.remove(index); onChanged(); } else { gridsBuilder_.remove(index); } return this; } /** * repeated .Coverage grids = 9; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.Builder getGridsBuilder( int index) { return getGridsFieldBuilder().getBuilder(index); } /** * repeated .Coverage grids = 9; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageOrBuilder getGridsOrBuilder( int index) { if (gridsBuilder_ == null) { return grids_.get(index); } else { return gridsBuilder_.getMessageOrBuilder(index); } } /** * repeated .Coverage grids = 9; */ public java.util.List getGridsOrBuilderList() { if (gridsBuilder_ != null) { return gridsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(grids_); } } /** * repeated .Coverage grids = 9; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.Builder addGridsBuilder() { return getGridsFieldBuilder().addBuilder( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.getDefaultInstance()); } /** * repeated .Coverage grids = 9; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.Builder addGridsBuilder( int index) { return getGridsFieldBuilder().addBuilder( index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.getDefaultInstance()); } /** * repeated .Coverage grids = 9; */ public java.util.List getGridsBuilderList() { return getGridsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageOrBuilder> getGridsFieldBuilder() { if (gridsBuilder_ == null) { gridsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.Coverage.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageOrBuilder>( grids_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); grids_ = null; } return gridsBuilder_; } private int coverageType_ = 0; /** * .CoverageType coverageType = 10; * @return The enum numeric value on the wire for coverageType. */ @java.lang.Override public int getCoverageTypeValue() { return coverageType_; } /** * .CoverageType coverageType = 10; * @param value The enum numeric value on the wire for coverageType to set. * @return This builder for chaining. */ public Builder setCoverageTypeValue(int value) { coverageType_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** * .CoverageType coverageType = 10; * @return The coverageType. */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType getCoverageType() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType result = ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType.forNumber(coverageType_); return result == null ? ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType.UNRECOGNIZED : result; } /** * .CoverageType coverageType = 10; * @param value The coverageType to set. * @return This builder for chaining. */ public Builder setCoverageType(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; coverageType_ = value.getNumber(); onChanged(); return this; } /** * .CoverageType coverageType = 10; * @return This builder for chaining. */ public Builder clearCoverageType() { bitField0_ = (bitField0_ & ~0x00000200); coverageType_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:CoverageDataset) } // @@protoc_insertion_point(class_scope:CoverageDataset) private static final ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset(); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CoverageDataset parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GeoReferencedArrayOrBuilder extends // @@protoc_insertion_point(interface_extends:GeoReferencedArray) com.google.protobuf.MessageOrBuilder { /** *
     * full escaped name.
     * 
* * string coverageName = 1; * @return The coverageName. */ java.lang.String getCoverageName(); /** *
     * full escaped name.
     * 
* * string coverageName = 1; * @return The bytes for coverageName. */ com.google.protobuf.ByteString getCoverageNameBytes(); /** * .DataType dataType = 2; * @return The enum numeric value on the wire for dataType. */ int getDataTypeValue(); /** * .DataType dataType = 2; * @return The dataType. */ ucar.nc2.stream.NcStreamProto.DataType getDataType(); /** * bool bigend = 3; * @return The bigend. */ boolean getBigend(); /** *
     * set to >= 3 for proto3
     * 
* * uint32 version = 4; * @return The version. */ int getVersion(); /** * .Compress compress = 5; * @return The enum numeric value on the wire for compress. */ int getCompressValue(); /** * .Compress compress = 5; * @return The compress. */ ucar.nc2.stream.NcStreamProto.Compress getCompress(); /** * uint64 uncompressedSize = 6; * @return The uncompressedSize. */ long getUncompressedSize(); /** *
     * the shape of the returned array
     * 
* * repeated uint32 shape = 7; * @return A list containing the shape. */ java.util.List getShapeList(); /** *
     * the shape of the returned array
     * 
* * repeated uint32 shape = 7; * @return The count of shape. */ int getShapeCount(); /** *
     * the shape of the returned array
     * 
* * repeated uint32 shape = 7; * @param index The index of the element to return. * @return The shape at the given index. */ int getShape(int index); /** *
     * each dimension corresponds to this axis
     * 
* * repeated string axisName = 8; * @return A list containing the axisName. */ java.util.List getAxisNameList(); /** *
     * each dimension corresponds to this axis
     * 
* * repeated string axisName = 8; * @return The count of axisName. */ int getAxisNameCount(); /** *
     * each dimension corresponds to this axis
     * 
* * repeated string axisName = 8; * @param index The index of the element to return. * @return The axisName at the given index. */ java.lang.String getAxisName(int index); /** *
     * each dimension corresponds to this axis
     * 
* * repeated string axisName = 8; * @param index The index of the value to return. * @return The bytes of the axisName at the given index. */ com.google.protobuf.ByteString getAxisNameBytes(int index); /** *
     * must have coordAxes corresponding to shape
     * 
* * string coordSysName = 9; * @return The coordSysName. */ java.lang.String getCoordSysName(); /** *
     * must have coordAxes corresponding to shape
     * 
* * string coordSysName = 9; * @return The bytes for coordSysName. */ com.google.protobuf.ByteString getCoordSysNameBytes(); /** *
     * rectangular, primitive array
     * 
* * bytes primdata = 10; * @return The primdata. */ com.google.protobuf.ByteString getPrimdata(); } /** * Protobuf type {@code GeoReferencedArray} */ public static final class GeoReferencedArray extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:GeoReferencedArray) GeoReferencedArrayOrBuilder { private static final long serialVersionUID = 0L; // Use GeoReferencedArray.newBuilder() to construct. private GeoReferencedArray(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GeoReferencedArray() { coverageName_ = ""; dataType_ = 0; compress_ = 0; shape_ = emptyIntList(); axisName_ = com.google.protobuf.LazyStringArrayList.emptyList(); coordSysName_ = ""; primdata_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GeoReferencedArray(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_GeoReferencedArray_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_GeoReferencedArray_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.Builder.class); } public static final int COVERAGENAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object coverageName_ = ""; /** *
     * full escaped name.
     * 
* * string coverageName = 1; * @return The coverageName. */ @java.lang.Override public java.lang.String getCoverageName() { java.lang.Object ref = coverageName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); coverageName_ = s; return s; } } /** *
     * full escaped name.
     * 
* * string coverageName = 1; * @return The bytes for coverageName. */ @java.lang.Override public com.google.protobuf.ByteString getCoverageNameBytes() { java.lang.Object ref = coverageName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); coverageName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATATYPE_FIELD_NUMBER = 2; private int dataType_ = 0; /** * .DataType dataType = 2; * @return The enum numeric value on the wire for dataType. */ @java.lang.Override public int getDataTypeValue() { return dataType_; } /** * .DataType dataType = 2; * @return The dataType. */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.DataType getDataType() { ucar.nc2.stream.NcStreamProto.DataType result = ucar.nc2.stream.NcStreamProto.DataType.forNumber(dataType_); return result == null ? ucar.nc2.stream.NcStreamProto.DataType.UNRECOGNIZED : result; } public static final int BIGEND_FIELD_NUMBER = 3; private boolean bigend_ = false; /** * bool bigend = 3; * @return The bigend. */ @java.lang.Override public boolean getBigend() { return bigend_; } public static final int VERSION_FIELD_NUMBER = 4; private int version_ = 0; /** *
     * set to >= 3 for proto3
     * 
* * uint32 version = 4; * @return The version. */ @java.lang.Override public int getVersion() { return version_; } public static final int COMPRESS_FIELD_NUMBER = 5; private int compress_ = 0; /** * .Compress compress = 5; * @return The enum numeric value on the wire for compress. */ @java.lang.Override public int getCompressValue() { return compress_; } /** * .Compress compress = 5; * @return The compress. */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.Compress getCompress() { ucar.nc2.stream.NcStreamProto.Compress result = ucar.nc2.stream.NcStreamProto.Compress.forNumber(compress_); return result == null ? ucar.nc2.stream.NcStreamProto.Compress.UNRECOGNIZED : result; } public static final int UNCOMPRESSEDSIZE_FIELD_NUMBER = 6; private long uncompressedSize_ = 0L; /** * uint64 uncompressedSize = 6; * @return The uncompressedSize. */ @java.lang.Override public long getUncompressedSize() { return uncompressedSize_; } public static final int SHAPE_FIELD_NUMBER = 7; @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList shape_; /** *
     * the shape of the returned array
     * 
* * repeated uint32 shape = 7; * @return A list containing the shape. */ @java.lang.Override public java.util.List getShapeList() { return shape_; } /** *
     * the shape of the returned array
     * 
* * repeated uint32 shape = 7; * @return The count of shape. */ public int getShapeCount() { return shape_.size(); } /** *
     * the shape of the returned array
     * 
* * repeated uint32 shape = 7; * @param index The index of the element to return. * @return The shape at the given index. */ public int getShape(int index) { return shape_.getInt(index); } private int shapeMemoizedSerializedSize = -1; public static final int AXISNAME_FIELD_NUMBER = 8; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList axisName_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * each dimension corresponds to this axis
     * 
* * repeated string axisName = 8; * @return A list containing the axisName. */ public com.google.protobuf.ProtocolStringList getAxisNameList() { return axisName_; } /** *
     * each dimension corresponds to this axis
     * 
* * repeated string axisName = 8; * @return The count of axisName. */ public int getAxisNameCount() { return axisName_.size(); } /** *
     * each dimension corresponds to this axis
     * 
* * repeated string axisName = 8; * @param index The index of the element to return. * @return The axisName at the given index. */ public java.lang.String getAxisName(int index) { return axisName_.get(index); } /** *
     * each dimension corresponds to this axis
     * 
* * repeated string axisName = 8; * @param index The index of the value to return. * @return The bytes of the axisName at the given index. */ public com.google.protobuf.ByteString getAxisNameBytes(int index) { return axisName_.getByteString(index); } public static final int COORDSYSNAME_FIELD_NUMBER = 9; @SuppressWarnings("serial") private volatile java.lang.Object coordSysName_ = ""; /** *
     * must have coordAxes corresponding to shape
     * 
* * string coordSysName = 9; * @return The coordSysName. */ @java.lang.Override public java.lang.String getCoordSysName() { java.lang.Object ref = coordSysName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); coordSysName_ = s; return s; } } /** *
     * must have coordAxes corresponding to shape
     * 
* * string coordSysName = 9; * @return The bytes for coordSysName. */ @java.lang.Override public com.google.protobuf.ByteString getCoordSysNameBytes() { java.lang.Object ref = coordSysName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); coordSysName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRIMDATA_FIELD_NUMBER = 10; private com.google.protobuf.ByteString primdata_ = com.google.protobuf.ByteString.EMPTY; /** *
     * rectangular, primitive array
     * 
* * bytes primdata = 10; * @return The primdata. */ @java.lang.Override public com.google.protobuf.ByteString getPrimdata() { return primdata_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(coverageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, coverageName_); } if (dataType_ != ucar.nc2.stream.NcStreamProto.DataType.CHAR.getNumber()) { output.writeEnum(2, dataType_); } if (bigend_ != false) { output.writeBool(3, bigend_); } if (version_ != 0) { output.writeUInt32(4, version_); } if (compress_ != ucar.nc2.stream.NcStreamProto.Compress.NONE.getNumber()) { output.writeEnum(5, compress_); } if (uncompressedSize_ != 0L) { output.writeUInt64(6, uncompressedSize_); } if (getShapeList().size() > 0) { output.writeUInt32NoTag(58); output.writeUInt32NoTag(shapeMemoizedSerializedSize); } for (int i = 0; i < shape_.size(); i++) { output.writeUInt32NoTag(shape_.getInt(i)); } for (int i = 0; i < axisName_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, axisName_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(coordSysName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, coordSysName_); } if (!primdata_.isEmpty()) { output.writeBytes(10, primdata_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(coverageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, coverageName_); } if (dataType_ != ucar.nc2.stream.NcStreamProto.DataType.CHAR.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, dataType_); } if (bigend_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, bigend_); } if (version_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, version_); } if (compress_ != ucar.nc2.stream.NcStreamProto.Compress.NONE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, compress_); } if (uncompressedSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, uncompressedSize_); } { int dataSize = 0; for (int i = 0; i < shape_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(shape_.getInt(i)); } size += dataSize; if (!getShapeList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } shapeMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < axisName_.size(); i++) { dataSize += computeStringSizeNoTag(axisName_.getRaw(i)); } size += dataSize; size += 1 * getAxisNameList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(coordSysName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, coordSysName_); } if (!primdata_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(10, primdata_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray)) { return super.equals(obj); } ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray other = (ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray) obj; if (!getCoverageName() .equals(other.getCoverageName())) return false; if (dataType_ != other.dataType_) return false; if (getBigend() != other.getBigend()) return false; if (getVersion() != other.getVersion()) return false; if (compress_ != other.compress_) return false; if (getUncompressedSize() != other.getUncompressedSize()) return false; if (!getShapeList() .equals(other.getShapeList())) return false; if (!getAxisNameList() .equals(other.getAxisNameList())) return false; if (!getCoordSysName() .equals(other.getCoordSysName())) return false; if (!getPrimdata() .equals(other.getPrimdata())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COVERAGENAME_FIELD_NUMBER; hash = (53 * hash) + getCoverageName().hashCode(); hash = (37 * hash) + DATATYPE_FIELD_NUMBER; hash = (53 * hash) + dataType_; hash = (37 * hash) + BIGEND_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getBigend()); hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion(); hash = (37 * hash) + COMPRESS_FIELD_NUMBER; hash = (53 * hash) + compress_; hash = (37 * hash) + UNCOMPRESSEDSIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUncompressedSize()); if (getShapeCount() > 0) { hash = (37 * hash) + SHAPE_FIELD_NUMBER; hash = (53 * hash) + getShapeList().hashCode(); } if (getAxisNameCount() > 0) { hash = (37 * hash) + AXISNAME_FIELD_NUMBER; hash = (53 * hash) + getAxisNameList().hashCode(); } hash = (37 * hash) + COORDSYSNAME_FIELD_NUMBER; hash = (53 * hash) + getCoordSysName().hashCode(); hash = (37 * hash) + PRIMDATA_FIELD_NUMBER; hash = (53 * hash) + getPrimdata().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code GeoReferencedArray} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:GeoReferencedArray) ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArrayOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_GeoReferencedArray_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_GeoReferencedArray_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.Builder.class); } // Construct using ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; coverageName_ = ""; dataType_ = 0; bigend_ = false; version_ = 0; compress_ = 0; uncompressedSize_ = 0L; shape_ = emptyIntList(); axisName_ = com.google.protobuf.LazyStringArrayList.emptyList(); coordSysName_ = ""; primdata_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_GeoReferencedArray_descriptor; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray getDefaultInstanceForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.getDefaultInstance(); } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray build() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray buildPartial() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray result = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray result) { if (((bitField0_ & 0x00000040) != 0)) { shape_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.shape_ = shape_; } private void buildPartial0(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.coverageName_ = coverageName_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.dataType_ = dataType_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.bigend_ = bigend_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.version_ = version_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.compress_ = compress_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.uncompressedSize_ = uncompressedSize_; } if (((from_bitField0_ & 0x00000080) != 0)) { axisName_.makeImmutable(); result.axisName_ = axisName_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.coordSysName_ = coordSysName_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.primdata_ = primdata_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray) { return mergeFrom((ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray other) { if (other == ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.getDefaultInstance()) return this; if (!other.getCoverageName().isEmpty()) { coverageName_ = other.coverageName_; bitField0_ |= 0x00000001; onChanged(); } if (other.dataType_ != 0) { setDataTypeValue(other.getDataTypeValue()); } if (other.getBigend() != false) { setBigend(other.getBigend()); } if (other.getVersion() != 0) { setVersion(other.getVersion()); } if (other.compress_ != 0) { setCompressValue(other.getCompressValue()); } if (other.getUncompressedSize() != 0L) { setUncompressedSize(other.getUncompressedSize()); } if (!other.shape_.isEmpty()) { if (shape_.isEmpty()) { shape_ = other.shape_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureShapeIsMutable(); shape_.addAll(other.shape_); } onChanged(); } if (!other.axisName_.isEmpty()) { if (axisName_.isEmpty()) { axisName_ = other.axisName_; bitField0_ |= 0x00000080; } else { ensureAxisNameIsMutable(); axisName_.addAll(other.axisName_); } onChanged(); } if (!other.getCoordSysName().isEmpty()) { coordSysName_ = other.coordSysName_; bitField0_ |= 0x00000100; onChanged(); } if (other.getPrimdata() != com.google.protobuf.ByteString.EMPTY) { setPrimdata(other.getPrimdata()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { coverageName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { dataType_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { bigend_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { version_ = input.readUInt32(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { compress_ = input.readEnum(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { uncompressedSize_ = input.readUInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { int v = input.readUInt32(); ensureShapeIsMutable(); shape_.addInt(v); break; } // case 56 case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); ensureShapeIsMutable(); while (input.getBytesUntilLimit() > 0) { shape_.addInt(input.readUInt32()); } input.popLimit(limit); break; } // case 58 case 66: { java.lang.String s = input.readStringRequireUtf8(); ensureAxisNameIsMutable(); axisName_.add(s); break; } // case 66 case 74: { coordSysName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000100; break; } // case 74 case 82: { primdata_ = input.readBytes(); bitField0_ |= 0x00000200; break; } // case 82 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object coverageName_ = ""; /** *
       * full escaped name.
       * 
* * string coverageName = 1; * @return The coverageName. */ public java.lang.String getCoverageName() { java.lang.Object ref = coverageName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); coverageName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * full escaped name.
       * 
* * string coverageName = 1; * @return The bytes for coverageName. */ public com.google.protobuf.ByteString getCoverageNameBytes() { java.lang.Object ref = coverageName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); coverageName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * full escaped name.
       * 
* * string coverageName = 1; * @param value The coverageName to set. * @return This builder for chaining. */ public Builder setCoverageName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } coverageName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * full escaped name.
       * 
* * string coverageName = 1; * @return This builder for chaining. */ public Builder clearCoverageName() { coverageName_ = getDefaultInstance().getCoverageName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * full escaped name.
       * 
* * string coverageName = 1; * @param value The bytes for coverageName to set. * @return This builder for chaining. */ public Builder setCoverageNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); coverageName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private int dataType_ = 0; /** * .DataType dataType = 2; * @return The enum numeric value on the wire for dataType. */ @java.lang.Override public int getDataTypeValue() { return dataType_; } /** * .DataType dataType = 2; * @param value The enum numeric value on the wire for dataType to set. * @return This builder for chaining. */ public Builder setDataTypeValue(int value) { dataType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * .DataType dataType = 2; * @return The dataType. */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.DataType getDataType() { ucar.nc2.stream.NcStreamProto.DataType result = ucar.nc2.stream.NcStreamProto.DataType.forNumber(dataType_); return result == null ? ucar.nc2.stream.NcStreamProto.DataType.UNRECOGNIZED : result; } /** * .DataType dataType = 2; * @param value The dataType to set. * @return This builder for chaining. */ public Builder setDataType(ucar.nc2.stream.NcStreamProto.DataType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; dataType_ = value.getNumber(); onChanged(); return this; } /** * .DataType dataType = 2; * @return This builder for chaining. */ public Builder clearDataType() { bitField0_ = (bitField0_ & ~0x00000002); dataType_ = 0; onChanged(); return this; } private boolean bigend_ ; /** * bool bigend = 3; * @return The bigend. */ @java.lang.Override public boolean getBigend() { return bigend_; } /** * bool bigend = 3; * @param value The bigend to set. * @return This builder for chaining. */ public Builder setBigend(boolean value) { bigend_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * bool bigend = 3; * @return This builder for chaining. */ public Builder clearBigend() { bitField0_ = (bitField0_ & ~0x00000004); bigend_ = false; onChanged(); return this; } private int version_ ; /** *
       * set to >= 3 for proto3
       * 
* * uint32 version = 4; * @return The version. */ @java.lang.Override public int getVersion() { return version_; } /** *
       * set to >= 3 for proto3
       * 
* * uint32 version = 4; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(int value) { version_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * set to >= 3 for proto3
       * 
* * uint32 version = 4; * @return This builder for chaining. */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000008); version_ = 0; onChanged(); return this; } private int compress_ = 0; /** * .Compress compress = 5; * @return The enum numeric value on the wire for compress. */ @java.lang.Override public int getCompressValue() { return compress_; } /** * .Compress compress = 5; * @param value The enum numeric value on the wire for compress to set. * @return This builder for chaining. */ public Builder setCompressValue(int value) { compress_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * .Compress compress = 5; * @return The compress. */ @java.lang.Override public ucar.nc2.stream.NcStreamProto.Compress getCompress() { ucar.nc2.stream.NcStreamProto.Compress result = ucar.nc2.stream.NcStreamProto.Compress.forNumber(compress_); return result == null ? ucar.nc2.stream.NcStreamProto.Compress.UNRECOGNIZED : result; } /** * .Compress compress = 5; * @param value The compress to set. * @return This builder for chaining. */ public Builder setCompress(ucar.nc2.stream.NcStreamProto.Compress value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; compress_ = value.getNumber(); onChanged(); return this; } /** * .Compress compress = 5; * @return This builder for chaining. */ public Builder clearCompress() { bitField0_ = (bitField0_ & ~0x00000010); compress_ = 0; onChanged(); return this; } private long uncompressedSize_ ; /** * uint64 uncompressedSize = 6; * @return The uncompressedSize. */ @java.lang.Override public long getUncompressedSize() { return uncompressedSize_; } /** * uint64 uncompressedSize = 6; * @param value The uncompressedSize to set. * @return This builder for chaining. */ public Builder setUncompressedSize(long value) { uncompressedSize_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * uint64 uncompressedSize = 6; * @return This builder for chaining. */ public Builder clearUncompressedSize() { bitField0_ = (bitField0_ & ~0x00000020); uncompressedSize_ = 0L; onChanged(); return this; } private com.google.protobuf.Internal.IntList shape_ = emptyIntList(); private void ensureShapeIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { shape_ = mutableCopy(shape_); bitField0_ |= 0x00000040; } } /** *
       * the shape of the returned array
       * 
* * repeated uint32 shape = 7; * @return A list containing the shape. */ public java.util.List getShapeList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(shape_) : shape_; } /** *
       * the shape of the returned array
       * 
* * repeated uint32 shape = 7; * @return The count of shape. */ public int getShapeCount() { return shape_.size(); } /** *
       * the shape of the returned array
       * 
* * repeated uint32 shape = 7; * @param index The index of the element to return. * @return The shape at the given index. */ public int getShape(int index) { return shape_.getInt(index); } /** *
       * the shape of the returned array
       * 
* * repeated uint32 shape = 7; * @param index The index to set the value at. * @param value The shape to set. * @return This builder for chaining. */ public Builder setShape( int index, int value) { ensureShapeIsMutable(); shape_.setInt(index, value); onChanged(); return this; } /** *
       * the shape of the returned array
       * 
* * repeated uint32 shape = 7; * @param value The shape to add. * @return This builder for chaining. */ public Builder addShape(int value) { ensureShapeIsMutable(); shape_.addInt(value); onChanged(); return this; } /** *
       * the shape of the returned array
       * 
* * repeated uint32 shape = 7; * @param values The shape to add. * @return This builder for chaining. */ public Builder addAllShape( java.lang.Iterable values) { ensureShapeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, shape_); onChanged(); return this; } /** *
       * the shape of the returned array
       * 
* * repeated uint32 shape = 7; * @return This builder for chaining. */ public Builder clearShape() { shape_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } private com.google.protobuf.LazyStringArrayList axisName_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAxisNameIsMutable() { if (!axisName_.isModifiable()) { axisName_ = new com.google.protobuf.LazyStringArrayList(axisName_); } bitField0_ |= 0x00000080; } /** *
       * each dimension corresponds to this axis
       * 
* * repeated string axisName = 8; * @return A list containing the axisName. */ public com.google.protobuf.ProtocolStringList getAxisNameList() { axisName_.makeImmutable(); return axisName_; } /** *
       * each dimension corresponds to this axis
       * 
* * repeated string axisName = 8; * @return The count of axisName. */ public int getAxisNameCount() { return axisName_.size(); } /** *
       * each dimension corresponds to this axis
       * 
* * repeated string axisName = 8; * @param index The index of the element to return. * @return The axisName at the given index. */ public java.lang.String getAxisName(int index) { return axisName_.get(index); } /** *
       * each dimension corresponds to this axis
       * 
* * repeated string axisName = 8; * @param index The index of the value to return. * @return The bytes of the axisName at the given index. */ public com.google.protobuf.ByteString getAxisNameBytes(int index) { return axisName_.getByteString(index); } /** *
       * each dimension corresponds to this axis
       * 
* * repeated string axisName = 8; * @param index The index to set the value at. * @param value The axisName to set. * @return This builder for chaining. */ public Builder setAxisName( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAxisNameIsMutable(); axisName_.set(index, value); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * each dimension corresponds to this axis
       * 
* * repeated string axisName = 8; * @param value The axisName to add. * @return This builder for chaining. */ public Builder addAxisName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAxisNameIsMutable(); axisName_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * each dimension corresponds to this axis
       * 
* * repeated string axisName = 8; * @param values The axisName to add. * @return This builder for chaining. */ public Builder addAllAxisName( java.lang.Iterable values) { ensureAxisNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, axisName_); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * each dimension corresponds to this axis
       * 
* * repeated string axisName = 8; * @return This builder for chaining. */ public Builder clearAxisName() { axisName_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000080);; onChanged(); return this; } /** *
       * each dimension corresponds to this axis
       * 
* * repeated string axisName = 8; * @param value The bytes of the axisName to add. * @return This builder for chaining. */ public Builder addAxisNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAxisNameIsMutable(); axisName_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } private java.lang.Object coordSysName_ = ""; /** *
       * must have coordAxes corresponding to shape
       * 
* * string coordSysName = 9; * @return The coordSysName. */ public java.lang.String getCoordSysName() { java.lang.Object ref = coordSysName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); coordSysName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * must have coordAxes corresponding to shape
       * 
* * string coordSysName = 9; * @return The bytes for coordSysName. */ public com.google.protobuf.ByteString getCoordSysNameBytes() { java.lang.Object ref = coordSysName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); coordSysName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * must have coordAxes corresponding to shape
       * 
* * string coordSysName = 9; * @param value The coordSysName to set. * @return This builder for chaining. */ public Builder setCoordSysName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } coordSysName_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * must have coordAxes corresponding to shape
       * 
* * string coordSysName = 9; * @return This builder for chaining. */ public Builder clearCoordSysName() { coordSysName_ = getDefaultInstance().getCoordSysName(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** *
       * must have coordAxes corresponding to shape
       * 
* * string coordSysName = 9; * @param value The bytes for coordSysName to set. * @return This builder for chaining. */ public Builder setCoordSysNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); coordSysName_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } private com.google.protobuf.ByteString primdata_ = com.google.protobuf.ByteString.EMPTY; /** *
       * rectangular, primitive array
       * 
* * bytes primdata = 10; * @return The primdata. */ @java.lang.Override public com.google.protobuf.ByteString getPrimdata() { return primdata_; } /** *
       * rectangular, primitive array
       * 
* * bytes primdata = 10; * @param value The primdata to set. * @return This builder for chaining. */ public Builder setPrimdata(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } primdata_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * rectangular, primitive array
       * 
* * bytes primdata = 10; * @return This builder for chaining. */ public Builder clearPrimdata() { bitField0_ = (bitField0_ & ~0x00000200); primdata_ = getDefaultInstance().getPrimdata(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:GeoReferencedArray) } // @@protoc_insertion_point(class_scope:GeoReferencedArray) private static final ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray(); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GeoReferencedArray parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CoverageDataResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:CoverageDataResponse) com.google.protobuf.MessageOrBuilder { /** *
     * may be shared if asking for multiple grids
     * 
* * repeated .CoordAxis coordAxes = 1; */ java.util.List getCoordAxesList(); /** *
     * may be shared if asking for multiple grids
     * 
* * repeated .CoordAxis coordAxes = 1; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis getCoordAxes(int index); /** *
     * may be shared if asking for multiple grids
     * 
* * repeated .CoordAxis coordAxes = 1; */ int getCoordAxesCount(); /** *
     * may be shared if asking for multiple grids
     * 
* * repeated .CoordAxis coordAxes = 1; */ java.util.List getCoordAxesOrBuilderList(); /** *
     * may be shared if asking for multiple grids
     * 
* * repeated .CoordAxis coordAxes = 1; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxisOrBuilder getCoordAxesOrBuilder( int index); /** *
     *    "
     * 
* * repeated .CoordSys coordSys = 2; */ java.util.List getCoordSysList(); /** *
     *    "
     * 
* * repeated .CoordSys coordSys = 2; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys getCoordSys(int index); /** *
     *    "
     * 
* * repeated .CoordSys coordSys = 2; */ int getCoordSysCount(); /** *
     *    "
     * 
* * repeated .CoordSys coordSys = 2; */ java.util.List getCoordSysOrBuilderList(); /** *
     *    "
     * 
* * repeated .CoordSys coordSys = 2; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSysOrBuilder getCoordSysOrBuilder( int index); /** *
     *    "
     * 
* * repeated .CoordTransform coordTransforms = 3; */ java.util.List getCoordTransformsList(); /** *
     *    "
     * 
* * repeated .CoordTransform coordTransforms = 3; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform getCoordTransforms(int index); /** *
     *    "
     * 
* * repeated .CoordTransform coordTransforms = 3; */ int getCoordTransformsCount(); /** *
     *    "
     * 
* * repeated .CoordTransform coordTransforms = 3; */ java.util.List getCoordTransformsOrBuilderList(); /** *
     *    "
     * 
* * repeated .CoordTransform coordTransforms = 3; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransformOrBuilder getCoordTransformsOrBuilder( int index); /** * repeated .GeoReferencedArray geoArray = 4; */ java.util.List getGeoArrayList(); /** * repeated .GeoReferencedArray geoArray = 4; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray getGeoArray(int index); /** * repeated .GeoReferencedArray geoArray = 4; */ int getGeoArrayCount(); /** * repeated .GeoReferencedArray geoArray = 4; */ java.util.List getGeoArrayOrBuilderList(); /** * repeated .GeoReferencedArray geoArray = 4; */ ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArrayOrBuilder getGeoArrayOrBuilder( int index); } /** * Protobuf type {@code CoverageDataResponse} */ public static final class CoverageDataResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:CoverageDataResponse) CoverageDataResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CoverageDataResponse.newBuilder() to construct. private CoverageDataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CoverageDataResponse() { coordAxes_ = java.util.Collections.emptyList(); coordSys_ = java.util.Collections.emptyList(); coordTransforms_ = java.util.Collections.emptyList(); geoArray_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CoverageDataResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoverageDataResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoverageDataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse.Builder.class); } public static final int COORDAXES_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List coordAxes_; /** *
     * may be shared if asking for multiple grids
     * 
* * repeated .CoordAxis coordAxes = 1; */ @java.lang.Override public java.util.List getCoordAxesList() { return coordAxes_; } /** *
     * may be shared if asking for multiple grids
     * 
* * repeated .CoordAxis coordAxes = 1; */ @java.lang.Override public java.util.List getCoordAxesOrBuilderList() { return coordAxes_; } /** *
     * may be shared if asking for multiple grids
     * 
* * repeated .CoordAxis coordAxes = 1; */ @java.lang.Override public int getCoordAxesCount() { return coordAxes_.size(); } /** *
     * may be shared if asking for multiple grids
     * 
* * repeated .CoordAxis coordAxes = 1; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis getCoordAxes(int index) { return coordAxes_.get(index); } /** *
     * may be shared if asking for multiple grids
     * 
* * repeated .CoordAxis coordAxes = 1; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxisOrBuilder getCoordAxesOrBuilder( int index) { return coordAxes_.get(index); } public static final int COORDSYS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List coordSys_; /** *
     *    "
     * 
* * repeated .CoordSys coordSys = 2; */ @java.lang.Override public java.util.List getCoordSysList() { return coordSys_; } /** *
     *    "
     * 
* * repeated .CoordSys coordSys = 2; */ @java.lang.Override public java.util.List getCoordSysOrBuilderList() { return coordSys_; } /** *
     *    "
     * 
* * repeated .CoordSys coordSys = 2; */ @java.lang.Override public int getCoordSysCount() { return coordSys_.size(); } /** *
     *    "
     * 
* * repeated .CoordSys coordSys = 2; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys getCoordSys(int index) { return coordSys_.get(index); } /** *
     *    "
     * 
* * repeated .CoordSys coordSys = 2; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSysOrBuilder getCoordSysOrBuilder( int index) { return coordSys_.get(index); } public static final int COORDTRANSFORMS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List coordTransforms_; /** *
     *    "
     * 
* * repeated .CoordTransform coordTransforms = 3; */ @java.lang.Override public java.util.List getCoordTransformsList() { return coordTransforms_; } /** *
     *    "
     * 
* * repeated .CoordTransform coordTransforms = 3; */ @java.lang.Override public java.util.List getCoordTransformsOrBuilderList() { return coordTransforms_; } /** *
     *    "
     * 
* * repeated .CoordTransform coordTransforms = 3; */ @java.lang.Override public int getCoordTransformsCount() { return coordTransforms_.size(); } /** *
     *    "
     * 
* * repeated .CoordTransform coordTransforms = 3; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform getCoordTransforms(int index) { return coordTransforms_.get(index); } /** *
     *    "
     * 
* * repeated .CoordTransform coordTransforms = 3; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransformOrBuilder getCoordTransformsOrBuilder( int index) { return coordTransforms_.get(index); } public static final int GEOARRAY_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List geoArray_; /** * repeated .GeoReferencedArray geoArray = 4; */ @java.lang.Override public java.util.List getGeoArrayList() { return geoArray_; } /** * repeated .GeoReferencedArray geoArray = 4; */ @java.lang.Override public java.util.List getGeoArrayOrBuilderList() { return geoArray_; } /** * repeated .GeoReferencedArray geoArray = 4; */ @java.lang.Override public int getGeoArrayCount() { return geoArray_.size(); } /** * repeated .GeoReferencedArray geoArray = 4; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray getGeoArray(int index) { return geoArray_.get(index); } /** * repeated .GeoReferencedArray geoArray = 4; */ @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArrayOrBuilder getGeoArrayOrBuilder( int index) { return geoArray_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < coordAxes_.size(); i++) { output.writeMessage(1, coordAxes_.get(i)); } for (int i = 0; i < coordSys_.size(); i++) { output.writeMessage(2, coordSys_.get(i)); } for (int i = 0; i < coordTransforms_.size(); i++) { output.writeMessage(3, coordTransforms_.get(i)); } for (int i = 0; i < geoArray_.size(); i++) { output.writeMessage(4, geoArray_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < coordAxes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, coordAxes_.get(i)); } for (int i = 0; i < coordSys_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, coordSys_.get(i)); } for (int i = 0; i < coordTransforms_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, coordTransforms_.get(i)); } for (int i = 0; i < geoArray_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, geoArray_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse)) { return super.equals(obj); } ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse other = (ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse) obj; if (!getCoordAxesList() .equals(other.getCoordAxesList())) return false; if (!getCoordSysList() .equals(other.getCoordSysList())) return false; if (!getCoordTransformsList() .equals(other.getCoordTransformsList())) return false; if (!getGeoArrayList() .equals(other.getGeoArrayList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getCoordAxesCount() > 0) { hash = (37 * hash) + COORDAXES_FIELD_NUMBER; hash = (53 * hash) + getCoordAxesList().hashCode(); } if (getCoordSysCount() > 0) { hash = (37 * hash) + COORDSYS_FIELD_NUMBER; hash = (53 * hash) + getCoordSysList().hashCode(); } if (getCoordTransformsCount() > 0) { hash = (37 * hash) + COORDTRANSFORMS_FIELD_NUMBER; hash = (53 * hash) + getCoordTransformsList().hashCode(); } if (getGeoArrayCount() > 0) { hash = (37 * hash) + GEOARRAY_FIELD_NUMBER; hash = (53 * hash) + getGeoArrayList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code CoverageDataResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:CoverageDataResponse) ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoverageDataResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoverageDataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse.class, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse.Builder.class); } // Construct using ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (coordAxesBuilder_ == null) { coordAxes_ = java.util.Collections.emptyList(); } else { coordAxes_ = null; coordAxesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (coordSysBuilder_ == null) { coordSys_ = java.util.Collections.emptyList(); } else { coordSys_ = null; coordSysBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (coordTransformsBuilder_ == null) { coordTransforms_ = java.util.Collections.emptyList(); } else { coordTransforms_ = null; coordTransformsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (geoArrayBuilder_ == null) { geoArray_ = java.util.Collections.emptyList(); } else { geoArray_ = null; geoArrayBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.internal_static_CoverageDataResponse_descriptor; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse getDefaultInstanceForType() { return ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse.getDefaultInstance(); } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse build() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse buildPartial() { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse result = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse result) { if (coordAxesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { coordAxes_ = java.util.Collections.unmodifiableList(coordAxes_); bitField0_ = (bitField0_ & ~0x00000001); } result.coordAxes_ = coordAxes_; } else { result.coordAxes_ = coordAxesBuilder_.build(); } if (coordSysBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { coordSys_ = java.util.Collections.unmodifiableList(coordSys_); bitField0_ = (bitField0_ & ~0x00000002); } result.coordSys_ = coordSys_; } else { result.coordSys_ = coordSysBuilder_.build(); } if (coordTransformsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { coordTransforms_ = java.util.Collections.unmodifiableList(coordTransforms_); bitField0_ = (bitField0_ & ~0x00000004); } result.coordTransforms_ = coordTransforms_; } else { result.coordTransforms_ = coordTransformsBuilder_.build(); } if (geoArrayBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { geoArray_ = java.util.Collections.unmodifiableList(geoArray_); bitField0_ = (bitField0_ & ~0x00000008); } result.geoArray_ = geoArray_; } else { result.geoArray_ = geoArrayBuilder_.build(); } } private void buildPartial0(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse) { return mergeFrom((ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse other) { if (other == ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse.getDefaultInstance()) return this; if (coordAxesBuilder_ == null) { if (!other.coordAxes_.isEmpty()) { if (coordAxes_.isEmpty()) { coordAxes_ = other.coordAxes_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCoordAxesIsMutable(); coordAxes_.addAll(other.coordAxes_); } onChanged(); } } else { if (!other.coordAxes_.isEmpty()) { if (coordAxesBuilder_.isEmpty()) { coordAxesBuilder_.dispose(); coordAxesBuilder_ = null; coordAxes_ = other.coordAxes_; bitField0_ = (bitField0_ & ~0x00000001); coordAxesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCoordAxesFieldBuilder() : null; } else { coordAxesBuilder_.addAllMessages(other.coordAxes_); } } } if (coordSysBuilder_ == null) { if (!other.coordSys_.isEmpty()) { if (coordSys_.isEmpty()) { coordSys_ = other.coordSys_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureCoordSysIsMutable(); coordSys_.addAll(other.coordSys_); } onChanged(); } } else { if (!other.coordSys_.isEmpty()) { if (coordSysBuilder_.isEmpty()) { coordSysBuilder_.dispose(); coordSysBuilder_ = null; coordSys_ = other.coordSys_; bitField0_ = (bitField0_ & ~0x00000002); coordSysBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCoordSysFieldBuilder() : null; } else { coordSysBuilder_.addAllMessages(other.coordSys_); } } } if (coordTransformsBuilder_ == null) { if (!other.coordTransforms_.isEmpty()) { if (coordTransforms_.isEmpty()) { coordTransforms_ = other.coordTransforms_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureCoordTransformsIsMutable(); coordTransforms_.addAll(other.coordTransforms_); } onChanged(); } } else { if (!other.coordTransforms_.isEmpty()) { if (coordTransformsBuilder_.isEmpty()) { coordTransformsBuilder_.dispose(); coordTransformsBuilder_ = null; coordTransforms_ = other.coordTransforms_; bitField0_ = (bitField0_ & ~0x00000004); coordTransformsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCoordTransformsFieldBuilder() : null; } else { coordTransformsBuilder_.addAllMessages(other.coordTransforms_); } } } if (geoArrayBuilder_ == null) { if (!other.geoArray_.isEmpty()) { if (geoArray_.isEmpty()) { geoArray_ = other.geoArray_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureGeoArrayIsMutable(); geoArray_.addAll(other.geoArray_); } onChanged(); } } else { if (!other.geoArray_.isEmpty()) { if (geoArrayBuilder_.isEmpty()) { geoArrayBuilder_.dispose(); geoArrayBuilder_ = null; geoArray_ = other.geoArray_; bitField0_ = (bitField0_ & ~0x00000008); geoArrayBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGeoArrayFieldBuilder() : null; } else { geoArrayBuilder_.addAllMessages(other.geoArray_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis m = input.readMessage( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.parser(), extensionRegistry); if (coordAxesBuilder_ == null) { ensureCoordAxesIsMutable(); coordAxes_.add(m); } else { coordAxesBuilder_.addMessage(m); } break; } // case 10 case 18: { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys m = input.readMessage( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.parser(), extensionRegistry); if (coordSysBuilder_ == null) { ensureCoordSysIsMutable(); coordSys_.add(m); } else { coordSysBuilder_.addMessage(m); } break; } // case 18 case 26: { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform m = input.readMessage( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.parser(), extensionRegistry); if (coordTransformsBuilder_ == null) { ensureCoordTransformsIsMutable(); coordTransforms_.add(m); } else { coordTransformsBuilder_.addMessage(m); } break; } // case 26 case 34: { ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray m = input.readMessage( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.parser(), extensionRegistry); if (geoArrayBuilder_ == null) { ensureGeoArrayIsMutable(); geoArray_.add(m); } else { geoArrayBuilder_.addMessage(m); } break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List coordAxes_ = java.util.Collections.emptyList(); private void ensureCoordAxesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { coordAxes_ = new java.util.ArrayList(coordAxes_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxisOrBuilder> coordAxesBuilder_; /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public java.util.List getCoordAxesList() { if (coordAxesBuilder_ == null) { return java.util.Collections.unmodifiableList(coordAxes_); } else { return coordAxesBuilder_.getMessageList(); } } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public int getCoordAxesCount() { if (coordAxesBuilder_ == null) { return coordAxes_.size(); } else { return coordAxesBuilder_.getCount(); } } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis getCoordAxes(int index) { if (coordAxesBuilder_ == null) { return coordAxes_.get(index); } else { return coordAxesBuilder_.getMessage(index); } } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public Builder setCoordAxes( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis value) { if (coordAxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordAxesIsMutable(); coordAxes_.set(index, value); onChanged(); } else { coordAxesBuilder_.setMessage(index, value); } return this; } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public Builder setCoordAxes( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder builderForValue) { if (coordAxesBuilder_ == null) { ensureCoordAxesIsMutable(); coordAxes_.set(index, builderForValue.build()); onChanged(); } else { coordAxesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public Builder addCoordAxes(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis value) { if (coordAxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordAxesIsMutable(); coordAxes_.add(value); onChanged(); } else { coordAxesBuilder_.addMessage(value); } return this; } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public Builder addCoordAxes( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis value) { if (coordAxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordAxesIsMutable(); coordAxes_.add(index, value); onChanged(); } else { coordAxesBuilder_.addMessage(index, value); } return this; } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public Builder addCoordAxes( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder builderForValue) { if (coordAxesBuilder_ == null) { ensureCoordAxesIsMutable(); coordAxes_.add(builderForValue.build()); onChanged(); } else { coordAxesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public Builder addCoordAxes( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder builderForValue) { if (coordAxesBuilder_ == null) { ensureCoordAxesIsMutable(); coordAxes_.add(index, builderForValue.build()); onChanged(); } else { coordAxesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public Builder addAllCoordAxes( java.lang.Iterable values) { if (coordAxesBuilder_ == null) { ensureCoordAxesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, coordAxes_); onChanged(); } else { coordAxesBuilder_.addAllMessages(values); } return this; } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public Builder clearCoordAxes() { if (coordAxesBuilder_ == null) { coordAxes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { coordAxesBuilder_.clear(); } return this; } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public Builder removeCoordAxes(int index) { if (coordAxesBuilder_ == null) { ensureCoordAxesIsMutable(); coordAxes_.remove(index); onChanged(); } else { coordAxesBuilder_.remove(index); } return this; } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder getCoordAxesBuilder( int index) { return getCoordAxesFieldBuilder().getBuilder(index); } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxisOrBuilder getCoordAxesOrBuilder( int index) { if (coordAxesBuilder_ == null) { return coordAxes_.get(index); } else { return coordAxesBuilder_.getMessageOrBuilder(index); } } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public java.util.List getCoordAxesOrBuilderList() { if (coordAxesBuilder_ != null) { return coordAxesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(coordAxes_); } } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder addCoordAxesBuilder() { return getCoordAxesFieldBuilder().addBuilder( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.getDefaultInstance()); } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder addCoordAxesBuilder( int index) { return getCoordAxesFieldBuilder().addBuilder( index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.getDefaultInstance()); } /** *
       * may be shared if asking for multiple grids
       * 
* * repeated .CoordAxis coordAxes = 1; */ public java.util.List getCoordAxesBuilderList() { return getCoordAxesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxisOrBuilder> getCoordAxesFieldBuilder() { if (coordAxesBuilder_ == null) { coordAxesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxis.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordAxisOrBuilder>( coordAxes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); coordAxes_ = null; } return coordAxesBuilder_; } private java.util.List coordSys_ = java.util.Collections.emptyList(); private void ensureCoordSysIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { coordSys_ = new java.util.ArrayList(coordSys_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSysOrBuilder> coordSysBuilder_; /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public java.util.List getCoordSysList() { if (coordSysBuilder_ == null) { return java.util.Collections.unmodifiableList(coordSys_); } else { return coordSysBuilder_.getMessageList(); } } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public int getCoordSysCount() { if (coordSysBuilder_ == null) { return coordSys_.size(); } else { return coordSysBuilder_.getCount(); } } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys getCoordSys(int index) { if (coordSysBuilder_ == null) { return coordSys_.get(index); } else { return coordSysBuilder_.getMessage(index); } } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public Builder setCoordSys( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys value) { if (coordSysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordSysIsMutable(); coordSys_.set(index, value); onChanged(); } else { coordSysBuilder_.setMessage(index, value); } return this; } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public Builder setCoordSys( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder builderForValue) { if (coordSysBuilder_ == null) { ensureCoordSysIsMutable(); coordSys_.set(index, builderForValue.build()); onChanged(); } else { coordSysBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public Builder addCoordSys(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys value) { if (coordSysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordSysIsMutable(); coordSys_.add(value); onChanged(); } else { coordSysBuilder_.addMessage(value); } return this; } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public Builder addCoordSys( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys value) { if (coordSysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordSysIsMutable(); coordSys_.add(index, value); onChanged(); } else { coordSysBuilder_.addMessage(index, value); } return this; } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public Builder addCoordSys( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder builderForValue) { if (coordSysBuilder_ == null) { ensureCoordSysIsMutable(); coordSys_.add(builderForValue.build()); onChanged(); } else { coordSysBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public Builder addCoordSys( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder builderForValue) { if (coordSysBuilder_ == null) { ensureCoordSysIsMutable(); coordSys_.add(index, builderForValue.build()); onChanged(); } else { coordSysBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public Builder addAllCoordSys( java.lang.Iterable values) { if (coordSysBuilder_ == null) { ensureCoordSysIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, coordSys_); onChanged(); } else { coordSysBuilder_.addAllMessages(values); } return this; } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public Builder clearCoordSys() { if (coordSysBuilder_ == null) { coordSys_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { coordSysBuilder_.clear(); } return this; } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public Builder removeCoordSys(int index) { if (coordSysBuilder_ == null) { ensureCoordSysIsMutable(); coordSys_.remove(index); onChanged(); } else { coordSysBuilder_.remove(index); } return this; } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder getCoordSysBuilder( int index) { return getCoordSysFieldBuilder().getBuilder(index); } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSysOrBuilder getCoordSysOrBuilder( int index) { if (coordSysBuilder_ == null) { return coordSys_.get(index); } else { return coordSysBuilder_.getMessageOrBuilder(index); } } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public java.util.List getCoordSysOrBuilderList() { if (coordSysBuilder_ != null) { return coordSysBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(coordSys_); } } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder addCoordSysBuilder() { return getCoordSysFieldBuilder().addBuilder( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.getDefaultInstance()); } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder addCoordSysBuilder( int index) { return getCoordSysFieldBuilder().addBuilder( index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.getDefaultInstance()); } /** *
       *    "
       * 
* * repeated .CoordSys coordSys = 2; */ public java.util.List getCoordSysBuilderList() { return getCoordSysFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSysOrBuilder> getCoordSysFieldBuilder() { if (coordSysBuilder_ == null) { coordSysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSys.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordSysOrBuilder>( coordSys_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); coordSys_ = null; } return coordSysBuilder_; } private java.util.List coordTransforms_ = java.util.Collections.emptyList(); private void ensureCoordTransformsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { coordTransforms_ = new java.util.ArrayList(coordTransforms_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransformOrBuilder> coordTransformsBuilder_; /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public java.util.List getCoordTransformsList() { if (coordTransformsBuilder_ == null) { return java.util.Collections.unmodifiableList(coordTransforms_); } else { return coordTransformsBuilder_.getMessageList(); } } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public int getCoordTransformsCount() { if (coordTransformsBuilder_ == null) { return coordTransforms_.size(); } else { return coordTransformsBuilder_.getCount(); } } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform getCoordTransforms(int index) { if (coordTransformsBuilder_ == null) { return coordTransforms_.get(index); } else { return coordTransformsBuilder_.getMessage(index); } } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public Builder setCoordTransforms( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform value) { if (coordTransformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordTransformsIsMutable(); coordTransforms_.set(index, value); onChanged(); } else { coordTransformsBuilder_.setMessage(index, value); } return this; } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public Builder setCoordTransforms( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder builderForValue) { if (coordTransformsBuilder_ == null) { ensureCoordTransformsIsMutable(); coordTransforms_.set(index, builderForValue.build()); onChanged(); } else { coordTransformsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public Builder addCoordTransforms(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform value) { if (coordTransformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordTransformsIsMutable(); coordTransforms_.add(value); onChanged(); } else { coordTransformsBuilder_.addMessage(value); } return this; } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public Builder addCoordTransforms( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform value) { if (coordTransformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCoordTransformsIsMutable(); coordTransforms_.add(index, value); onChanged(); } else { coordTransformsBuilder_.addMessage(index, value); } return this; } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public Builder addCoordTransforms( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder builderForValue) { if (coordTransformsBuilder_ == null) { ensureCoordTransformsIsMutable(); coordTransforms_.add(builderForValue.build()); onChanged(); } else { coordTransformsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public Builder addCoordTransforms( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder builderForValue) { if (coordTransformsBuilder_ == null) { ensureCoordTransformsIsMutable(); coordTransforms_.add(index, builderForValue.build()); onChanged(); } else { coordTransformsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public Builder addAllCoordTransforms( java.lang.Iterable values) { if (coordTransformsBuilder_ == null) { ensureCoordTransformsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, coordTransforms_); onChanged(); } else { coordTransformsBuilder_.addAllMessages(values); } return this; } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public Builder clearCoordTransforms() { if (coordTransformsBuilder_ == null) { coordTransforms_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { coordTransformsBuilder_.clear(); } return this; } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public Builder removeCoordTransforms(int index) { if (coordTransformsBuilder_ == null) { ensureCoordTransformsIsMutable(); coordTransforms_.remove(index); onChanged(); } else { coordTransformsBuilder_.remove(index); } return this; } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder getCoordTransformsBuilder( int index) { return getCoordTransformsFieldBuilder().getBuilder(index); } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransformOrBuilder getCoordTransformsOrBuilder( int index) { if (coordTransformsBuilder_ == null) { return coordTransforms_.get(index); } else { return coordTransformsBuilder_.getMessageOrBuilder(index); } } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public java.util.List getCoordTransformsOrBuilderList() { if (coordTransformsBuilder_ != null) { return coordTransformsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(coordTransforms_); } } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder addCoordTransformsBuilder() { return getCoordTransformsFieldBuilder().addBuilder( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.getDefaultInstance()); } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder addCoordTransformsBuilder( int index) { return getCoordTransformsFieldBuilder().addBuilder( index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.getDefaultInstance()); } /** *
       *    "
       * 
* * repeated .CoordTransform coordTransforms = 3; */ public java.util.List getCoordTransformsBuilderList() { return getCoordTransformsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransformOrBuilder> getCoordTransformsFieldBuilder() { if (coordTransformsBuilder_ == null) { coordTransformsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransform.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoordTransformOrBuilder>( coordTransforms_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); coordTransforms_ = null; } return coordTransformsBuilder_; } private java.util.List geoArray_ = java.util.Collections.emptyList(); private void ensureGeoArrayIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { geoArray_ = new java.util.ArrayList(geoArray_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArrayOrBuilder> geoArrayBuilder_; /** * repeated .GeoReferencedArray geoArray = 4; */ public java.util.List getGeoArrayList() { if (geoArrayBuilder_ == null) { return java.util.Collections.unmodifiableList(geoArray_); } else { return geoArrayBuilder_.getMessageList(); } } /** * repeated .GeoReferencedArray geoArray = 4; */ public int getGeoArrayCount() { if (geoArrayBuilder_ == null) { return geoArray_.size(); } else { return geoArrayBuilder_.getCount(); } } /** * repeated .GeoReferencedArray geoArray = 4; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray getGeoArray(int index) { if (geoArrayBuilder_ == null) { return geoArray_.get(index); } else { return geoArrayBuilder_.getMessage(index); } } /** * repeated .GeoReferencedArray geoArray = 4; */ public Builder setGeoArray( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray value) { if (geoArrayBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGeoArrayIsMutable(); geoArray_.set(index, value); onChanged(); } else { geoArrayBuilder_.setMessage(index, value); } return this; } /** * repeated .GeoReferencedArray geoArray = 4; */ public Builder setGeoArray( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.Builder builderForValue) { if (geoArrayBuilder_ == null) { ensureGeoArrayIsMutable(); geoArray_.set(index, builderForValue.build()); onChanged(); } else { geoArrayBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .GeoReferencedArray geoArray = 4; */ public Builder addGeoArray(ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray value) { if (geoArrayBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGeoArrayIsMutable(); geoArray_.add(value); onChanged(); } else { geoArrayBuilder_.addMessage(value); } return this; } /** * repeated .GeoReferencedArray geoArray = 4; */ public Builder addGeoArray( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray value) { if (geoArrayBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGeoArrayIsMutable(); geoArray_.add(index, value); onChanged(); } else { geoArrayBuilder_.addMessage(index, value); } return this; } /** * repeated .GeoReferencedArray geoArray = 4; */ public Builder addGeoArray( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.Builder builderForValue) { if (geoArrayBuilder_ == null) { ensureGeoArrayIsMutable(); geoArray_.add(builderForValue.build()); onChanged(); } else { geoArrayBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .GeoReferencedArray geoArray = 4; */ public Builder addGeoArray( int index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.Builder builderForValue) { if (geoArrayBuilder_ == null) { ensureGeoArrayIsMutable(); geoArray_.add(index, builderForValue.build()); onChanged(); } else { geoArrayBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .GeoReferencedArray geoArray = 4; */ public Builder addAllGeoArray( java.lang.Iterable values) { if (geoArrayBuilder_ == null) { ensureGeoArrayIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, geoArray_); onChanged(); } else { geoArrayBuilder_.addAllMessages(values); } return this; } /** * repeated .GeoReferencedArray geoArray = 4; */ public Builder clearGeoArray() { if (geoArrayBuilder_ == null) { geoArray_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { geoArrayBuilder_.clear(); } return this; } /** * repeated .GeoReferencedArray geoArray = 4; */ public Builder removeGeoArray(int index) { if (geoArrayBuilder_ == null) { ensureGeoArrayIsMutable(); geoArray_.remove(index); onChanged(); } else { geoArrayBuilder_.remove(index); } return this; } /** * repeated .GeoReferencedArray geoArray = 4; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.Builder getGeoArrayBuilder( int index) { return getGeoArrayFieldBuilder().getBuilder(index); } /** * repeated .GeoReferencedArray geoArray = 4; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArrayOrBuilder getGeoArrayOrBuilder( int index) { if (geoArrayBuilder_ == null) { return geoArray_.get(index); } else { return geoArrayBuilder_.getMessageOrBuilder(index); } } /** * repeated .GeoReferencedArray geoArray = 4; */ public java.util.List getGeoArrayOrBuilderList() { if (geoArrayBuilder_ != null) { return geoArrayBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(geoArray_); } } /** * repeated .GeoReferencedArray geoArray = 4; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.Builder addGeoArrayBuilder() { return getGeoArrayFieldBuilder().addBuilder( ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.getDefaultInstance()); } /** * repeated .GeoReferencedArray geoArray = 4; */ public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.Builder addGeoArrayBuilder( int index) { return getGeoArrayFieldBuilder().addBuilder( index, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.getDefaultInstance()); } /** * repeated .GeoReferencedArray geoArray = 4; */ public java.util.List getGeoArrayBuilderList() { return getGeoArrayFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArrayOrBuilder> getGeoArrayFieldBuilder() { if (geoArrayBuilder_ == null) { geoArrayBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.Builder, ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArrayOrBuilder>( geoArray_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); geoArray_ = null; } return geoArrayBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:CoverageDataResponse) } // @@protoc_insertion_point(class_scope:CoverageDataResponse) private static final ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse(); } public static ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CoverageDataResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.CoverageDataResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_CoordTransform_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_CoordTransform_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_CoordAxis_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_CoordAxis_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_CoordSys_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_CoordSys_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_CalendarDateRange_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_CalendarDateRange_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Rectangle_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Rectangle_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Coverage_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Coverage_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_CoverageDataset_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_CoverageDataset_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_GeoReferencedArray_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_GeoReferencedArray_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_CoverageDataResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_CoverageDataResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\021cdmrfeature.proto\032\016ncStream.proto\"K\n\016C" + "oordTransform\022\017\n\007isHoriz\030\001 \001(\010\022\014\n\004name\030\002" + " \001(\t\022\032\n\006params\030\003 \003(\0132\n.Attribute\"\316\002\n\tCoo" + "rdAxis\022\014\n\004name\030\001 \001(\t\022\033\n\010dataType\030\002 \001(\0162\t" + ".DataType\022\030\n\004atts\030\003 \003(\0132\n.Attribute\022\033\n\010a" + "xisType\030\004 \001(\0162\t.AxisType\022\r\n\005units\030\005 \001(\t\022" + "\023\n\013description\030\006 \001(\t\022\037\n\006depend\030\007 \001(\0162\017.D" + "ependenceType\022\021\n\tdependsOn\030\010 \003(\t\022\r\n\005shap" + "e\030\t \003(\r\022\017\n\007nvalues\030\n \001(\003\022\035\n\007spacing\030\013 \001(" + "\0162\014.AxisSpacing\022\022\n\nstartValue\030\014 \001(\001\022\020\n\010e" + "ndValue\030\r \001(\001\022\022\n\nresolution\030\016 \001(\001\022\016\n\006val" + "ues\030\017 \001(\014\"h\n\010CoordSys\022\014\n\004name\030\001 \001(\t\022\021\n\ta" + "xisNames\030\002 \003(\t\022\026\n\016transformNames\030\003 \003(\t\022#" + "\n\014coverageType\030\005 \001(\0162\r.CoverageType\"L\n\021C" + "alendarDateRange\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002" + " \001(\003\022\033\n\010calendar\030\003 \001(\0162\t.Calendar\"G\n\tRec" + "tangle\022\016\n\006startx\030\001 \001(\001\022\016\n\006starty\030\002 \001(\001\022\014" + "\n\004incx\030\003 \001(\001\022\014\n\004incy\030\004 \001(\001\"\205\001\n\010Coverage\022" + "\014\n\004name\030\001 \001(\t\022\033\n\010dataType\030\002 \001(\0162\t.DataTy" + "pe\022\030\n\004atts\030\004 \003(\0132\n.Attribute\022\020\n\010coordSys" + "\030\005 \001(\t\022\r\n\005units\030\006 \001(\t\022\023\n\013description\030\007 \001" + "(\t\"\303\002\n\017CoverageDataset\022\014\n\004name\030\001 \001(\t\022\030\n\004" + "atts\030\002 \003(\0132\n.Attribute\022\036\n\nlatlonRect\030\003 \001" + "(\0132\n.Rectangle\022\034\n\010projRect\030\004 \001(\0132\n.Recta" + "ngle\022%\n\tdateRange\030\005 \001(\0132\022.CalendarDateRa" + "nge\022\033\n\010coordSys\030\006 \003(\0132\t.CoordSys\022(\n\017coor" + "dTransforms\030\007 \003(\0132\017.CoordTransform\022\035\n\tco" + "ordAxes\030\010 \003(\0132\n.CoordAxis\022\030\n\005grids\030\t \003(\013" + "2\t.Coverage\022#\n\014coverageType\030\n \001(\0162\r.Cove" + "rageType\"\350\001\n\022GeoReferencedArray\022\024\n\014cover" + "ageName\030\001 \001(\t\022\033\n\010dataType\030\002 \001(\0162\t.DataTy" + "pe\022\016\n\006bigend\030\003 \001(\010\022\017\n\007version\030\004 \001(\r\022\033\n\010c" + "ompress\030\005 \001(\0162\t.Compress\022\030\n\020uncompressed" + "Size\030\006 \001(\004\022\r\n\005shape\030\007 \003(\r\022\020\n\010axisName\030\010 " + "\003(\t\022\024\n\014coordSysName\030\t \001(\t\022\020\n\010primdata\030\n " + "\001(\014\"\243\001\n\024CoverageDataResponse\022\035\n\tcoordAxe" + "s\030\001 \003(\0132\n.CoordAxis\022\033\n\010coordSys\030\002 \003(\0132\t." + "CoordSys\022(\n\017coordTransforms\030\003 \003(\0132\017.Coor" + "dTransform\022%\n\010geoArray\030\004 \003(\0132\023.GeoRefere" + "ncedArray*\323\001\n\010AxisType\022\013\n\007RunTime\020\000\022\014\n\010E" + "nsemble\020\001\022\010\n\004Time\020\002\022\010\n\004GeoX\020\003\022\010\n\004GeoY\020\004\022" + "\010\n\004GeoZ\020\005\022\007\n\003Lat\020\006\022\007\n\003Lon\020\007\022\n\n\006Height\020\010\022" + "\014\n\010Pressure\020\t\022\021\n\rRadialAzimuth\020\n\022\022\n\016Radi" + "alDistance\020\013\022\023\n\017RadialElevation\020\014\022\014\n\010Spe" + "ctral\020\r\022\016\n\nTimeOffset\020\016*{\n\013AxisSpacing\022\020" + "\n\014regularPoint\020\000\022\022\n\016irregularPoint\020\001\022\026\n\022" + "contiguousInterval\020\002\022\031\n\025discontiguousInt" + "erval\020\003\022\023\n\017regularInterval\020\004*S\n\016Dependen" + "ceType\022\017\n\013independent\020\000\022\r\n\tdependent\020\001\022\n" + "\n\006scalar\020\002\022\010\n\004twoD\020\003\022\013\n\007fmrcReg\020\004*t\n\010Cal" + "endar\022\027\n\023proleptic_gregorian\020\000\022\r\n\tgregor" + "ian\020\001\022\n\n\006noleap\020\002\022\014\n\010all_leap\020\003\022\020\n\014unifo" + "rm30day\020\004\022\n\n\006julian\020\005\022\010\n\004none\020\006*K\n\014Cover" + "ageType\022\013\n\007General\020\000\022\017\n\013Curvilinear\020\001\022\010\n" + "\004Grid\020\002\022\t\n\005Swath\020\003\022\010\n\004Fmrc\020\004B0\n\034ucar.nc2" + ".ft2.coverage.remoteB\020CdmrFeatureProtob\006" + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { ucar.nc2.stream.NcStreamProto.getDescriptor(), }); internal_static_CoordTransform_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_CoordTransform_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_CoordTransform_descriptor, new java.lang.String[] { "IsHoriz", "Name", "Params", }); internal_static_CoordAxis_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_CoordAxis_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_CoordAxis_descriptor, new java.lang.String[] { "Name", "DataType", "Atts", "AxisType", "Units", "Description", "Depend", "DependsOn", "Shape", "Nvalues", "Spacing", "StartValue", "EndValue", "Resolution", "Values", }); internal_static_CoordSys_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_CoordSys_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_CoordSys_descriptor, new java.lang.String[] { "Name", "AxisNames", "TransformNames", "CoverageType", }); internal_static_CalendarDateRange_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_CalendarDateRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_CalendarDateRange_descriptor, new java.lang.String[] { "Start", "End", "Calendar", }); internal_static_Rectangle_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_Rectangle_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Rectangle_descriptor, new java.lang.String[] { "Startx", "Starty", "Incx", "Incy", }); internal_static_Coverage_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_Coverage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Coverage_descriptor, new java.lang.String[] { "Name", "DataType", "Atts", "CoordSys", "Units", "Description", }); internal_static_CoverageDataset_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_CoverageDataset_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_CoverageDataset_descriptor, new java.lang.String[] { "Name", "Atts", "LatlonRect", "ProjRect", "DateRange", "CoordSys", "CoordTransforms", "CoordAxes", "Grids", "CoverageType", }); internal_static_GeoReferencedArray_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_GeoReferencedArray_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_GeoReferencedArray_descriptor, new java.lang.String[] { "CoverageName", "DataType", "Bigend", "Version", "Compress", "UncompressedSize", "Shape", "AxisName", "CoordSysName", "Primdata", }); internal_static_CoverageDataResponse_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_CoverageDataResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_CoverageDataResponse_descriptor, new java.lang.String[] { "CoordAxes", "CoordSys", "CoordTransforms", "GeoArray", }); ucar.nc2.stream.NcStreamProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy