Package net.opengis.www.gml.v3_2
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 Summary
Modifier and TypeMethodDescriptionaddAllValue(Iterable<String> values) gml:CodeOrNilReasonListType provides for lists of terms.gml:CodeOrNilReasonListType provides for lists of terms.addValueBytes(com.google.protobuf.ByteString value) gml:CodeOrNilReasonListType provides for lists of terms.build()clear()[gml/basicTypes.xsd at 242:48]gml:CodeOrNilReasonListType provides for lists of terms.[gml/basicTypes.xsd at 242:48]com.google.protobuf.ByteString[gml/basicTypes.xsd at 242:48]static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetValue(int index) gml:CodeOrNilReasonListType provides for lists of terms.com.google.protobuf.ByteStringgetValueBytes(int index) gml:CodeOrNilReasonListType provides for lists of terms.intgml:CodeOrNilReasonListType provides for lists of terms.com.google.protobuf.ProtocolStringListgml:CodeOrNilReasonListType 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(CodeOrNilReasonListType other) setCodeSpace(String value) [gml/basicTypes.xsd at 242:48]setCodeSpaceBytes(com.google.protobuf.ByteString value) [gml/basicTypes.xsd at 242:48]gml:CodeOrNilReasonListType 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<CodeOrNilReasonListType.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<CodeOrNilReasonListType.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<CodeOrNilReasonListType.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<CodeOrNilReasonListType.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CodeOrNilReasonListType.Builder>- Throws:
IOException
-
getCodeSpace
[gml/basicTypes.xsd at 242:48]
string code_space = 1;- Specified by:
getCodeSpacein interfaceCodeOrNilReasonListTypeOrBuilder- Returns:
- The codeSpace.
-
getCodeSpaceBytes
public com.google.protobuf.ByteString getCodeSpaceBytes()[gml/basicTypes.xsd at 242:48]
string code_space = 1;- Specified by:
getCodeSpaceBytesin interfaceCodeOrNilReasonListTypeOrBuilder- Returns:
- The bytes for codeSpace.
-
setCodeSpace
[gml/basicTypes.xsd at 242:48]
string code_space = 1;- Parameters:
value- The codeSpace to set.- Returns:
- This builder for chaining.
-
clearCodeSpace
[gml/basicTypes.xsd at 242:48]
string code_space = 1;- Returns:
- This builder for chaining.
-
setCodeSpaceBytes
[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:
getValueListin interfaceCodeOrNilReasonListTypeOrBuilder- 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:
getValueCountin interfaceCodeOrNilReasonListTypeOrBuilder- Returns:
- The count of value.
-
getValue
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:
getValuein interfaceCodeOrNilReasonListTypeOrBuilder- 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:
getValueBytesin interfaceCodeOrNilReasonListTypeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the value at the given index.
-
setValue
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
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
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
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
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.
-