Package net.opengis.www.gml.v3_2
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 TypeMethodDescriptionaddAllValue(Iterable<String> values) 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.build()clear()[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.Descriptorcom.google.protobuf.Descriptors.DescriptorgetValue(int index) gml:CodeListType provides for lists of terms.com.google.protobuf.ByteStringgetValueBytes(int index) gml:CodeListType provides for lists of terms.intgml:CodeListType provides for lists of terms.com.google.protobuf.ProtocolStringListgml:CodeListType provides for lists of terms.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CodeListType other) setCodeSpace(String value) [gml/basicTypes.xsd at 232:48]setCodeSpaceBytes(com.google.protobuf.ByteString value) [gml/basicTypes.xsd at 232:48]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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CodeListType.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CodeListType.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.GeneratedMessage.Builder<CodeListType.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CodeListType.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CodeListType.Builder>- Throws:
IOException
-
getCodeSpace
[gml/basicTypes.xsd at 232:48]
string code_space = 1;- Specified by:
getCodeSpacein interfaceCodeListTypeOrBuilder- Returns:
- The codeSpace.
-
getCodeSpaceBytes
public com.google.protobuf.ByteString getCodeSpaceBytes()[gml/basicTypes.xsd at 232:48]
string code_space = 1;- Specified by:
getCodeSpaceBytesin interfaceCodeListTypeOrBuilder- Returns:
- The bytes for codeSpace.
-
setCodeSpace
[gml/basicTypes.xsd at 232:48]
string code_space = 1;- Parameters:
value- The codeSpace to set.- Returns:
- This builder for chaining.
-
clearCodeSpace
[gml/basicTypes.xsd at 232:48]
string code_space = 1;- Returns:
- This builder for chaining.
-
setCodeSpaceBytes
[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:
getValueListin interfaceCodeListTypeOrBuilder- 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:
getValueCountin interfaceCodeListTypeOrBuilder- Returns:
- The count of value.
-
getValue
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:
getValuein interfaceCodeListTypeOrBuilder- 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:
getValueBytesin interfaceCodeListTypeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the value at the given index.
-
setValue
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
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
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
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
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.
-