Class AwsOpenIdConfig.Builder (0.43.0)

public static final class AwsOpenIdConfig.Builder extends GeneratedMessageV3.Builder<AwsOpenIdConfig.Builder> implements AwsOpenIdConfigOrBuilder

AwsOpenIdConfig is an OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Protobuf type google.cloud.gkemulticloud.v1.AwsOpenIdConfig

Static Methods

getDescriptor()

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

Methods

addAllClaimsSupported(Iterable<String> values)

public AwsOpenIdConfig.Builder addAllClaimsSupported(Iterable<String> values)

Supported claims.

repeated string claims_supported = 6;

Parameter
Name Description
values Iterable<String>

The claimsSupported to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addAllGrantTypes(Iterable<String> values)

public AwsOpenIdConfig.Builder addAllGrantTypes(Iterable<String> values)

Supported grant types.

repeated string grant_types = 7;

Parameter
Name Description
values Iterable<String>

The grantTypes to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addAllIdTokenSigningAlgValuesSupported(Iterable<String> values)

public AwsOpenIdConfig.Builder addAllIdTokenSigningAlgValuesSupported(Iterable<String> values)

supported ID Token signing Algorithms.

repeated string id_token_signing_alg_values_supported = 5;

Parameter
Name Description
values Iterable<String>

The idTokenSigningAlgValuesSupported to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addAllResponseTypesSupported(Iterable<String> values)

public AwsOpenIdConfig.Builder addAllResponseTypesSupported(Iterable<String> values)

Supported response types.

repeated string response_types_supported = 3;

Parameter
Name Description
values Iterable<String>

The responseTypesSupported to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addAllSubjectTypesSupported(Iterable<String> values)

public AwsOpenIdConfig.Builder addAllSubjectTypesSupported(Iterable<String> values)

Supported subject types.

repeated string subject_types_supported = 4;

Parameter
Name Description
values Iterable<String>

The subjectTypesSupported to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addClaimsSupported(String value)

public AwsOpenIdConfig.Builder addClaimsSupported(String value)

Supported claims.

repeated string claims_supported = 6;

Parameter
Name Description
value String

The claimsSupported to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addClaimsSupportedBytes(ByteString value)

public AwsOpenIdConfig.Builder addClaimsSupportedBytes(ByteString value)

Supported claims.

repeated string claims_supported = 6;

Parameter
Name Description
value ByteString

The bytes of the claimsSupported to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addGrantTypes(String value)

public AwsOpenIdConfig.Builder addGrantTypes(String value)

Supported grant types.

repeated string grant_types = 7;

Parameter
Name Description
value String

The grantTypes to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addGrantTypesBytes(ByteString value)

public AwsOpenIdConfig.Builder addGrantTypesBytes(ByteString value)

Supported grant types.

repeated string grant_types = 7;

Parameter
Name Description
value ByteString

The bytes of the grantTypes to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addIdTokenSigningAlgValuesSupported(String value)

public AwsOpenIdConfig.Builder addIdTokenSigningAlgValuesSupported(String value)

supported ID Token signing Algorithms.

repeated string id_token_signing_alg_values_supported = 5;

Parameter
Name Description
value String

The idTokenSigningAlgValuesSupported to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addIdTokenSigningAlgValuesSupportedBytes(ByteString value)

public AwsOpenIdConfig.Builder addIdTokenSigningAlgValuesSupportedBytes(ByteString value)

supported ID Token signing Algorithms.

repeated string id_token_signing_alg_values_supported = 5;

Parameter
Name Description
value ByteString

The bytes of the idTokenSigningAlgValuesSupported to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsOpenIdConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsOpenIdConfig.Builder
Overrides

addResponseTypesSupported(String value)

public AwsOpenIdConfig.Builder addResponseTypesSupported(String value)

Supported response types.

repeated string response_types_supported = 3;

Parameter
Name Description
value String

The responseTypesSupported to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addResponseTypesSupportedBytes(ByteString value)

public AwsOpenIdConfig.Builder addResponseTypesSupportedBytes(ByteString value)

Supported response types.

repeated string response_types_supported = 3;

Parameter
Name Description
value ByteString

The bytes of the responseTypesSupported to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addSubjectTypesSupported(String value)

public AwsOpenIdConfig.Builder addSubjectTypesSupported(String value)

Supported subject types.

repeated string subject_types_supported = 4;

Parameter
Name Description
value String

The subjectTypesSupported to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

addSubjectTypesSupportedBytes(ByteString value)

public AwsOpenIdConfig.Builder addSubjectTypesSupportedBytes(ByteString value)

Supported subject types.

repeated string subject_types_supported = 4;

Parameter
Name Description
value ByteString

