Interface ResourceProfilesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceProfiles,ResourceProfiles.Builder
@Generated
public interface ResourceProfilesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe resource for the profiles in this message.The resource for the profiles in this message.The Schema URL, if known.com.google.protobuf.ByteStringThe Schema URL, if known.getScopeProfiles(int index) A list of ScopeProfiles that originate from this resource.intA list of ScopeProfiles that originate from this resource.A list of ScopeProfiles that originate from this resource.getScopeProfilesOrBuilder(int index) A list of ScopeProfiles that originate from this resource.List<? extends ScopeProfilesOrBuilder>A list of ScopeProfiles that originate from this resource.booleanThe resource 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
-
hasResource
boolean hasResource()The resource for the profiles in this message. If this field is not set then no resource info is known.
.opentelemetry.proto.resource.v1.Resource resource = 1;- Returns:
- Whether the resource field is set.
-
getResource
Resource getResource()The resource for the profiles in this message. If this field is not set then no resource info is known.
.opentelemetry.proto.resource.v1.Resource resource = 1;- Returns:
- The resource.
-
getResourceOrBuilder
ResourceOrBuilder getResourceOrBuilder()The resource for the profiles in this message. If this field is not set then no resource info is known.
.opentelemetry.proto.resource.v1.Resource resource = 1; -
getScopeProfilesList
List<ScopeProfiles> getScopeProfilesList()A list of ScopeProfiles that originate from this resource.
repeated .opentelemetry.proto.profiles.v1development.ScopeProfiles scope_profiles = 2; -
getScopeProfiles
A list of ScopeProfiles that originate from this resource.
repeated .opentelemetry.proto.profiles.v1development.ScopeProfiles scope_profiles = 2; -
getScopeProfilesCount
int getScopeProfilesCount()A list of ScopeProfiles that originate from this resource.
repeated .opentelemetry.proto.profiles.v1development.ScopeProfiles scope_profiles = 2; -
getScopeProfilesOrBuilderList
List<? extends ScopeProfilesOrBuilder> getScopeProfilesOrBuilderList()A list of ScopeProfiles that originate from this resource.
repeated .opentelemetry.proto.profiles.v1development.ScopeProfiles scope_profiles = 2; -
getScopeProfilesOrBuilder
A list of ScopeProfiles that originate from this resource.
repeated .opentelemetry.proto.profiles.v1development.ScopeProfiles scope_profiles = 2; -
getSchemaUrl
String getSchemaUrl()The Schema URL, if known. This is the identifier of the Schema that the resource 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 the data in the "resource" field. It does not apply to the data in the "scope_profiles" field, which has its own schema_url 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 resource 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 the data in the "resource" field. It does not apply to the data in the "scope_profiles" field, which has its own schema_url field.
string schema_url = 3;- Returns:
- The bytes for schemaUrl.
-