Class GetAzureJsonWebKeysRequest.Builder (0.42.0)

public static final class GetAzureJsonWebKeysRequest.Builder extends GeneratedMessageV3.Builder<GetAzureJsonWebKeysRequest.Builder> implements GetAzureJsonWebKeysRequestOrBuilder

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetAzureJsonWebKeysRequest build()
Returns
Type Description
GetAzureJsonWebKeysRequest

buildPartial()

public GetAzureJsonWebKeysRequest buildPartial()
Returns
Type Description
GetAzureJsonWebKeysRequest

clear()

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

clearAzureCluster()

public GetAzureJsonWebKeysRequest.Builder clearAzureCluster()

Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

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

Returns
Type Description
GetAzureJsonWebKeysRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAzureCluster()

public String getAzureCluster()

Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

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

Returns
Type Description
String

The azureCluster.

getAzureClusterBytes()

public ByteString getAzureClusterBytes()

Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

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

Returns
Type Description
ByteString

The bytes for azureCluster.

getDefaultInstanceForType()

public GetAzureJsonWebKeysRequest getDefaultInstanceForType()
Returns
Type Description
GetAzureJsonWebKeysRequest

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(GetAzureJsonWebKeysRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAzureCluster(String value)

public GetAzureJsonWebKeysRequest.Builder setAzureCluster(String value)

Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

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

Parameter
Name Description
value String

The azureCluster to set.

Returns
Type Description
GetAzureJsonWebKeysRequest.Builder

This builder for chaining.

setAzureClusterBytes(ByteString value)

public GetAzureJsonWebKeysRequest.Builder setAzureClusterBytes(ByteString value)

Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

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

Parameter
Name Description
value ByteString

The bytes for azureCluster to set.

Returns
Type Description
GetAzureJsonWebKeysRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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