Class LightstepConfig

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, LightstepConfigOrBuilder, java.io.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:
    Serialized Form
    • Field Detail

      • bitField0_

        private int bitField0_
      • COLLECTOR_CLUSTER_FIELD_NUMBER

        public static final int COLLECTOR_CLUSTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • collectorCluster_

        private volatile java.lang.Object collectorCluster_
      • ACCESS_TOKEN_FILE_FIELD_NUMBER

        public static final int ACCESS_TOKEN_FILE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • accessTokenFile_

        private volatile java.lang.Object accessTokenFile_
      • ACCESS_TOKEN_FIELD_NUMBER

        public static final int ACCESS_TOKEN_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROPAGATION_MODES_FIELD_NUMBER

        public static final int PROPAGATION_MODES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • 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
      • PARSER

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

      • LightstepConfig

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

        private LightstepConfig()
    • Method Detail

      • 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 java.lang.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 java.lang.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.
      • getPropagationModesList

        public java.util.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 java.util.List<java.lang.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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.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​(java.lang.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​(java.nio.ByteBuffer data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static LightstepConfig parseFrom​(java.nio.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​(java.io.InputStream input)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static LightstepConfig parseDelimitedFrom​(java.io.InputStream input)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

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

        public LightstepConfig.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • 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
      • 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