Package io.opentelemetry.proto.logs.v1
Interface ScopeLogsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScopeLogs,ScopeLogs.Builder
public interface ScopeLogsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LogRecordgetLogRecords(int index)A list of log records.intgetLogRecordsCount()A list of log records.List<LogRecord>getLogRecordsList()A list of log records.LogRecordOrBuildergetLogRecordsOrBuilder(int index)A list of log records.List<? extends LogRecordOrBuilder>getLogRecordsOrBuilderList()A list of log records.StringgetSchemaUrl()This schema_url applies to all logs in the "logs" field.com.google.protobuf.ByteStringgetSchemaUrlBytes()This schema_url applies to all logs in the "logs" field.InstrumentationScopegetScope()The instrumentation scope information for the logs in this message.InstrumentationScopeOrBuildergetScopeOrBuilder()The instrumentation scope information for the logs in this message.booleanhasScope()The instrumentation scope information 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
-
hasScope
boolean hasScope()
The instrumentation scope information for the logs in this message. Semantically when InstrumentationScope isn't set, it is equivalent with an empty instrumentation scope name (unknown).
.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;- Returns:
- Whether the scope field is set.
-
getScope
InstrumentationScope getScope()
The instrumentation scope information for the logs in this message. Semantically when InstrumentationScope isn't set, it is equivalent with an empty instrumentation scope name (unknown).
.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;- Returns:
- The scope.
-
getScopeOrBuilder
InstrumentationScopeOrBuilder getScopeOrBuilder()
The instrumentation scope information for the logs in this message. Semantically when InstrumentationScope isn't set, it is equivalent with an empty instrumentation scope name (unknown).
.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;
-
getLogRecordsList
List<LogRecord> getLogRecordsList()
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;
-
getLogRecords
LogRecord getLogRecords(int index)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;
-
getLogRecordsCount
int getLogRecordsCount()
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;
-
getLogRecordsOrBuilderList
List<? extends LogRecordOrBuilder> getLogRecordsOrBuilderList()
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;
-
getLogRecordsOrBuilder
LogRecordOrBuilder getLogRecordsOrBuilder(int index)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;
-
getSchemaUrl
String getSchemaUrl()
This schema_url applies to all logs in the "logs" field.
string schema_url = 3;- Returns:
- The schemaUrl.
-
getSchemaUrlBytes
com.google.protobuf.ByteString getSchemaUrlBytes()
This schema_url applies to all logs in the "logs" field.
string schema_url = 3;- Returns:
- The bytes for schemaUrl.
-
-