Package ucar.nc2.ft.point.bufr
Class BufrCdmIndexProto.Field.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BufrCdmIndexProto.Field.Builder>
-
- ucar.nc2.ft.point.bufr.BufrCdmIndexProto.Field.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,BufrCdmIndexProto.FieldOrBuilder
- Enclosing class:
- BufrCdmIndexProto.Field
public static final class BufrCdmIndexProto.Field.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BufrCdmIndexProto.Field.Builder> implements BufrCdmIndexProto.FieldOrBuilder
Protobuf typeField
-
-
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<BufrCdmIndexProto.Field.Builder>
-
clear
public BufrCdmIndexProto.Field.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<BufrCdmIndexProto.Field.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<BufrCdmIndexProto.Field.Builder>
-
getDefaultInstanceForType
public BufrCdmIndexProto.Field getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BufrCdmIndexProto.Field build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BufrCdmIndexProto.Field buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public BufrCdmIndexProto.Field.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BufrCdmIndexProto.Field.Builder>
-
mergeFrom
public BufrCdmIndexProto.Field.Builder mergeFrom(BufrCdmIndexProto.Field other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BufrCdmIndexProto.Field.Builder>
-
mergeFrom
public BufrCdmIndexProto.Field.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<BufrCdmIndexProto.Field.Builder>
- Throws:
IOException
-
getFxy
public int getFxy()
uint32 fxy = 1;
- Specified by:
getFxy
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The fxy.
-
setFxy
public BufrCdmIndexProto.Field.Builder setFxy(int value)
uint32 fxy = 1;
- Parameters:
value
- The fxy to set.- Returns:
- This builder for chaining.
-
clearFxy
public BufrCdmIndexProto.Field.Builder clearFxy()
uint32 fxy = 1;
- Returns:
- This builder for chaining.
-
getName
public String getName()
string name = 2;
- Specified by:
getName
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 2;
- Specified by:
getNameBytes
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The bytes for name.
-
setName
public BufrCdmIndexProto.Field.Builder setName(String value)
string name = 2;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public BufrCdmIndexProto.Field.Builder clearName()
string name = 2;
- Returns:
- This builder for chaining.
-
setNameBytes
public BufrCdmIndexProto.Field.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 2;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getFldsList
public List<BufrCdmIndexProto.Field> getFldsList()
repeated .Field flds = 3;
- Specified by:
getFldsList
in interfaceBufrCdmIndexProto.FieldOrBuilder
-
getFldsCount
public int getFldsCount()
repeated .Field flds = 3;
- Specified by:
getFldsCount
in interfaceBufrCdmIndexProto.FieldOrBuilder
-
getFlds
public BufrCdmIndexProto.Field getFlds(int index)
repeated .Field flds = 3;
- Specified by:
getFlds
in interfaceBufrCdmIndexProto.FieldOrBuilder
-
setFlds
public BufrCdmIndexProto.Field.Builder setFlds(int index, BufrCdmIndexProto.Field value)
repeated .Field flds = 3;
-
setFlds
public BufrCdmIndexProto.Field.Builder setFlds(int index, BufrCdmIndexProto.Field.Builder builderForValue)
repeated .Field flds = 3;
-
addFlds
public BufrCdmIndexProto.Field.Builder addFlds(BufrCdmIndexProto.Field value)
repeated .Field flds = 3;
-
addFlds
public BufrCdmIndexProto.Field.Builder addFlds(int index, BufrCdmIndexProto.Field value)
repeated .Field flds = 3;
-
addFlds
public BufrCdmIndexProto.Field.Builder addFlds(BufrCdmIndexProto.Field.Builder builderForValue)
repeated .Field flds = 3;
-
addFlds
public BufrCdmIndexProto.Field.Builder addFlds(int index, BufrCdmIndexProto.Field.Builder builderForValue)
repeated .Field flds = 3;
-
addAllFlds
public BufrCdmIndexProto.Field.Builder addAllFlds(Iterable<? extends BufrCdmIndexProto.Field> values)
repeated .Field flds = 3;
-
clearFlds
public BufrCdmIndexProto.Field.Builder clearFlds()
repeated .Field flds = 3;
-
removeFlds
public BufrCdmIndexProto.Field.Builder removeFlds(int index)
repeated .Field flds = 3;
-
getFldsBuilder
public BufrCdmIndexProto.Field.Builder getFldsBuilder(int index)
repeated .Field flds = 3;
-
getFldsOrBuilder
public BufrCdmIndexProto.FieldOrBuilder getFldsOrBuilder(int index)
repeated .Field flds = 3;
- Specified by:
getFldsOrBuilder
in interfaceBufrCdmIndexProto.FieldOrBuilder
-
getFldsOrBuilderList
public List<? extends BufrCdmIndexProto.FieldOrBuilder> getFldsOrBuilderList()
repeated .Field flds = 3;
- Specified by:
getFldsOrBuilderList
in interfaceBufrCdmIndexProto.FieldOrBuilder
-
addFldsBuilder
public BufrCdmIndexProto.Field.Builder addFldsBuilder()
repeated .Field flds = 3;
-
addFldsBuilder
public BufrCdmIndexProto.Field.Builder addFldsBuilder(int index)
repeated .Field flds = 3;
-
getFldsBuilderList
public List<BufrCdmIndexProto.Field.Builder> getFldsBuilderList()
repeated .Field flds = 3;
-
getActionValue
public int getActionValue()
.FldAction action = 4;
- Specified by:
getActionValue
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The enum numeric value on the wire for action.
-
setActionValue
public BufrCdmIndexProto.Field.Builder setActionValue(int value)
.FldAction action = 4;
- Parameters:
value
- The enum numeric value on the wire for action to set.- Returns:
- This builder for chaining.
-
getAction
public BufrCdmIndexProto.FldAction getAction()
.FldAction action = 4;
- Specified by:
getAction
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The action.
-
setAction
public BufrCdmIndexProto.Field.Builder setAction(BufrCdmIndexProto.FldAction value)
.FldAction action = 4;
- Parameters:
value
- The action to set.- Returns:
- This builder for chaining.
-
clearAction
public BufrCdmIndexProto.Field.Builder clearAction()
.FldAction action = 4;
- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
.FldType type = 5;
- Specified by:
getTypeValue
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public BufrCdmIndexProto.Field.Builder setTypeValue(int value)
.FldType type = 5;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public BufrCdmIndexProto.FldType getType()
.FldType type = 5;
- Specified by:
getType
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The type.
-
setType
public BufrCdmIndexProto.Field.Builder setType(BufrCdmIndexProto.FldType value)
.FldType type = 5;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public BufrCdmIndexProto.Field.Builder clearType()
.FldType type = 5;
- Returns:
- This builder for chaining.
-
getMin
public int getMin()
uint32 min = 6;
- Specified by:
getMin
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The min.
-
setMin
public BufrCdmIndexProto.Field.Builder setMin(int value)
uint32 min = 6;
- Parameters:
value
- The min to set.- Returns:
- This builder for chaining.
-
clearMin
public BufrCdmIndexProto.Field.Builder clearMin()
uint32 min = 6;
- Returns:
- This builder for chaining.
-
getMax
public int getMax()
uint32 max = 7;
- Specified by:
getMax
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The max.
-
setMax
public BufrCdmIndexProto.Field.Builder setMax(int value)
uint32 max = 7;
- Parameters:
value
- The max to set.- Returns:
- This builder for chaining.
-
clearMax
public BufrCdmIndexProto.Field.Builder clearMax()
uint32 max = 7;
- Returns:
- This builder for chaining.
-
getDesc
public String getDesc()
string desc = 8;
- Specified by:
getDesc
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The desc.
-
getDescBytes
public com.google.protobuf.ByteString getDescBytes()
string desc = 8;
- Specified by:
getDescBytes
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The bytes for desc.
-
setDesc
public BufrCdmIndexProto.Field.Builder setDesc(String value)
string desc = 8;
- Parameters:
value
- The desc to set.- Returns:
- This builder for chaining.
-
clearDesc
public BufrCdmIndexProto.Field.Builder clearDesc()
string desc = 8;
- Returns:
- This builder for chaining.
-
setDescBytes
public BufrCdmIndexProto.Field.Builder setDescBytes(com.google.protobuf.ByteString value)
string desc = 8;
- Parameters:
value
- The bytes for desc to set.- Returns:
- This builder for chaining.
-
getUnits
public String getUnits()
string units = 9;
- Specified by:
getUnits
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The units.
-
getUnitsBytes
public com.google.protobuf.ByteString getUnitsBytes()
string units = 9;
- Specified by:
getUnitsBytes
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The bytes for units.
-
setUnits
public BufrCdmIndexProto.Field.Builder setUnits(String value)
string units = 9;
- Parameters:
value
- The units to set.- Returns:
- This builder for chaining.
-
clearUnits
public BufrCdmIndexProto.Field.Builder clearUnits()
string units = 9;
- Returns:
- This builder for chaining.
-
setUnitsBytes
public BufrCdmIndexProto.Field.Builder setUnitsBytes(com.google.protobuf.ByteString value)
string units = 9;
- Parameters:
value
- The bytes for units to set.- Returns:
- This builder for chaining.
-
getScale
public int getScale()
bufr scale and offset
int32 scale = 10;
- Specified by:
getScale
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The scale.
-
setScale
public BufrCdmIndexProto.Field.Builder setScale(int value)
bufr scale and offset
int32 scale = 10;
- Parameters:
value
- The scale to set.- Returns:
- This builder for chaining.
-
clearScale
public BufrCdmIndexProto.Field.Builder clearScale()
bufr scale and offset
int32 scale = 10;
- Returns:
- This builder for chaining.
-
getReference
public int getReference()
int32 reference = 11;
- Specified by:
getReference
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The reference.
-
setReference
public BufrCdmIndexProto.Field.Builder setReference(int value)
int32 reference = 11;
- Parameters:
value
- The reference to set.- Returns:
- This builder for chaining.
-
clearReference
public BufrCdmIndexProto.Field.Builder clearReference()
int32 reference = 11;
- Returns:
- This builder for chaining.
-
getBitWidth
public int getBitWidth()
int32 bitWidth = 12;
- Specified by:
getBitWidth
in interfaceBufrCdmIndexProto.FieldOrBuilder
- Returns:
- The bitWidth.
-
setBitWidth
public BufrCdmIndexProto.Field.Builder setBitWidth(int value)
int32 bitWidth = 12;
- Parameters:
value
- The bitWidth to set.- Returns:
- This builder for chaining.
-
clearBitWidth
public BufrCdmIndexProto.Field.Builder clearBitWidth()
int32 bitWidth = 12;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final BufrCdmIndexProto.Field.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BufrCdmIndexProto.Field.Builder>
-
mergeUnknownFields
public final BufrCdmIndexProto.Field.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BufrCdmIndexProto.Field.Builder>
-
-