Interface KubernetesMetadataOrBuilder (1.21.0)

public interface KubernetesMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKubernetesApiServerVersion()

public abstract String getKubernetesApiServerVersion()

Output only. Kubernetes API server version string as reported by '/version'.

string kubernetes_api_server_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The kubernetesApiServerVersion.

getKubernetesApiServerVersionBytes()

public abstract ByteString getKubernetesApiServerVersionBytes()

Output only. Kubernetes API server version string as reported by '/version'.

string kubernetes_api_server_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for kubernetesApiServerVersion.

getMemoryMb()

public abstract int getMemoryMb()

Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.

int32 memory_mb = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The memoryMb.

getNodeCount()

public abstract int getNodeCount()

Output only. Node count as reported by Kubernetes nodes resources.

int32 node_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The nodeCount.

getNodeProviderId()

public abstract String getNodeProviderId()

Output only. Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.

string node_provider_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The nodeProviderId.

getNodeProviderIdBytes()

public abstract ByteString getNodeProviderIdBytes()

Output only. Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.

string node_provider_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for nodeProviderId.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.

.google.protobuf.Timestamp update_time = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.

.google.protobuf.Timestamp update_time = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getVcpuCount()

public abstract int getVcpuCount()

Output only. vCPU count as reported by Kubernetes nodes resources.

int32 vcpu_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The vcpuCount.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.

.google.protobuf.Timestamp update_time = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.