Package ucar.gcdm
Class GcdmGridProto.GridTimeCoordinateSystem.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
- ucar.gcdm.GcdmGridProto.GridTimeCoordinateSystem.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,GcdmGridProto.GridTimeCoordinateSystemOrBuilder
- Enclosing class:
- GcdmGridProto.GridTimeCoordinateSystem
public static final class GcdmGridProto.GridTimeCoordinateSystem.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder> implements GcdmGridProto.GridTimeCoordinateSystemOrBuilder
Protobuf typeucar.gcdm.GridTimeCoordinateSystem
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
clear
public GcdmGridProto.GridTimeCoordinateSystem.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
getDefaultInstanceForType
public GcdmGridProto.GridTimeCoordinateSystem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GcdmGridProto.GridTimeCoordinateSystem build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GcdmGridProto.GridTimeCoordinateSystem buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GcdmGridProto.GridTimeCoordinateSystem.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
setField
public GcdmGridProto.GridTimeCoordinateSystem.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
clearField
public GcdmGridProto.GridTimeCoordinateSystem.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
clearOneof
public GcdmGridProto.GridTimeCoordinateSystem.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
setRepeatedField
public GcdmGridProto.GridTimeCoordinateSystem.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
addRepeatedField
public GcdmGridProto.GridTimeCoordinateSystem.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
mergeFrom
public GcdmGridProto.GridTimeCoordinateSystem.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
mergeFrom
public GcdmGridProto.GridTimeCoordinateSystem.Builder mergeFrom(GcdmGridProto.GridTimeCoordinateSystem other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
mergeFrom
public GcdmGridProto.GridTimeCoordinateSystem.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>- Throws:
IOException
-
getTypeValue
public int getTypeValue()
.ucar.gcdm.GridTimeType type = 1;- Specified by:
getTypeValuein interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public GcdmGridProto.GridTimeCoordinateSystem.Builder setTypeValue(int value)
.ucar.gcdm.GridTimeType type = 1;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public GcdmGridProto.GridTimeType getType()
.ucar.gcdm.GridTimeType type = 1;- Specified by:
getTypein interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder- Returns:
- The type.
-
setType
public GcdmGridProto.GridTimeCoordinateSystem.Builder setType(GcdmGridProto.GridTimeType value)
.ucar.gcdm.GridTimeType type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public GcdmGridProto.GridTimeCoordinateSystem.Builder clearType()
.ucar.gcdm.GridTimeType type = 1;- Returns:
- This builder for chaining.
-
getCalendarDateUnit
public String getCalendarDateUnit()
string calendar_date_unit = 2;- Specified by:
getCalendarDateUnitin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder- Returns:
- The calendarDateUnit.
-
getCalendarDateUnitBytes
public com.google.protobuf.ByteString getCalendarDateUnitBytes()
string calendar_date_unit = 2;- Specified by:
getCalendarDateUnitBytesin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder- Returns:
- The bytes for calendarDateUnit.
-
setCalendarDateUnit
public GcdmGridProto.GridTimeCoordinateSystem.Builder setCalendarDateUnit(String value)
string calendar_date_unit = 2;- Parameters:
value- The calendarDateUnit to set.- Returns:
- This builder for chaining.
-
clearCalendarDateUnit
public GcdmGridProto.GridTimeCoordinateSystem.Builder clearCalendarDateUnit()
string calendar_date_unit = 2;- Returns:
- This builder for chaining.
-
setCalendarDateUnitBytes
public GcdmGridProto.GridTimeCoordinateSystem.Builder setCalendarDateUnitBytes(com.google.protobuf.ByteString value)
string calendar_date_unit = 2;- Parameters:
value- The bytes for calendarDateUnit to set.- Returns:
- This builder for chaining.
-
getTimeAxisName
public String getTimeAxisName()
string time_axis_name = 3;- Specified by:
getTimeAxisNamein interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder- Returns:
- The timeAxisName.
-
getTimeAxisNameBytes
public com.google.protobuf.ByteString getTimeAxisNameBytes()
string time_axis_name = 3;- Specified by:
getTimeAxisNameBytesin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder- Returns:
- The bytes for timeAxisName.
-
setTimeAxisName
public GcdmGridProto.GridTimeCoordinateSystem.Builder setTimeAxisName(String value)
string time_axis_name = 3;- Parameters:
value- The timeAxisName to set.- Returns:
- This builder for chaining.
-
clearTimeAxisName
public GcdmGridProto.GridTimeCoordinateSystem.Builder clearTimeAxisName()
string time_axis_name = 3;- Returns:
- This builder for chaining.
-
setTimeAxisNameBytes
public GcdmGridProto.GridTimeCoordinateSystem.Builder setTimeAxisNameBytes(com.google.protobuf.ByteString value)
string time_axis_name = 3;- Parameters:
value- The bytes for timeAxisName to set.- Returns:
- This builder for chaining.
-
getRuntimeAxisName
public String getRuntimeAxisName()
string runtime_axis_name = 4;- Specified by:
getRuntimeAxisNamein interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder- Returns:
- The runtimeAxisName.
-
getRuntimeAxisNameBytes
public com.google.protobuf.ByteString getRuntimeAxisNameBytes()
string runtime_axis_name = 4;- Specified by:
getRuntimeAxisNameBytesin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder- Returns:
- The bytes for runtimeAxisName.
-
setRuntimeAxisName
public GcdmGridProto.GridTimeCoordinateSystem.Builder setRuntimeAxisName(String value)
string runtime_axis_name = 4;- Parameters:
value- The runtimeAxisName to set.- Returns:
- This builder for chaining.
-
clearRuntimeAxisName
public GcdmGridProto.GridTimeCoordinateSystem.Builder clearRuntimeAxisName()
string runtime_axis_name = 4;- Returns:
- This builder for chaining.
-
setRuntimeAxisNameBytes
public GcdmGridProto.GridTimeCoordinateSystem.Builder setRuntimeAxisNameBytes(com.google.protobuf.ByteString value)
string runtime_axis_name = 4;- Parameters:
value- The bytes for runtimeAxisName to set.- Returns:
- This builder for chaining.
-
getId
public int getId()
sint32 id = 5;- Specified by:
getIdin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder- Returns:
- The id.
-
setId
public GcdmGridProto.GridTimeCoordinateSystem.Builder setId(int value)
sint32 id = 5;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public GcdmGridProto.GridTimeCoordinateSystem.Builder clearId()
sint32 id = 5;- Returns:
- This builder for chaining.
-
getRegularCount
public int getRegularCount()
Description copied from interface:GcdmGridProto.GridTimeCoordinateSystemOrBuilder<minutes since 0Z, time offset axis>
map<int32, .ucar.gcdm.GridAxis> regular = 6;- Specified by:
getRegularCountin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder
-
containsRegular
public boolean containsRegular(int key)
<minutes since 0Z, time offset axis>
map<int32, .ucar.gcdm.GridAxis> regular = 6;- Specified by:
containsRegularin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder
-
getRegular
@Deprecated public Map<Integer,GcdmGridProto.GridAxis> getRegular()
Deprecated.UsegetRegularMap()instead.- Specified by:
getRegularin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder
-
getRegularMap
public Map<Integer,GcdmGridProto.GridAxis> getRegularMap()
<minutes since 0Z, time offset axis>
map<int32, .ucar.gcdm.GridAxis> regular = 6;- Specified by:
getRegularMapin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder
-
getRegularOrDefault
public GcdmGridProto.GridAxis getRegularOrDefault(int key, GcdmGridProto.GridAxis defaultValue)
<minutes since 0Z, time offset axis>
map<int32, .ucar.gcdm.GridAxis> regular = 6;- Specified by:
getRegularOrDefaultin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder
-
getRegularOrThrow
public GcdmGridProto.GridAxis getRegularOrThrow(int key)
<minutes since 0Z, time offset axis>
map<int32, .ucar.gcdm.GridAxis> regular = 6;- Specified by:
getRegularOrThrowin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder
-
clearRegular
public GcdmGridProto.GridTimeCoordinateSystem.Builder clearRegular()
-
removeRegular
public GcdmGridProto.GridTimeCoordinateSystem.Builder removeRegular(int key)
<minutes since 0Z, time offset axis>
map<int32, .ucar.gcdm.GridAxis> regular = 6;
-
getMutableRegular
@Deprecated public Map<Integer,GcdmGridProto.GridAxis> getMutableRegular()
Deprecated.Use alternate mutation accessors instead.
-
putRegular
public GcdmGridProto.GridTimeCoordinateSystem.Builder putRegular(int key, GcdmGridProto.GridAxis value)
<minutes since 0Z, time offset axis>
map<int32, .ucar.gcdm.GridAxis> regular = 6;
-
putAllRegular
public GcdmGridProto.GridTimeCoordinateSystem.Builder putAllRegular(Map<Integer,GcdmGridProto.GridAxis> values)
<minutes since 0Z, time offset axis>
map<int32, .ucar.gcdm.GridAxis> regular = 6;
-
getIrregularList
public List<GcdmGridProto.GridAxis> getIrregularList()
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;- Specified by:
getIrregularListin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder
-
getIrregularCount
public int getIrregularCount()
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;- Specified by:
getIrregularCountin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder
-
getIrregular
public GcdmGridProto.GridAxis getIrregular(int index)
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;- Specified by:
getIrregularin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder
-
setIrregular
public GcdmGridProto.GridTimeCoordinateSystem.Builder setIrregular(int index, GcdmGridProto.GridAxis value)
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;
-
setIrregular
public GcdmGridProto.GridTimeCoordinateSystem.Builder setIrregular(int index, GcdmGridProto.GridAxis.Builder builderForValue)
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;
-
addIrregular
public GcdmGridProto.GridTimeCoordinateSystem.Builder addIrregular(GcdmGridProto.GridAxis value)
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;
-
addIrregular
public GcdmGridProto.GridTimeCoordinateSystem.Builder addIrregular(int index, GcdmGridProto.GridAxis value)
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;
-
addIrregular
public GcdmGridProto.GridTimeCoordinateSystem.Builder addIrregular(GcdmGridProto.GridAxis.Builder builderForValue)
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;
-
addIrregular
public GcdmGridProto.GridTimeCoordinateSystem.Builder addIrregular(int index, GcdmGridProto.GridAxis.Builder builderForValue)
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;
-
addAllIrregular
public GcdmGridProto.GridTimeCoordinateSystem.Builder addAllIrregular(Iterable<? extends GcdmGridProto.GridAxis> values)
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;
-
clearIrregular
public GcdmGridProto.GridTimeCoordinateSystem.Builder clearIrregular()
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;
-
removeIrregular
public GcdmGridProto.GridTimeCoordinateSystem.Builder removeIrregular(int index)
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;
-
getIrregularBuilder
public GcdmGridProto.GridAxis.Builder getIrregularBuilder(int index)
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;
-
getIrregularOrBuilder
public GcdmGridProto.GridAxisOrBuilder getIrregularOrBuilder(int index)
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;- Specified by:
getIrregularOrBuilderin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder
-
getIrregularOrBuilderList
public List<? extends GcdmGridProto.GridAxisOrBuilder> getIrregularOrBuilderList()
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;- Specified by:
getIrregularOrBuilderListin interfaceGcdmGridProto.GridTimeCoordinateSystemOrBuilder
-
addIrregularBuilder
public GcdmGridProto.GridAxis.Builder addIrregularBuilder()
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;
-
addIrregularBuilder
public GcdmGridProto.GridAxis.Builder addIrregularBuilder(int index)
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;
-
getIrregularBuilderList
public List<GcdmGridProto.GridAxis.Builder> getIrregularBuilderList()
list of time offset axes
repeated .ucar.gcdm.GridAxis irregular = 7;
-
setUnknownFields
public final GcdmGridProto.GridTimeCoordinateSystem.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
mergeUnknownFields
public final GcdmGridProto.GridTimeCoordinateSystem.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridTimeCoordinateSystem.Builder>
-
-