Class AwsOpenIdConfig.Builder (0.40.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
TypeDescription
Descriptor

Methods

addAllClaimsSupported(Iterable<String> values)

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

Supported claims.

repeated string claims_supported = 6;

Parameter
NameDescription
valuesIterable<String>

The claimsSupported to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The grantTypes to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The idTokenSigningAlgValuesSupported to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The responseTypesSupported to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The subjectTypesSupported to add.

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

addClaimsSupported(String value)

public AwsOpenIdConfig.Builder addClaimsSupported(String value)

Supported claims.

repeated string claims_supported = 6;

Parameter
NameDescription
valueString

The claimsSupported to add.

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

addClaimsSupportedBytes(ByteString value)

public AwsOpenIdConfig.Builder addClaimsSupportedBytes(ByteString value)

Supported claims.

repeated string claims_supported = 6;

Parameter
NameDescription
valueByteString

The bytes of the claimsSupported to add.

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

addGrantTypes(String value)

public AwsOpenIdConfig.Builder addGrantTypes(String value)

Supported grant types.

repeated string grant_types = 7;

Parameter
NameDescription
valueString

The grantTypes to add.

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

addGrantTypesBytes(ByteString value)

public AwsOpenIdConfig.Builder addGrantTypesBytes(ByteString value)

Supported grant types.

repeated string grant_types = 7;

Parameter
NameDescription
valueByteString

The bytes of the grantTypes to add.

Returns
TypeDescription
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
NameDescription
valueString

The idTokenSigningAlgValuesSupported to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the idTokenSigningAlgValuesSupported to add.

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsOpenIdConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsOpenIdConfig.Builder
Overrides

addResponseTypesSupported(String value)

public AwsOpenIdConfig.Builder addResponseTypesSupported(String value)

Supported response types.

repeated string response_types_supported = 3;

Parameter
NameDescription
valueString

The responseTypesSupported to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the responseTypesSupported to add.

Returns
TypeDescription
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
NameDescription
valueString

The subjectTypesSupported to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the subjectTypesSupported to add.

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

build()

public AwsOpenIdConfig build()
Returns
TypeDescription
AwsOpenIdConfig

buildPartial()

public AwsOpenIdConfig buildPartial()
Returns
TypeDescription
AwsOpenIdConfig

clear()

public AwsOpenIdConfig.Builder clear()
Returns
TypeDescription
AwsOpenIdConfig.Builder
Overrides

clearClaimsSupported()

public AwsOpenIdConfig.Builder clearClaimsSupported()

Supported claims.

repeated string claims_supported = 6;

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AwsOpenIdConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AwsOpenIdConfig.Builder
Overrides

clearGrantTypes()

public AwsOpenIdConfig.Builder clearGrantTypes()

Supported grant types.

repeated string grant_types = 7;

Returns
TypeDescription
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
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

clearIssuer()

public AwsOpenIdConfig.Builder clearIssuer()

OIDC Issuer.

string issuer = 1;

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

clearJwksUri()

public AwsOpenIdConfig.Builder clearJwksUri()

JSON Web Key uri.

string jwks_uri = 2;

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsOpenIdConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AwsOpenIdConfig.Builder
Overrides

clearResponseTypesSupported()

public AwsOpenIdConfig.Builder clearResponseTypesSupported()

Supported response types.

repeated string response_types_supported = 3;

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

clearSubjectTypesSupported()

public AwsOpenIdConfig.Builder clearSubjectTypesSupported()

Supported subject types.

repeated string subject_types_supported = 4;

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

clone()

public AwsOpenIdConfig.Builder clone()
Returns
TypeDescription
AwsOpenIdConfig.Builder
Overrides

getClaimsSupported(int index)

public String getClaimsSupported(int index)

Supported claims.

repeated string claims_supported = 6;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The claimsSupported at the given index.

getClaimsSupportedBytes(int index)

public ByteString getClaimsSupportedBytes(int index)

Supported claims.

repeated string claims_supported = 6;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the claimsSupported at the given index.

getClaimsSupportedCount()

public int getClaimsSupportedCount()

Supported claims.

repeated string claims_supported = 6;

Returns
TypeDescription
int

The count of claimsSupported.

getClaimsSupportedList()

public ProtocolStringList getClaimsSupportedList()

Supported claims.

repeated string claims_supported = 6;

Returns
TypeDescription
ProtocolStringList

A list containing the claimsSupported.

getDefaultInstanceForType()

public AwsOpenIdConfig getDefaultInstanceForType()
Returns
TypeDescription
AwsOpenIdConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGrantTypes(int index)

public String getGrantTypes(int index)

Supported grant types.

repeated string grant_types = 7;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The grantTypes at the given index.

getGrantTypesBytes(int index)

public ByteString getGrantTypesBytes(int index)

Supported grant types.

repeated string grant_types = 7;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the grantTypes at the given index.

getGrantTypesCount()

public int getGrantTypesCount()

Supported grant types.

repeated string grant_types = 7;

Returns
TypeDescription
int

The count of grantTypes.

getGrantTypesList()

public ProtocolStringList getGrantTypesList()

Supported grant types.

repeated string grant_types = 7;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of idTokenSigningAlgValuesSupported.

getIdTokenSigningAlgValuesSupportedList()

public ProtocolStringList getIdTokenSigningAlgValuesSupportedList()

supported ID Token signing Algorithms.

repeated string id_token_signing_alg_values_supported = 5;

Returns
TypeDescription
ProtocolStringList

A list containing the idTokenSigningAlgValuesSupported.

getIssuer()

public String getIssuer()

OIDC Issuer.

string issuer = 1;

Returns
TypeDescription
String

The issuer.

getIssuerBytes()

public ByteString getIssuerBytes()

OIDC Issuer.

string issuer = 1;

Returns
TypeDescription
ByteString

The bytes for issuer.

getJwksUri()

public String getJwksUri()

JSON Web Key uri.

string jwks_uri = 2;

Returns
TypeDescription
String

The jwksUri.

getJwksUriBytes()

public ByteString getJwksUriBytes()

JSON Web Key uri.

string jwks_uri = 2;

Returns
TypeDescription
ByteString

The bytes for jwksUri.

getResponseTypesSupported(int index)

public String getResponseTypesSupported(int index)

Supported response types.

repeated string response_types_supported = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the responseTypesSupported at the given index.

getResponseTypesSupportedCount()

public int getResponseTypesSupportedCount()

Supported response types.

repeated string response_types_supported = 3;

Returns
TypeDescription
int

The count of responseTypesSupported.

getResponseTypesSupportedList()

public ProtocolStringList getResponseTypesSupportedList()

Supported response types.

repeated string response_types_supported = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the responseTypesSupported.

getSubjectTypesSupported(int index)

public String getSubjectTypesSupported(int index)

Supported subject types.

repeated string subject_types_supported = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the subjectTypesSupported at the given index.

getSubjectTypesSupportedCount()

public int getSubjectTypesSupportedCount()

Supported subject types.

repeated string subject_types_supported = 4;

Returns
TypeDescription
int

The count of subjectTypesSupported.

getSubjectTypesSupportedList()

public ProtocolStringList getSubjectTypesSupportedList()

Supported subject types.

repeated string subject_types_supported = 4;

Returns
TypeDescription
ProtocolStringList

A list containing the subjectTypesSupported.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AwsOpenIdConfig other)

