Class GetAwsOpenIdConfigRequest.Builder (0.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetAwsOpenIdConfigRequest build()
Returns
TypeDescription
GetAwsOpenIdConfigRequest

buildPartial()

public GetAwsOpenIdConfigRequest buildPartial()
Returns
TypeDescription
GetAwsOpenIdConfigRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

The bytes for awsCluster.

getDefaultInstanceForType()

public GetAwsOpenIdConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
GetAwsOpenIdConfigRequest

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

public GetAwsOpenIdConfigRequest.Builder mergeFrom(GetAwsOpenIdConfigRequest other)
Parameter
NameDescription
otherGetAwsOpenIdConfigRequest
Returns
TypeDescription
GetAwsOpenIdConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The awsCluster to set.

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

The bytes for awsCluster to set.

Returns
TypeDescription
GetAwsOpenIdConfigRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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