io.envoyproxy.envoy.config.tap.v3.BufferedAdminSinkOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/tap/v3/common.proto
package io.envoyproxy.envoy.config.tap.v3;
public interface BufferedAdminSinkOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.config.tap.v3.BufferedAdminSink)
com.google.protobuf.MessageOrBuilder {
/**
*
* Stop collecting traces when the specified number are collected.
* If other criteria for ending collection are reached first, this value will not be used.
*
*
* uint64 max_traces = 1 [(.validate.rules) = { ... }
* @return The maxTraces.
*/
long getMaxTraces();
/**
*
* Acts as a fallback to prevent the client from waiting for long periods of time.
* After timeout has occurred, a buffer flush will be triggered, returning the traces buffered so far.
* This may result in returning fewer traces than were requested, and in the case that no traces are
* buffered during this time, no traces will be returned.
* Specifying 0 for the timeout value (or not specifying a value at all) indicates an infinite timeout.
*
*
* .google.protobuf.Duration timeout = 2;
* @return Whether the timeout field is set.
*/
boolean hasTimeout();
/**
*
* Acts as a fallback to prevent the client from waiting for long periods of time.
* After timeout has occurred, a buffer flush will be triggered, returning the traces buffered so far.
* This may result in returning fewer traces than were requested, and in the case that no traces are
* buffered during this time, no traces will be returned.
* Specifying 0 for the timeout value (or not specifying a value at all) indicates an infinite timeout.
*
*
* .google.protobuf.Duration timeout = 2;
* @return The timeout.
*/
com.google.protobuf.Duration getTimeout();
/**
*
* Acts as a fallback to prevent the client from waiting for long periods of time.
* After timeout has occurred, a buffer flush will be triggered, returning the traces buffered so far.
* This may result in returning fewer traces than were requested, and in the case that no traces are
* buffered during this time, no traces will be returned.
* Specifying 0 for the timeout value (or not specifying a value at all) indicates an infinite timeout.
*
*
* .google.protobuf.Duration timeout = 2;
*/
com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder();
}