Interface DataprocMetricConfigOrBuilder (4.25.0)

public interface DataprocMetricConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetrics(int index)

public abstract DataprocMetricConfig.Metric getMetrics(int index)

Required. Metrics sources to enable.

repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
DataprocMetricConfig.Metric

getMetricsCount()

public abstract int getMetricsCount()

Required. Metrics sources to enable.

repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getMetricsList()

public abstract List<DataprocMetricConfig.Metric> getMetricsList()

Required. Metrics sources to enable.

repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Metric>

getMetricsOrBuilder(int index)

public abstract DataprocMetricConfig.MetricOrBuilder getMetricsOrBuilder(int index)

Required. Metrics sources to enable.

repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
DataprocMetricConfig.MetricOrBuilder

getMetricsOrBuilderList()

public abstract List<? extends DataprocMetricConfig.MetricOrBuilder> getMetricsOrBuilderList()

Required. Metrics sources to enable.

repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.dataproc.v1.DataprocMetricConfig.MetricOrBuilder>