Class RuntimeMetrics (1.1.3)

public final class RuntimeMetrics extends GeneratedMessageV3 implements RuntimeMetricsOrBuilder

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

Protobuf type google.cloud.notebooks.v1.RuntimeMetrics

Static Fields

SYSTEM_METRICS_FIELD_NUMBER

public static final int SYSTEM_METRICS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RuntimeMetrics getDefaultInstance()
Returns
TypeDescription
RuntimeMetrics

getDescriptor()

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

newBuilder()

public static RuntimeMetrics.Builder newBuilder()
Returns
TypeDescription
RuntimeMetrics.Builder

newBuilder(RuntimeMetrics prototype)

public static RuntimeMetrics.Builder newBuilder(RuntimeMetrics prototype)
Parameter
NameDescription
prototypeRuntimeMetrics
Returns
TypeDescription
RuntimeMetrics.Builder

parseDelimitedFrom(InputStream input)

public static RuntimeMetrics parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RuntimeMetrics
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeMetrics
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RuntimeMetrics parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RuntimeMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RuntimeMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RuntimeMetrics parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RuntimeMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RuntimeMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RuntimeMetrics parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RuntimeMetrics
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeMetrics
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RuntimeMetrics parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RuntimeMetrics
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeMetrics
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RuntimeMetrics parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RuntimeMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RuntimeMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RuntimeMetrics> parser()
Returns
TypeDescription
Parser<RuntimeMetrics>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RuntimeMetrics getDefaultInstanceForType()
Returns
TypeDescription
RuntimeMetrics

getParserForType()

public Parser<RuntimeMetrics> getParserForType()
Returns
TypeDescription
Parser<RuntimeMetrics>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RuntimeMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RuntimeMetrics.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException