Class GetJSONWebKeysResponse.Builder (2.45.0)

public static final class GetJSONWebKeysResponse.Builder extends GeneratedMessageV3.Builder<GetJSONWebKeysResponse.Builder> implements GetJSONWebKeysResponseOrBuilder

GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517

Protobuf type google.container.v1.GetJSONWebKeysResponse

Static Methods

getDescriptor()

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

Methods

addAllKeys(Iterable<? extends Jwk> values)

public GetJSONWebKeysResponse.Builder addAllKeys(Iterable<? extends Jwk> values)

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Parameter
Name Description
values Iterable<? extends com.google.container.v1.Jwk>
Returns
Type Description
GetJSONWebKeysResponse.Builder

addKeys(Jwk value)

public GetJSONWebKeysResponse.Builder addKeys(Jwk value)

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Parameter
Name Description
value Jwk
Returns
Type Description
GetJSONWebKeysResponse.Builder

addKeys(Jwk.Builder builderForValue)

public GetJSONWebKeysResponse.Builder addKeys(Jwk.Builder builderForValue)

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Parameter
Name Description
builderForValue Jwk.Builder
Returns
Type Description
GetJSONWebKeysResponse.Builder

addKeys(int index, Jwk value)

public GetJSONWebKeysResponse.Builder addKeys(int index, Jwk value)

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Parameters
Name Description
index int
value Jwk
Returns
Type Description
GetJSONWebKeysResponse.Builder

addKeys(int index, Jwk.Builder builderForValue)

public GetJSONWebKeysResponse.Builder addKeys(int index, Jwk.Builder builderForValue)

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Parameters
Name Description
index int
builderForValue Jwk.Builder
Returns
Type Description
GetJSONWebKeysResponse.Builder

addKeysBuilder()

public Jwk.Builder addKeysBuilder()

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Returns
Type Description
Jwk.Builder

addKeysBuilder(int index)

public Jwk.Builder addKeysBuilder(int index)

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Parameter
Name Description
index int
Returns
Type Description
Jwk.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetJSONWebKeysResponse build()
Returns
Type Description
GetJSONWebKeysResponse

buildPartial()

public GetJSONWebKeysResponse buildPartial()
Returns
Type Description
GetJSONWebKeysResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKeys()

public GetJSONWebKeysResponse.Builder clearKeys()

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Returns
Type Description
GetJSONWebKeysResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetJSONWebKeysResponse getDefaultInstanceForType()
Returns
Type Description
GetJSONWebKeysResponse

getDescriptorForType()

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

getKeys(int index)

public Jwk getKeys(int index)

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Parameter
Name Description
index int
Returns
Type Description
Jwk

getKeysBuilder(int index)

public Jwk.Builder getKeysBuilder(int index)

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Parameter
Name Description
index int
Returns
Type Description
Jwk.Builder

getKeysBuilderList()

public List<Jwk.Builder> getKeysBuilderList()

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Returns
Type Description
List<Builder>

getKeysCount()

public int getKeysCount()

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Returns
Type Description
int

getKeysList()

public List<Jwk> getKeysList()

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Returns
Type Description
List<Jwk>

getKeysOrBuilder(int index)

public JwkOrBuilder getKeysOrBuilder(int index)

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Parameter
Name Description
index int
Returns
Type Description
JwkOrBuilder

getKeysOrBuilderList()

public List<? extends JwkOrBuilder> getKeysOrBuilderList()

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Returns
Type Description
List<? extends com.google.container.v1.JwkOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetJSONWebKeysResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeKeys(int index)

public GetJSONWebKeysResponse.Builder removeKeys(int index)

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Parameter
Name Description
index int
Returns
Type Description
GetJSONWebKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setKeys(int index, Jwk value)

public GetJSONWebKeysResponse.Builder setKeys(int index, Jwk value)

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Parameters
Name Description
index int
value Jwk
Returns
Type Description
GetJSONWebKeysResponse.Builder

setKeys(int index, Jwk.Builder builderForValue)

public GetJSONWebKeysResponse.Builder setKeys(int index, Jwk.Builder builderForValue)

The public component of the keys used by the cluster to sign token requests.

repeated .google.container.v1.Jwk keys = 1;

Parameters
Name Description
index int
builderForValue Jwk.Builder
Returns
Type Description
GetJSONWebKeysResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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