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 ClassesModifier and TypeClassDescriptionstatic final classMessage for responding to starting an OAuth flow.static enumNested 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.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe authorization server URL to the OAuth flow of the service provider.com.google.protobuf.ByteStringThe 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.ByteStringThe client ID to the OAuth App of the service provider.Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.1com.google.protobuf.ByteStringPlease refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.1Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.2com.google.protobuf.ByteStringPlease refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.2static StartOAuthResponsestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<StartOAuthResponse>getScopes(int index) The list of scopes requested by the application.com.google.protobuf.ByteStringgetScopesBytes(int index) The list of scopes requested by the application.intThe list of scopes requested by the application.com.google.protobuf.ProtocolStringListThe list of scopes requested by the application.intThe ID of the system provider.intThe ID of the system provider.The ticket to be used for post processing the callback from the service provider.com.google.protobuf.ByteStringThe ticket to be used for post processing the callback from the service provider.inthashCode()booleanThe ID of the system provider.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic StartOAuthResponse.Builderstatic StartOAuthResponse.BuildernewBuilder(StartOAuthResponse prototype) protected StartOAuthResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static StartOAuthResponseparseDelimitedFrom(InputStream input) static StartOAuthResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartOAuthResponseparseFrom(byte[] data) static StartOAuthResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartOAuthResponseparseFrom(com.google.protobuf.ByteString data) static StartOAuthResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartOAuthResponseparseFrom(com.google.protobuf.CodedInputStream input) static StartOAuthResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartOAuthResponseparseFrom(InputStream input) static StartOAuthResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartOAuthResponseparseFrom(ByteBuffer data) static StartOAuthResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StartOAuthResponse>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getIdCase
- Specified by:
getIdCasein interfaceStartOAuthResponseOrBuilder
-
hasSystemProviderId
public boolean hasSystemProviderId()The ID of the system provider.
.google.cloud.developerconnect.v1.SystemProvider system_provider_id = 7;- Specified by:
hasSystemProviderIdin interfaceStartOAuthResponseOrBuilder- 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:
getSystemProviderIdValuein interfaceStartOAuthResponseOrBuilder- Returns:
- The enum numeric value on the wire for systemProviderId.
-
getSystemProviderId
The ID of the system provider.
.google.cloud.developerconnect.v1.SystemProvider system_provider_id = 7;- Specified by:
getSystemProviderIdin interfaceStartOAuthResponseOrBuilder- Returns:
- The systemProviderId.
-
getTicket
The ticket to be used for post processing the callback from the service provider.
string ticket = 1;- Specified by:
getTicketin interfaceStartOAuthResponseOrBuilder- 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:
getTicketBytesin interfaceStartOAuthResponseOrBuilder- Returns:
- The bytes for ticket.
-
getCodeChallenge
Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.1
string code_challenge = 2;- Specified by:
getCodeChallengein interfaceStartOAuthResponseOrBuilder- 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:
getCodeChallengeBytesin interfaceStartOAuthResponseOrBuilder- Returns:
- The bytes for codeChallenge.
-
getCodeChallengeMethod
Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.2
string code_challenge_method = 3;- Specified by:
getCodeChallengeMethodin interfaceStartOAuthResponseOrBuilder- 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:
getCodeChallengeMethodBytesin interfaceStartOAuthResponseOrBuilder- Returns:
- The bytes for codeChallengeMethod.
-
getClientId
The client ID to the OAuth App of the service provider.
string client_id = 4;- Specified by:
getClientIdin interfaceStartOAuthResponseOrBuilder- 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:
getClientIdBytesin interfaceStartOAuthResponseOrBuilder- 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:
getScopesListin interfaceStartOAuthResponseOrBuilder- Returns:
- A list containing the scopes.
-
getScopesCount
public int getScopesCount()The list of scopes requested by the application.
repeated string scopes = 5;- Specified by:
getScopesCountin interfaceStartOAuthResponseOrBuilder- Returns:
- The count of scopes.
-
getScopes
The list of scopes requested by the application.
repeated string scopes = 5;- Specified by:
getScopesin interfaceStartOAuthResponseOrBuilder- 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:
getScopesBytesin interfaceStartOAuthResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the scopes at the given index.
-
getAuthUri
The authorization server URL to the OAuth flow of the service provider.
string auth_uri = 6;- Specified by:
getAuthUriin interfaceStartOAuthResponseOrBuilder- 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:
getAuthUriBytesin interfaceStartOAuthResponseOrBuilder- Returns:
- The bytes for authUri.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static StartOAuthResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StartOAuthResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-