Class FinishOAuthRequest.GoogleOAuthParams (0.44.0)

public static final class FinishOAuthRequest.GoogleOAuthParams extends GeneratedMessage implements FinishOAuthRequest.GoogleOAuthParamsOrBuilder

The params returned by Google OAuth flow redirects.

Protobuf type google.cloud.developerconnect.v1.FinishOAuthRequest.GoogleOAuthParams

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > FinishOAuthRequest.GoogleOAuthParams

Static Fields

SCOPES_FIELD_NUMBER

public static final int SCOPES_FIELD_NUMBER
Field Value
Type Description
int

TICKET_FIELD_NUMBER

public static final int TICKET_FIELD_NUMBER
Field Value
Type Description
int

VERSION_INFO_FIELD_NUMBER

public static final int VERSION_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FinishOAuthRequest.GoogleOAuthParams getDefaultInstance()
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FinishOAuthRequest.GoogleOAuthParams.Builder newBuilder()
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams.Builder

newBuilder(FinishOAuthRequest.GoogleOAuthParams prototype)

public static FinishOAuthRequest.GoogleOAuthParams.Builder newBuilder(FinishOAuthRequest.GoogleOAuthParams prototype)
Parameter
Name Description
prototype FinishOAuthRequest.GoogleOAuthParams
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams.Builder

parseDelimitedFrom(InputStream input)

public static FinishOAuthRequest.GoogleOAuthParams parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FinishOAuthRequest.GoogleOAuthParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FinishOAuthRequest.GoogleOAuthParams parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FinishOAuthRequest.GoogleOAuthParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FinishOAuthRequest.GoogleOAuthParams parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FinishOAuthRequest.GoogleOAuthParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FinishOAuthRequest.GoogleOAuthParams parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FinishOAuthRequest.GoogleOAuthParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FinishOAuthRequest.GoogleOAuthParams parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FinishOAuthRequest.GoogleOAuthParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FinishOAuthRequest.GoogleOAuthParams parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FinishOAuthRequest.GoogleOAuthParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FinishOAuthRequest.GoogleOAuthParams> parser()
Returns
Type Description
Parser<GoogleOAuthParams>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FinishOAuthRequest.GoogleOAuthParams getDefaultInstanceForType()
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams

getParserForType()

public Parser<FinishOAuthRequest.GoogleOAuthParams> getParserForType()
Returns
Type Description
Parser<GoogleOAuthParams>
Overrides

getScopes(int index)

public String getScopes(int index)

Required. The scopes returned by Google OAuth flow.

repeated string scopes = 1 [(.google.api.field_behavior) = REQUIRED];

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)

Required. The scopes returned by Google OAuth flow.

repeated string scopes = 1 [(.google.api.field_behavior) = REQUIRED];

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()

Required. The scopes returned by Google OAuth flow.

repeated string scopes = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of scopes.

getScopesList()

public ProtocolStringList getScopesList()

Required. The scopes returned by Google OAuth flow.

repeated string scopes = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the scopes.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTicket()

public String getTicket()

Required. The ticket to be used for post processing the callback from Google OAuth flow.

string ticket = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The ticket.

getTicketBytes()

public ByteString getTicketBytes()

Required. The ticket to be used for post processing the callback from Google OAuth flow.

string ticket = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for ticket.

getVersionInfo()

public String getVersionInfo()

Optional. The version info returned by Google OAuth flow.

string version_info = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The versionInfo.

getVersionInfoBytes()

public ByteString getVersionInfoBytes()

Optional. The version info returned by Google OAuth flow.

string version_info = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for versionInfo.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FinishOAuthRequest.GoogleOAuthParams.Builder newBuilderForType()
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected FinishOAuthRequest.GoogleOAuthParams.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams.Builder
Overrides

toBuilder()

public FinishOAuthRequest.GoogleOAuthParams.Builder toBuilder()
Returns
Type Description
FinishOAuthRequest.GoogleOAuthParams.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException