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
,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 typeenvoy.config.trace.v3.LightstepConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LightstepConfig.Builder
Configuration for the LightStep tracer.static class
LightstepConfig.PropagationMode
Available propagation modes-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCESS_TOKEN_FIELD_NUMBER
static int
ACCESS_TOKEN_FILE_FIELD_NUMBER
private DataSource
accessToken_
private java.lang.Object
accessTokenFile_
private int
bitField0_
static int
COLLECTOR_CLUSTER_FIELD_NUMBER
private java.lang.Object
collectorCluster_
private static LightstepConfig
DEFAULT_INSTANCE
private byte
memoizedIsInitialized
private static com.google.protobuf.Parser<LightstepConfig>
PARSER
static int
PROPAGATION_MODES_FIELD_NUMBER
private com.google.protobuf.Internal.IntList
propagationModes_
private static com.google.protobuf.Internal.IntListAdapter.IntConverter<LightstepConfig.PropagationMode>
propagationModes_converter_
private int
propagationModesMemoizedSerializedSize
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
LightstepConfig()
private
LightstepConfig(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
DataSource
getAccessToken()
Access token to the `LightStep <https://lightstep.com/>`_ API.java.lang.String
getAccessTokenFile()
Deprecated.envoy.config.trace.v3.LightstepConfig.access_token_file is deprecated.com.google.protobuf.ByteString
getAccessTokenFileBytes()
Deprecated.envoy.config.trace.v3.LightstepConfig.access_token_file is deprecated.DataSourceOrBuilder
getAccessTokenOrBuilder()
Access token to the `LightStep <https://lightstep.com/>`_ API.java.lang.String
getCollectorCluster()
The cluster manager cluster that hosts the LightStep collectors.com.google.protobuf.ByteString
getCollectorClusterBytes()
The cluster manager cluster that hosts the LightStep collectors.static LightstepConfig
getDefaultInstance()
LightstepConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<LightstepConfig>
getParserForType()
LightstepConfig.PropagationMode
getPropagationModes(int index)
Propagation modes to use by LightStep's tracer.int
getPropagationModesCount()
Propagation modes to use by LightStep's tracer.java.util.List<LightstepConfig.PropagationMode>
getPropagationModesList()
Propagation modes to use by LightStep's tracer.int
getPropagationModesValue(int index)
Propagation modes to use by LightStep's tracer.java.util.List<java.lang.Integer>
getPropagationModesValueList()
Propagation modes to use by LightStep's tracer.int
getSerializedSize()
boolean
hasAccessToken()
Access token to the `LightStep <https://lightstep.com/>`_ API.int
hashCode()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static LightstepConfig.Builder
newBuilder()
static LightstepConfig.Builder
newBuilder(LightstepConfig prototype)
LightstepConfig.Builder
newBuilderForType()
protected LightstepConfig.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static LightstepConfig
parseDelimitedFrom(java.io.InputStream input)
static LightstepConfig
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LightstepConfig
parseFrom(byte[] data)
static LightstepConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LightstepConfig
parseFrom(com.google.protobuf.ByteString data)
static LightstepConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LightstepConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static LightstepConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LightstepConfig
parseFrom(java.io.InputStream input)
static LightstepConfig
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LightstepConfig
parseFrom(java.nio.ByteBuffer data)
static LightstepConfig
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<LightstepConfig>
parser()
LightstepConfig.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
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
-
accessToken_
private DataSource accessToken_
-
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
-
DEFAULT_INSTANCE
private static final LightstepConfig DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<LightstepConfig> PARSER
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.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 interfaceLightstepConfigOrBuilder
- 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 interfaceLightstepConfigOrBuilder
- 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=49File 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 interfaceLightstepConfigOrBuilder
- 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=49File 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 interfaceLightstepConfigOrBuilder
- 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 interfaceLightstepConfigOrBuilder
- 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 interfaceLightstepConfigOrBuilder
- 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 interfaceLightstepConfigOrBuilder
-
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 interfaceLightstepConfigOrBuilder
- 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 interfaceLightstepConfigOrBuilder
- 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 interfaceLightstepConfigOrBuilder
- 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 interfaceLightstepConfigOrBuilder
- 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 interfaceLightstepConfigOrBuilder
- 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 interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.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 interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LightstepConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public LightstepConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-