Class EndUserAuthConfig.Oauth2JwtBearerConfig.Builder (0.1.0)

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

JWT Profile Oauth 2.0 Authorization Grant authentication configuration.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearClientKey()

public EndUserAuthConfig.Oauth2JwtBearerConfig.Builder clearClientKey()

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

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

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfig.Builder

This builder for chaining.

clearIssuer()

public EndUserAuthConfig.Oauth2JwtBearerConfig.Builder clearIssuer()

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

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

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfig.Builder

This builder for chaining.

clearSubject()

public EndUserAuthConfig.Oauth2JwtBearerConfig.Builder clearSubject()

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

string subject = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfig.Builder

This builder for chaining.

getClientKey()

public String getClientKey()

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

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

Returns
Type Description
String

The clientKey.

getClientKeyBytes()

public ByteString getClientKeyBytes()

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

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

Returns
Type Description
ByteString

The bytes for clientKey.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getIssuer()

public String getIssuer()

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

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

Returns
Type Description
String

The issuer.

getIssuerBytes()

public ByteString getIssuerBytes()

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

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

Returns
Type Description
ByteString

The bytes for issuer.

getSubject()

public String getSubject()

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

string subject = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The subject.

getSubjectBytes()

public ByteString getSubjectBytes()

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

string subject = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for subject.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EndUserAuthConfig.Oauth2JwtBearerConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setClientKey(String value)

public EndUserAuthConfig.Oauth2JwtBearerConfig.Builder setClientKey(String value)

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

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

Parameter
Name Description
value String

The clientKey to set.

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfig.Builder

This builder for chaining.

setClientKeyBytes(ByteString value)

public EndUserAuthConfig.Oauth2JwtBearerConfig.Builder setClientKeyBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for clientKey to set.

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfig.Builder

This builder for chaining.

setIssuer(String value)

public EndUserAuthConfig.Oauth2JwtBearerConfig.Builder setIssuer(String value)

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

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

Parameter
Name Description
value String

The issuer to set.

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfig.Builder

This builder for chaining.

setIssuerBytes(ByteString value)

public EndUserAuthConfig.Oauth2JwtBearerConfig.Builder setIssuerBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for issuer to set.

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfig.Builder

This builder for chaining.

setSubject(String value)

public EndUserAuthConfig.Oauth2JwtBearerConfig.Builder setSubject(String value)

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

string subject = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The subject to set.

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfig.Builder

This builder for chaining.

setSubjectBytes(ByteString value)

public EndUserAuthConfig.Oauth2JwtBearerConfig.Builder setSubjectBytes(ByteString value)

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

string subject = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for subject to set.

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfig.Builder

This builder for chaining.