io.opentelemetry.proto.logs.v1.ScopeLogsOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opentelemetry/proto/logs/v1/logs.proto
package io.opentelemetry.proto.logs.v1;
public interface ScopeLogsOrBuilder extends
// @@protoc_insertion_point(interface_extends:opentelemetry.proto.logs.v1.ScopeLogs)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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;
* @return Whether the scope field is set.
*/
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;
* @return The scope.
*/
io.opentelemetry.proto.common.v1.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;
*/
io.opentelemetry.proto.common.v1.InstrumentationScopeOrBuilder getScopeOrBuilder();
/**
*
* A list of log records.
*
*
* repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;
*/
java.util.List
getLogRecordsList();
/**
*
* A list of log records.
*
*
* repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;
*/
io.opentelemetry.proto.logs.v1.LogRecord getLogRecords(int index);
/**
*
* A list of log records.
*
*
* repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;
*/
int getLogRecordsCount();
/**
*
* A list of log records.
*
*
* repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;
*/
java.util.List extends io.opentelemetry.proto.logs.v1.LogRecordOrBuilder>
getLogRecordsOrBuilderList();
/**
*
* A list of log records.
*
*
* repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;
*/
io.opentelemetry.proto.logs.v1.LogRecordOrBuilder getLogRecordsOrBuilder(
int index);
/**
*
* This schema_url applies to all logs in the "logs" field.
*
*
* string schema_url = 3;
* @return The schemaUrl.
*/
java.lang.String getSchemaUrl();
/**
*
* This schema_url applies to all logs in the "logs" field.
*
*
* string schema_url = 3;
* @return The bytes for schemaUrl.
*/
com.google.protobuf.ByteString
getSchemaUrlBytes();
}