Package io.opentelemetry.proto.logs.v1
Class InstrumentationLibraryLogs.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder>
-
- io.opentelemetry.proto.logs.v1.InstrumentationLibraryLogs.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,InstrumentationLibraryLogsOrBuilder,Cloneable
- Enclosing class:
- InstrumentationLibraryLogs
public static final class InstrumentationLibraryLogs.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder> implements InstrumentationLibraryLogsOrBuilder
A collection of Logs produced by an InstrumentationLibrary.
Protobuf typeopentelemetry.proto.logs.v1.InstrumentationLibraryLogs
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstrumentationLibraryLogs.BuilderaddAllLogs(Iterable<? extends LogRecord> values)A list of log records.InstrumentationLibraryLogs.BuilderaddLogs(int index, LogRecord value)A list of log records.InstrumentationLibraryLogs.BuilderaddLogs(int index, LogRecord.Builder builderForValue)A list of log records.InstrumentationLibraryLogs.BuilderaddLogs(LogRecord value)A list of log records.InstrumentationLibraryLogs.BuilderaddLogs(LogRecord.Builder builderForValue)A list of log records.LogRecord.BuilderaddLogsBuilder()A list of log records.LogRecord.BuilderaddLogsBuilder(int index)A list of log records.InstrumentationLibraryLogs.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstrumentationLibraryLogsbuild()InstrumentationLibraryLogsbuildPartial()InstrumentationLibraryLogs.Builderclear()InstrumentationLibraryLogs.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)InstrumentationLibraryLogs.BuilderclearInstrumentationLibrary()The instrumentation library information for the logs in this message.InstrumentationLibraryLogs.BuilderclearLogs()A list of log records.InstrumentationLibraryLogs.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)InstrumentationLibraryLogs.BuilderclearSchemaUrl()This schema_url applies to all logs in the "logs" field.InstrumentationLibraryLogs.Builderclone()InstrumentationLibraryLogsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()InstrumentationLibrarygetInstrumentationLibrary()The instrumentation library information for the logs in this message.InstrumentationLibrary.BuildergetInstrumentationLibraryBuilder()The instrumentation library information for the logs in this message.InstrumentationLibraryOrBuildergetInstrumentationLibraryOrBuilder()The instrumentation library information for the logs in this message.LogRecordgetLogs(int index)A list of log records.LogRecord.BuildergetLogsBuilder(int index)A list of log records.List<LogRecord.Builder>getLogsBuilderList()A list of log records.intgetLogsCount()A list of log records.List<LogRecord>getLogsList()A list of log records.LogRecordOrBuildergetLogsOrBuilder(int index)A list of log records.List<? extends LogRecordOrBuilder>getLogsOrBuilderList()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.booleanhasInstrumentationLibrary()The instrumentation library information for the logs in this message.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()InstrumentationLibraryLogs.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InstrumentationLibraryLogs.BuildermergeFrom(com.google.protobuf.Message other)InstrumentationLibraryLogs.BuildermergeFrom(InstrumentationLibraryLogs other)InstrumentationLibraryLogs.BuildermergeInstrumentationLibrary(InstrumentationLibrary value)The instrumentation library information for the logs in this message.InstrumentationLibraryLogs.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InstrumentationLibraryLogs.BuilderremoveLogs(int index)A list of log records.InstrumentationLibraryLogs.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstrumentationLibraryLogs.BuildersetInstrumentationLibrary(InstrumentationLibrary value)The instrumentation library information for the logs in this message.InstrumentationLibraryLogs.BuildersetInstrumentationLibrary(InstrumentationLibrary.Builder builderForValue)The instrumentation library information for the logs in this message.InstrumentationLibraryLogs.BuildersetLogs(int index, LogRecord value)A list of log records.InstrumentationLibraryLogs.BuildersetLogs(int index, LogRecord.Builder builderForValue)A list of log records.InstrumentationLibraryLogs.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)InstrumentationLibraryLogs.BuildersetSchemaUrl(String value)This schema_url applies to all logs in the "logs" field.InstrumentationLibraryLogs.BuildersetSchemaUrlBytes(com.google.protobuf.ByteString value)This schema_url applies to all logs in the "logs" field.InstrumentationLibraryLogs.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder>
-
clear
public InstrumentationLibraryLogs.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder>
-
getDefaultInstanceForType
public InstrumentationLibraryLogs getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstrumentationLibraryLogs build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstrumentationLibraryLogs buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InstrumentationLibraryLogs.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder>
-
setField
public InstrumentationLibraryLogs.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder>
-
clearField
public InstrumentationLibraryLogs.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder>
-
clearOneof
public InstrumentationLibraryLogs.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder>
-
setRepeatedField
public InstrumentationLibraryLogs.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder>
-
addRepeatedField
public InstrumentationLibraryLogs.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder>
-
mergeFrom
public InstrumentationLibraryLogs.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstrumentationLibraryLogs.Builder>
-
mergeFrom
public InstrumentationLibraryLogs.Builder mergeFrom(InstrumentationLibraryLogs other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder>
-
mergeFrom
public InstrumentationLibraryLogs.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstrumentationLibraryLogs.Builder>- Throws:
IOException
-
hasInstrumentationLibrary
public boolean hasInstrumentationLibrary()
The instrumentation library information for the logs in this message. Semantically when InstrumentationLibrary isn't set, it is equivalent with an empty instrumentation library name (unknown).
.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;- Specified by:
hasInstrumentationLibraryin interfaceInstrumentationLibraryLogsOrBuilder
-
getInstrumentationLibrary
public InstrumentationLibrary getInstrumentationLibrary()
The instrumentation library information for the logs in this message. Semantically when InstrumentationLibrary isn't set, it is equivalent with an empty instrumentation library name (unknown).
.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;- Specified by:
getInstrumentationLibraryin interfaceInstrumentationLibraryLogsOrBuilder
-
setInstrumentationLibrary
public InstrumentationLibraryLogs.Builder setInstrumentationLibrary(InstrumentationLibrary value)
The instrumentation library information for the logs in this message. Semantically when InstrumentationLibrary isn't set, it is equivalent with an empty instrumentation library name (unknown).
.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;
-
setInstrumentationLibrary
public InstrumentationLibraryLogs.Builder setInstrumentationLibrary(InstrumentationLibrary.Builder builderForValue)
The instrumentation library information for the logs in this message. Semantically when InstrumentationLibrary isn't set, it is equivalent with an empty instrumentation library name (unknown).
.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;
-
mergeInstrumentationLibrary
public InstrumentationLibraryLogs.Builder mergeInstrumentationLibrary(InstrumentationLibrary value)
The instrumentation library information for the logs in this message. Semantically when InstrumentationLibrary isn't set, it is equivalent with an empty instrumentation library name (unknown).
.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;
-
clearInstrumentationLibrary
public InstrumentationLibraryLogs.Builder clearInstrumentationLibrary()
The instrumentation library information for the logs in this message. Semantically when InstrumentationLibrary isn't set, it is equivalent with an empty instrumentation library name (unknown).
.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;
-
getInstrumentationLibraryBuilder
public InstrumentationLibrary.Builder getInstrumentationLibraryBuilder()
The instrumentation library information for the logs in this message. Semantically when InstrumentationLibrary isn't set, it is equivalent with an empty instrumentation library name (unknown).
.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;
-
getInstrumentationLibraryOrBuilder
public InstrumentationLibraryOrBuilder getInstrumentationLibraryOrBuilder()
The instrumentation library information for the logs in this message. Semantically when InstrumentationLibrary isn't set, it is equivalent with an empty instrumentation library name (unknown).
.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;- Specified by:
getInstrumentationLibraryOrBuilderin interfaceInstrumentationLibraryLogsOrBuilder
-
getLogsList
public List<LogRecord> getLogsList()
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;- Specified by:
getLogsListin interfaceInstrumentationLibraryLogsOrBuilder
-
getLogsCount
public int getLogsCount()
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;- Specified by:
getLogsCountin interfaceInstrumentationLibraryLogsOrBuilder
-
getLogs
public LogRecord getLogs(int index)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;- Specified by:
getLogsin interfaceInstrumentationLibraryLogsOrBuilder
-
setLogs
public InstrumentationLibraryLogs.Builder setLogs(int index, LogRecord value)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;
-
setLogs
public InstrumentationLibraryLogs.Builder setLogs(int index, LogRecord.Builder builderForValue)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;
-
addLogs
public InstrumentationLibraryLogs.Builder addLogs(LogRecord value)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;
-
addLogs
public InstrumentationLibraryLogs.Builder addLogs(int index, LogRecord value)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;
-
addLogs
public InstrumentationLibraryLogs.Builder addLogs(LogRecord.Builder builderForValue)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;
-
addLogs
public InstrumentationLibraryLogs.Builder addLogs(int index, LogRecord.Builder builderForValue)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;
-
addAllLogs
public InstrumentationLibraryLogs.Builder addAllLogs(Iterable<? extends LogRecord> values)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;
-
clearLogs
public InstrumentationLibraryLogs.Builder clearLogs()
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;
-
removeLogs
public InstrumentationLibraryLogs.Builder removeLogs(int index)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;
-
getLogsBuilder
public LogRecord.Builder getLogsBuilder(int index)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;
-
getLogsOrBuilder
public LogRecordOrBuilder getLogsOrBuilder(int index)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;- Specified by:
getLogsOrBuilderin interfaceInstrumentationLibraryLogsOrBuilder
-
getLogsOrBuilderList
public List<? extends LogRecordOrBuilder> getLogsOrBuilderList()
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;- Specified by:
getLogsOrBuilderListin interfaceInstrumentationLibraryLogsOrBuilder
-
addLogsBuilder
public LogRecord.Builder addLogsBuilder()
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;
-
addLogsBuilder
public LogRecord.Builder addLogsBuilder(int index)
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;
-
getLogsBuilderList
public List<LogRecord.Builder> getLogsBuilderList()
A list of log records.
repeated .opentelemetry.proto.logs.v1.LogRecord logs = 2;
-
getSchemaUrl
public String getSchemaUrl()
This schema_url applies to all logs in the "logs" field.
string schema_url = 3;- Specified by:
getSchemaUrlin interfaceInstrumentationLibraryLogsOrBuilder
-
getSchemaUrlBytes
public com.google.protobuf.ByteString getSchemaUrlBytes()
This schema_url applies to all logs in the "logs" field.
string schema_url = 3;- Specified by:
getSchemaUrlBytesin interfaceInstrumentationLibraryLogsOrBuilder
-
setSchemaUrl
public InstrumentationLibraryLogs.Builder setSchemaUrl(String value)
This schema_url applies to all logs in the "logs" field.
string schema_url = 3;
-
clearSchemaUrl
public InstrumentationLibraryLogs.Builder clearSchemaUrl()
This schema_url applies to all logs in the "logs" field.
string schema_url = 3;
-
setSchemaUrlBytes
public InstrumentationLibraryLogs.Builder setSchemaUrlBytes(com.google.protobuf.ByteString value)
This schema_url applies to all logs in the "logs" field.
string schema_url = 3;
-
setUnknownFields
public final InstrumentationLibraryLogs.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder>
-
mergeUnknownFields
public final InstrumentationLibraryLogs.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstrumentationLibraryLogs.Builder>
-
-