The bytes of the subjectTypesSupported to add.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

build()

public AwsOpenIdConfig build()
Returns
Type Description
AwsOpenIdConfig

buildPartial()

public AwsOpenIdConfig buildPartial()
Returns
Type Description
AwsOpenIdConfig

clear()

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

clearClaimsSupported()

public AwsOpenIdConfig.Builder clearClaimsSupported()

Supported claims.

repeated string claims_supported = 6;

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AwsOpenIdConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AwsOpenIdConfig.Builder
Overrides

clearGrantTypes()

public AwsOpenIdConfig.Builder clearGrantTypes()

Supported grant types.

repeated string grant_types = 7;

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

clearIdTokenSigningAlgValuesSupported()

public AwsOpenIdConfig.Builder clearIdTokenSigningAlgValuesSupported()

supported ID Token signing Algorithms.

repeated string id_token_signing_alg_values_supported = 5;

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

clearIssuer()

public AwsOpenIdConfig.Builder clearIssuer()

OIDC Issuer.

string issuer = 1;

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

clearJwksUri()

public AwsOpenIdConfig.Builder clearJwksUri()

JSON Web Key uri.

string jwks_uri = 2;

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsOpenIdConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AwsOpenIdConfig.Builder
Overrides

clearResponseTypesSupported()

public AwsOpenIdConfig.Builder clearResponseTypesSupported()

Supported response types.

repeated string response_types_supported = 3;

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

clearSubjectTypesSupported()

public AwsOpenIdConfig.Builder clearSubjectTypesSupported()

Supported subject types.

repeated string subject_types_supported = 4;

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

clone()

public AwsOpenIdConfig.Builder clone()
Returns
Type Description
AwsOpenIdConfig.Builder
Overrides

getClaimsSupported(int index)

public String getClaimsSupported(int index)

Supported claims.

repeated string claims_supported = 6;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The claimsSupported at the given index.

getClaimsSupportedBytes(int index)

public ByteString getClaimsSupportedBytes(int index)

Supported claims.

repeated string claims_supported = 6;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the claimsSupported at the given index.

getClaimsSupportedCount()

public int getClaimsSupportedCount()

Supported claims.

repeated string claims_supported = 6;

Returns
Type Description
int

The count of claimsSupported.

getClaimsSupportedList()

public ProtocolStringList getClaimsSupportedList()

Supported claims.

repeated string claims_supported = 6;

Returns
Type Description
ProtocolStringList

A list containing the claimsSupported.

getDefaultInstanceForType()

public AwsOpenIdConfig getDefaultInstanceForType()
Returns
Type Description
AwsOpenIdConfig

getDescriptorForType()

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

getGrantTypes(int index)

public String getGrantTypes(int index)

Supported grant types.

repeated string grant_types = 7;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The grantTypes at the given index.

getGrantTypesBytes(int index)

public ByteString getGrantTypesBytes(int index)

Supported grant types.

repeated string grant_types = 7;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the grantTypes at the given index.

getGrantTypesCount()

public int getGrantTypesCount()

Supported grant types.

repeated string grant_types = 7;

Returns
Type Description
int

The count of grantTypes.

getGrantTypesList()

public ProtocolStringList getGrantTypesList()

Supported grant types.

repeated string grant_types = 7;

Returns
Type Description
ProtocolStringList

A list containing the grantTypes.

getIdTokenSigningAlgValuesSupported(int index)

public String getIdTokenSigningAlgValuesSupported(int index)

supported ID Token signing Algorithms.

repeated string id_token_signing_alg_values_supported = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The idTokenSigningAlgValuesSupported at the given index.

getIdTokenSigningAlgValuesSupportedBytes(int index)

public ByteString getIdTokenSigningAlgValuesSupportedBytes(int index)

supported ID Token signing Algorithms.

repeated string id_token_signing_alg_values_supported = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the idTokenSigningAlgValuesSupported at the given index.

getIdTokenSigningAlgValuesSupportedCount()

public int getIdTokenSigningAlgValuesSupportedCount()

supported ID Token signing Algorithms.

repeated string id_token_signing_alg_values_supported = 5;

Returns
Type Description
int

The count of idTokenSigningAlgValuesSupported.

getIdTokenSigningAlgValuesSupportedList()

public ProtocolStringList getIdTokenSigningAlgValuesSupportedList()

supported ID Token signing Algorithms.

repeated string id_token_signing_alg_values_supported = 5;

Returns
Type Description
ProtocolStringList

A list containing the idTokenSigningAlgValuesSupported.

getIssuer()

public String getIssuer()

OIDC Issuer.

string issuer = 1;

Returns
Type Description
String

The issuer.

getIssuerBytes()

public ByteString getIssuerBytes()

