Class CodeOrNilReasonListType.Builder

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

public static final class CodeOrNilReasonListType.Builder extends com.google.protobuf.GeneratedMessage.Builder<CodeOrNilReasonListType.Builder> implements CodeOrNilReasonListTypeOrBuilder
 gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 236:46]
 
Protobuf type net.opengis.www.gml.v3_2.CodeOrNilReasonListType
  • 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<CodeOrNilReasonListType.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<CodeOrNilReasonListType.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<CodeOrNilReasonListType.Builder>
    • getDefaultInstanceForType

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

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

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

      public CodeOrNilReasonListType.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<CodeOrNilReasonListType.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<CodeOrNilReasonListType.Builder>
    • mergeFrom

      public CodeOrNilReasonListType.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<CodeOrNilReasonListType.Builder>
      Throws:
      IOException
    • getCodeSpace

      public String getCodeSpace()
       [gml/basicTypes.xsd at 242:48]
       
      string code_space = 1;
      Specified by:
      getCodeSpace in interface CodeOrNilReasonListTypeOrBuilder
      Returns:
      The codeSpace.
    • getCodeSpaceBytes

      public com.google.protobuf.ByteString getCodeSpaceBytes()
       [gml/basicTypes.xsd at 242:48]
       
      string code_space = 1;
      Specified by:
      getCodeSpaceBytes in interface CodeOrNilReasonListTypeOrBuilder
      Returns:
      The bytes for codeSpace.
    • setCodeSpace

      public CodeOrNilReasonListType.Builder setCodeSpace(String value)
       [gml/basicTypes.xsd at 242:48]
       
      string code_space = 1;
      Parameters:
      value - The codeSpace to set.
      Returns:
      This builder for chaining.
    • clearCodeSpace

      public CodeOrNilReasonListType.Builder clearCodeSpace()
       [gml/basicTypes.xsd at 242:48]
       
      string code_space = 1;
      Returns:
      This builder for chaining.
    • setCodeSpaceBytes

      public CodeOrNilReasonListType.Builder setCodeSpaceBytes(com.google.protobuf.ByteString value)
       [gml/basicTypes.xsd at 242:48]
       
      string code_space = 1;
      Parameters:
      value - The bytes for codeSpace to set.
      Returns:
      This builder for chaining.
    • getValueList

      public com.google.protobuf.ProtocolStringList getValueList()
       gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 236:46]
       
      repeated string value = 2;
      Specified by:
      getValueList in interface CodeOrNilReasonListTypeOrBuilder
      Returns:
      A list containing the value.
    • getValueCount

      public int getValueCount()
       gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 236:46]
       
      repeated string value = 2;
      Specified by:
      getValueCount in interface CodeOrNilReasonListTypeOrBuilder
      Returns:
      The count of value.
    • getValue

      public String getValue(int index)
       gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 236:46]
       
      repeated string value = 2;
      Specified by:
      getValue in interface CodeOrNilReasonListTypeOrBuilder
      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:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 236:46]
       
      repeated string value = 2;
      Specified by:
      getValueBytes in interface CodeOrNilReasonListTypeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the value at the given index.
    • setValue

      public CodeOrNilReasonListType.Builder setValue(int index, String value)
       gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 236:46]
       
      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 CodeOrNilReasonListType.Builder addValue(String value)
       gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 236:46]
       
      repeated string value = 2;
      Parameters:
      value - The value to add.
      Returns:
      This builder for chaining.
    • addAllValue

      public CodeOrNilReasonListType.Builder addAllValue(Iterable<String> values)
       gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 236:46]
       
      repeated string value = 2;
      Parameters:
      values - The value to add.
      Returns:
      This builder for chaining.
    • clearValue

      public CodeOrNilReasonListType.Builder clearValue()
       gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 236:46]
       
      repeated string value = 2;
      Returns:
      This builder for chaining.
    • addValueBytes

      public CodeOrNilReasonListType.Builder addValueBytes(com.google.protobuf.ByteString value)
       gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason.  [gml/basicTypes.xsd at 236:46]
       
      repeated string value = 2;
      Parameters:
      value - The bytes of the value to add.
      Returns:
      This builder for chaining.