Class RuntimeMetrics.Builder (0.15.0)

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.events.cloud.notebooks.v1.RuntimeMetrics

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeMetrics.Builder
Overrides

build()

public RuntimeMetrics build()
Returns
Type Description
RuntimeMetrics

buildPartial()

public RuntimeMetrics buildPartial()
Returns
Type Description
RuntimeMetrics

clear()

public RuntimeMetrics.Builder clear()
Returns
Type Description
RuntimeMetrics.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RuntimeMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RuntimeMetrics.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RuntimeMetrics.Builder
Overrides

clearSystemMetrics()

public RuntimeMetrics.Builder clearSystemMetrics()
Returns
Type Description
RuntimeMetrics.Builder

clone()

public RuntimeMetrics.Builder clone()
Returns
Type Description
RuntimeMetrics.Builder
Overrides

containsSystemMetrics(String key)

public boolean containsSystemMetrics(String key)

Output only. The system metrics.

map<string, string> system_metrics = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public RuntimeMetrics getDefaultInstanceForType()
Returns
Type Description
RuntimeMetrics

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableSystemMetrics()

public Map<String,String> getMutableSystemMetrics()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getSystemMetrics()

public Map<String,String> getSystemMetrics()
Returns
Type Description
Map<String,String>

getSystemMetricsCount()

public int getSystemMetricsCount()

Output only. The system metrics.

map<string, string> system_metrics = 1;

Returns
Type Description
int

getSystemMetricsMap()

public Map<String,String> getSystemMetricsMap()

Output only. The system metrics.

map<string, string> system_metrics = 1;

Returns
Type Description
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;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getSystemMetricsOrThrow(String key)

public String getSystemMetricsOrThrow(String key)

Output only. The system metrics.

map<string, string> system_metrics = 1;

Parameter
Name Description
key String
Returns
Type Description
String

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RuntimeMetrics other)

public RuntimeMetrics.Builder mergeFrom(RuntimeMetrics other)
Parameter
Name Description
other RuntimeMetrics
Returns
Type Description
RuntimeMetrics.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuntimeMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeMetrics.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RuntimeMetrics.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RuntimeMetrics.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeMetrics.Builder
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;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
RuntimeMetrics.Builder

putSystemMetrics(String key, String value)

public RuntimeMetrics.Builder putSystemMetrics(String key, String value)

Output only. The system metrics.

map<string, string> system_metrics = 1;

Parameters
Name Description
key String
value String
Returns
Type Description
RuntimeMetrics.Builder

removeSystemMetrics(String key)

public RuntimeMetrics.Builder removeSystemMetrics(String key)

Output only. The system metrics.

map<string, string> system_metrics = 1;

Parameter
Name Description
key String
Returns
Type Description
RuntimeMetrics.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeMetrics.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RuntimeMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RuntimeMetrics.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeMetrics.Builder
Overrides