Package io.opentelemetry.proto.logs.v1
Interface ResourceLogsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceLogs,ResourceLogs.Builder
public interface ResourceLogsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstrumentationLibraryLogsgetInstrumentationLibraryLogs(int index)A list of InstrumentationLibraryLogs that originate from a resource.intgetInstrumentationLibraryLogsCount()A list of InstrumentationLibraryLogs that originate from a resource.List<InstrumentationLibraryLogs>getInstrumentationLibraryLogsList()A list of InstrumentationLibraryLogs that originate from a resource.InstrumentationLibraryLogsOrBuildergetInstrumentationLibraryLogsOrBuilder(int index)A list of InstrumentationLibraryLogs that originate from a resource.List<? extends InstrumentationLibraryLogsOrBuilder>getInstrumentationLibraryLogsOrBuilderList()A list of InstrumentationLibraryLogs that originate from a resource.ResourcegetResource()The resource for the logs in this message.ResourceOrBuildergetResourceOrBuilder()The resource for the logs in this message.StringgetSchemaUrl()This schema_url applies to the data in the "resource" field.com.google.protobuf.ByteStringgetSchemaUrlBytes()This schema_url applies to the data in the "resource" field.booleanhasResource()The resource for the logs in this message.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasResource
boolean hasResource()
The resource for the logs in this message. If this field is not set then resource info is unknown.
.opentelemetry.proto.resource.v1.Resource resource = 1;
-
getResource
Resource getResource()
The resource for the logs in this message. If this field is not set then resource info is unknown.
.opentelemetry.proto.resource.v1.Resource resource = 1;
-
getResourceOrBuilder
ResourceOrBuilder getResourceOrBuilder()
The resource for the logs in this message. If this field is not set then resource info is unknown.
.opentelemetry.proto.resource.v1.Resource resource = 1;
-
getInstrumentationLibraryLogsList
List<InstrumentationLibraryLogs> getInstrumentationLibraryLogsList()
A list of InstrumentationLibraryLogs that originate from a resource.
repeated .opentelemetry.proto.logs.v1.InstrumentationLibraryLogs instrumentation_library_logs = 2;
-
getInstrumentationLibraryLogs
InstrumentationLibraryLogs getInstrumentationLibraryLogs(int index)
A list of InstrumentationLibraryLogs that originate from a resource.
repeated .opentelemetry.proto.logs.v1.InstrumentationLibraryLogs instrumentation_library_logs = 2;
-
getInstrumentationLibraryLogsCount
int getInstrumentationLibraryLogsCount()
A list of InstrumentationLibraryLogs that originate from a resource.
repeated .opentelemetry.proto.logs.v1.InstrumentationLibraryLogs instrumentation_library_logs = 2;
-
getInstrumentationLibraryLogsOrBuilderList
List<? extends InstrumentationLibraryLogsOrBuilder> getInstrumentationLibraryLogsOrBuilderList()
A list of InstrumentationLibraryLogs that originate from a resource.
repeated .opentelemetry.proto.logs.v1.InstrumentationLibraryLogs instrumentation_library_logs = 2;
-
getInstrumentationLibraryLogsOrBuilder
InstrumentationLibraryLogsOrBuilder getInstrumentationLibraryLogsOrBuilder(int index)
A list of InstrumentationLibraryLogs that originate from a resource.
repeated .opentelemetry.proto.logs.v1.InstrumentationLibraryLogs instrumentation_library_logs = 2;
-
getSchemaUrl
String getSchemaUrl()
This schema_url applies to the data in the "resource" field. It does not apply to the data in the "instrumentation_library_logs" field which have their own schema_url field.
string schema_url = 3;
-
getSchemaUrlBytes
com.google.protobuf.ByteString getSchemaUrlBytes()
This schema_url applies to the data in the "resource" field. It does not apply to the data in the "instrumentation_library_logs" field which have their own schema_url field.
string schema_url = 3;
-
-