- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class ImportAttachedClusterRequest.Builder extends GeneratedMessageV3.Builder<ImportAttachedClusterRequest.Builder> implements ImportAttachedClusterRequestOrBuilder
Request message for AttachedClusters.ImportAttachedCluster
method.
Protobuf type google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportAttachedClusterRequest.BuilderImplements
ImportAttachedClusterRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportAttachedClusterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder |
build()
public ImportAttachedClusterRequest build()
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest |
buildPartial()
public ImportAttachedClusterRequest buildPartial()
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest |
clear()
public ImportAttachedClusterRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder |
clearDistribution()
public ImportAttachedClusterRequest.Builder clearDistribution()
Required. The Kubernetes distribution of the underlying attached cluster.
Supported values: ["eks", "aks"].
string distribution = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ImportAttachedClusterRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder |
clearFleetMembership()
public ImportAttachedClusterRequest.Builder clearFleetMembership()
Required. The name of the fleet membership resource to import.
string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportAttachedClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder |
clearParent()
public ImportAttachedClusterRequest.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 |
ImportAttachedClusterRequest.Builder | This builder for chaining. |
clearPlatformVersion()
public ImportAttachedClusterRequest.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 = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder | This builder for chaining. |
clearValidateOnly()
public ImportAttachedClusterRequest.Builder clearValidateOnly()
If set, only validate the request, but do not actually import the cluster.
bool validate_only = 2;
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder | This builder for chaining. |
clone()
public ImportAttachedClusterRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder |
getDefaultInstanceForType()
public ImportAttachedClusterRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDistribution()
public String getDistribution()
Required. The Kubernetes distribution of the underlying attached cluster.
Supported values: ["eks", "aks"].
string distribution = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The distribution. |
getDistributionBytes()
public ByteString getDistributionBytes()
Required. The Kubernetes distribution of the underlying attached cluster.
Supported values: ["eks", "aks"].
string distribution = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for distribution. |
getFleetMembership()
public String getFleetMembership()
Required. The name of the fleet membership resource to import.
string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The fleetMembership. |
getFleetMembershipBytes()
public ByteString getFleetMembershipBytes()
Required. The name of the fleet membership resource to import.
string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for fleetMembership. |
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 = 4 [(.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 = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for platformVersion. |
getValidateOnly()
public boolean getValidateOnly()
If set, only validate the request, but do not actually import the cluster.
bool validate_only = 2;
Returns | |
---|---|
Type | Description |
boolean | The validateOnly. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ImportAttachedClusterRequest other)
public ImportAttachedClusterRequest.Builder mergeFrom(ImportAttachedClusterRequest other)
Parameter | |
---|---|
Name | Description |
other | ImportAttachedClusterRequest |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportAttachedClusterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ImportAttachedClusterRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportAttachedClusterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder |
setDistribution(String value)
public ImportAttachedClusterRequest.Builder setDistribution(String value)
Required. The Kubernetes distribution of the underlying attached cluster.
Supported values: ["eks", "aks"].
string distribution = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The distribution to set. |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder | This builder for chaining. |
setDistributionBytes(ByteString value)
public ImportAttachedClusterRequest.Builder setDistributionBytes(ByteString value)
Required. The Kubernetes distribution of the underlying attached cluster.
Supported values: ["eks", "aks"].
string distribution = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for distribution to set. |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ImportAttachedClusterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder |
setFleetMembership(String value)
public ImportAttachedClusterRequest.Builder setFleetMembership(String value)
Required. The name of the fleet membership resource to import.
string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The fleetMembership to set. |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder | This builder for chaining. |
setFleetMembershipBytes(ByteString value)
public ImportAttachedClusterRequest.Builder setFleetMembershipBytes(ByteString value)
Required. The name of the fleet membership resource to import.
string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for fleetMembership to set. |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder | This builder for chaining. |
setParent(String value)
public ImportAttachedClusterRequest.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 |
ImportAttachedClusterRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public ImportAttachedClusterRequest.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 |
ImportAttachedClusterRequest.Builder | This builder for chaining. |
setPlatformVersion(String value)
public ImportAttachedClusterRequest.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 = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The platformVersion to set. |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder | This builder for chaining. |
setPlatformVersionBytes(ByteString value)
public ImportAttachedClusterRequest.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 = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for platformVersion to set. |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportAttachedClusterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportAttachedClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder |
setValidateOnly(boolean value)
public ImportAttachedClusterRequest.Builder setValidateOnly(boolean value)
If set, only validate the request, but do not actually import the cluster.
bool validate_only = 2;
Parameter | |
---|---|
Name | Description |
value | boolean The validateOnly to set. |
Returns | |
---|---|
Type | Description |
ImportAttachedClusterRequest.Builder | This builder for chaining. |