// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/metrics/v3/metrics_service.proto
package io.envoyproxy.envoy.config.metrics.v3;
public interface MetricsServiceConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.config.metrics.v3.MetricsServiceConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
* The upstream gRPC cluster that hosts the metrics service.
*
*
* .envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }
* @return Whether the grpcService field is set.
*/
boolean hasGrpcService();
/**
*
* The upstream gRPC cluster that hosts the metrics service.
*
*
* .envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }
* @return The grpcService.
*/
io.envoyproxy.envoy.config.core.v3.GrpcService getGrpcService();
/**
*
* The upstream gRPC cluster that hosts the metrics service.
*
*
* .envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.config.core.v3.GrpcServiceOrBuilder getGrpcServiceOrBuilder();
/**
*
* API version for metric service transport protocol. This describes the metric service gRPC
* endpoint and version of messages used on the wire.
*
*
* .envoy.config.core.v3.ApiVersion transport_api_version = 3 [(.validate.rules) = { ... }
* @return The enum numeric value on the wire for transportApiVersion.
*/
int getTransportApiVersionValue();
/**
*
* API version for metric service transport protocol. This describes the metric service gRPC
* endpoint and version of messages used on the wire.
*
*
* .envoy.config.core.v3.ApiVersion transport_api_version = 3 [(.validate.rules) = { ... }
* @return The transportApiVersion.
*/
io.envoyproxy.envoy.config.core.v3.ApiVersion getTransportApiVersion();
/**
*
* If true, counters are reported as the delta between flushing intervals. Otherwise, the current
* counter value is reported. Defaults to false.
* Eventually (https://github.com/envoyproxy/envoy/issues/10968) if this value is not set, the
* sink will take updates from the :ref:`MetricsResponse <envoy_v3_api_msg_service.metrics.v3.StreamMetricsResponse>`.
*
*
* .google.protobuf.BoolValue report_counters_as_deltas = 2;
* @return Whether the reportCountersAsDeltas field is set.
*/
boolean hasReportCountersAsDeltas();
/**
*
* If true, counters are reported as the delta between flushing intervals. Otherwise, the current
* counter value is reported. Defaults to false.
* Eventually (https://github.com/envoyproxy/envoy/issues/10968) if this value is not set, the
* sink will take updates from the :ref:`MetricsResponse <envoy_v3_api_msg_service.metrics.v3.StreamMetricsResponse>`.
*
*
* .google.protobuf.BoolValue report_counters_as_deltas = 2;
* @return The reportCountersAsDeltas.
*/
com.google.protobuf.BoolValue getReportCountersAsDeltas();
/**
*
* If true, counters are reported as the delta between flushing intervals. Otherwise, the current
* counter value is reported. Defaults to false.
* Eventually (https://github.com/envoyproxy/envoy/issues/10968) if this value is not set, the
* sink will take updates from the :ref:`MetricsResponse <envoy_v3_api_msg_service.metrics.v3.StreamMetricsResponse>`.
*
*
* .google.protobuf.BoolValue report_counters_as_deltas = 2;
*/
com.google.protobuf.BoolValueOrBuilder getReportCountersAsDeltasOrBuilder();
/**
*
* If true, metrics will have their tags emitted as labels on the metrics objects sent to the MetricsService,
* and the tag extracted name will be used instead of the full name, which may contain values used by the tag
* extractor or additional tags added during stats creation.
*
*
* bool emit_tags_as_labels = 4;
* @return The emitTagsAsLabels.
*/
boolean getEmitTagsAsLabels();
/**
*
* Specify which metrics types to emit for histograms. Defaults to SUMMARY_AND_HISTOGRAM.
*
*
* .envoy.config.metrics.v3.HistogramEmitMode histogram_emit_mode = 5 [(.validate.rules) = { ... }
* @return The enum numeric value on the wire for histogramEmitMode.
*/
int getHistogramEmitModeValue();
/**
*
* Specify which metrics types to emit for histograms. Defaults to SUMMARY_AND_HISTOGRAM.
*
*
* .envoy.config.metrics.v3.HistogramEmitMode histogram_emit_mode = 5 [(.validate.rules) = { ... }
* @return The histogramEmitMode.
*/
io.envoyproxy.envoy.config.metrics.v3.HistogramEmitMode getHistogramEmitMode();
}