- 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 CreateAttachedClusterRequest.Builder extends GeneratedMessageV3.Builder<CreateAttachedClusterRequest.Builder> implements CreateAttachedClusterRequestOrBuilder
Request message for AttachedClusters.CreateAttachedCluster
method.
Protobuf type google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateAttachedClusterRequest.BuilderImplements
CreateAttachedClusterRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateAttachedClusterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateAttachedClusterRequest.Builder |
build()
public CreateAttachedClusterRequest build()
Type | Description |
CreateAttachedClusterRequest |
buildPartial()
public CreateAttachedClusterRequest buildPartial()
Type | Description |
CreateAttachedClusterRequest |
clear()
public CreateAttachedClusterRequest.Builder clear()
Type | Description |
CreateAttachedClusterRequest.Builder |
clearAttachedCluster()
public CreateAttachedClusterRequest.Builder clearAttachedCluster()
Required. The specification of the AttachedCluster to create.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CreateAttachedClusterRequest.Builder |
clearAttachedClusterId()
public CreateAttachedClusterRequest.Builder clearAttachedClusterId()
Required. A client provided ID 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.
string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CreateAttachedClusterRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateAttachedClusterRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateAttachedClusterRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateAttachedClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateAttachedClusterRequest.Builder |
clearParent()
public CreateAttachedClusterRequest.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) = { ... }
Type | Description |
CreateAttachedClusterRequest.Builder | This builder for chaining. |
clearValidateOnly()
public CreateAttachedClusterRequest.Builder clearValidateOnly()
If set, only validate the request, but do not actually create the cluster.
bool validate_only = 4;
Type | Description |
CreateAttachedClusterRequest.Builder | This builder for chaining. |
clone()
public CreateAttachedClusterRequest.Builder clone()
Type | Description |
CreateAttachedClusterRequest.Builder |
getAttachedCluster()
public AttachedCluster getAttachedCluster()
Required. The specification of the AttachedCluster to create.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AttachedCluster | The attachedCluster. |
getAttachedClusterBuilder()
public AttachedCluster.Builder getAttachedClusterBuilder()
Required. The specification of the AttachedCluster to create.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AttachedCluster.Builder |
getAttachedClusterId()
public String getAttachedClusterId()
Required. A client provided ID 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.
string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The attachedClusterId. |
getAttachedClusterIdBytes()
public ByteString getAttachedClusterIdBytes()
Required. A client provided ID 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.
string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for attachedClusterId. |
getAttachedClusterOrBuilder()
public AttachedClusterOrBuilder getAttachedClusterOrBuilder()
Required. The specification of the AttachedCluster to create.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AttachedClusterOrBuilder |
getDefaultInstanceForType()
public CreateAttachedClusterRequest getDefaultInstanceForType()
Type | Description |
CreateAttachedClusterRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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) = { ... }
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) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getValidateOnly()
public boolean getValidateOnly()
If set, only validate the request, but do not actually create the cluster.
bool validate_only = 4;
Type | Description |
boolean | The validateOnly. |
hasAttachedCluster()
public boolean hasAttachedCluster()
Required. The specification of the AttachedCluster to create.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the attachedCluster field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAttachedCluster(AttachedCluster value)
public CreateAttachedClusterRequest.Builder mergeAttachedCluster(AttachedCluster value)
Required. The specification of the AttachedCluster to create.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | AttachedCluster |
Type | Description |
CreateAttachedClusterRequest.Builder |
mergeFrom(CreateAttachedClusterRequest other)
public CreateAttachedClusterRequest.Builder mergeFrom(CreateAttachedClusterRequest other)
Name | Description |
other | CreateAttachedClusterRequest |
Type | Description |
CreateAttachedClusterRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateAttachedClusterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateAttachedClusterRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateAttachedClusterRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateAttachedClusterRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateAttachedClusterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateAttachedClusterRequest.Builder |
setAttachedCluster(AttachedCluster value)
public CreateAttachedClusterRequest.Builder setAttachedCluster(AttachedCluster value)
Required. The specification of the AttachedCluster to create.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | AttachedCluster |
Type | Description |
CreateAttachedClusterRequest.Builder |
setAttachedCluster(AttachedCluster.Builder builderForValue)
public CreateAttachedClusterRequest.Builder setAttachedCluster(AttachedCluster.Builder builderForValue)
Required. The specification of the AttachedCluster to create.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | AttachedCluster.Builder |
Type | Description |
CreateAttachedClusterRequest.Builder |
setAttachedClusterId(String value)
public CreateAttachedClusterRequest.Builder setAttachedClusterId(String value)
Required. A client provided ID 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.
string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The attachedClusterId to set. |
Type | Description |
CreateAttachedClusterRequest.Builder | This builder for chaining. |
setAttachedClusterIdBytes(ByteString value)
public CreateAttachedClusterRequest.Builder setAttachedClusterIdBytes(ByteString value)
Required. A client provided ID 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.
string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for attachedClusterId to set. |
Type | Description |
CreateAttachedClusterRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateAttachedClusterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateAttachedClusterRequest.Builder |
setParent(String value)
public CreateAttachedClusterRequest.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) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
CreateAttachedClusterRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateAttachedClusterRequest.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) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
CreateAttachedClusterRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateAttachedClusterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateAttachedClusterRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateAttachedClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateAttachedClusterRequest.Builder |
setValidateOnly(boolean value)
public CreateAttachedClusterRequest.Builder setValidateOnly(boolean value)
If set, only validate the request, but do not actually create the cluster.
bool validate_only = 4;
Name | Description |
value | boolean The validateOnly to set. |
Type | Description |
CreateAttachedClusterRequest.Builder | This builder for chaining. |