Class MultiCloudCluster (1.18.0)

public final class MultiCloudCluster extends GeneratedMessageV3 implements MultiCloudClusterOrBuilder

MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.

Protobuf type google.cloud.gkehub.v1beta1.MultiCloudCluster

Static Fields

CLUSTER_MISSING_FIELD_NUMBER

public static final int CLUSTER_MISSING_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int RESOURCE_LINK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MultiCloudCluster getDefaultInstance()
Returns
TypeDescription
MultiCloudCluster

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MultiCloudCluster.Builder newBuilder()
Returns
TypeDescription
MultiCloudCluster.Builder

newBuilder(MultiCloudCluster prototype)

public static MultiCloudCluster.Builder newBuilder(MultiCloudCluster prototype)
Parameter
NameDescription
prototypeMultiCloudCluster
Returns
TypeDescription
MultiCloudCluster.Builder

parseDelimitedFrom(InputStream input)

public static MultiCloudCluster parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MultiCloudCluster
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiCloudCluster parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiCloudCluster
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MultiCloudCluster parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MultiCloudCluster
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MultiCloudCluster parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiCloudCluster
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MultiCloudCluster parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MultiCloudCluster
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MultiCloudCluster parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiCloudCluster
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MultiCloudCluster parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MultiCloudCluster
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiCloudCluster parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiCloudCluster
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MultiCloudCluster parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MultiCloudCluster
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiCloudCluster parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiCloudCluster
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MultiCloudCluster parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MultiCloudCluster
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MultiCloudCluster parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiCloudCluster
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MultiCloudCluster> parser()
Returns
TypeDescription
Parser<MultiCloudCluster>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The clusterMissing.

getDefaultInstanceForType()

public MultiCloudCluster getDefaultInstanceForType()
Returns
TypeDescription
MultiCloudCluster

getParserForType()

public Parser<MultiCloudCluster> getParserForType()
Returns
TypeDescription
Parser<MultiCloudCluster>
Overrides
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
TypeDescription
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
TypeDescription
ByteString

The bytes for resourceLink.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MultiCloudCluster.Builder newBuilderForType()
Returns
TypeDescription
MultiCloudCluster.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MultiCloudCluster.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MultiCloudCluster.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MultiCloudCluster.Builder toBuilder()
Returns
TypeDescription
MultiCloudCluster.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException