Class StartOAuthResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.developerconnect.v1.StartOAuthResponse
All Implemented Interfaces:
StartOAuthResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class StartOAuthResponse extends com.google.protobuf.GeneratedMessage implements StartOAuthResponseOrBuilder
 Message for responding to starting an OAuth flow.
 
Protobuf type google.cloud.developerconnect.v1.StartOAuthResponse
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Message for responding to starting an OAuth flow.
    static enum 
     

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The authorization server URL to the OAuth flow of the service provider.
    com.google.protobuf.ByteString
    The authorization server URL to the OAuth flow of the service provider.
    The client ID to the OAuth App of the service provider.
    com.google.protobuf.ByteString
    The client ID to the OAuth App of the service provider.
    Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.1
    com.google.protobuf.ByteString
    Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.1
    Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.2
    com.google.protobuf.ByteString
    Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.2
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
     
    com.google.protobuf.Parser<StartOAuthResponse>
     
    getScopes(int index)
    The list of scopes requested by the application.
    com.google.protobuf.ByteString
    getScopesBytes(int index)
    The list of scopes requested by the application.
    int
    The list of scopes requested by the application.
    com.google.protobuf.ProtocolStringList
    The list of scopes requested by the application.
    int
     
    The ID of the system provider.
    int
    The ID of the system provider.
    The ticket to be used for post processing the callback from the service provider.
    com.google.protobuf.ByteString
    The ticket to be used for post processing the callback from the service provider.
    int
     
    boolean
    The ID of the system provider.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<StartOAuthResponse>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • SYSTEM_PROVIDER_ID_FIELD_NUMBER

      public static final int SYSTEM_PROVIDER_ID_FIELD_NUMBER
      See Also:
    • TICKET_FIELD_NUMBER

      public static final int TICKET_FIELD_NUMBER
      See Also:
    • CODE_CHALLENGE_FIELD_NUMBER

      public static final int CODE_CHALLENGE_FIELD_NUMBER
      See Also:
    • CODE_CHALLENGE_METHOD_FIELD_NUMBER

      public static final int CODE_CHALLENGE_METHOD_FIELD_NUMBER
      See Also:
    • CLIENT_ID_FIELD_NUMBER

      public static final int CLIENT_ID_FIELD_NUMBER
      See Also:
    • SCOPES_FIELD_NUMBER

      public static final int SCOPES_FIELD_NUMBER
      See Also:
    • AUTH_URI_FIELD_NUMBER

      public static final int AUTH_URI_FIELD_NUMBER
      See Also:
  • 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
    • getIdCase

      public StartOAuthResponse.IdCase getIdCase()
      Specified by:
      getIdCase in interface StartOAuthResponseOrBuilder
    • hasSystemProviderId

      public boolean hasSystemProviderId()
       The ID of the system provider.
       
      .google.cloud.developerconnect.v1.SystemProvider system_provider_id = 7;
      Specified by:
      hasSystemProviderId in interface StartOAuthResponseOrBuilder
      Returns:
      Whether the systemProviderId field is set.
    • getSystemProviderIdValue

      public int getSystemProviderIdValue()
       The ID of the system provider.
       
      .google.cloud.developerconnect.v1.SystemProvider system_provider_id = 7;
      Specified by:
      getSystemProviderIdValue in interface StartOAuthResponseOrBuilder
      Returns:
      The enum numeric value on the wire for systemProviderId.
    • getSystemProviderId

      public SystemProvider getSystemProviderId()
       The ID of the system provider.
       
      .google.cloud.developerconnect.v1.SystemProvider system_provider_id = 7;
      Specified by:
      getSystemProviderId in interface StartOAuthResponseOrBuilder
      Returns:
      The systemProviderId.
    • getTicket

      public String getTicket()
       The ticket to be used for post processing the callback from the service
       provider.
       
      string ticket = 1;
      Specified by:
      getTicket in interface StartOAuthResponseOrBuilder
      Returns:
      The ticket.
    • getTicketBytes

      public com.google.protobuf.ByteString getTicketBytes()
       The ticket to be used for post processing the callback from the service
       provider.
       
      string ticket = 1;
      Specified by:
      getTicketBytes in interface StartOAuthResponseOrBuilder
      Returns:
      The bytes for ticket.
    • getCodeChallenge

      public String getCodeChallenge()
       Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.1
       
      string code_challenge = 2;
      Specified by:
      getCodeChallenge in interface StartOAuthResponseOrBuilder
      Returns:
      The codeChallenge.
    • getCodeChallengeBytes

      public com.google.protobuf.ByteString getCodeChallengeBytes()
       Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.1
       
      string code_challenge = 2;
      Specified by:
      getCodeChallengeBytes in interface StartOAuthResponseOrBuilder
      Returns:
      The bytes for codeChallenge.
    • getCodeChallengeMethod

      public String getCodeChallengeMethod()
       Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.2
       
      string code_challenge_method = 3;
      Specified by:
      getCodeChallengeMethod in interface StartOAuthResponseOrBuilder
      Returns:
      The codeChallengeMethod.
    • getCodeChallengeMethodBytes

      public com.google.protobuf.ByteString getCodeChallengeMethodBytes()
       Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.2
       
      string code_challenge_method = 3;
      Specified by:
      getCodeChallengeMethodBytes in interface StartOAuthResponseOrBuilder
      Returns:
      The bytes for codeChallengeMethod.
    • getClientId

      public String getClientId()
       The client ID to the OAuth App of the service provider.
       
      string client_id = 4;
      Specified by:
      getClientId in interface StartOAuthResponseOrBuilder
      Returns:
      The clientId.
    • getClientIdBytes

      public com.google.protobuf.ByteString getClientIdBytes()
       The client ID to the OAuth App of the service provider.
       
      string client_id = 4;
      Specified by:
      getClientIdBytes in interface StartOAuthResponseOrBuilder
      Returns:
      The bytes for clientId.
    • getScopesList

      public com.google.protobuf.ProtocolStringList getScopesList()
       The list of scopes requested by the application.
       
      repeated string scopes = 5;
      Specified by:
      getScopesList in interface StartOAuthResponseOrBuilder
      Returns:
      A list containing the scopes.
    • getScopesCount

      public int getScopesCount()
       The list of scopes requested by the application.
       
      repeated string scopes = 5;
      Specified by:
      getScopesCount in interface StartOAuthResponseOrBuilder
      Returns:
      The count of scopes.
    • getScopes

      public String getScopes(int index)
       The list of scopes requested by the application.
       
      repeated string scopes = 5;
      Specified by:
      getScopes in interface StartOAuthResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The scopes at the given index.
    • getScopesBytes

      public com.google.protobuf.ByteString getScopesBytes(int index)
       The list of scopes requested by the application.
       
      repeated string scopes = 5;
      Specified by:
      getScopesBytes in interface StartOAuthResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the scopes at the given index.
    • getAuthUri

      public String getAuthUri()
       The authorization server URL to the OAuth flow of the service provider.
       
      string auth_uri = 6;
      Specified by:
      getAuthUri in interface StartOAuthResponseOrBuilder
      Returns:
      The authUri.
    • getAuthUriBytes

      public com.google.protobuf.ByteString getAuthUriBytes()
       The authorization server URL to the OAuth flow of the service provider.
       
      string auth_uri = 6;
      Specified by:
      getAuthUriBytes in interface StartOAuthResponseOrBuilder
      Returns:
      The bytes for authUri.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static StartOAuthResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StartOAuthResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StartOAuthResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StartOAuthResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StartOAuthResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StartOAuthResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StartOAuthResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StartOAuthResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StartOAuthResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StartOAuthResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StartOAuthResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StartOAuthResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public StartOAuthResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static StartOAuthResponse.Builder newBuilder()
    • newBuilder

      public static StartOAuthResponse.Builder newBuilder(StartOAuthResponse prototype)
    • toBuilder

      public StartOAuthResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected StartOAuthResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static StartOAuthResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StartOAuthResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<StartOAuthResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public StartOAuthResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder