Class GetAwsJsonWebKeysRequest.Builder (0.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetAwsJsonWebKeysRequest build()
Returns
TypeDescription
GetAwsJsonWebKeysRequest

buildPartial()

public GetAwsJsonWebKeysRequest buildPartial()
Returns
TypeDescription
GetAwsJsonWebKeysRequest

clear()

public GetAwsJsonWebKeysRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
GetAwsJsonWebKeysRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public GetAwsJsonWebKeysRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for awsCluster.

getDefaultInstanceForType()

public GetAwsJsonWebKeysRequest getDefaultInstanceForType()
Returns
TypeDescription
GetAwsJsonWebKeysRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetAwsJsonWebKeysRequest other)

public GetAwsJsonWebKeysRequest.Builder mergeFrom(GetAwsJsonWebKeysRequest other)
Parameter
NameDescription
otherGetAwsJsonWebKeysRequest
Returns
TypeDescription
GetAwsJsonWebKeysRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetAwsJsonWebKeysRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The awsCluster to set.

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

The bytes for awsCluster to set.

Returns
TypeDescription
GetAwsJsonWebKeysRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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