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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RuntimeMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RuntimeMetrics build()
buildPartial()
public RuntimeMetrics buildPartial()
clear()
public RuntimeMetrics.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RuntimeMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RuntimeMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSystemMetrics()
public RuntimeMetrics.Builder clearSystemMetrics()
clone()
public RuntimeMetrics.Builder clone()
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 |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public RuntimeMetrics getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableSystemMetrics() (deprecated)
public Map<String,String> getMutableSystemMetrics()
Use alternate mutation accessors instead.
getSystemMetrics() (deprecated)
public Map<String,String> getSystemMetrics()
getSystemMetricsCount()
public int getSystemMetricsCount()
Output only. The system metrics.
map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | |
getSystemMetricsMap()
public Map<String,String> getSystemMetricsMap()
Output only. The system metrics.
map<string, string> system_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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 |
---|
Name | Description |
key | String
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RuntimeMetrics other)
public RuntimeMetrics.Builder mergeFrom(RuntimeMetrics other)
public RuntimeMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RuntimeMetrics.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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 |
---|
Name | Description |
key | String
|
setField(Descriptors.FieldDescriptor field, Object value)
public RuntimeMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RuntimeMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides