Interface StatsdSinkOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener.
    The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener.
    Optional custom prefix for StatsdSink.
    com.google.protobuf.ByteString
    Optional custom prefix for StatsdSink.
     
    The name of a cluster that is running a TCP `statsd <https://github.com/etsy/statsd>`_ compliant listener.
    com.google.protobuf.ByteString
    The name of a cluster that is running a TCP `statsd <https://github.com/etsy/statsd>`_ compliant listener.
    boolean
    The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener.
    boolean
    The name of a cluster that is running a TCP `statsd <https://github.com/etsy/statsd>`_ compliant listener.

    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 Details

    • hasAddress

      boolean hasAddress()
       The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
       compliant listener. If specified, statistics will be flushed to this
       address.
       
      .envoy.config.core.v3.Address address = 1;
      Returns:
      Whether the address field is set.
    • getAddress

      Address getAddress()
       The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
       compliant listener. If specified, statistics will be flushed to this
       address.
       
      .envoy.config.core.v3.Address address = 1;
      Returns:
      The address.
    • getAddressOrBuilder

      AddressOrBuilder getAddressOrBuilder()
       The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
       compliant listener. If specified, statistics will be flushed to this
       address.
       
      .envoy.config.core.v3.Address address = 1;
    • hasTcpClusterName

      boolean hasTcpClusterName()
       The name of a cluster that is running a TCP `statsd
       <https://github.com/etsy/statsd>`_ compliant listener. If specified,
       Envoy will connect to this cluster to flush statistics.
       
      string tcp_cluster_name = 2;
      Returns:
      Whether the tcpClusterName field is set.
    • getTcpClusterName

      String getTcpClusterName()
       The name of a cluster that is running a TCP `statsd
       <https://github.com/etsy/statsd>`_ compliant listener. If specified,
       Envoy will connect to this cluster to flush statistics.
       
      string tcp_cluster_name = 2;
      Returns:
      The tcpClusterName.
    • getTcpClusterNameBytes

      com.google.protobuf.ByteString getTcpClusterNameBytes()
       The name of a cluster that is running a TCP `statsd
       <https://github.com/etsy/statsd>`_ compliant listener. If specified,
       Envoy will connect to this cluster to flush statistics.
       
      string tcp_cluster_name = 2;
      Returns:
      The bytes for tcpClusterName.
    • getPrefix

      String getPrefix()
       Optional custom prefix for StatsdSink. If
       specified, this will override the default prefix.
       For example:
      
       .. code-block:: json
      
       {
       "prefix" : "envoy-prod"
       }
      
       will change emitted stats to
      
       .. code-block:: cpp
      
       envoy-prod.test_counter:1|c
       envoy-prod.test_timer:5|ms
      
       Note that the default prefix, "envoy", will be used if a prefix is not
       specified.
      
       Stats with default prefix:
      
       .. code-block:: cpp
      
       envoy.test_counter:1|c
       envoy.test_timer:5|ms
       
      string prefix = 3;
      Returns:
      The prefix.
    • getPrefixBytes

      com.google.protobuf.ByteString getPrefixBytes()
       Optional custom prefix for StatsdSink. If
       specified, this will override the default prefix.
       For example:
      
       .. code-block:: json
      
       {
       "prefix" : "envoy-prod"
       }
      
       will change emitted stats to
      
       .. code-block:: cpp
      
       envoy-prod.test_counter:1|c
       envoy-prod.test_timer:5|ms
      
       Note that the default prefix, "envoy", will be used if a prefix is not
       specified.
      
       Stats with default prefix:
      
       .. code-block:: cpp
      
       envoy.test_counter:1|c
       envoy.test_timer:5|ms
       
      string prefix = 3;
      Returns:
      The bytes for prefix.
    • getStatsdSpecifierCase

      StatsdSink.StatsdSpecifierCase getStatsdSpecifierCase()