public final class StartOAuthResponse extends GeneratedMessage implements StartOAuthResponseOrBuilder
Message for responding to starting an OAuth flow.
Protobuf type google.cloud.developerconnect.v1.StartOAuthResponse
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AUTH_URI_FIELD_NUMBER
public static final int AUTH_URI_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLIENT_ID_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CODE_CHALLENGE_FIELD_NUMBER
public static final int CODE_CHALLENGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CODE_CHALLENGE_METHOD_FIELD_NUMBER
public static final int CODE_CHALLENGE_METHOD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SCOPES_FIELD_NUMBER
public static final int SCOPES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SYSTEM_PROVIDER_ID_FIELD_NUMBER
public static final int SYSTEM_PROVIDER_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TICKET_FIELD_NUMBER
public static final int TICKET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static StartOAuthResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StartOAuthResponse.Builder newBuilder()
newBuilder(StartOAuthResponse prototype)
public static StartOAuthResponse.Builder newBuilder(StartOAuthResponse prototype)
public static StartOAuthResponse parseDelimitedFrom(InputStream input)
public static StartOAuthResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StartOAuthResponse parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StartOAuthResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StartOAuthResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StartOAuthResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StartOAuthResponse parseFrom(CodedInputStream input)
public static StartOAuthResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StartOAuthResponse parseFrom(InputStream input)
public static StartOAuthResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StartOAuthResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StartOAuthResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StartOAuthResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAuthUri()
public String getAuthUri()
The authorization server URL to the OAuth flow of the service provider.
string auth_uri = 6;
| Returns |
| Type |
Description |
String |
The authUri.
|
getAuthUriBytes()
public ByteString getAuthUriBytes()
The authorization server URL to the OAuth flow of the service provider.
string auth_uri = 6;
| Returns |
| Type |
Description |
ByteString |
The bytes for authUri.
|
getClientId()
public String getClientId()
The client ID to the OAuth App of the service provider.
string client_id = 4;
| Returns |
| Type |
Description |
String |
The clientId.
|
getClientIdBytes()
public ByteString getClientIdBytes()
The client ID to the OAuth App of the service provider.
string client_id = 4;
| Returns |
| Type |
Description |
ByteString |
The bytes for clientId.
|
getCodeChallenge()
public String getCodeChallenge()
| Returns |
| Type |
Description |
String |
The codeChallenge.
|
getCodeChallengeBytes()
public ByteString getCodeChallengeBytes()
| Returns |
| Type |
Description |
ByteString |
The bytes for codeChallenge.
|
getCodeChallengeMethod()
public String getCodeChallengeMethod()
| Returns |
| Type |
Description |
String |
The codeChallengeMethod.
|
getCodeChallengeMethodBytes()
public ByteString getCodeChallengeMethodBytes()
| Returns |
| Type |
Description |
ByteString |
The bytes for codeChallengeMethod.
|
getDefaultInstanceForType()
public StartOAuthResponse getDefaultInstanceForType()
getIdCase()
public StartOAuthResponse.IdCase getIdCase()
getParserForType()
public Parser<StartOAuthResponse> getParserForType()
Overrides
getScopes(int index)
public String getScopes(int index)
The list of scopes requested by the application.
repeated string scopes = 5;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The scopes at the given index.
|
getScopesBytes(int index)
public ByteString getScopesBytes(int index)
The list of scopes requested by the application.
repeated string scopes = 5;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the scopes at the given index.
|
getScopesCount()
public int getScopesCount()
The list of scopes requested by the application.
repeated string scopes = 5;
| Returns |
| Type |
Description |
int |
The count of scopes.
|
getScopesList()
public ProtocolStringList getScopesList()
The list of scopes requested by the application.
repeated string scopes = 5;
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSystemProviderId()
public SystemProvider getSystemProviderId()
The ID of the system provider.
.google.cloud.developerconnect.v1.SystemProvider system_provider_id = 7;
getSystemProviderIdValue()
public int getSystemProviderIdValue()
The ID of the system provider.
.google.cloud.developerconnect.v1.SystemProvider system_provider_id = 7;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for systemProviderId.
|
getTicket()
public String getTicket()
The ticket to be used for post processing the callback from the service
provider.
string ticket = 1;
| Returns |
| Type |
Description |
String |
The ticket.
|
getTicketBytes()
public ByteString getTicketBytes()
The ticket to be used for post processing the callback from the service
provider.
string ticket = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for ticket.
|
hasSystemProviderId()
public boolean hasSystemProviderId()
The ID of the system provider.
.google.cloud.developerconnect.v1.SystemProvider system_provider_id = 7;
| Returns |
| Type |
Description |
boolean |
Whether the systemProviderId field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StartOAuthResponse.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected StartOAuthResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public StartOAuthResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides