Class AzureOpenIdConfig.Builder (0.34.0)

public static final class AzureOpenIdConfig.Builder extends GeneratedMessageV3.Builder<AzureOpenIdConfig.Builder> implements AzureOpenIdConfigOrBuilder

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

Protobuf type google.cloud.gkemulticloud.v1.AzureOpenIdConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllClaimsSupported(Iterable<String> values)

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

Supported claims.

repeated string claims_supported = 6;

Parameter
NameDescription
valuesIterable<String>

The claimsSupported to add.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

addAllGrantTypes(Iterable<String> values)

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

Supported grant types.

repeated string grant_types = 7;

Parameter
NameDescription
valuesIterable<String>

The grantTypes to add.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

addAllIdTokenSigningAlgValuesSupported(Iterable<String> values)

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

This builder for chaining.

addAllResponseTypesSupported(Iterable<String> values)

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

Supported response types.

repeated string response_types_supported = 3;

Parameter
NameDescription
valuesIterable<String>

The responseTypesSupported to add.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

addAllSubjectTypesSupported(Iterable<String> values)

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

Supported subject types.

repeated string subject_types_supported = 4;

Parameter
NameDescription
valuesIterable<String>

The subjectTypesSupported to add.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

addClaimsSupported(String value)

public AzureOpenIdConfig.Builder addClaimsSupported(String value)

Supported claims.

repeated string claims_supported = 6;

Parameter
NameDescription
valueString

The claimsSupported to add.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

addClaimsSupportedBytes(ByteString value)

public AzureOpenIdConfig.Builder addClaimsSupportedBytes(ByteString value)

Supported claims.

repeated string claims_supported = 6;

Parameter
NameDescription
valueByteString

The bytes of the claimsSupported to add.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

addGrantTypes(String value)

public AzureOpenIdConfig.Builder addGrantTypes(String value)

Supported grant types.

repeated string grant_types = 7;

Parameter
NameDescription
valueString

The grantTypes to add.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

addGrantTypesBytes(ByteString value)

public AzureOpenIdConfig.Builder addGrantTypesBytes(ByteString value)

Supported grant types.

repeated string grant_types = 7;

Parameter
NameDescription
valueByteString

The bytes of the grantTypes to add.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

addIdTokenSigningAlgValuesSupported(String value)

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

This builder for chaining.

addIdTokenSigningAlgValuesSupportedBytes(ByteString value)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResponseTypesSupported(String value)

public AzureOpenIdConfig.Builder addResponseTypesSupported(String value)

Supported response types.

repeated string response_types_supported = 3;

Parameter
NameDescription
valueString

The responseTypesSupported to add.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

addResponseTypesSupportedBytes(ByteString value)

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

This builder for chaining.

addSubjectTypesSupported(String value)

public AzureOpenIdConfig.Builder addSubjectTypesSupported(String value)

Supported subject types.

repeated string subject_types_supported = 4;

Parameter
NameDescription
valueString

The subjectTypesSupported to add.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

addSubjectTypesSupportedBytes(ByteString value)

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

This builder for chaining.

build()

public AzureOpenIdConfig build()
Returns
TypeDescription
AzureOpenIdConfig

buildPartial()

public AzureOpenIdConfig buildPartial()
Returns
TypeDescription
AzureOpenIdConfig

clear()

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

clearClaimsSupported()

public AzureOpenIdConfig.Builder clearClaimsSupported()

Supported claims.

repeated string claims_supported = 6;

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGrantTypes()

public AzureOpenIdConfig.Builder clearGrantTypes()

Supported grant types.

repeated string grant_types = 7;

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

clearIdTokenSigningAlgValuesSupported()

public AzureOpenIdConfig.Builder clearIdTokenSigningAlgValuesSupported()

supported ID Token signing Algorithms.

repeated string id_token_signing_alg_values_supported = 5;

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

clearIssuer()

public AzureOpenIdConfig.Builder clearIssuer()

OIDC Issuer.

string issuer = 1;

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

clearJwksUri()

public AzureOpenIdConfig.Builder clearJwksUri()

JSON Web Key uri.

string jwks_uri = 2;

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResponseTypesSupported()

public AzureOpenIdConfig.Builder clearResponseTypesSupported()

Supported response types.

repeated string response_types_supported = 3;

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

clearSubjectTypesSupported()

public AzureOpenIdConfig.Builder clearSubjectTypesSupported()

Supported subject types.

repeated string subject_types_supported = 4;

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

clone()

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

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

public AzureOpenIdConfig.Builder mergeFrom(AzureOpenIdConfig other)
Parameter
NameDescription
otherAzureOpenIdConfig
Returns
TypeDescription
AzureOpenIdConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setClaimsSupported(int index, String value)

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

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGrantTypes(int index, String value)

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

This builder for chaining.

setIdTokenSigningAlgValuesSupported(int index, String value)

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

This builder for chaining.

setIssuer(String value)

public AzureOpenIdConfig.Builder setIssuer(String value)

OIDC Issuer.

string issuer = 1;

Parameter
NameDescription
valueString

The issuer to set.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

setIssuerBytes(ByteString value)

public AzureOpenIdConfig.Builder setIssuerBytes(ByteString value)

OIDC Issuer.

string issuer = 1;

Parameter
NameDescription
valueByteString

The bytes for issuer to set.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

setJwksUri(String value)

public AzureOpenIdConfig.Builder setJwksUri(String value)

JSON Web Key uri.

string jwks_uri = 2;

Parameter
NameDescription
valueString

The jwksUri to set.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

setJwksUriBytes(ByteString value)

public AzureOpenIdConfig.Builder setJwksUriBytes(ByteString value)

JSON Web Key uri.

string jwks_uri = 2;

Parameter
NameDescription
valueByteString

The bytes for jwksUri to set.

Returns
TypeDescription
AzureOpenIdConfig.Builder

This builder for chaining.

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

public AzureOpenIdConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AzureOpenIdConfig.Builder
Overrides

setResponseTypesSupported(int index, String value)

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

This builder for chaining.

setSubjectTypesSupported(int index, String value)

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

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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