public static final class MultiCloudCluster.Builder extends GeneratedMessage.Builder<MultiCloudCluster.Builder> implements MultiCloudClusterOrBuilderMultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
Protobuf type google.cloud.gkehub.v1beta1.MultiCloudCluster
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MultiCloudCluster.BuilderImplements
MultiCloudClusterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MultiCloudCluster build()| Returns | |
|---|---|
| Type | Description |
MultiCloudCluster |
|
buildPartial()
public MultiCloudCluster buildPartial()| Returns | |
|---|---|
| Type | Description |
MultiCloudCluster |
|
clear()
public MultiCloudCluster.Builder clear()| Returns | |
|---|---|
| Type | Description |
MultiCloudCluster.Builder |
|
clearClusterMissing()
public MultiCloudCluster.Builder clearClusterMissing()Output only. If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.
bool cluster_missing = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MultiCloudCluster.Builder |
This builder for chaining. |
clearResourceLink()
public MultiCloudCluster.Builder clearResourceLink()Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For example:
//gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
MultiCloudCluster.Builder |
This builder for chaining. |
getClusterMissing()
public boolean getClusterMissing()Output only. If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.
bool cluster_missing = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The clusterMissing. |
getDefaultInstanceForType()
public MultiCloudCluster getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MultiCloudCluster |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getResourceLink()
public String getResourceLink()Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For example:
//gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The resourceLink. |
getResourceLinkBytes()
public ByteString getResourceLinkBytes()Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For example:
//gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resourceLink. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MultiCloudCluster other)
public MultiCloudCluster.Builder mergeFrom(MultiCloudCluster other)| Parameter | |
|---|---|
| Name | Description |
other |
MultiCloudCluster |
| Returns | |
|---|---|
| Type | Description |
MultiCloudCluster.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MultiCloudCluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MultiCloudCluster.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MultiCloudCluster.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MultiCloudCluster.Builder |
|
setClusterMissing(boolean value)
public MultiCloudCluster.Builder setClusterMissing(boolean value)Output only. If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.
bool cluster_missing = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe clusterMissing to set. |
| Returns | |
|---|---|
| Type | Description |
MultiCloudCluster.Builder |
This builder for chaining. |
setResourceLink(String value)
public MultiCloudCluster.Builder setResourceLink(String value)Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For example:
//gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceLink to set. |
| Returns | |
|---|---|
| Type | Description |
MultiCloudCluster.Builder |
This builder for chaining. |
setResourceLinkBytes(ByteString value)
public MultiCloudCluster.Builder setResourceLinkBytes(ByteString value)Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For example:
//gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resourceLink to set. |
| Returns | |
|---|---|
| Type | Description |
MultiCloudCluster.Builder |
This builder for chaining. |