Class RuntimeMetrics.Builder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class RuntimeMetrics.Builder extends GeneratedMessageV3.Builder<RuntimeMetrics.Builder> implements RuntimeMetricsOrBuilder

Contains runtime daemon metrics, such as OS and kernels and sessions stats.

Protobuf type google.cloud.notebooks.v1.RuntimeMetrics

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuntimeMetrics.Builder
Overrides

build()

public RuntimeMetrics build()
Returns
TypeDescription
RuntimeMetrics

buildPartial()

public RuntimeMetrics buildPartial()
Returns
TypeDescription
RuntimeMetrics

clear()

public RuntimeMetrics.Builder clear()
Returns
TypeDescription
RuntimeMetrics.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RuntimeMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RuntimeMetrics.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RuntimeMetrics.Builder
Overrides

clearSystemMetrics()

public RuntimeMetrics.Builder clearSystemMetrics()
Returns
TypeDescription
RuntimeMetrics.Builder

clone()

public RuntimeMetrics.Builder clone()
Returns
TypeDescription
RuntimeMetrics.Builder
Overrides

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
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public RuntimeMetrics getDefaultInstanceForType()
Returns
TypeDescription
RuntimeMetrics

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutableSystemMetrics()

public Map<String,String> getMutableSystemMetrics()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getSystemMetrics()

public Map<String,String> getSystemMetrics()
Returns
TypeDescription
Map<String,String>

getSystemMetricsCount()

public int getSystemMetricsCount()

Output only. The system metrics.

map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getSystemMetricsMap()

public Map<String,String> getSystemMetricsMap()

Output only. The system metrics.

map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Map<String,String>

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];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides