Class AuthenticatedRequestStructure.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<AuthenticatedRequestStructure.Builder>
com.google.protobuf.GeneratedMessage.Builder<AuthenticatedRequestStructure.Builder>
uk.org.siri.www.siri.AuthenticatedRequestStructure.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, AuthenticatedRequestStructureOrBuilder
Enclosing class:
AuthenticatedRequestStructure

public static final class AuthenticatedRequestStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuthenticatedRequestStructure.Builder> implements AuthenticatedRequestStructureOrBuilder
 Type for Authticated SIRI Request.  [siri/siri_requests-v2.0.xsd at 147:72]
 
Protobuf type uk.org.siri.www.siri.AuthenticatedRequestStructure
  • 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<AuthenticatedRequestStructure.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<AuthenticatedRequestStructure.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<AuthenticatedRequestStructure.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public AuthenticatedRequestStructure.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<AuthenticatedRequestStructure.Builder>
      Throws:
      IOException
    • hasRequestTimestamp

      public boolean hasRequestTimestamp()
       Timestamp on request.  [siri/siri_request_support-v2.0.xsd at 105:59]
       
      .google.protobuf.Timestamp request_timestamp = 1;
      Specified by:
      hasRequestTimestamp in interface AuthenticatedRequestStructureOrBuilder
      Returns:
      Whether the requestTimestamp field is set.
    • getRequestTimestamp

      public com.google.protobuf.Timestamp getRequestTimestamp()
       Timestamp on request.  [siri/siri_request_support-v2.0.xsd at 105:59]
       
      .google.protobuf.Timestamp request_timestamp = 1;
      Specified by:
      getRequestTimestamp in interface AuthenticatedRequestStructureOrBuilder
      Returns:
      The requestTimestamp.
    • setRequestTimestamp

      public AuthenticatedRequestStructure.Builder setRequestTimestamp(com.google.protobuf.Timestamp value)
       Timestamp on request.  [siri/siri_request_support-v2.0.xsd at 105:59]
       
      .google.protobuf.Timestamp request_timestamp = 1;
    • setRequestTimestamp

      public AuthenticatedRequestStructure.Builder setRequestTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp on request.  [siri/siri_request_support-v2.0.xsd at 105:59]
       
      .google.protobuf.Timestamp request_timestamp = 1;
    • mergeRequestTimestamp

      public AuthenticatedRequestStructure.Builder mergeRequestTimestamp(com.google.protobuf.Timestamp value)
       Timestamp on request.  [siri/siri_request_support-v2.0.xsd at 105:59]
       
      .google.protobuf.Timestamp request_timestamp = 1;
    • clearRequestTimestamp

      public AuthenticatedRequestStructure.Builder clearRequestTimestamp()
       Timestamp on request.  [siri/siri_request_support-v2.0.xsd at 105:59]
       
      .google.protobuf.Timestamp request_timestamp = 1;
    • getRequestTimestampBuilder

      public com.google.protobuf.Timestamp.Builder getRequestTimestampBuilder()
       Timestamp on request.  [siri/siri_request_support-v2.0.xsd at 105:59]
       
      .google.protobuf.Timestamp request_timestamp = 1;
    • getRequestTimestampOrBuilder

      public com.google.protobuf.TimestampOrBuilder getRequestTimestampOrBuilder()
       Timestamp on request.  [siri/siri_request_support-v2.0.xsd at 105:59]
       
      .google.protobuf.Timestamp request_timestamp = 1;
      Specified by:
      getRequestTimestampOrBuilder in interface AuthenticatedRequestStructureOrBuilder
    • getAccountId

      public String getAccountId()
       Account Identifier. May be used to attribute requests to a particular application provider and authentication key. The account  may be common to all users of an application, or to an individual user. Note that to identify an individual user the  RequestorRef can be used with an anonymised token.  .     +SIRI v2.0  [siri/siri_requests-v2.0.xsd at 162:67]
       
      string account_id = 21;
      Specified by:
      getAccountId in interface AuthenticatedRequestStructureOrBuilder
      Returns:
      The accountId.
    • getAccountIdBytes

      public com.google.protobuf.ByteString getAccountIdBytes()
       Account Identifier. May be used to attribute requests to a particular application provider and authentication key. The account  may be common to all users of an application, or to an individual user. Note that to identify an individual user the  RequestorRef can be used with an anonymised token.  .     +SIRI v2.0  [siri/siri_requests-v2.0.xsd at 162:67]
       
      string account_id = 21;
      Specified by:
      getAccountIdBytes in interface AuthenticatedRequestStructureOrBuilder
      Returns:
      The bytes for accountId.
    • setAccountId

      public AuthenticatedRequestStructure.Builder setAccountId(String value)
       Account Identifier. May be used to attribute requests to a particular application provider and authentication key. The account  may be common to all users of an application, or to an individual user. Note that to identify an individual user the  RequestorRef can be used with an anonymised token.  .     +SIRI v2.0  [siri/siri_requests-v2.0.xsd at 162:67]
       
      string account_id = 21;
      Parameters:
      value - The accountId to set.
      Returns:
      This builder for chaining.
    • clearAccountId

      public AuthenticatedRequestStructure.Builder clearAccountId()
       Account Identifier. May be used to attribute requests to a particular application provider and authentication key. The account  may be common to all users of an application, or to an individual user. Note that to identify an individual user the  RequestorRef can be used with an anonymised token.  .     +SIRI v2.0  [siri/siri_requests-v2.0.xsd at 162:67]
       
      string account_id = 21;
      Returns:
      This builder for chaining.
    • setAccountIdBytes

      public AuthenticatedRequestStructure.Builder setAccountIdBytes(com.google.protobuf.ByteString value)
       Account Identifier. May be used to attribute requests to a particular application provider and authentication key. The account  may be common to all users of an application, or to an individual user. Note that to identify an individual user the  RequestorRef can be used with an anonymised token.  .     +SIRI v2.0  [siri/siri_requests-v2.0.xsd at 162:67]
       
      string account_id = 21;
      Parameters:
      value - The bytes for accountId to set.
      Returns:
      This builder for chaining.
    • getAccountKey

      public String getAccountKey()
       Authentication key for request. May be used to authenticate requests from a particular account. +SIRI v2.0  [siri/siri_requests-v2.0.xsd at 167:77]
       
      string account_key = 22;
      Specified by:
      getAccountKey in interface AuthenticatedRequestStructureOrBuilder
      Returns:
      The accountKey.
    • getAccountKeyBytes

      public com.google.protobuf.ByteString getAccountKeyBytes()
       Authentication key for request. May be used to authenticate requests from a particular account. +SIRI v2.0  [siri/siri_requests-v2.0.xsd at 167:77]
       
      string account_key = 22;
      Specified by:
      getAccountKeyBytes in interface AuthenticatedRequestStructureOrBuilder
      Returns:
      The bytes for accountKey.
    • setAccountKey

      public AuthenticatedRequestStructure.Builder setAccountKey(String value)
       Authentication key for request. May be used to authenticate requests from a particular account. +SIRI v2.0  [siri/siri_requests-v2.0.xsd at 167:77]
       
      string account_key = 22;
      Parameters:
      value - The accountKey to set.
      Returns:
      This builder for chaining.
    • clearAccountKey

      public AuthenticatedRequestStructure.Builder clearAccountKey()
       Authentication key for request. May be used to authenticate requests from a particular account. +SIRI v2.0  [siri/siri_requests-v2.0.xsd at 167:77]
       
      string account_key = 22;
      Returns:
      This builder for chaining.
    • setAccountKeyBytes

      public AuthenticatedRequestStructure.Builder setAccountKeyBytes(com.google.protobuf.ByteString value)
       Authentication key for request. May be used to authenticate requests from a particular account. +SIRI v2.0  [siri/siri_requests-v2.0.xsd at 167:77]
       
      string account_key = 22;
      Parameters:
      value - The bytes for accountKey to set.
      Returns:
      This builder for chaining.