Class GetJSONWebKeysRequest.Builder (2.50.0)

public static final class GetJSONWebKeysRequest.Builder extends GeneratedMessageV3.Builder<GetJSONWebKeysRequest.Builder> implements GetJSONWebKeysRequestOrBuilder

GetJSONWebKeysRequest gets the public component of the keys used by the cluster to sign token requests. This will be the jwks_uri for the discover document returned by getOpenIDConfig. See the OpenID Connect Discovery 1.0 specification for details.

Protobuf type google.container.v1.GetJSONWebKeysRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetJSONWebKeysRequest build()
Returns
Type Description
GetJSONWebKeysRequest

buildPartial()

public GetJSONWebKeysRequest buildPartial()
Returns
Type Description
GetJSONWebKeysRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public GetJSONWebKeysRequest.Builder clearParent()

The cluster (project, location, cluster name) to get keys for. Specified in the format projects/*/locations/*/clusters/*.

string parent = 1;

Returns
Type Description
GetJSONWebKeysRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetJSONWebKeysRequest getDefaultInstanceForType()
Returns
Type Description
GetJSONWebKeysRequest

getDescriptorForType()

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

getParent()

public String getParent()

The cluster (project, location, cluster name) to get keys for. Specified in the format projects/*/locations/*/clusters/*.

string parent = 1;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The cluster (project, location, cluster name) to get keys for. Specified in the format projects/*/locations/*/clusters/*.

string parent = 1;

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetJSONWebKeysRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public GetJSONWebKeysRequest.Builder setParent(String value)

The cluster (project, location, cluster name) to get keys for. Specified in the format projects/*/locations/*/clusters/*.

string parent = 1;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
GetJSONWebKeysRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public GetJSONWebKeysRequest.Builder setParentBytes(ByteString value)

The cluster (project, location, cluster name) to get keys for. Specified in the format projects/*/locations/*/clusters/*.

string parent = 1;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
GetJSONWebKeysRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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