public static final class FinishOAuthRequest.OAuthParams.Builder extends GeneratedMessage.Builder<FinishOAuthRequest.OAuthParams.Builder> implements FinishOAuthRequest.OAuthParamsOrBuilderThe params returned by non-Google OAuth 2.0 flow redirect.
Protobuf type google.cloud.developerconnect.v1.FinishOAuthRequest.OAuthParams
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FinishOAuthRequest.OAuthParams.BuilderImplements
FinishOAuthRequest.OAuthParamsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FinishOAuthRequest.OAuthParams build()| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
buildPartial()
public FinishOAuthRequest.OAuthParams buildPartial()| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams |
|
clear()
public FinishOAuthRequest.OAuthParams.Builder clear()| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
|
clearCode()
public FinishOAuthRequest.OAuthParams.Builder clearCode()Required. The code to be used for getting the token from SCM provider.
string code = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
This builder for chaining. |
clearTicket()
public FinishOAuthRequest.OAuthParams.Builder clearTicket()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 |
FinishOAuthRequest.OAuthParams.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FinishOAuthRequest.OAuthParams other)
public FinishOAuthRequest.OAuthParams.Builder mergeFrom(FinishOAuthRequest.OAuthParams other)| Parameter | |
|---|---|
| Name | Description |
other |
FinishOAuthRequest.OAuthParams |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FinishOAuthRequest.OAuthParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FinishOAuthRequest.OAuthParams.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
|
setCode(String value)
public FinishOAuthRequest.OAuthParams.Builder setCode(String value)Required. The code to be used for getting the token from SCM provider.
string code = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe code to set. |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
This builder for chaining. |
setCodeBytes(ByteString value)
public FinishOAuthRequest.OAuthParams.Builder setCodeBytes(ByteString value)Required. The code to be used for getting the token from SCM provider.
string code = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for code to set. |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
This builder for chaining. |
setTicket(String value)
public FinishOAuthRequest.OAuthParams.Builder setTicket(String value)Required. The ticket to be used for post processing the callback from SCM provider.
string ticket = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ticket to set. |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
This builder for chaining. |
setTicketBytes(ByteString value)
public FinishOAuthRequest.OAuthParams.Builder setTicketBytes(ByteString value)Required. The ticket to be used for post processing the callback from SCM provider.
string ticket = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ticket to set. |
| Returns | |
|---|---|
| Type | Description |
FinishOAuthRequest.OAuthParams.Builder |
This builder for chaining. |