Package com.google.cloud.gkehub.v1alpha2
Interface KubernetesMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KubernetesMetadata
,KubernetesMetadata.Builder
public interface KubernetesMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getKubernetesApiServerVersion()
Output only.com.google.protobuf.ByteString
getKubernetesApiServerVersionBytes()
Output only.int
getMemoryMb()
Output only.int
getNodeCount()
Output only.String
getNodeProviderId()
Output only.com.google.protobuf.ByteString
getNodeProviderIdBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.int
getVcpuCount()
Output only.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKubernetesApiServerVersion
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:
- The kubernetesApiServerVersion.
-
getKubernetesApiServerVersionBytes
com.google.protobuf.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:
- The bytes for kubernetesApiServerVersion.
-
getNodeProviderId
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:
- The nodeProviderId.
-
getNodeProviderIdBytes
com.google.protobuf.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:
- The bytes for nodeProviderId.
-
getNodeCount
int getNodeCount()
Output only. Node count as reported by Kubernetes nodes resources.
int32 node_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The nodeCount.
-
getVcpuCount
int getVcpuCount()
Output only. vCPU count as reported by Kubernetes nodes resources.
int32 vcpu_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The vcpuCount.
-
getMemoryMb
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:
- The memoryMb.
-
hasUpdateTime
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:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.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:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.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];
-
-