Package ucar.nc2.ft2.coverage.remote
Class CdmrFeatureProto.GeoReferencedArray.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CdmrFeatureProto.GeoReferencedArray.Builder>
-
- ucar.nc2.ft2.coverage.remote.CdmrFeatureProto.GeoReferencedArray.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,CdmrFeatureProto.GeoReferencedArrayOrBuilder
- Enclosing class:
- CdmrFeatureProto.GeoReferencedArray
public static final class CdmrFeatureProto.GeoReferencedArray.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CdmrFeatureProto.GeoReferencedArray.Builder> implements CdmrFeatureProto.GeoReferencedArrayOrBuilder
Protobuf typeGeoReferencedArray
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CdmrFeatureProto.GeoReferencedArray.Builder>
-
clear
public CdmrFeatureProto.GeoReferencedArray.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CdmrFeatureProto.GeoReferencedArray.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CdmrFeatureProto.GeoReferencedArray.Builder>
-
getDefaultInstanceForType
public CdmrFeatureProto.GeoReferencedArray getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CdmrFeatureProto.GeoReferencedArray build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CdmrFeatureProto.GeoReferencedArray buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public CdmrFeatureProto.GeoReferencedArray.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CdmrFeatureProto.GeoReferencedArray.Builder>
-
mergeFrom
public CdmrFeatureProto.GeoReferencedArray.Builder mergeFrom(CdmrFeatureProto.GeoReferencedArray other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CdmrFeatureProto.GeoReferencedArray.Builder>
-
mergeFrom
public CdmrFeatureProto.GeoReferencedArray.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CdmrFeatureProto.GeoReferencedArray.Builder>
- Throws:
IOException
-
getCoverageName
public String getCoverageName()
full escaped name.
string coverageName = 1;
- Specified by:
getCoverageName
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The coverageName.
-
getCoverageNameBytes
public com.google.protobuf.ByteString getCoverageNameBytes()
full escaped name.
string coverageName = 1;
- Specified by:
getCoverageNameBytes
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The bytes for coverageName.
-
setCoverageName
public CdmrFeatureProto.GeoReferencedArray.Builder setCoverageName(String value)
full escaped name.
string coverageName = 1;
- Parameters:
value
- The coverageName to set.- Returns:
- This builder for chaining.
-
clearCoverageName
public CdmrFeatureProto.GeoReferencedArray.Builder clearCoverageName()
full escaped name.
string coverageName = 1;
- Returns:
- This builder for chaining.
-
setCoverageNameBytes
public CdmrFeatureProto.GeoReferencedArray.Builder setCoverageNameBytes(com.google.protobuf.ByteString value)
full escaped name.
string coverageName = 1;
- Parameters:
value
- The bytes for coverageName to set.- Returns:
- This builder for chaining.
-
getDataTypeValue
public int getDataTypeValue()
.DataType dataType = 2;
- Specified by:
getDataTypeValue
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The enum numeric value on the wire for dataType.
-
setDataTypeValue
public CdmrFeatureProto.GeoReferencedArray.Builder setDataTypeValue(int value)
.DataType dataType = 2;
- Parameters:
value
- The enum numeric value on the wire for dataType to set.- Returns:
- This builder for chaining.
-
getDataType
public NcStreamProto.DataType getDataType()
.DataType dataType = 2;
- Specified by:
getDataType
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The dataType.
-
setDataType
public CdmrFeatureProto.GeoReferencedArray.Builder setDataType(NcStreamProto.DataType value)
.DataType dataType = 2;
- Parameters:
value
- The dataType to set.- Returns:
- This builder for chaining.
-
clearDataType
public CdmrFeatureProto.GeoReferencedArray.Builder clearDataType()
.DataType dataType = 2;
- Returns:
- This builder for chaining.
-
getBigend
public boolean getBigend()
bool bigend = 3;
- Specified by:
getBigend
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The bigend.
-
setBigend
public CdmrFeatureProto.GeoReferencedArray.Builder setBigend(boolean value)
bool bigend = 3;
- Parameters:
value
- The bigend to set.- Returns:
- This builder for chaining.
-
clearBigend
public CdmrFeatureProto.GeoReferencedArray.Builder clearBigend()
bool bigend = 3;
- Returns:
- This builder for chaining.
-
getVersion
public int getVersion()
set to >= 3 for proto3
uint32 version = 4;
- Specified by:
getVersion
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The version.
-
setVersion
public CdmrFeatureProto.GeoReferencedArray.Builder setVersion(int value)
set to >= 3 for proto3
uint32 version = 4;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public CdmrFeatureProto.GeoReferencedArray.Builder clearVersion()
set to >= 3 for proto3
uint32 version = 4;
- Returns:
- This builder for chaining.
-
getCompressValue
public int getCompressValue()
.Compress compress = 5;
- Specified by:
getCompressValue
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The enum numeric value on the wire for compress.
-
setCompressValue
public CdmrFeatureProto.GeoReferencedArray.Builder setCompressValue(int value)
.Compress compress = 5;
- Parameters:
value
- The enum numeric value on the wire for compress to set.- Returns:
- This builder for chaining.
-
getCompress
public NcStreamProto.Compress getCompress()
.Compress compress = 5;
- Specified by:
getCompress
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The compress.
-
setCompress
public CdmrFeatureProto.GeoReferencedArray.Builder setCompress(NcStreamProto.Compress value)
.Compress compress = 5;
- Parameters:
value
- The compress to set.- Returns:
- This builder for chaining.
-
clearCompress
public CdmrFeatureProto.GeoReferencedArray.Builder clearCompress()
.Compress compress = 5;
- Returns:
- This builder for chaining.
-
getUncompressedSize
public long getUncompressedSize()
uint64 uncompressedSize = 6;
- Specified by:
getUncompressedSize
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The uncompressedSize.
-
setUncompressedSize
public CdmrFeatureProto.GeoReferencedArray.Builder setUncompressedSize(long value)
uint64 uncompressedSize = 6;
- Parameters:
value
- The uncompressedSize to set.- Returns:
- This builder for chaining.
-
clearUncompressedSize
public CdmrFeatureProto.GeoReferencedArray.Builder clearUncompressedSize()
uint64 uncompressedSize = 6;
- Returns:
- This builder for chaining.
-
getShapeList
public List<Integer> getShapeList()
the shape of the returned array
repeated uint32 shape = 7;
- Specified by:
getShapeList
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- A list containing the shape.
-
getShapeCount
public int getShapeCount()
the shape of the returned array
repeated uint32 shape = 7;
- Specified by:
getShapeCount
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The count of shape.
-
getShape
public int getShape(int index)
the shape of the returned array
repeated uint32 shape = 7;
- Specified by:
getShape
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The shape at the given index.
-
setShape
public CdmrFeatureProto.GeoReferencedArray.Builder setShape(int index, int value)
the shape of the returned array
repeated uint32 shape = 7;
- Parameters:
index
- The index to set the value at.value
- The shape to set.- Returns:
- This builder for chaining.
-
addShape
public CdmrFeatureProto.GeoReferencedArray.Builder addShape(int value)
the shape of the returned array
repeated uint32 shape = 7;
- Parameters:
value
- The shape to add.- Returns:
- This builder for chaining.
-
addAllShape
public CdmrFeatureProto.GeoReferencedArray.Builder addAllShape(Iterable<? extends Integer> values)
the shape of the returned array
repeated uint32 shape = 7;
- Parameters:
values
- The shape to add.- Returns:
- This builder for chaining.
-
clearShape
public CdmrFeatureProto.GeoReferencedArray.Builder clearShape()
the shape of the returned array
repeated uint32 shape = 7;
- Returns:
- This builder for chaining.
-
getAxisNameList
public com.google.protobuf.ProtocolStringList getAxisNameList()
each dimension corresponds to this axis
repeated string axisName = 8;
- Specified by:
getAxisNameList
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- A list containing the axisName.
-
getAxisNameCount
public int getAxisNameCount()
each dimension corresponds to this axis
repeated string axisName = 8;
- Specified by:
getAxisNameCount
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The count of axisName.
-
getAxisName
public String getAxisName(int index)
each dimension corresponds to this axis
repeated string axisName = 8;
- Specified by:
getAxisName
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The axisName at the given index.
-
getAxisNameBytes
public com.google.protobuf.ByteString getAxisNameBytes(int index)
each dimension corresponds to this axis
repeated string axisName = 8;
- Specified by:
getAxisNameBytes
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the axisName at the given index.
-
setAxisName
public CdmrFeatureProto.GeoReferencedArray.Builder setAxisName(int index, String value)
each dimension corresponds to this axis
repeated string axisName = 8;
- Parameters:
index
- The index to set the value at.value
- The axisName to set.- Returns:
- This builder for chaining.
-
addAxisName
public CdmrFeatureProto.GeoReferencedArray.Builder addAxisName(String value)
each dimension corresponds to this axis
repeated string axisName = 8;
- Parameters:
value
- The axisName to add.- Returns:
- This builder for chaining.
-
addAllAxisName
public CdmrFeatureProto.GeoReferencedArray.Builder addAllAxisName(Iterable<String> values)
each dimension corresponds to this axis
repeated string axisName = 8;
- Parameters:
values
- The axisName to add.- Returns:
- This builder for chaining.
-
clearAxisName
public CdmrFeatureProto.GeoReferencedArray.Builder clearAxisName()
each dimension corresponds to this axis
repeated string axisName = 8;
- Returns:
- This builder for chaining.
-
addAxisNameBytes
public CdmrFeatureProto.GeoReferencedArray.Builder addAxisNameBytes(com.google.protobuf.ByteString value)
each dimension corresponds to this axis
repeated string axisName = 8;
- Parameters:
value
- The bytes of the axisName to add.- Returns:
- This builder for chaining.
-
getCoordSysName
public String getCoordSysName()
must have coordAxes corresponding to shape
string coordSysName = 9;
- Specified by:
getCoordSysName
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The coordSysName.
-
getCoordSysNameBytes
public com.google.protobuf.ByteString getCoordSysNameBytes()
must have coordAxes corresponding to shape
string coordSysName = 9;
- Specified by:
getCoordSysNameBytes
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The bytes for coordSysName.
-
setCoordSysName
public CdmrFeatureProto.GeoReferencedArray.Builder setCoordSysName(String value)
must have coordAxes corresponding to shape
string coordSysName = 9;
- Parameters:
value
- The coordSysName to set.- Returns:
- This builder for chaining.
-
clearCoordSysName
public CdmrFeatureProto.GeoReferencedArray.Builder clearCoordSysName()
must have coordAxes corresponding to shape
string coordSysName = 9;
- Returns:
- This builder for chaining.
-
setCoordSysNameBytes
public CdmrFeatureProto.GeoReferencedArray.Builder setCoordSysNameBytes(com.google.protobuf.ByteString value)
must have coordAxes corresponding to shape
string coordSysName = 9;
- Parameters:
value
- The bytes for coordSysName to set.- Returns:
- This builder for chaining.
-
getPrimdata
public com.google.protobuf.ByteString getPrimdata()
rectangular, primitive array
bytes primdata = 10;
- Specified by:
getPrimdata
in interfaceCdmrFeatureProto.GeoReferencedArrayOrBuilder
- Returns:
- The primdata.
-
setPrimdata
public CdmrFeatureProto.GeoReferencedArray.Builder setPrimdata(com.google.protobuf.ByteString value)
rectangular, primitive array
bytes primdata = 10;
- Parameters:
value
- The primdata to set.- Returns:
- This builder for chaining.
-
clearPrimdata
public CdmrFeatureProto.GeoReferencedArray.Builder clearPrimdata()
rectangular, primitive array
bytes primdata = 10;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final CdmrFeatureProto.GeoReferencedArray.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CdmrFeatureProto.GeoReferencedArray.Builder>
-
mergeUnknownFields
public final CdmrFeatureProto.GeoReferencedArray.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CdmrFeatureProto.GeoReferencedArray.Builder>
-
-