Class EndUserAuthConfig.Builder (0.1.0)

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

End-user authentication configuration used for Connection calls. The field values must be the names of context variables in the format $context.variables.<name_of_variable>.

Protobuf type google.cloud.ces.v1.EndUserAuthConfig

Static Methods

getDescriptor()

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

Methods

build()

public EndUserAuthConfig build()
Returns
Type Description
EndUserAuthConfig

buildPartial()

public EndUserAuthConfig buildPartial()
Returns
Type Description
EndUserAuthConfig

clear()

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

clearAuthConfig()

public EndUserAuthConfig.Builder clearAuthConfig()
Returns
Type Description
EndUserAuthConfig.Builder

clearOauth2AuthCodeConfig()

public EndUserAuthConfig.Builder clearOauth2AuthCodeConfig()

Oauth 2.0 Authorization Code authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;

Returns
Type Description
EndUserAuthConfig.Builder

clearOauth2JwtBearerConfig()

public EndUserAuthConfig.Builder clearOauth2JwtBearerConfig()

JWT Profile Oauth 2.0 Authorization Grant authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;

Returns
Type Description
EndUserAuthConfig.Builder

getAuthConfigCase()

public EndUserAuthConfig.AuthConfigCase getAuthConfigCase()
Returns
Type Description
EndUserAuthConfig.AuthConfigCase

getDefaultInstanceForType()

public EndUserAuthConfig getDefaultInstanceForType()
Returns
Type Description
EndUserAuthConfig

getDescriptorForType()

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

getOauth2AuthCodeConfig()

public EndUserAuthConfig.Oauth2AuthCodeConfig getOauth2AuthCodeConfig()

Oauth 2.0 Authorization Code authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;

Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfig

The oauth2AuthCodeConfig.

getOauth2AuthCodeConfigBuilder()

public EndUserAuthConfig.Oauth2AuthCodeConfig.Builder getOauth2AuthCodeConfigBuilder()

Oauth 2.0 Authorization Code authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;

Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfig.Builder

getOauth2AuthCodeConfigOrBuilder()

public EndUserAuthConfig.Oauth2AuthCodeConfigOrBuilder getOauth2AuthCodeConfigOrBuilder()

Oauth 2.0 Authorization Code authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;

Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfigOrBuilder

getOauth2JwtBearerConfig()

public EndUserAuthConfig.Oauth2JwtBearerConfig getOauth2JwtBearerConfig()

JWT Profile Oauth 2.0 Authorization Grant authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfig

The oauth2JwtBearerConfig.

getOauth2JwtBearerConfigBuilder()

public EndUserAuthConfig.Oauth2JwtBearerConfig.Builder getOauth2JwtBearerConfigBuilder()

JWT Profile Oauth 2.0 Authorization Grant authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfig.Builder

getOauth2JwtBearerConfigOrBuilder()

public EndUserAuthConfig.Oauth2JwtBearerConfigOrBuilder getOauth2JwtBearerConfigOrBuilder()

JWT Profile Oauth 2.0 Authorization Grant authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfigOrBuilder

hasOauth2AuthCodeConfig()

public boolean hasOauth2AuthCodeConfig()

Oauth 2.0 Authorization Code authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;

Returns
Type Description
boolean

Whether the oauth2AuthCodeConfig field is set.

hasOauth2JwtBearerConfig()

public boolean hasOauth2JwtBearerConfig()

JWT Profile Oauth 2.0 Authorization Grant authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;

Returns
Type Description
boolean

Whether the oauth2JwtBearerConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EndUserAuthConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOauth2AuthCodeConfig(EndUserAuthConfig.Oauth2AuthCodeConfig value)

public EndUserAuthConfig.Builder mergeOauth2AuthCodeConfig(EndUserAuthConfig.Oauth2AuthCodeConfig value)

Oauth 2.0 Authorization Code authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;

Parameter
Name Description
value EndUserAuthConfig.Oauth2AuthCodeConfig
Returns
Type Description
EndUserAuthConfig.Builder

mergeOauth2JwtBearerConfig(EndUserAuthConfig.Oauth2JwtBearerConfig value)

public EndUserAuthConfig.Builder mergeOauth2JwtBearerConfig(EndUserAuthConfig.Oauth2JwtBearerConfig value)

JWT Profile Oauth 2.0 Authorization Grant authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;

Parameter
Name Description
value EndUserAuthConfig.Oauth2JwtBearerConfig
Returns
Type Description
EndUserAuthConfig.Builder

setOauth2AuthCodeConfig(EndUserAuthConfig.Oauth2AuthCodeConfig value)

public EndUserAuthConfig.Builder setOauth2AuthCodeConfig(EndUserAuthConfig.Oauth2AuthCodeConfig value)

Oauth 2.0 Authorization Code authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;

Parameter
Name Description
value EndUserAuthConfig.Oauth2AuthCodeConfig
Returns
Type Description
EndUserAuthConfig.Builder

setOauth2AuthCodeConfig(EndUserAuthConfig.Oauth2AuthCodeConfig.Builder builderForValue)

public EndUserAuthConfig.Builder setOauth2AuthCodeConfig(EndUserAuthConfig.Oauth2AuthCodeConfig.Builder builderForValue)

Oauth 2.0 Authorization Code authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;

Parameter
Name Description
builderForValue EndUserAuthConfig.Oauth2AuthCodeConfig.Builder
Returns
Type Description
EndUserAuthConfig.Builder

setOauth2JwtBearerConfig(EndUserAuthConfig.Oauth2JwtBearerConfig value)

public EndUserAuthConfig.Builder setOauth2JwtBearerConfig(EndUserAuthConfig.Oauth2JwtBearerConfig value)

JWT Profile Oauth 2.0 Authorization Grant authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;

Parameter
Name Description
value EndUserAuthConfig.Oauth2JwtBearerConfig
Returns
Type Description
EndUserAuthConfig.Builder

setOauth2JwtBearerConfig(EndUserAuthConfig.Oauth2JwtBearerConfig.Builder builderForValue)

public EndUserAuthConfig.Builder setOauth2JwtBearerConfig(EndUserAuthConfig.Oauth2JwtBearerConfig.Builder builderForValue)

JWT Profile Oauth 2.0 Authorization Grant authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;

Parameter
Name Description
builderForValue EndUserAuthConfig.Oauth2JwtBearerConfig.Builder
Returns
Type Description
EndUserAuthConfig.Builder