Class CodeListType.Builder

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

public static final class CodeListType.Builder extends com.google.protobuf.GeneratedMessage.Builder<CodeListType.Builder> implements CodeListTypeOrBuilder
 gml:CodeListType 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.  [gml/basicTypes.xsd at 226:35]
 
Protobuf type net.opengis.www.gml.v3_2.CodeListType
  • Method Summary

    Modifier and Type
    Method
    Description
    gml:CodeListType provides for lists of terms.
    gml:CodeListType provides for lists of terms.
    addValueBytes(com.google.protobuf.ByteString value)
    gml:CodeListType provides for lists of terms.
     
     
     
    [gml/basicTypes.xsd at 232:48]
    gml:CodeListType provides for lists of terms.
    [gml/basicTypes.xsd at 232:48]
    com.google.protobuf.ByteString
    [gml/basicTypes.xsd at 232:48]
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    getValue(int index)
    gml:CodeListType provides for lists of terms.
    com.google.protobuf.ByteString
    getValueBytes(int index)
    gml:CodeListType provides for lists of terms.
    int
    gml:CodeListType provides for lists of terms.
    com.google.protobuf.ProtocolStringList
    gml:CodeListType provides for lists of terms.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    [gml/basicTypes.xsd at 232:48]
    setCodeSpaceBytes(com.google.protobuf.ByteString value)
    [gml/basicTypes.xsd at 232:48]
    setValue(int index, String value)
    gml:CodeListType provides for lists of terms.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<CodeListType.Builder>
    • clear

      public CodeListType.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<CodeListType.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<CodeListType.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public CodeListType.Builder mergeFrom(CodeListType other)
    • isInitialized

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

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

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

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

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

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

      public CodeListType.Builder setCodeSpaceBytes(com.google.protobuf.ByteString value)
       [gml/basicTypes.xsd at 232: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:CodeListType 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.  [gml/basicTypes.xsd at 226:35]
       
      repeated string value = 2;
      Specified by:
      getValueList in interface CodeListTypeOrBuilder
      Returns:
      A list containing the value.
    • getValueCount

      public int getValueCount()
       gml:CodeListType 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.  [gml/basicTypes.xsd at 226:35]
       
      repeated string value = 2;
      Specified by:
      getValueCount in interface CodeListTypeOrBuilder
      Returns:
      The count of value.
    • getValue

      public String getValue(int index)
       gml:CodeListType 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.  [gml/basicTypes.xsd at 226:35]
       
      repeated string value = 2;
      Specified by:
      getValue in interface CodeListTypeOrBuilder
      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:CodeListType 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.  [gml/basicTypes.xsd at 226:35]
       
      repeated string value = 2;
      Specified by:
      getValueBytes in interface CodeListTypeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the value at the given index.
    • setValue

      public CodeListType.Builder setValue(int index, String value)
       gml:CodeListType 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.  [gml/basicTypes.xsd at 226:35]
       
      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 CodeListType.Builder addValue(String value)
       gml:CodeListType 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.  [gml/basicTypes.xsd at 226:35]
       
      repeated string value = 2;
      Parameters:
      value - The value to add.
      Returns:
      This builder for chaining.
    • addAllValue

      public CodeListType.Builder addAllValue(Iterable<String> values)
       gml:CodeListType 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.  [gml/basicTypes.xsd at 226:35]
       
      repeated string value = 2;
      Parameters:
      values - The value to add.
      Returns:
      This builder for chaining.
    • clearValue

      public CodeListType.Builder clearValue()
       gml:CodeListType 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.  [gml/basicTypes.xsd at 226:35]
       
      repeated string value = 2;
      Returns:
      This builder for chaining.
    • addValueBytes

      public CodeListType.Builder addValueBytes(com.google.protobuf.ByteString value)
       gml:CodeListType 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.  [gml/basicTypes.xsd at 226:35]
       
      repeated string value = 2;
      Parameters:
      value - The bytes of the value to add.
      Returns:
      This builder for chaining.