Class ScopeProfiles.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ScopeProfiles.Builder>
io.opentelemetry.proto.profiles.v1development.ScopeProfiles.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ScopeProfilesOrBuilder,Cloneable
- Enclosing class:
- ScopeProfiles
public static final class ScopeProfiles.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ScopeProfiles.Builder>
implements ScopeProfilesOrBuilder
A collection of Profiles produced by an InstrumentationScope.Protobuf type
opentelemetry.proto.profiles.v1development.ScopeProfiles-
Method Summary
Modifier and TypeMethodDescriptionaddAllProfiles(Iterable<? extends Profile> values) A list of Profiles that originate from an instrumentation scope.addProfiles(int index, Profile value) A list of Profiles that originate from an instrumentation scope.addProfiles(int index, Profile.Builder builderForValue) A list of Profiles that originate from an instrumentation scope.addProfiles(Profile value) A list of Profiles that originate from an instrumentation scope.addProfiles(Profile.Builder builderForValue) A list of Profiles that originate from an instrumentation scope.A list of Profiles that originate from an instrumentation scope.addProfilesBuilder(int index) A list of Profiles that originate from an instrumentation scope.build()clear()A list of Profiles that originate from an instrumentation scope.The Schema URL, if known.The instrumentation scope information for the profiles in this message.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetProfiles(int index) A list of Profiles that originate from an instrumentation scope.getProfilesBuilder(int index) A list of Profiles that originate from an instrumentation scope.A list of Profiles that originate from an instrumentation scope.intA list of Profiles that originate from an instrumentation scope.A list of Profiles that originate from an instrumentation scope.getProfilesOrBuilder(int index) A list of Profiles that originate from an instrumentation scope.List<? extends ProfileOrBuilder>A list of Profiles that originate from an instrumentation scope.The Schema URL, if known.com.google.protobuf.ByteStringThe Schema URL, if known.getScope()The instrumentation scope information for the profiles in this message.The instrumentation scope information for the profiles in this message.The instrumentation scope information for the profiles in this message.booleanhasScope()The instrumentation scope information for the profiles in this message.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ScopeProfiles other) mergeScope(InstrumentationScope value) The instrumentation scope information for the profiles in this message.removeProfiles(int index) A list of Profiles that originate from an instrumentation scope.setProfiles(int index, Profile value) A list of Profiles that originate from an instrumentation scope.setProfiles(int index, Profile.Builder builderForValue) A list of Profiles that originate from an instrumentation scope.setSchemaUrl(String value) The Schema URL, if known.setSchemaUrlBytes(com.google.protobuf.ByteString value) The Schema URL, if known.setScope(InstrumentationScope value) The instrumentation scope information for the profiles in this message.setScope(InstrumentationScope.Builder builderForValue) The instrumentation scope information for the profiles in this message.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ScopeProfiles.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ScopeProfiles.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.GeneratedMessage.Builder<ScopeProfiles.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScopeProfiles.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ScopeProfiles.Builder>
-
mergeFrom
public ScopeProfiles.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<ScopeProfiles.Builder>- Throws:
IOException
-
hasScope
public boolean hasScope()The instrumentation scope information for the profiles 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;- Specified by:
hasScopein interfaceScopeProfilesOrBuilder- Returns:
- Whether the scope field is set.
-
getScope
The instrumentation scope information for the profiles 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;- Specified by:
getScopein interfaceScopeProfilesOrBuilder- Returns:
- The scope.
-
setScope
The instrumentation scope information for the profiles 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; -
setScope
The instrumentation scope information for the profiles 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; -
mergeScope
The instrumentation scope information for the profiles 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; -
clearScope
The instrumentation scope information for the profiles 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; -
getScopeBuilder
The instrumentation scope information for the profiles 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; -
getScopeOrBuilder
The instrumentation scope information for the profiles 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;- Specified by:
getScopeOrBuilderin interfaceScopeProfilesOrBuilder
-
getProfilesList
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2;- Specified by:
getProfilesListin interfaceScopeProfilesOrBuilder
-
getProfilesCount
public int getProfilesCount()A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2;- Specified by:
getProfilesCountin interfaceScopeProfilesOrBuilder
-
getProfiles
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2;- Specified by:
getProfilesin interfaceScopeProfilesOrBuilder
-
setProfiles
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2; -
setProfiles
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2; -
addProfiles
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2; -
addProfiles
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2; -
addProfiles
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2; -
addProfiles
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2; -
addAllProfiles
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2; -
clearProfiles
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2; -
removeProfiles
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2; -
getProfilesBuilder
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2; -
getProfilesOrBuilder
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2;- Specified by:
getProfilesOrBuilderin interfaceScopeProfilesOrBuilder
-
getProfilesOrBuilderList
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2;- Specified by:
getProfilesOrBuilderListin interfaceScopeProfilesOrBuilder
-
addProfilesBuilder
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2; -
addProfilesBuilder
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2; -
getProfilesBuilderList
A list of Profiles that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1development.Profile profiles = 2; -
getSchemaUrl
The Schema URL, if known. This is the identifier of the Schema that the profile data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to all profiles in the "profiles" field.
string schema_url = 3;- Specified by:
getSchemaUrlin interfaceScopeProfilesOrBuilder- Returns:
- The schemaUrl.
-
getSchemaUrlBytes
public com.google.protobuf.ByteString getSchemaUrlBytes()The Schema URL, if known. This is the identifier of the Schema that the profile data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to all profiles in the "profiles" field.
string schema_url = 3;- Specified by:
getSchemaUrlBytesin interfaceScopeProfilesOrBuilder- Returns:
- The bytes for schemaUrl.
-
setSchemaUrl
The Schema URL, if known. This is the identifier of the Schema that the profile data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to all profiles in the "profiles" field.
string schema_url = 3;- Parameters:
value- The schemaUrl to set.- Returns:
- This builder for chaining.
-
clearSchemaUrl
The Schema URL, if known. This is the identifier of the Schema that the profile data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to all profiles in the "profiles" field.
string schema_url = 3;- Returns:
- This builder for chaining.
-
setSchemaUrlBytes
The Schema URL, if known. This is the identifier of the Schema that the profile data is recorded in. Notably, the last part of the URL path is the version number of the schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to all profiles in the "profiles" field.
string schema_url = 3;- Parameters:
value- The bytes for schemaUrl to set.- Returns:
- This builder for chaining.
-