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
Static Methods
getDefaultInstance()
public static RuntimeMetrics getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RuntimeMetrics.Builder newBuilder()
Returns
newBuilder(RuntimeMetrics prototype)
public static RuntimeMetrics.Builder newBuilder(RuntimeMetrics prototype)
Parameter
Returns
public static RuntimeMetrics parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RuntimeMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RuntimeMetrics parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RuntimeMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RuntimeMetrics parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RuntimeMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RuntimeMetrics parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RuntimeMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RuntimeMetrics parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RuntimeMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RuntimeMetrics parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RuntimeMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RuntimeMetrics> parser()
Returns
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public RuntimeMetrics getDefaultInstanceForType()
Returns
getParserForType()
public Parser<RuntimeMetrics> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSystemMetrics()
public Map<String,String> getSystemMetrics()
Returns
getSystemMetricsCount()
public int getSystemMetricsCount()
Output only. The system metrics.
map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getSystemMetricsMap()
public Map<String,String> getSystemMetricsMap()
Output only. The system metrics.
map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
Returns
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
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public RuntimeMetrics.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RuntimeMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RuntimeMetrics.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions