Interface ScopeProfilesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScopeProfiles,ScopeProfiles.Builder
public interface ScopeProfilesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetProfiles(int index) A list of ProfileContainers that originate from an instrumentation scope.intA list of ProfileContainers that originate from an instrumentation scope.A list of ProfileContainers that originate from an instrumentation scope.getProfilesOrBuilder(int index) A list of ProfileContainers that originate from an instrumentation scope.List<? extends ProfileContainerOrBuilder>A list of ProfileContainers 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.booleanhasScope()The instrumentation scope information for the profiles in this message.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasScope
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;- Returns:
- Whether the scope field is set.
-
getScope
InstrumentationScope 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;- Returns:
- The scope.
-
getScopeOrBuilder
InstrumentationScopeOrBuilder 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; -
getProfilesList
List<ProfileContainer> getProfilesList()A list of ProfileContainers that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1experimental.ProfileContainer profiles = 2; -
getProfiles
A list of ProfileContainers that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1experimental.ProfileContainer profiles = 2; -
getProfilesCount
int getProfilesCount()A list of ProfileContainers that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1experimental.ProfileContainer profiles = 2; -
getProfilesOrBuilderList
List<? extends ProfileContainerOrBuilder> getProfilesOrBuilderList()A list of ProfileContainers that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1experimental.ProfileContainer profiles = 2; -
getProfilesOrBuilder
A list of ProfileContainers that originate from an instrumentation scope.
repeated .opentelemetry.proto.profiles.v1experimental.ProfileContainer profiles = 2; -
getSchemaUrl
String getSchemaUrl()The Schema URL, if known. This is the identifier of the Schema that the metric data is recorded in. 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:
- The schemaUrl.
-
getSchemaUrlBytes
com.google.protobuf.ByteString getSchemaUrlBytes()The Schema URL, if known. This is the identifier of the Schema that the metric data is recorded in. 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:
- The bytes for schemaUrl.
-