Class GenerateAttachedClusterInstallManifestRequest.Builder (0.29.0)

public static final class GenerateAttachedClusterInstallManifestRequest.Builder extends GeneratedMessageV3.Builder<GenerateAttachedClusterInstallManifestRequest.Builder> implements GenerateAttachedClusterInstallManifestRequestOrBuilder

Request message for AttachedClusters.GenerateAttachedClusterInstallManifest method.

Protobuf type google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateAttachedClusterInstallManifestRequest build()
Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest

buildPartial()

public GenerateAttachedClusterInstallManifestRequest buildPartial()
Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest

clear()

public GenerateAttachedClusterInstallManifestRequest.Builder clear()
Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest.Builder
Overrides

clearAttachedClusterId()

public GenerateAttachedClusterInstallManifestRequest.Builder clearAttachedClusterId()

Required. A client provided ID of the resource. Must be unique within the parent resource.

The provided ID will be part of the AttachedCluster resource name formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

When generating an install manifest for importing an existing Membership resource, the attached_cluster_id field must be the Membership id.

Membership names are formatted as projects/<project-id>/locations/<region>/memberships/<membership-id>.

string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public GenerateAttachedClusterInstallManifestRequest.Builder clearParent()

Required. The parent location where this AttachedCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud resource names.

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

Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest.Builder

This builder for chaining.

clearPlatformVersion()

public GenerateAttachedClusterInstallManifestRequest.Builder clearPlatformVersion()

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

string platform_version = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest.Builder

This builder for chaining.

clone()

public GenerateAttachedClusterInstallManifestRequest.Builder clone()
Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest.Builder
Overrides

getAttachedClusterId()

public String getAttachedClusterId()

Required. A client provided ID of the resource. Must be unique within the parent resource.

The provided ID will be part of the AttachedCluster resource name formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

When generating an install manifest for importing an existing Membership resource, the attached_cluster_id field must be the Membership id.

Membership names are formatted as projects/<project-id>/locations/<region>/memberships/<membership-id>.

string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The attachedClusterId.

getAttachedClusterIdBytes()

public ByteString getAttachedClusterIdBytes()

Required. A client provided ID of the resource. Must be unique within the parent resource.

The provided ID will be part of the AttachedCluster resource name formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

When generating an install manifest for importing an existing Membership resource, the attached_cluster_id field must be the Membership id.

Membership names are formatted as projects/<project-id>/locations/<region>/memberships/<membership-id>.

string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for attachedClusterId.

getDefaultInstanceForType()

public GenerateAttachedClusterInstallManifestRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent location where this AttachedCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud resource names.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent location where this AttachedCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud resource names.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getPlatformVersion()

public String getPlatformVersion()

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

string platform_version = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The platformVersion.

getPlatformVersionBytes()

public ByteString getPlatformVersionBytes()

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

string platform_version = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for platformVersion.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateAttachedClusterInstallManifestRequest other)

public GenerateAttachedClusterInstallManifestRequest.Builder mergeFrom(GenerateAttachedClusterInstallManifestRequest other)
Parameter
NameDescription
otherGenerateAttachedClusterInstallManifestRequest
Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateAttachedClusterInstallManifestRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest.Builder
Overrides

setAttachedClusterId(String value)

public GenerateAttachedClusterInstallManifestRequest.Builder setAttachedClusterId(String value)

Required. A client provided ID of the resource. Must be unique within the parent resource.

The provided ID will be part of the AttachedCluster resource name formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

When generating an install manifest for importing an existing Membership resource, the attached_cluster_id field must be the Membership id.

Membership names are formatted as projects/<project-id>/locations/<region>/memberships/<membership-id>.

string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The attachedClusterId to set.

Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest.Builder

This builder for chaining.

setAttachedClusterIdBytes(ByteString value)

public GenerateAttachedClusterInstallManifestRequest.Builder setAttachedClusterIdBytes(ByteString value)

Required. A client provided ID of the resource. Must be unique within the parent resource.

The provided ID will be part of the AttachedCluster resource name formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

When generating an install manifest for importing an existing Membership resource, the attached_cluster_id field must be the Membership id.

Membership names are formatted as projects/<project-id>/locations/<region>/memberships/<membership-id>.

string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for attachedClusterId to set.

Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public GenerateAttachedClusterInstallManifestRequest.Builder setParent(String value)

Required. The parent location where this AttachedCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud resource names.

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public GenerateAttachedClusterInstallManifestRequest.Builder setParentBytes(ByteString value)

Required. The parent location where this AttachedCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud resource names.

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest.Builder

This builder for chaining.

setPlatformVersion(String value)

public GenerateAttachedClusterInstallManifestRequest.Builder setPlatformVersion(String value)

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

string platform_version = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The platformVersion to set.

Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest.Builder

This builder for chaining.

setPlatformVersionBytes(ByteString value)

public GenerateAttachedClusterInstallManifestRequest.Builder setPlatformVersionBytes(ByteString value)

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

string platform_version = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for platformVersion to set.

Returns
TypeDescription
GenerateAttachedClusterInstallManifestRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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