Class RuntimeMetrics.Builder (1.92.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class RuntimeMetrics.Builder extends GeneratedMessage.Builder<RuntimeMetrics.Builder> implements RuntimeMetricsOrBuilder
Contains runtime daemon metrics, such as OS and kernels and sessions stats.
Protobuf type google.cloud.notebooks.v1.RuntimeMetrics
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public RuntimeMetrics build()
buildPartial()
public RuntimeMetrics buildPartial()
clear()
public RuntimeMetrics.Builder clear()
Overrides
clearSystemMetrics()
public RuntimeMetrics.Builder clearSystemMetrics()
containsSystemMetrics(String key)
public boolean containsSystemMetrics(String key)
Output only. The system metrics.
map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
key |
String
|
getDefaultInstanceForType()
public RuntimeMetrics getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableSystemMetrics() (deprecated)
public Map<String,String> getMutableSystemMetrics()
Use alternate mutation accessors instead.
getSystemMetrics() (deprecated)
public Map<String,String> getSystemMetrics()
getSystemMetricsCount()
public int getSystemMetricsCount()
Output only. The system metrics.
map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getSystemMetricsMap()
public Map<String,String> getSystemMetricsMap()
Output only. The system metrics.
map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSystemMetricsOrDefault(String key, String defaultValue)
public String getSystemMetricsOrDefault(String key, String defaultValue)
Output only. The system metrics.
map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
|
getSystemMetricsOrThrow(String key)
public String getSystemMetricsOrThrow(String key)
Output only. The system metrics.
map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RuntimeMetrics other)
public RuntimeMetrics.Builder mergeFrom(RuntimeMetrics other)
public RuntimeMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RuntimeMetrics.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
putAllSystemMetrics(Map<String,String> values)
public RuntimeMetrics.Builder putAllSystemMetrics(Map<String,String> values)
Output only. The system metrics.
map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
putSystemMetrics(String key, String value)
public RuntimeMetrics.Builder putSystemMetrics(String key, String value)
Output only. The system metrics.
map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
removeSystemMetrics(String key)
public RuntimeMetrics.Builder removeSystemMetrics(String key)
Output only. The system metrics.
map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
key |
String
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]