public static final class FinishOAuthRequest.OAuthParams extends GeneratedMessage implements FinishOAuthRequest.OAuthParamsOrBuilderThe params returned by non-Google OAuth 2.0 flow redirect.
Protobuf type google.cloud.developerconnect.v1.FinishOAuthRequest.OAuthParams
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > FinishOAuthRequest.OAuthParamsImplements
FinishOAuthRequest.OAuthParamsOrBuilderStatic Fields
CODE_FIELD_NUMBER
public static final int CODE_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 FinishOAuthRequest.OAuthParams getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static FinishOAuthRequest.OAuthParams.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
|
newBuilder(FinishOAuthRequest.OAuthParams prototype)
public static FinishOAuthRequest.OAuthParams.Builder newBuilder(FinishOAuthRequest.OAuthParams prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
FinishOAuthRequest.OAuthParams |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
|
parseDelimitedFrom(InputStream input)
public static FinishOAuthRequest.OAuthParams parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FinishOAuthRequest.OAuthParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static FinishOAuthRequest.OAuthParams parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FinishOAuthRequest.OAuthParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static FinishOAuthRequest.OAuthParams parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FinishOAuthRequest.OAuthParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static FinishOAuthRequest.OAuthParams parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FinishOAuthRequest.OAuthParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static FinishOAuthRequest.OAuthParams parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FinishOAuthRequest.OAuthParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static FinishOAuthRequest.OAuthParams parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FinishOAuthRequest.OAuthParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<FinishOAuthRequest.OAuthParams> parser()| Returns | |
|---|---|
| Type | Description |
Parser<OAuthParams> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCode()
public String getCode()Required. The code to be used for getting the token from SCM provider.
string code = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The code. |
getCodeBytes()
public ByteString getCodeBytes()Required. The code to be used for getting the token from SCM provider.
string code = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for code. |
getDefaultInstanceForType()
public FinishOAuthRequest.OAuthParams getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
getParserForType()
public Parser<FinishOAuthRequest.OAuthParams> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<OAuthParams> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTicket()
public String getTicket()Required. The ticket to be used for post processing the callback from SCM provider.
string ticket = 2 [(.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 SCM provider.
string ticket = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ticket. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public FinishOAuthRequest.OAuthParams.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected FinishOAuthRequest.OAuthParams.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
|
toBuilder()
public FinishOAuthRequest.OAuthParams.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|