OIDC Issuer.

string issuer = 1;

Returns
Type Description
ByteString

The bytes for issuer.

getJwksUri()

public String getJwksUri()

JSON Web Key uri.

string jwks_uri = 2;

Returns
Type Description
String

The jwksUri.

getJwksUriBytes()

public ByteString getJwksUriBytes()

JSON Web Key uri.

string jwks_uri = 2;

Returns
Type Description
ByteString

The bytes for jwksUri.

getResponseTypesSupported(int index)

public String getResponseTypesSupported(int index)

Supported response types.

repeated string response_types_supported = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The responseTypesSupported at the given index.

getResponseTypesSupportedBytes(int index)

public ByteString getResponseTypesSupportedBytes(int index)

Supported response types.

repeated string response_types_supported = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the responseTypesSupported at the given index.

getResponseTypesSupportedCount()

public int getResponseTypesSupportedCount()

Supported response types.

repeated string response_types_supported = 3;

Returns
Type Description
int

The count of responseTypesSupported.

getResponseTypesSupportedList()

public ProtocolStringList getResponseTypesSupportedList()

Supported response types.

repeated string response_types_supported = 3;

Returns
Type Description
ProtocolStringList

A list containing the responseTypesSupported.

getSubjectTypesSupported(int index)

public String getSubjectTypesSupported(int index)

Supported subject types.

repeated string subject_types_supported = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The subjectTypesSupported at the given index.

getSubjectTypesSupportedBytes(int index)

public ByteString getSubjectTypesSupportedBytes(int index)

Supported subject types.

repeated string subject_types_supported = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the subjectTypesSupported at the given index.

getSubjectTypesSupportedCount()

public int getSubjectTypesSupportedCount()

Supported subject types.

repeated string subject_types_supported = 4;

Returns
Type Description
int

The count of subjectTypesSupported.

getSubjectTypesSupportedList()

public ProtocolStringList getSubjectTypesSupportedList()

Supported subject types.

repeated string subject_types_supported = 4;

Returns
Type Description
ProtocolStringList

A list containing the subjectTypesSupported.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsOpenIdConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsOpenIdConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsOpenIdConfig.Builder
Overrides

setClaimsSupported(int index, String value)

public AwsOpenIdConfig.Builder setClaimsSupported(int index, String value)

Supported claims.

repeated string claims_supported = 6;

Parameters
Name Description
index int

The index to set the value at.

value String

The claimsSupported to set.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AwsOpenIdConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsOpenIdConfig.Builder
Overrides

setGrantTypes(int index, String value)

public AwsOpenIdConfig.Builder setGrantTypes(int index, String value)

Supported grant types.

repeated string grant_types = 7;

Parameters
Name Description
index int

The index to set the value at.

value String

The grantTypes to set.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

setIdTokenSigningAlgValuesSupported(int index, String value)

public AwsOpenIdConfig.Builder setIdTokenSigningAlgValuesSupported(int index, String value)

supported ID Token signing Algorithms.

repeated string id_token_signing_alg_values_supported = 5;

Parameters
Name Description
index int

The index to set the value at.

value String

The idTokenSigningAlgValuesSupported to set.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

setIssuer(String value)

public AwsOpenIdConfig.Builder setIssuer(String value)

OIDC Issuer.

string issuer = 1;

Parameter
Name Description
value String

The issuer to set.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

setIssuerBytes(ByteString value)

public AwsOpenIdConfig.Builder setIssuerBytes(ByteString value)

OIDC Issuer.

string issuer = 1;

Parameter
Name Description
value ByteString

The bytes for issuer to set.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

setJwksUri(String value)

public AwsOpenIdConfig.Builder setJwksUri(String value)

JSON Web Key uri.

string jwks_uri = 2;

Parameter
Name Description
value String

The jwksUri to set.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

setJwksUriBytes(ByteString value)

public AwsOpenIdConfig.Builder setJwksUriBytes(ByteString value)

JSON Web Key uri.

string jwks_uri = 2;

Parameter
Name Description
value ByteString

The bytes for jwksUri to set.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AwsOpenIdConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsOpenIdConfig.Builder
Overrides

setResponseTypesSupported(int index, String value)

public AwsOpenIdConfig.Builder setResponseTypesSupported(int index, String value)

Supported response types.

repeated string response_types_supported = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The responseTypesSupported to set.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

setSubjectTypesSupported(int index, String value)

public AwsOpenIdConfig.Builder setSubjectTypesSupported(int index, String value)

Supported subject types.

repeated string subject_types_supported = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The subjectTypesSupported to set.

Returns
Type Description
AwsOpenIdConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsOpenIdConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsOpenIdConfig.Builder
Overrides