- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class KubernetesMetadata.Builder extends GeneratedMessageV3.Builder<KubernetesMetadata.Builder> implements KubernetesMetadataOrBuilder
KubernetesMetadata provides informational metadata for Memberships that are created from Kubernetes Endpoints (currently, these are equivalent to Kubernetes clusters).
Protobuf type google.cloud.gkehub.v1alpha2.KubernetesMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > KubernetesMetadata.BuilderImplements
KubernetesMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KubernetesMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
KubernetesMetadata.Builder |
build()
public KubernetesMetadata build()
Type | Description |
KubernetesMetadata |
buildPartial()
public KubernetesMetadata buildPartial()
Type | Description |
KubernetesMetadata |
clear()
public KubernetesMetadata.Builder clear()
Type | Description |
KubernetesMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public KubernetesMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
KubernetesMetadata.Builder |
clearKubernetesApiServerVersion()
public KubernetesMetadata.Builder clearKubernetesApiServerVersion()
Output only. Kubernetes API server version string as reported by '/version'.
string kubernetes_api_server_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
KubernetesMetadata.Builder | This builder for chaining. |
clearMemoryMb()
public KubernetesMetadata.Builder clearMemoryMb()
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];
Type | Description |
KubernetesMetadata.Builder | This builder for chaining. |
clearNodeCount()
public KubernetesMetadata.Builder clearNodeCount()
Output only. Node count as reported by Kubernetes nodes resources.
int32 node_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
KubernetesMetadata.Builder | This builder for chaining. |
clearNodeProviderId()
public KubernetesMetadata.Builder clearNodeProviderId()
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];
Type | Description |
KubernetesMetadata.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public KubernetesMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
KubernetesMetadata.Builder |
clearUpdateTime()
public KubernetesMetadata.Builder clearUpdateTime()
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];
Type | Description |
KubernetesMetadata.Builder |
clearVcpuCount()
public KubernetesMetadata.Builder clearVcpuCount()
Output only. vCPU count as reported by Kubernetes nodes resources.
int32 vcpu_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
KubernetesMetadata.Builder | This builder for chaining. |
clone()
public KubernetesMetadata.Builder clone()
Type | Description |
KubernetesMetadata.Builder |
getDefaultInstanceForType()
public KubernetesMetadata getDefaultInstanceForType()
Type | Description |
KubernetesMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKubernetesApiServerVersion()
public 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];
Type | Description |
String | The kubernetesApiServerVersion. |
getKubernetesApiServerVersionBytes()
public 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];
Type | Description |
ByteString | The bytes for kubernetesApiServerVersion. |
getMemoryMb()
public 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];
Type | Description |
int | The memoryMb. |
getNodeCount()
public int getNodeCount()
Output only. Node count as reported by Kubernetes nodes resources.
int32 node_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The nodeCount. |
getNodeProviderId()
public 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];
Type | Description |
String | The nodeProviderId. |
getNodeProviderIdBytes()
public 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];
Type | Description |
ByteString | The bytes for nodeProviderId. |
getUpdateTime()
public 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];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
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];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
getVcpuCount()
public int getVcpuCount()
Output only. vCPU count as reported by Kubernetes nodes resources.
int32 vcpu_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The vcpuCount. |
hasUpdateTime()
public 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];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(KubernetesMetadata other)
public KubernetesMetadata.Builder mergeFrom(KubernetesMetadata other)
Name | Description |
other | KubernetesMetadata |
Type | Description |
KubernetesMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public KubernetesMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
KubernetesMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public KubernetesMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
KubernetesMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
KubernetesMetadata.Builder |
mergeUpdateTime(Timestamp value)
public KubernetesMetadata.Builder mergeUpdateTime(Timestamp value)
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];
Name | Description |
value | Timestamp |
Type | Description |
KubernetesMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public KubernetesMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
KubernetesMetadata.Builder |
setKubernetesApiServerVersion(String value)
public KubernetesMetadata.Builder setKubernetesApiServerVersion(String value)
Output only. Kubernetes API server version string as reported by '/version'.
string kubernetes_api_server_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The kubernetesApiServerVersion to set. |
Type | Description |
KubernetesMetadata.Builder | This builder for chaining. |
setKubernetesApiServerVersionBytes(ByteString value)
public KubernetesMetadata.Builder setKubernetesApiServerVersionBytes(ByteString value)
Output only. Kubernetes API server version string as reported by '/version'.
string kubernetes_api_server_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for kubernetesApiServerVersion to set. |
Type | Description |
KubernetesMetadata.Builder | This builder for chaining. |
setMemoryMb(int value)
public KubernetesMetadata.Builder setMemoryMb(int value)
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];
Name | Description |
value | int The memoryMb to set. |
Type | Description |
KubernetesMetadata.Builder | This builder for chaining. |
setNodeCount(int value)
public KubernetesMetadata.Builder setNodeCount(int value)
Output only. Node count as reported by Kubernetes nodes resources.
int32 node_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The nodeCount to set. |
Type | Description |
KubernetesMetadata.Builder | This builder for chaining. |
setNodeProviderId(String value)
public KubernetesMetadata.Builder setNodeProviderId(String value)
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];
Name | Description |
value | String The nodeProviderId to set. |
Type | Description |
KubernetesMetadata.Builder | This builder for chaining. |
setNodeProviderIdBytes(ByteString value)
public KubernetesMetadata.Builder setNodeProviderIdBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for nodeProviderId to set. |
Type | Description |
KubernetesMetadata.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KubernetesMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
KubernetesMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
KubernetesMetadata.Builder |
setUpdateTime(Timestamp value)
public KubernetesMetadata.Builder setUpdateTime(Timestamp value)
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];
Name | Description |
value | Timestamp |
Type | Description |
KubernetesMetadata.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public KubernetesMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)
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];
Name | Description |
builderForValue | Builder |
Type | Description |
KubernetesMetadata.Builder |
setVcpuCount(int value)
public KubernetesMetadata.Builder setVcpuCount(int value)
Output only. vCPU count as reported by Kubernetes nodes resources.
int32 vcpu_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The vcpuCount to set. |
Type | Description |
KubernetesMetadata.Builder | This builder for chaining. |