Class GetJSONWebKeysResponse.Builder (2.9.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.v1beta1.GetJSONWebKeysResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.container.v1beta1.Jwk>
Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Parameter
NameDescription
valueJwk
Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Parameter
NameDescription
builderForValueJwk.Builder
Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Parameters
NameDescription
indexint
valueJwk
Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Parameters
NameDescription
indexint
builderForValueJwk.Builder
Returns
TypeDescription
GetJSONWebKeysResponse.Builder

addKeysBuilder()

public Jwk.Builder addKeysBuilder()

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

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

Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Jwk.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetJSONWebKeysResponse build()
Returns
TypeDescription
GetJSONWebKeysResponse

buildPartial()

public GetJSONWebKeysResponse buildPartial()
Returns
TypeDescription
GetJSONWebKeysResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetJSONWebKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Returns
TypeDescription
GetJSONWebKeysResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetJSONWebKeysResponse getDefaultInstanceForType()
Returns
TypeDescription
GetJSONWebKeysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Returns
TypeDescription
List<Builder>

getKeysCount()

public int getKeysCount()

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

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

Returns
TypeDescription
int

getKeysList()

public List<Jwk> getKeysList()

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

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

Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
JwkOrBuilder

getKeysOrBuilderList()

public List<? extends JwkOrBuilder> getKeysOrBuilderList()

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

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

Returns
TypeDescription
List<? extends com.google.container.v1beta1.JwkOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetJSONWebKeysResponse other)

public GetJSONWebKeysResponse.Builder mergeFrom(GetJSONWebKeysResponse other)
Parameter
NameDescription
otherGetJSONWebKeysResponse
Returns
TypeDescription
GetJSONWebKeysResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetJSONWebKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GetJSONWebKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GetJSONWebKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Parameters
NameDescription
indexint
valueJwk
Returns
TypeDescription
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.v1beta1.Jwk keys = 1;

Parameters
NameDescription
indexint
builderForValueJwk.Builder
Returns
TypeDescription
GetJSONWebKeysResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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