Class GetOpenIDConfigResponse.Builder (2.4.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
TypeDescription
Descriptor

Methods

addAllClaimsSupported(Iterable<String> values)

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

Supported claims.

repeated string claims_supported = 6;

Parameter
NameDescription
valuesIterable<String>

The claimsSupported to add.

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

The grantTypes to add.

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

The idTokenSigningAlgValuesSupported to add.

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

The responseTypesSupported to add.

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

The subjectTypesSupported to add.

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

addClaimsSupported(String value)

public GetOpenIDConfigResponse.Builder addClaimsSupported(String value)

Supported claims.

repeated string claims_supported = 6;

Parameter
NameDescription
valueString

The claimsSupported to add.

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

addClaimsSupportedBytes(ByteString value)

public GetOpenIDConfigResponse.Builder addClaimsSupportedBytes(ByteString value)

Supported claims.

repeated string claims_supported = 6;

Parameter
NameDescription
valueByteString

The bytes of the claimsSupported to add.

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

addGrantTypes(String value)

public GetOpenIDConfigResponse.Builder addGrantTypes(String value)

Supported grant types.

repeated string grant_types = 7;

Parameter
NameDescription
valueString

The grantTypes to add.

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

addGrantTypesBytes(ByteString value)

public GetOpenIDConfigResponse.Builder addGrantTypesBytes(ByteString value)

Supported grant types.

repeated string grant_types = 7;

Parameter
NameDescription
valueByteString

The bytes of the grantTypes to add.

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

The idTokenSigningAlgValuesSupported to add.

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

The bytes of the idTokenSigningAlgValuesSupported to add.

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResponseTypesSupported(String value)

public GetOpenIDConfigResponse.Builder addResponseTypesSupported(String value)

Supported response types.

repeated string response_types_supported = 3;

Parameter
NameDescription
valueString

The responseTypesSupported to add.

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

The bytes of the responseTypesSupported to add.

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

The subjectTypesSupported to add.

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

The bytes of the subjectTypesSupported to add.

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

build()

public GetOpenIDConfigResponse build()
Returns
TypeDescription
GetOpenIDConfigResponse

buildPartial()

public GetOpenIDConfigResponse buildPartial()
Returns
TypeDescription
GetOpenIDConfigResponse

clear()

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

clearClaimsSupported()

public GetOpenIDConfigResponse.Builder clearClaimsSupported()

Supported claims.

repeated string claims_supported = 6;

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGrantTypes()

public GetOpenIDConfigResponse.Builder clearGrantTypes()

Supported grant types.

repeated string grant_types = 7;

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

This builder for chaining.

clearIssuer()

public GetOpenIDConfigResponse.Builder clearIssuer()

OIDC Issuer.

string issuer = 1;

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

clearJwksUri()

public GetOpenIDConfigResponse.Builder clearJwksUri()

JSON Web Key uri.

string jwks_uri = 2;

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResponseTypesSupported()

public GetOpenIDConfigResponse.Builder clearResponseTypesSupported()

Supported response types.

repeated string response_types_supported = 3;

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

clearSubjectTypesSupported()

public GetOpenIDConfigResponse.Builder clearSubjectTypesSupported()

Supported subject types.

repeated string subject_types_supported = 4;

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

clone()

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

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

public GetOpenIDConfigResponse.Builder mergeFrom(GetOpenIDConfigResponse other)
Parameter
NameDescription
otherGetOpenIDConfigResponse
Returns
TypeDescription
GetOpenIDConfigResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setClaimsSupported(int index, String value)

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

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The index to set the value at.

valueString

The grantTypes to set.

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

The index to set the value at.

valueString

The idTokenSigningAlgValuesSupported to set.

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

setIssuer(String value)

public GetOpenIDConfigResponse.Builder setIssuer(String value)

OIDC Issuer.

string issuer = 1;

Parameter
NameDescription
valueString

The issuer to set.

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

setIssuerBytes(ByteString value)

public GetOpenIDConfigResponse.Builder setIssuerBytes(ByteString value)

OIDC Issuer.

string issuer = 1;

Parameter
NameDescription
valueByteString

The bytes for issuer to set.

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

setJwksUri(String value)

public GetOpenIDConfigResponse.Builder setJwksUri(String value)

JSON Web Key uri.

string jwks_uri = 2;

Parameter
NameDescription
valueString

The jwksUri to set.

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

setJwksUriBytes(ByteString value)

public GetOpenIDConfigResponse.Builder setJwksUriBytes(ByteString value)

JSON Web Key uri.

string jwks_uri = 2;

Parameter
NameDescription
valueByteString

The bytes for jwksUri to set.

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

The index to set the value at.

valueString

The responseTypesSupported to set.

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

The index to set the value at.

valueString

The subjectTypesSupported to set.

Returns
TypeDescription
GetOpenIDConfigResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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