Package com.google.cloud.gkehub.v1beta1
Interface KubernetesMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KubernetesMetadata,KubernetesMetadata.Builder
@Generated
public interface KubernetesMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.intOutput only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.intOutput only. vCPU count as reported by Kubernetes nodes resources.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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];
-