- 4.51.0 (latest)
- 4.50.0
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static final class ClusterMetrics.Builder extends GeneratedMessageV3.Builder<ClusterMetrics.Builder> implements ClusterMetricsOrBuilder
Contains cluster daemon metrics, such as HDFS and YARN stats. Beta Feature: This report is available for testing purposes only. It may be changed before final release.
Protobuf type google.cloud.dataproc.v1.ClusterMetrics
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ClusterMetrics.BuilderImplements
ClusterMetricsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ClusterMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ClusterMetrics.Builder |
build()
public ClusterMetrics build()
Type | Description |
ClusterMetrics |
buildPartial()
public ClusterMetrics buildPartial()
Type | Description |
ClusterMetrics |
clear()
public ClusterMetrics.Builder clear()
Type | Description |
ClusterMetrics.Builder |
clearField(Descriptors.FieldDescriptor field)
public ClusterMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ClusterMetrics.Builder |
clearHdfsMetrics()
public ClusterMetrics.Builder clearHdfsMetrics()
Type | Description |
ClusterMetrics.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ClusterMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ClusterMetrics.Builder |
clearYarnMetrics()
public ClusterMetrics.Builder clearYarnMetrics()
Type | Description |
ClusterMetrics.Builder |
clone()
public ClusterMetrics.Builder clone()
Type | Description |
ClusterMetrics.Builder |
containsHdfsMetrics(String key)
public boolean containsHdfsMetrics(String key)
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
Name | Description |
key | String |
Type | Description |
boolean |
containsYarnMetrics(String key)
public boolean containsYarnMetrics(String key)
The YARN metrics.
map<string, int64> yarn_metrics = 2;
Name | Description |
key | String |
Type | Description |
boolean |
getDefaultInstanceForType()
public ClusterMetrics getDefaultInstanceForType()
Type | Description |
ClusterMetrics |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getHdfsMetrics()
public Map<String,Long> getHdfsMetrics()
Use #getHdfsMetricsMap() instead.
Type | Description |
Map<String,java.lang.Long> |
getHdfsMetricsCount()
public int getHdfsMetricsCount()
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
Type | Description |
int |
getHdfsMetricsMap()
public Map<String,Long> getHdfsMetricsMap()
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
Type | Description |
Map<String,java.lang.Long> |
getHdfsMetricsOrDefault(String key, long defaultValue)
public long getHdfsMetricsOrDefault(String key, long defaultValue)
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
Name | Description |
key | String |
defaultValue | long |
Type | Description |
long |
getHdfsMetricsOrThrow(String key)
public long getHdfsMetricsOrThrow(String key)
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
Name | Description |
key | String |
Type | Description |
long |
getMutableHdfsMetrics()
public Map<String,Long> getMutableHdfsMetrics()
Use alternate mutation accessors instead.
Type | Description |
Map<String,java.lang.Long> |
getMutableYarnMetrics()
public Map<String,Long> getMutableYarnMetrics()
Use alternate mutation accessors instead.
Type | Description |
Map<String,java.lang.Long> |
getYarnMetrics()
public Map<String,Long> getYarnMetrics()
Use #getYarnMetricsMap() instead.
Type | Description |
Map<String,java.lang.Long> |
getYarnMetricsCount()
public int getYarnMetricsCount()
The YARN metrics.
map<string, int64> yarn_metrics = 2;
Type | Description |
int |
getYarnMetricsMap()
public Map<String,Long> getYarnMetricsMap()
The YARN metrics.
map<string, int64> yarn_metrics = 2;
Type | Description |
Map<String,java.lang.Long> |
getYarnMetricsOrDefault(String key, long defaultValue)
public long getYarnMetricsOrDefault(String key, long defaultValue)
The YARN metrics.
map<string, int64> yarn_metrics = 2;
Name | Description |
key | String |
defaultValue | long |
Type | Description |
long |
getYarnMetricsOrThrow(String key)
public long getYarnMetricsOrThrow(String key)
The YARN metrics.
map<string, int64> yarn_metrics = 2;
Name | Description |
key | String |
Type | Description |
long |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ClusterMetrics other)
public ClusterMetrics.Builder mergeFrom(ClusterMetrics other)
Name | Description |
other | ClusterMetrics |
Type | Description |
ClusterMetrics.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ClusterMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ClusterMetrics.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ClusterMetrics.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ClusterMetrics.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ClusterMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ClusterMetrics.Builder |
putAllHdfsMetrics(Map<String,Long> values)
public ClusterMetrics.Builder putAllHdfsMetrics(Map<String,Long> values)
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
Name | Description |
values | Map<String,java.lang.Long> |
Type | Description |
ClusterMetrics.Builder |
putAllYarnMetrics(Map<String,Long> values)
public ClusterMetrics.Builder putAllYarnMetrics(Map<String,Long> values)
The YARN metrics.
map<string, int64> yarn_metrics = 2;
Name | Description |
values | Map<String,java.lang.Long> |
Type | Description |
ClusterMetrics.Builder |
putHdfsMetrics(String key, long value)
public ClusterMetrics.Builder putHdfsMetrics(String key, long value)
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
Name | Description |
key | String |
value | long |
Type | Description |
ClusterMetrics.Builder |
putYarnMetrics(String key, long value)
public ClusterMetrics.Builder putYarnMetrics(String key, long value)
The YARN metrics.
map<string, int64> yarn_metrics = 2;
Name | Description |
key | String |
value | long |
Type | Description |
ClusterMetrics.Builder |
removeHdfsMetrics(String key)
public ClusterMetrics.Builder removeHdfsMetrics(String key)
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
Name | Description |
key | String |
Type | Description |
ClusterMetrics.Builder |
removeYarnMetrics(String key)
public ClusterMetrics.Builder removeYarnMetrics(String key)
The YARN metrics.
map<string, int64> yarn_metrics = 2;
Name | Description |
key | String |
Type | Description |
ClusterMetrics.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ClusterMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ClusterMetrics.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ClusterMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ClusterMetrics.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ClusterMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ClusterMetrics.Builder |