Package viam.app.v1
Class Robot.TracingConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Robot.TracingConfig,Robot.TracingConfig.Builder>
viam.app.v1.Robot.TracingConfig
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Robot.TracingConfigOrBuilder
- Enclosing class:
- Robot
public static final class Robot.TracingConfig
extends com.google.protobuf.GeneratedMessageLite<Robot.TracingConfig,Robot.TracingConfig.Builder>
implements Robot.TracingConfigOrBuilder
TracingConfig configures whether viam-server will record traces and if so where it will export them.Protobuf type
viam.app.v1.TracingConfig-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTracingConfig configures whether viam-server will record traces and if so where it will export them.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) booleanPrint trace spans to the console.static Robot.TracingConfigbooleangetDisk()Save trace spans to a file on disk.booleanGlobally enable or disable tracing support.Send trace spans to an OTLP gRPC endpoint.com.google.protobuf.ByteStringSend trace spans to an OTLP gRPC endpoint.static Robot.TracingConfig.Builderstatic Robot.TracingConfig.BuildernewBuilder(Robot.TracingConfig prototype) static Robot.TracingConfigparseDelimitedFrom(InputStream input) static Robot.TracingConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.TracingConfigparseFrom(byte[] data) static Robot.TracingConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.TracingConfigparseFrom(com.google.protobuf.ByteString data) static Robot.TracingConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.TracingConfigparseFrom(com.google.protobuf.CodedInputStream input) static Robot.TracingConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.TracingConfigparseFrom(InputStream input) static Robot.TracingConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.TracingConfigparseFrom(ByteBuffer data) static Robot.TracingConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Robot.TracingConfig>parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER- See Also:
-
DISK_FIELD_NUMBER
public static final int DISK_FIELD_NUMBER- See Also:
-
CONSOLE_FIELD_NUMBER
public static final int CONSOLE_FIELD_NUMBER- See Also:
-
OTLP_ENDPOINT_FIELD_NUMBER
public static final int OTLP_ENDPOINT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getEnabled
public boolean getEnabled()Globally enable or disable tracing support.
bool enabled = 1 [json_name = "enabled"];- Specified by:
getEnabledin interfaceRobot.TracingConfigOrBuilder- Returns:
- The enabled.
-
getDisk
public boolean getDisk()Save trace spans to a file on disk.
bool disk = 2 [json_name = "disk"];- Specified by:
getDiskin interfaceRobot.TracingConfigOrBuilder- Returns:
- The disk.
-
getConsole
public boolean getConsole()Print trace spans to the console.
bool console = 3 [json_name = "console"];- Specified by:
getConsolein interfaceRobot.TracingConfigOrBuilder- Returns:
- The console.
-
getOtlpEndpoint
Send trace spans to an OTLP gRPC endpoint.
string otlp_endpoint = 4 [json_name = "otlpEndpoint"];- Specified by:
getOtlpEndpointin interfaceRobot.TracingConfigOrBuilder- Returns:
- The otlpEndpoint.
-
getOtlpEndpointBytes
public com.google.protobuf.ByteString getOtlpEndpointBytes()Send trace spans to an OTLP gRPC endpoint.
string otlp_endpoint = 4 [json_name = "otlpEndpoint"];- Specified by:
getOtlpEndpointBytesin interfaceRobot.TracingConfigOrBuilder- Returns:
- The bytes for otlpEndpoint.
-
parseFrom
public static Robot.TracingConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.TracingConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.TracingConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.TracingConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.TracingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.TracingConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Robot.TracingConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Robot.TracingConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.TracingConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.TracingConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Robot.TracingConfig,Robot.TracingConfig.Builder>
-
getDefaultInstance
-
parser
-