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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RuntimeMetrics.BuilderImplements
RuntimeMetricsOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public RuntimeMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
RuntimeMetrics.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RuntimeMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
RuntimeMetrics.Builder |
clearSystemMetrics()
public RuntimeMetrics.Builder clearSystemMetrics()
Returns | |
---|---|
Type | Description |
RuntimeMetrics.Builder |
clone()
public RuntimeMetrics.Builder clone()
Returns | |
---|---|
Type | Description |
RuntimeMetrics.Builder |
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 |
getMutableSystemMetrics()
public Map<String,String> getMutableSystemMetrics()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getSystemMetrics()
public Map<String,String> getSystemMetrics()
Use #getSystemMetricsMap() instead.
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 |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RuntimeMetrics.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
RuntimeMetrics.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RuntimeMetrics.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RuntimeMetrics.Builder |