public static final class MultiCloudCluster.Builder extends GeneratedMessageV3.Builder<MultiCloudCluster.Builder> implements MultiCloudClusterOrBuilder
MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
Protobuf type google.events.cloud.gkehub.v1.MultiCloudCluster
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MultiCloudCluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MultiCloudCluster build()
buildPartial()
public MultiCloudCluster buildPartial()
clear()
public MultiCloudCluster.Builder clear()
Overrides
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;
clearField(Descriptors.FieldDescriptor field)
public MultiCloudCluster.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MultiCloudCluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public MultiCloudCluster.Builder clone()
Overrides
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;
Returns |
Type |
Description |
boolean |
The clusterMissing.
|
getDefaultInstanceForType()
public MultiCloudCluster getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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;
Returns |
Type |
Description |
ByteString |
The bytes for resourceLink.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MultiCloudCluster other)
public MultiCloudCluster.Builder mergeFrom(MultiCloudCluster other)
public MultiCloudCluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MultiCloudCluster.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MultiCloudCluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
Parameter |
Name |
Description |
value |
boolean
The clusterMissing to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public MultiCloudCluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MultiCloudCluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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;
Parameter |
Name |
Description |
value |
String
The resourceLink to set.
|
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for resourceLink to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final MultiCloudCluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides