Interface CreateAttachedClusterRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateAttachedClusterRequest,CreateAttachedClusterRequest.Builder
public interface CreateAttachedClusterRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttachedClustergetAttachedCluster()Required.StringgetAttachedClusterId()Required.com.google.protobuf.ByteStringgetAttachedClusterIdBytes()Required.AttachedClusterOrBuildergetAttachedClusterOrBuilder()Required.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.booleangetValidateOnly()If set, only validate the request, but do not actually create the cluster.booleanhasAttachedCluster()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The parent location where this [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will be created. Location names are formatted as `projects/<project-id>/locations/<region>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The parent location where this [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will be created. Location names are formatted as `projects/<project-id>/locations/<region>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasAttachedCluster
boolean hasAttachedCluster()
Required. The specification of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the attachedCluster field is set.
-
getAttachedCluster
AttachedCluster getAttachedCluster()
Required. The specification of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The attachedCluster.
-
getAttachedClusterOrBuilder
AttachedClusterOrBuilder getAttachedClusterOrBuilder()
Required. The specification of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
-
getAttachedClusterId
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][google.cloud.gkemulticloud.v1.AttachedCluster] resource name formatted as `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The attachedClusterId.
-
getAttachedClusterIdBytes
com.google.protobuf.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][google.cloud.gkemulticloud.v1.AttachedCluster] resource name formatted as `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for attachedClusterId.
-
getValidateOnly
boolean getValidateOnly()
If set, only validate the request, but do not actually create the cluster.
bool validate_only = 4;- Returns:
- The validateOnly.
-
-