Package uk.org.siri.www.siri
Class ServiceNotAvailableErrorStructure.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ServiceNotAvailableErrorStructure.Builder>
com.google.protobuf.GeneratedMessage.Builder<ServiceNotAvailableErrorStructure.Builder>
uk.org.siri.www.siri.ServiceNotAvailableErrorStructure.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,ServiceNotAvailableErrorStructureOrBuilder
- Enclosing class:
ServiceNotAvailableErrorStructure
public static final class ServiceNotAvailableErrorStructure.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ServiceNotAvailableErrorStructure.Builder>
implements ServiceNotAvailableErrorStructureOrBuilder
Type for Service Not Available error. [siri/siri_request_errorConditions-v2.0.xsd at 364:60]Protobuf type
uk.org.siri.www.siri.ServiceNotAvailableErrorStructure-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Addtional Description of error.Expected time for reavailability of service.Error code number associated with error.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorAddtional Description of error.com.google.protobuf.ByteStringAddtional Description of error.com.google.protobuf.TimestampExpected time for reavailability of service.com.google.protobuf.Timestamp.BuilderExpected time for reavailability of service.com.google.protobuf.TimestampOrBuilderExpected time for reavailability of service.intError code number associated with error.booleanExpected time for reavailability of service.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeExpectedRestartTime(com.google.protobuf.Timestamp value) Expected time for reavailability of service.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setErrorText(String value) Addtional Description of error.setErrorTextBytes(com.google.protobuf.ByteString value) Addtional Description of error.setExpectedRestartTime(com.google.protobuf.Timestamp value) Expected time for reavailability of service.setExpectedRestartTime(com.google.protobuf.Timestamp.Builder builderForValue) Expected time for reavailability of service.setNumber(int value) Error code number associated with error.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<ServiceNotAvailableErrorStructure.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<ServiceNotAvailableErrorStructure.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<ServiceNotAvailableErrorStructure.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<ServiceNotAvailableErrorStructure.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ServiceNotAvailableErrorStructure.Builder>
-
mergeFrom
public ServiceNotAvailableErrorStructure.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<ServiceNotAvailableErrorStructure.Builder>- Throws:
IOException
-
getNumber
public int getNumber()Error code number associated with error. [siri/siri_request_errorConditions-v2.0.xsd at 168:51]
int32 number = 1;- Specified by:
getNumberin interfaceServiceNotAvailableErrorStructureOrBuilder- Returns:
- The number.
-
setNumber
Error code number associated with error. [siri/siri_request_errorConditions-v2.0.xsd at 168:51]
int32 number = 1;- Parameters:
value- The number to set.- Returns:
- This builder for chaining.
-
clearNumber
Error code number associated with error. [siri/siri_request_errorConditions-v2.0.xsd at 168:51]
int32 number = 1;- Returns:
- This builder for chaining.
-
getErrorText
Addtional Description of error. This allows a descripotion to be supplied when the Error code is used in a specific WSDL fault, rather than within a general error condition. [siri/siri_request_errorConditions-v2.0.xsd at 162:66]
string error_text = 2;- Specified by:
getErrorTextin interfaceServiceNotAvailableErrorStructureOrBuilder- Returns:
- The errorText.
-
getErrorTextBytes
public com.google.protobuf.ByteString getErrorTextBytes()Addtional Description of error. This allows a descripotion to be supplied when the Error code is used in a specific WSDL fault, rather than within a general error condition. [siri/siri_request_errorConditions-v2.0.xsd at 162:66]
string error_text = 2;- Specified by:
getErrorTextBytesin interfaceServiceNotAvailableErrorStructureOrBuilder- Returns:
- The bytes for errorText.
-
setErrorText
Addtional Description of error. This allows a descripotion to be supplied when the Error code is used in a specific WSDL fault, rather than within a general error condition. [siri/siri_request_errorConditions-v2.0.xsd at 162:66]
string error_text = 2;- Parameters:
value- The errorText to set.- Returns:
- This builder for chaining.
-
clearErrorText
Addtional Description of error. This allows a descripotion to be supplied when the Error code is used in a specific WSDL fault, rather than within a general error condition. [siri/siri_request_errorConditions-v2.0.xsd at 162:66]
string error_text = 2;- Returns:
- This builder for chaining.
-
setErrorTextBytes
public ServiceNotAvailableErrorStructure.Builder setErrorTextBytes(com.google.protobuf.ByteString value) Addtional Description of error. This allows a descripotion to be supplied when the Error code is used in a specific WSDL fault, rather than within a general error condition. [siri/siri_request_errorConditions-v2.0.xsd at 162:66]
string error_text = 2;- Parameters:
value- The bytes for errorText to set.- Returns:
- This builder for chaining.
-
hasExpectedRestartTime
public boolean hasExpectedRestartTime()Expected time for reavailability of service. +SIRI v2.0 [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
.google.protobuf.Timestamp expected_restart_time = 21;- Specified by:
hasExpectedRestartTimein interfaceServiceNotAvailableErrorStructureOrBuilder- Returns:
- Whether the expectedRestartTime field is set.
-
getExpectedRestartTime
public com.google.protobuf.Timestamp getExpectedRestartTime()Expected time for reavailability of service. +SIRI v2.0 [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
.google.protobuf.Timestamp expected_restart_time = 21;- Specified by:
getExpectedRestartTimein interfaceServiceNotAvailableErrorStructureOrBuilder- Returns:
- The expectedRestartTime.
-
setExpectedRestartTime
public ServiceNotAvailableErrorStructure.Builder setExpectedRestartTime(com.google.protobuf.Timestamp value) Expected time for reavailability of service. +SIRI v2.0 [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
.google.protobuf.Timestamp expected_restart_time = 21; -
setExpectedRestartTime
public ServiceNotAvailableErrorStructure.Builder setExpectedRestartTime(com.google.protobuf.Timestamp.Builder builderForValue) Expected time for reavailability of service. +SIRI v2.0 [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
.google.protobuf.Timestamp expected_restart_time = 21; -
mergeExpectedRestartTime
public ServiceNotAvailableErrorStructure.Builder mergeExpectedRestartTime(com.google.protobuf.Timestamp value) Expected time for reavailability of service. +SIRI v2.0 [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
.google.protobuf.Timestamp expected_restart_time = 21; -
clearExpectedRestartTime
Expected time for reavailability of service. +SIRI v2.0 [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
.google.protobuf.Timestamp expected_restart_time = 21; -
getExpectedRestartTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpectedRestartTimeBuilder()Expected time for reavailability of service. +SIRI v2.0 [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
.google.protobuf.Timestamp expected_restart_time = 21; -
getExpectedRestartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpectedRestartTimeOrBuilder()Expected time for reavailability of service. +SIRI v2.0 [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
.google.protobuf.Timestamp expected_restart_time = 21;- Specified by:
getExpectedRestartTimeOrBuilderin interfaceServiceNotAvailableErrorStructureOrBuilder
-