public AwsOpenIdConfig.Builder mergeFrom(AwsOpenIdConfig other)
Parameter
NameDescription
otherAwsOpenIdConfig
Returns
TypeDescription
AwsOpenIdConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsOpenIdConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsOpenIdConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AwsOpenIdConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AwsOpenIdConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsOpenIdConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsOpenIdConfig.Builder
Overrides

setClaimsSupported(int index, String value)

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

Supported claims.

repeated string claims_supported = 6;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The claimsSupported to set.

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AwsOpenIdConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The grantTypes to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The idTokenSigningAlgValuesSupported to set.

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

setIssuer(String value)

public AwsOpenIdConfig.Builder setIssuer(String value)

OIDC Issuer.

string issuer = 1;

Parameter
NameDescription
valueString

The issuer to set.

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

setIssuerBytes(ByteString value)

public AwsOpenIdConfig.Builder setIssuerBytes(ByteString value)

OIDC Issuer.

string issuer = 1;

Parameter
NameDescription
valueByteString

The bytes for issuer to set.

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

setJwksUri(String value)

public AwsOpenIdConfig.Builder setJwksUri(String value)

JSON Web Key uri.

string jwks_uri = 2;

Parameter
NameDescription
valueString

The jwksUri to set.

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

setJwksUriBytes(ByteString value)

public AwsOpenIdConfig.Builder setJwksUriBytes(ByteString value)

JSON Web Key uri.

string jwks_uri = 2;

Parameter
NameDescription
valueByteString

The bytes for jwksUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The responseTypesSupported to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The subjectTypesSupported to set.

Returns
TypeDescription
AwsOpenIdConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsOpenIdConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsOpenIdConfig.Builder
Overrides