Interface BufferedAdminSinkOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    BufferedAdminSink, BufferedAdminSink.Builder

    public interface BufferedAdminSinkOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getMaxTraces()
      Stop collecting traces when the specified number are collected.
      com.google.protobuf.Duration getTimeout()
      Acts as a fallback to prevent the client from waiting for long periods of time.
      com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
      Acts as a fallback to prevent the client from waiting for long periods of time.
      boolean hasTimeout()
      Acts as a fallback to prevent the client from waiting for long periods of time.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getMaxTraces

        long getMaxTraces()
         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) = { ... }
        Returns:
        The maxTraces.
      • hasTimeout

        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;
        Returns:
        Whether the timeout field is set.
      • getTimeout

        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;
        Returns:
        The timeout.
      • getTimeoutOrBuilder

        com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
         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;