Class MeasureOrNilReasonListType.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<MeasureOrNilReasonListType.Builder>
com.google.protobuf.GeneratedMessage.Builder<MeasureOrNilReasonListType.Builder>
net.opengis.www.gml.v3_2.MeasureOrNilReasonListType.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, MeasureOrNilReasonListTypeOrBuilder
Enclosing class:
MeasureOrNilReasonListType

public static final class MeasureOrNilReasonListType.Builder extends com.google.protobuf.GeneratedMessage.Builder<MeasureOrNilReasonListType.Builder> implements MeasureOrNilReasonListTypeOrBuilder
 gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 256:49]
 
Protobuf type net.opengis.www.gml.v3_2.MeasureOrNilReasonListType
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MeasureOrNilReasonListType.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MeasureOrNilReasonListType.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MeasureOrNilReasonListType.Builder>
    • getDefaultInstanceForType

      public MeasureOrNilReasonListType getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MeasureOrNilReasonListType buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MeasureOrNilReasonListType.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MeasureOrNilReasonListType.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MeasureOrNilReasonListType.Builder>
    • mergeFrom

      public MeasureOrNilReasonListType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MeasureOrNilReasonListType.Builder>
      Throws:
      IOException
    • getUom

      public String getUom()
       [gml/basicTypes.xsd at 262:68]
       
      string uom = 1;
      Specified by:
      getUom in interface MeasureOrNilReasonListTypeOrBuilder
      Returns:
      The uom.
    • getUomBytes

      public com.google.protobuf.ByteString getUomBytes()
       [gml/basicTypes.xsd at 262:68]
       
      string uom = 1;
      Specified by:
      getUomBytes in interface MeasureOrNilReasonListTypeOrBuilder
      Returns:
      The bytes for uom.
    • setUom

       [gml/basicTypes.xsd at 262:68]
       
      string uom = 1;
      Parameters:
      value - The uom to set.
      Returns:
      This builder for chaining.
    • clearUom

       [gml/basicTypes.xsd at 262:68]
       
      string uom = 1;
      Returns:
      This builder for chaining.
    • setUomBytes

      public MeasureOrNilReasonListType.Builder setUomBytes(com.google.protobuf.ByteString value)
       [gml/basicTypes.xsd at 262:68]
       
      string uom = 1;
      Parameters:
      value - The bytes for uom to set.
      Returns:
      This builder for chaining.
    • getValueList

      public com.google.protobuf.ProtocolStringList getValueList()
       gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 256:49]
       
      repeated string value = 2;
      Specified by:
      getValueList in interface MeasureOrNilReasonListTypeOrBuilder
      Returns:
      A list containing the value.
    • getValueCount

      public int getValueCount()
       gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 256:49]
       
      repeated string value = 2;
      Specified by:
      getValueCount in interface MeasureOrNilReasonListTypeOrBuilder
      Returns:
      The count of value.
    • getValue

      public String getValue(int index)
       gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 256:49]
       
      repeated string value = 2;
      Specified by:
      getValue in interface MeasureOrNilReasonListTypeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The value at the given index.
    • getValueBytes

      public com.google.protobuf.ByteString getValueBytes(int index)
       gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 256:49]
       
      repeated string value = 2;
      Specified by:
      getValueBytes in interface MeasureOrNilReasonListTypeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the value at the given index.
    • setValue

      public MeasureOrNilReasonListType.Builder setValue(int index, String value)
       gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 256:49]
       
      repeated string value = 2;
      Parameters:
      index - The index to set the value at.
      value - The value to set.
      Returns:
      This builder for chaining.
    • addValue

      public MeasureOrNilReasonListType.Builder addValue(String value)
       gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 256:49]
       
      repeated string value = 2;
      Parameters:
      value - The value to add.
      Returns:
      This builder for chaining.
    • addAllValue

      public MeasureOrNilReasonListType.Builder addAllValue(Iterable<String> values)
       gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 256:49]
       
      repeated string value = 2;
      Parameters:
      values - The value to add.
      Returns:
      This builder for chaining.
    • clearValue

       gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 256:49]
       
      repeated string value = 2;
      Returns:
      This builder for chaining.
    • addValueBytes

      public MeasureOrNilReasonListType.Builder addValueBytes(com.google.protobuf.ByteString value)
       gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 256:49]
       
      repeated string value = 2;
      Parameters:
      value - The bytes of the value to add.
      Returns:
      This builder for chaining.