Interface DataprocMetricConfigOrBuilder (4.39.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.dataproc.v1.DataprocMetricConfig.MetricOrBuilder>