Class EndUserAuthConfig.Oauth2AuthCodeConfig.Builder (0.1.0)

public static final class EndUserAuthConfig.Oauth2AuthCodeConfig.Builder extends GeneratedMessage.Builder<EndUserAuthConfig.Oauth2AuthCodeConfig.Builder> implements EndUserAuthConfig.Oauth2AuthCodeConfigOrBuilder

Oauth 2.0 Authorization Code authentication configuration.

Protobuf type google.cloud.ces.v1.EndUserAuthConfig.Oauth2AuthCodeConfig

Static Methods

getDescriptor()

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

Methods

build()

public EndUserAuthConfig.Oauth2AuthCodeConfig build()
Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfig

buildPartial()

public EndUserAuthConfig.Oauth2AuthCodeConfig buildPartial()
Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfig

clear()

public EndUserAuthConfig.Oauth2AuthCodeConfig.Builder clear()
Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfig.Builder
Overrides

clearOauthToken()

public EndUserAuthConfig.Oauth2AuthCodeConfig.Builder clearOauthToken()

Required. Oauth token parameter name to pass through. Must be in the format $context.variables.<name_of_variable>.

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

Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public EndUserAuthConfig.Oauth2AuthCodeConfig getDefaultInstanceForType()
Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOauthToken()

public String getOauthToken()

Required. Oauth token parameter name to pass through. Must be in the format $context.variables.<name_of_variable>.

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

Returns
Type Description
String

The oauthToken.

getOauthTokenBytes()

public ByteString getOauthTokenBytes()

Required. Oauth token parameter name to pass through. Must be in the format $context.variables.<name_of_variable>.

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

Returns
Type Description
ByteString

The bytes for oauthToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EndUserAuthConfig.Oauth2AuthCodeConfig other)

public EndUserAuthConfig.Oauth2AuthCodeConfig.Builder mergeFrom(EndUserAuthConfig.Oauth2AuthCodeConfig other)
Parameter
Name Description
other EndUserAuthConfig.Oauth2AuthCodeConfig
Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EndUserAuthConfig.Oauth2AuthCodeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EndUserAuthConfig.Oauth2AuthCodeConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfig.Builder
Overrides

setOauthToken(String value)

public EndUserAuthConfig.Oauth2AuthCodeConfig.Builder setOauthToken(String value)

Required. Oauth token parameter name to pass through. Must be in the format $context.variables.<name_of_variable>.

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

Parameter
Name Description
value String

The oauthToken to set.

Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfig.Builder

This builder for chaining.

setOauthTokenBytes(ByteString value)

public EndUserAuthConfig.Oauth2AuthCodeConfig.Builder setOauthTokenBytes(ByteString value)

Required. Oauth token parameter name to pass through. Must be in the format $context.variables.<name_of_variable>.

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

Parameter
Name Description
value ByteString

The bytes for oauthToken to set.

Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfig.Builder

This builder for chaining.