Class GetJSONWebKeysRequest.Builder (2.31.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.v1beta1.GetJSONWebKeysRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetJSONWebKeysRequest build()
Returns
TypeDescription
GetJSONWebKeysRequest

buildPartial()

public GetJSONWebKeysRequest buildPartial()
Returns
TypeDescription
GetJSONWebKeysRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public GetJSONWebKeysRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
GetJSONWebKeysRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetJSONWebKeysRequest getDefaultInstanceForType()
Returns
TypeDescription
GetJSONWebKeysRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetJSONWebKeysRequest other)

public GetJSONWebKeysRequest.Builder mergeFrom(GetJSONWebKeysRequest other)
Parameter
NameDescription
otherGetJSONWebKeysRequest
Returns
TypeDescription
GetJSONWebKeysRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetJSONWebKeysRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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