Class GetAwsOpenIdConfigRequest.Builder (0.54.0)

public static final class GetAwsOpenIdConfigRequest.Builder extends GeneratedMessageV3.Builder<GetAwsOpenIdConfigRequest.Builder> implements GetAwsOpenIdConfigRequestOrBuilder

GetAwsOpenIdConfigRequest gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Protobuf type google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetAwsOpenIdConfigRequest build()
Returns
Type Description
GetAwsOpenIdConfigRequest

buildPartial()

public GetAwsOpenIdConfigRequest buildPartial()
Returns
Type Description
GetAwsOpenIdConfigRequest

clear()

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

clearAwsCluster()

public GetAwsOpenIdConfigRequest.Builder clearAwsCluster()

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

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

Returns
Type Description
GetAwsOpenIdConfigRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAwsCluster()

public String getAwsCluster()

Required. The AwsCluster, which owns the OIDC discovery document. 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 OIDC discovery document. 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 GetAwsOpenIdConfigRequest getDefaultInstanceForType()
Returns
Type Description
GetAwsOpenIdConfigRequest

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAwsCluster(String value)

public GetAwsOpenIdConfigRequest.Builder setAwsCluster(String value)

Required. The AwsCluster, which owns the OIDC discovery document. 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
GetAwsOpenIdConfigRequest.Builder

This builder for chaining.

setAwsClusterBytes(ByteString value)

public GetAwsOpenIdConfigRequest.Builder setAwsClusterBytes(ByteString value)

Required. The AwsCluster, which owns the OIDC discovery document. 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
GetAwsOpenIdConfigRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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