Class LightstepConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.trace.v3.LightstepConfig
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, LightstepConfigOrBuilder, Serializable

public final class LightstepConfig extends com.google.protobuf.GeneratedMessage implements LightstepConfigOrBuilder
 Configuration for the LightStep tracer.
 [#extension: envoy.tracers.lightstep]
 [#not-implemented-hide:]
 
Protobuf type envoy.config.trace.v3.LightstepConfig
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • bitField0_

      private int bitField0_
    • COLLECTOR_CLUSTER_FIELD_NUMBER

      public static final int COLLECTOR_CLUSTER_FIELD_NUMBER
      See Also:
    • collectorCluster_

      private volatile Object collectorCluster_
    • ACCESS_TOKEN_FILE_FIELD_NUMBER

      public static final int ACCESS_TOKEN_FILE_FIELD_NUMBER
      See Also:
    • accessTokenFile_

      private volatile Object accessTokenFile_
    • ACCESS_TOKEN_FIELD_NUMBER

      public static final int ACCESS_TOKEN_FIELD_NUMBER
      See Also:
    • accessToken_

      private DataSource accessToken_
    • PROPAGATION_MODES_FIELD_NUMBER

      public static final int PROPAGATION_MODES_FIELD_NUMBER
      See Also:
    • propagationModes_

      private com.google.protobuf.Internal.IntList propagationModes_
    • propagationModes_converter_

      private static final com.google.protobuf.Internal.IntListAdapter.IntConverter<LightstepConfig.PropagationMode> propagationModes_converter_
    • propagationModesMemoizedSerializedSize

      private int propagationModesMemoizedSerializedSize
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final LightstepConfig DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<LightstepConfig> PARSER
  • Constructor Details

    • LightstepConfig

      private LightstepConfig(com.google.protobuf.GeneratedMessage.Builder<?> builder)
    • LightstepConfig

      private LightstepConfig()
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getCollectorCluster

      public String getCollectorCluster()
       The cluster manager cluster that hosts the LightStep collectors.
       
      string collector_cluster = 1 [(.validate.rules) = { ... }
      Specified by:
      getCollectorCluster in interface LightstepConfigOrBuilder
      Returns:
      The collectorCluster.
    • getCollectorClusterBytes

      public com.google.protobuf.ByteString getCollectorClusterBytes()
       The cluster manager cluster that hosts the LightStep collectors.
       
      string collector_cluster = 1 [(.validate.rules) = { ... }
      Specified by:
      getCollectorClusterBytes in interface LightstepConfigOrBuilder
      Returns:
      The bytes for collectorCluster.
    • getAccessTokenFile

      @Deprecated public String getAccessTokenFile()
      Deprecated.
      envoy.config.trace.v3.LightstepConfig.access_token_file is deprecated. See envoy/config/trace/v3/lightstep.proto;l=49
       File containing the access token to the `LightStep
       <https://lightstep.com/>`_ API.
       
      string access_token_file = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      getAccessTokenFile in interface LightstepConfigOrBuilder
      Returns:
      The accessTokenFile.
    • getAccessTokenFileBytes

      @Deprecated public com.google.protobuf.ByteString getAccessTokenFileBytes()
      Deprecated.
      envoy.config.trace.v3.LightstepConfig.access_token_file is deprecated. See envoy/config/trace/v3/lightstep.proto;l=49
       File containing the access token to the `LightStep
       <https://lightstep.com/>`_ API.
       
      string access_token_file = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      getAccessTokenFileBytes in interface LightstepConfigOrBuilder
      Returns:
      The bytes for accessTokenFile.
    • hasAccessToken

      public boolean hasAccessToken()
       Access token to the `LightStep <https://lightstep.com/>`_ API.
       
      .envoy.config.core.v3.DataSource access_token = 4;
      Specified by:
      hasAccessToken in interface LightstepConfigOrBuilder
      Returns:
      Whether the accessToken field is set.
    • getAccessToken

      public DataSource getAccessToken()
       Access token to the `LightStep <https://lightstep.com/>`_ API.
       
      .envoy.config.core.v3.DataSource access_token = 4;
      Specified by:
      getAccessToken in interface LightstepConfigOrBuilder
      Returns:
      The accessToken.
    • getAccessTokenOrBuilder

      public DataSourceOrBuilder getAccessTokenOrBuilder()
       Access token to the `LightStep <https://lightstep.com/>`_ API.
       
      .envoy.config.core.v3.DataSource access_token = 4;
      Specified by:
      getAccessTokenOrBuilder in interface LightstepConfigOrBuilder
    • getPropagationModesList

      public List<LightstepConfig.PropagationMode> getPropagationModesList()
       Propagation modes to use by LightStep's tracer.
       
      repeated .envoy.config.trace.v3.LightstepConfig.PropagationMode propagation_modes = 3 [(.validate.rules) = { ... }
      Specified by:
      getPropagationModesList in interface LightstepConfigOrBuilder
      Returns:
      A list containing the propagationModes.
    • getPropagationModesCount

      public int getPropagationModesCount()
       Propagation modes to use by LightStep's tracer.
       
      repeated .envoy.config.trace.v3.LightstepConfig.PropagationMode propagation_modes = 3 [(.validate.rules) = { ... }
      Specified by:
      getPropagationModesCount in interface LightstepConfigOrBuilder
      Returns:
      The count of propagationModes.
    • getPropagationModes

      public LightstepConfig.PropagationMode getPropagationModes(int index)
       Propagation modes to use by LightStep's tracer.
       
      repeated .envoy.config.trace.v3.LightstepConfig.PropagationMode propagation_modes = 3 [(.validate.rules) = { ... }
      Specified by:
      getPropagationModes in interface LightstepConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The propagationModes at the given index.
    • getPropagationModesValueList

      public List<Integer> getPropagationModesValueList()
       Propagation modes to use by LightStep's tracer.
       
      repeated .envoy.config.trace.v3.LightstepConfig.PropagationMode propagation_modes = 3 [(.validate.rules) = { ... }
      Specified by:
      getPropagationModesValueList in interface LightstepConfigOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for propagationModes.
    • getPropagationModesValue

      public int getPropagationModesValue(int index)
       Propagation modes to use by LightStep's tracer.
       
      repeated .envoy.config.trace.v3.LightstepConfig.PropagationMode propagation_modes = 3 [(.validate.rules) = { ... }
      Specified by:
      getPropagationModesValue in interface LightstepConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of propagationModes at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static LightstepConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LightstepConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LightstepConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LightstepConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LightstepConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LightstepConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LightstepConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LightstepConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LightstepConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LightstepConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LightstepConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LightstepConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public LightstepConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static LightstepConfig.Builder newBuilder()
    • newBuilder

      public static LightstepConfig.Builder newBuilder(LightstepConfig prototype)
    • toBuilder

      public LightstepConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected LightstepConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static LightstepConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<LightstepConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<LightstepConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public LightstepConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder