Class GenerateAttachedClusterInstallManifestRequest.Builder (0.42.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateAttachedClusterInstallManifestRequest build()
Returns
Type Description
GenerateAttachedClusterInstallManifestRequest

buildPartial()

public GenerateAttachedClusterInstallManifestRequest buildPartial()
Returns
Type Description
GenerateAttachedClusterInstallManifestRequest

clear()

public GenerateAttachedClusterInstallManifestRequest.Builder clear()
Returns
Type Description
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
Type Description
GenerateAttachedClusterInstallManifestRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateAttachedClusterInstallManifestRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
GenerateAttachedClusterInstallManifestRequest.Builder

This builder for chaining.

clearProxyConfig()

public GenerateAttachedClusterInstallManifestRequest.Builder clearProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAttachedClusterInstallManifestRequest.Builder

clone()

public GenerateAttachedClusterInstallManifestRequest.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for attachedClusterId.

getDefaultInstanceForType()

public GenerateAttachedClusterInstallManifestRequest getDefaultInstanceForType()
Returns
Type Description
GenerateAttachedClusterInstallManifestRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for platformVersion.

getProxyConfig()

public AttachedProxyConfig getProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedProxyConfig

The proxyConfig.

getProxyConfigBuilder()

public AttachedProxyConfig.Builder getProxyConfigBuilder()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedProxyConfig.Builder

getProxyConfigOrBuilder()

public AttachedProxyConfigOrBuilder getProxyConfigOrBuilder()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedProxyConfigOrBuilder

hasProxyConfig()

public boolean hasProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the proxyConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateAttachedClusterInstallManifestRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProxyConfig(AttachedProxyConfig value)

public GenerateAttachedClusterInstallManifestRequest.Builder mergeProxyConfig(AttachedProxyConfig value)

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AttachedProxyConfig
Returns
Type Description
GenerateAttachedClusterInstallManifestRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateAttachedClusterInstallManifestRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The attachedClusterId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for attachedClusterId to set.

Returns
Type Description
GenerateAttachedClusterInstallManifestRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateAttachedClusterInstallManifestRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The parent to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
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
Name Description
value String

The platformVersion to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for platformVersion to set.

Returns
Type Description
GenerateAttachedClusterInstallManifestRequest.Builder

This builder for chaining.

setProxyConfig(AttachedProxyConfig value)

public GenerateAttachedClusterInstallManifestRequest.Builder setProxyConfig(AttachedProxyConfig value)

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AttachedProxyConfig
Returns
Type Description
GenerateAttachedClusterInstallManifestRequest.Builder

setProxyConfig(AttachedProxyConfig.Builder builderForValue)

public GenerateAttachedClusterInstallManifestRequest.Builder setProxyConfig(AttachedProxyConfig.Builder builderForValue)

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AttachedProxyConfig.Builder
Returns
Type Description
GenerateAttachedClusterInstallManifestRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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