Class GetAwsJsonWebKeysRequest.Builder (0.84.0)

public static final class GetAwsJsonWebKeysRequest.Builder extends GeneratedMessage.Builder<GetAwsJsonWebKeysRequest.Builder> implements GetAwsJsonWebKeysRequestOrBuilder

GetAwsJsonWebKeysRequest 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.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetAwsJsonWebKeysRequest build()
Returns
Type Description
GetAwsJsonWebKeysRequest

buildPartial()

public GetAwsJsonWebKeysRequest buildPartial()
Returns
Type Description
GetAwsJsonWebKeysRequest

clear()

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

clearAwsCluster()

public GetAwsJsonWebKeysRequest.Builder clearAwsCluster()

Required. The AwsCluster, which owns the JsonWebKeys. Format: projects/{project}/locations/{location}/awsClusters/{cluster}

string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetAwsJsonWebKeysRequest.Builder

This builder for chaining.

getAwsCluster()

public String getAwsCluster()

Required. The AwsCluster, which owns the JsonWebKeys. Format: projects/{project}/locations/{location}/awsClusters/{cluster}

string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The awsCluster.

getAwsClusterBytes()

public ByteString getAwsClusterBytes()

Required. The AwsCluster, which owns the JsonWebKeys. Format: projects/{project}/locations/{location}/awsClusters/{cluster}

string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for awsCluster.

getDefaultInstanceForType()

public GetAwsJsonWebKeysRequest getDefaultInstanceForType()
Returns
Type Description
GetAwsJsonWebKeysRequest

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetAwsJsonWebKeysRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAwsCluster(String value)

public GetAwsJsonWebKeysRequest.Builder setAwsCluster(String value)

Required. The AwsCluster, which owns the JsonWebKeys. Format: projects/{project}/locations/{location}/awsClusters/{cluster}

string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The awsCluster to set.

Returns
Type Description
GetAwsJsonWebKeysRequest.Builder

This builder for chaining.

setAwsClusterBytes(ByteString value)

public GetAwsJsonWebKeysRequest.Builder setAwsClusterBytes(ByteString value)

Required. The AwsCluster, which owns the JsonWebKeys. Format: projects/{project}/locations/{location}/awsClusters/{cluster}

string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for awsCluster to set.

Returns
Type Description
GetAwsJsonWebKeysRequest.Builder

This builder for chaining.