Class GetOpenIDConfigResponse.Builder (2.46.0)

public static final class GetOpenIDConfigResponse.Builder extends GeneratedMessageV3.Builder<GetOpenIDConfigResponse.Builder> implements GetOpenIDConfigResponseOrBuilder

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

Protobuf type google.container.v1.GetOpenIDConfigResponse

Static Methods

getDescriptor()

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

Methods

addAllClaimsSupported(Iterable<String> values)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

addAllGrantTypes(Iterable<String> values)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

addAllIdTokenSigningAlgValuesSupported(Iterable<String> values)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

addAllResponseTypesSupported(Iterable<String> values)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

addAllSubjectTypesSupported(Iterable<String> values)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

addClaimsSupported(String value)

public GetOpenIDConfigResponse.Builder addClaimsSupported(String value)

Supported claims.

repeated string claims_supported = 6;

Parameter
Name Description
value String

The claimsSupported to add.

Returns
Type Description
GetOpenIDConfigResponse.Builder

This builder for chaining.

addClaimsSupportedBytes(ByteString value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

addGrantTypes(String value)

public GetOpenIDConfigResponse.Builder addGrantTypes(String value)

Supported grant types.

repeated string grant_types = 7;

Parameter
Name Description
value String

The grantTypes to add.

Returns
Type Description
GetOpenIDConfigResponse.Builder

This builder for chaining.

addGrantTypesBytes(ByteString value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

addIdTokenSigningAlgValuesSupported(String value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

addIdTokenSigningAlgValuesSupportedBytes(ByteString value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResponseTypesSupported(String value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

addResponseTypesSupportedBytes(ByteString value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

addSubjectTypesSupported(String value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

addSubjectTypesSupportedBytes(ByteString value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

build()

public GetOpenIDConfigResponse build()
Returns
Type Description
GetOpenIDConfigResponse

buildPartial()

public GetOpenIDConfigResponse buildPartial()
Returns
Type Description
GetOpenIDConfigResponse

clear()

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

clearClaimsSupported()

public GetOpenIDConfigResponse.Builder clearClaimsSupported()

Supported claims.

repeated string claims_supported = 6;

Returns
Type Description
GetOpenIDConfigResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGrantTypes()

public GetOpenIDConfigResponse.Builder clearGrantTypes()

Supported grant types.

repeated string grant_types = 7;

Returns
Type Description
GetOpenIDConfigResponse.Builder

This builder for chaining.

clearIdTokenSigningAlgValuesSupported()

public GetOpenIDConfigResponse.Builder clearIdTokenSigningAlgValuesSupported()

supported ID Token signing Algorithms.

repeated string id_token_signing_alg_values_supported = 5;

Returns
Type Description
GetOpenIDConfigResponse.Builder

This builder for chaining.

clearIssuer()

public GetOpenIDConfigResponse.Builder clearIssuer()

OIDC Issuer.

string issuer = 1;

Returns
Type Description
GetOpenIDConfigResponse.Builder

This builder for chaining.

clearJwksUri()

public GetOpenIDConfigResponse.Builder clearJwksUri()

JSON Web Key uri.

string jwks_uri = 2;

Returns
Type Description
GetOpenIDConfigResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResponseTypesSupported()

public GetOpenIDConfigResponse.Builder clearResponseTypesSupported()

Supported response types.

repeated string response_types_supported = 3;

Returns
Type Description
GetOpenIDConfigResponse.Builder

This builder for chaining.

clearSubjectTypesSupported()

public GetOpenIDConfigResponse.Builder clearSubjectTypesSupported()

Supported subject types.

repeated string subject_types_supported = 4;

Returns
Type Description
GetOpenIDConfigResponse.Builder

This builder for chaining.

clone()

public GetOpenIDConfigResponse.Builder clone()
Returns
Type Description
GetOpenIDConfigResponse.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 GetOpenIDConfigResponse getDefaultInstanceForType()
Returns
Type Description
GetOpenIDConfigResponse

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(GetOpenIDConfigResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setClaimsSupported(int index, String value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGrantTypes(int index, String value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

setIdTokenSigningAlgValuesSupported(int index, String value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

setIssuer(String value)

public GetOpenIDConfigResponse.Builder setIssuer(String value)

OIDC Issuer.

string issuer = 1;

Parameter
Name Description
value String

The issuer to set.

Returns
Type Description
GetOpenIDConfigResponse.Builder

This builder for chaining.

setIssuerBytes(ByteString value)

public GetOpenIDConfigResponse.Builder setIssuerBytes(ByteString value)

OIDC Issuer.

string issuer = 1;

Parameter
Name Description
value ByteString

The bytes for issuer to set.

Returns
Type Description
GetOpenIDConfigResponse.Builder

This builder for chaining.

setJwksUri(String value)

public GetOpenIDConfigResponse.Builder setJwksUri(String value)

JSON Web Key uri.

string jwks_uri = 2;

Parameter
Name Description
value String

The jwksUri to set.

Returns
Type Description
GetOpenIDConfigResponse.Builder

This builder for chaining.

setJwksUriBytes(ByteString value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

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

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

setResponseTypesSupported(int index, String value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

setSubjectTypesSupported(int index, String value)

public GetOpenIDConfigResponse.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
GetOpenIDConfigResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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