Package uk.org.siri.www.siri
Class CapabilityRequestPolicyStructure.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CapabilityRequestPolicyStructure.Builder>
com.google.protobuf.GeneratedMessage.Builder<CapabilityRequestPolicyStructure.Builder>
uk.org.siri.www.siri.CapabilityRequestPolicyStructure.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,CapabilityRequestPolicyStructureOrBuilder
- Enclosing class:
CapabilityRequestPolicyStructure
public static final class CapabilityRequestPolicyStructure.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CapabilityRequestPolicyStructure.Builder>
implements CapabilityRequestPolicyStructureOrBuilder
Type for Common Request Policy capabilities. [siri/siri_requests-v2.0.xsd at 973:59]Protobuf type
uk.org.siri.www.siri.CapabilityRequestPolicyStructure-
Method Summary
Modifier and TypeMethodDescriptionaddAllNationalLanguage(Iterable<String> values) National languages supported by service.addNationalLanguage(String value) National languages supported by service.addNationalLanguageBytes(com.google.protobuf.ByteString value) National languages supported by service.build()clear()Name of GML Coordinate format used for Geospatial points in responses.National languages supported by service.Whether producer can provide multiple translations of NL text elements +SIRI 2.0 [siri/siri_requests-v2.0.xsd at 983:70]Geospatial coordinates are given as Wgs 84 Latiude and longitude, decimial degrees of arc.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorName of GML Coordinate format used for Geospatial points in responses.com.google.protobuf.ByteStringName of GML Coordinate format used for Geospatial points in responses.getNationalLanguage(int index) National languages supported by service.com.google.protobuf.ByteStringgetNationalLanguageBytes(int index) National languages supported by service.intNational languages supported by service.com.google.protobuf.ProtocolStringListNational languages supported by service.booleanWhether producer can provide multiple translations of NL text elements +SIRI 2.0 [siri/siri_requests-v2.0.xsd at 983:70]Geospatial coordinates are given as Wgs 84 Latiude and longitude, decimial degrees of arc.intGeospatial coordinates are given as Wgs 84 Latiude and longitude, decimial degrees of arc.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setGmlCoordinateFormat(String value) Name of GML Coordinate format used for Geospatial points in responses.setGmlCoordinateFormatBytes(com.google.protobuf.ByteString value) Name of GML Coordinate format used for Geospatial points in responses.setNationalLanguage(int index, String value) National languages supported by service.setTranslations(boolean value) Whether producer can provide multiple translations of NL text elements +SIRI 2.0 [siri/siri_requests-v2.0.xsd at 983:70]setWgsDecimalDegrees(EmptyType value) Geospatial coordinates are given as Wgs 84 Latiude and longitude, decimial degrees of arc.setWgsDecimalDegreesValue(int value) Geospatial coordinates are given as Wgs 84 Latiude and longitude, decimial degrees of arc.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<CapabilityRequestPolicyStructure.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<CapabilityRequestPolicyStructure.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<CapabilityRequestPolicyStructure.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<CapabilityRequestPolicyStructure.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CapabilityRequestPolicyStructure.Builder>
-
mergeFrom
public CapabilityRequestPolicyStructure.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<CapabilityRequestPolicyStructure.Builder>- Throws:
IOException
-
getNationalLanguageList
public com.google.protobuf.ProtocolStringList getNationalLanguageList()National languages supported by service. [siri/siri_requests-v2.0.xsd at 978:83]
repeated string national_language = 1;- Specified by:
getNationalLanguageListin interfaceCapabilityRequestPolicyStructureOrBuilder- Returns:
- A list containing the nationalLanguage.
-
getNationalLanguageCount
public int getNationalLanguageCount()National languages supported by service. [siri/siri_requests-v2.0.xsd at 978:83]
repeated string national_language = 1;- Specified by:
getNationalLanguageCountin interfaceCapabilityRequestPolicyStructureOrBuilder- Returns:
- The count of nationalLanguage.
-
getNationalLanguage
National languages supported by service. [siri/siri_requests-v2.0.xsd at 978:83]
repeated string national_language = 1;- Specified by:
getNationalLanguagein interfaceCapabilityRequestPolicyStructureOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The nationalLanguage at the given index.
-
getNationalLanguageBytes
public com.google.protobuf.ByteString getNationalLanguageBytes(int index) National languages supported by service. [siri/siri_requests-v2.0.xsd at 978:83]
repeated string national_language = 1;- Specified by:
getNationalLanguageBytesin interfaceCapabilityRequestPolicyStructureOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the nationalLanguage at the given index.
-
setNationalLanguage
National languages supported by service. [siri/siri_requests-v2.0.xsd at 978:83]
repeated string national_language = 1;- Parameters:
index- The index to set the value at.value- The nationalLanguage to set.- Returns:
- This builder for chaining.
-
addNationalLanguage
National languages supported by service. [siri/siri_requests-v2.0.xsd at 978:83]
repeated string national_language = 1;- Parameters:
value- The nationalLanguage to add.- Returns:
- This builder for chaining.
-
addAllNationalLanguage
National languages supported by service. [siri/siri_requests-v2.0.xsd at 978:83]
repeated string national_language = 1;- Parameters:
values- The nationalLanguage to add.- Returns:
- This builder for chaining.
-
clearNationalLanguage
National languages supported by service. [siri/siri_requests-v2.0.xsd at 978:83]
repeated string national_language = 1;- Returns:
- This builder for chaining.
-
addNationalLanguageBytes
public CapabilityRequestPolicyStructure.Builder addNationalLanguageBytes(com.google.protobuf.ByteString value) National languages supported by service. [siri/siri_requests-v2.0.xsd at 978:83]
repeated string national_language = 1;- Parameters:
value- The bytes of the nationalLanguage to add.- Returns:
- This builder for chaining.
-
getTranslations
public boolean getTranslations()Whether producer can provide multiple translations of NL text elements +SIRI 2.0 [siri/siri_requests-v2.0.xsd at 983:70]
bool translations = 2;- Specified by:
getTranslationsin interfaceCapabilityRequestPolicyStructureOrBuilder- Returns:
- The translations.
-
setTranslations
Whether producer can provide multiple translations of NL text elements +SIRI 2.0 [siri/siri_requests-v2.0.xsd at 983:70]
bool translations = 2;- Parameters:
value- The translations to set.- Returns:
- This builder for chaining.
-
clearTranslations
Whether producer can provide multiple translations of NL text elements +SIRI 2.0 [siri/siri_requests-v2.0.xsd at 983:70]
bool translations = 2;- Returns:
- This builder for chaining.
-
getGmlCoordinateFormat
Name of GML Coordinate format used for Geospatial points in responses. [siri/siri_requests-v2.0.xsd at 992:64]
string gml_coordinate_format = 3;- Specified by:
getGmlCoordinateFormatin interfaceCapabilityRequestPolicyStructureOrBuilder- Returns:
- The gmlCoordinateFormat.
-
getGmlCoordinateFormatBytes
public com.google.protobuf.ByteString getGmlCoordinateFormatBytes()Name of GML Coordinate format used for Geospatial points in responses. [siri/siri_requests-v2.0.xsd at 992:64]
string gml_coordinate_format = 3;- Specified by:
getGmlCoordinateFormatBytesin interfaceCapabilityRequestPolicyStructureOrBuilder- Returns:
- The bytes for gmlCoordinateFormat.
-
setGmlCoordinateFormat
Name of GML Coordinate format used for Geospatial points in responses. [siri/siri_requests-v2.0.xsd at 992:64]
string gml_coordinate_format = 3;- Parameters:
value- The gmlCoordinateFormat to set.- Returns:
- This builder for chaining.
-
clearGmlCoordinateFormat
Name of GML Coordinate format used for Geospatial points in responses. [siri/siri_requests-v2.0.xsd at 992:64]
string gml_coordinate_format = 3;- Returns:
- This builder for chaining.
-
setGmlCoordinateFormatBytes
public CapabilityRequestPolicyStructure.Builder setGmlCoordinateFormatBytes(com.google.protobuf.ByteString value) Name of GML Coordinate format used for Geospatial points in responses. [siri/siri_requests-v2.0.xsd at 992:64]
string gml_coordinate_format = 3;- Parameters:
value- The bytes for gmlCoordinateFormat to set.- Returns:
- This builder for chaining.
-
getWgsDecimalDegreesValue
public int getWgsDecimalDegreesValue()Geospatial coordinates are given as Wgs 84 Latiude and longitude, decimial degrees of arc. [siri/siri_requests-v2.0.xsd at 997:60]
.uk.org.siri.www.siri.EmptyType wgs_decimal_degrees = 4;- Specified by:
getWgsDecimalDegreesValuein interfaceCapabilityRequestPolicyStructureOrBuilder- Returns:
- The enum numeric value on the wire for wgsDecimalDegrees.
-
setWgsDecimalDegreesValue
Geospatial coordinates are given as Wgs 84 Latiude and longitude, decimial degrees of arc. [siri/siri_requests-v2.0.xsd at 997:60]
.uk.org.siri.www.siri.EmptyType wgs_decimal_degrees = 4;- Parameters:
value- The enum numeric value on the wire for wgsDecimalDegrees to set.- Returns:
- This builder for chaining.
-
getWgsDecimalDegrees
Geospatial coordinates are given as Wgs 84 Latiude and longitude, decimial degrees of arc. [siri/siri_requests-v2.0.xsd at 997:60]
.uk.org.siri.www.siri.EmptyType wgs_decimal_degrees = 4;- Specified by:
getWgsDecimalDegreesin interfaceCapabilityRequestPolicyStructureOrBuilder- Returns:
- The wgsDecimalDegrees.
-
setWgsDecimalDegrees
Geospatial coordinates are given as Wgs 84 Latiude and longitude, decimial degrees of arc. [siri/siri_requests-v2.0.xsd at 997:60]
.uk.org.siri.www.siri.EmptyType wgs_decimal_degrees = 4;- Parameters:
value- The wgsDecimalDegrees to set.- Returns:
- This builder for chaining.
-
clearWgsDecimalDegrees
Geospatial coordinates are given as Wgs 84 Latiude and longitude, decimial degrees of arc. [siri/siri_requests-v2.0.xsd at 997:60]
.uk.org.siri.www.siri.EmptyType wgs_decimal_degrees = 4;- Returns:
- This builder for chaining.
-