Class GetAwsJsonWebKeysRequest.Builder (0.47.0)

public static final class GetAwsJsonWebKeysRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetAwsJsonWebKeysRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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