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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RuntimeMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RuntimeMetrics build()
Returns
buildPartial()
public RuntimeMetrics buildPartial()
Returns
clear()
public RuntimeMetrics.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RuntimeMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RuntimeMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSystemMetrics()
public RuntimeMetrics.Builder clearSystemMetrics()
Returns
clone()
public RuntimeMetrics.Builder clone()
Returns
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
Returns
getDefaultInstanceForType()
public RuntimeMetrics getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMutableSystemMetrics()
public Map<String,String> getMutableSystemMetrics()
Use alternate mutation accessors instead.
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RuntimeMetrics other)
public RuntimeMetrics.Builder mergeFrom(RuntimeMetrics other)
Parameter
Returns
public RuntimeMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RuntimeMetrics.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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];
Parameter
Returns
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];
Parameters
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RuntimeMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RuntimeMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides