
io.opentelemetry.proto.profiles.v1experimental.ProfileContainerOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opentelemetry/proto/profiles/v1experimental/profiles.proto
// Protobuf Java Version: 3.25.1
package io.opentelemetry.proto.profiles.v1experimental;
public interface ProfileContainerOrBuilder extends
// @@protoc_insertion_point(interface_extends:opentelemetry.proto.profiles.v1experimental.ProfileContainer)
com.google.protobuf.MessageOrBuilder {
/**
*
* A globally unique identifier for a profile. The ID is a 16-byte array. An ID with
* all zeroes is considered invalid.
*
* This field is required.
*
*
* bytes profile_id = 1;
* @return The profileId.
*/
com.google.protobuf.ByteString getProfileId();
/**
*
* start_time_unix_nano is the start time of the profile.
* Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
*
* This field is semantically required and it is expected that end_time >= start_time.
*
*
* fixed64 start_time_unix_nano = 2;
* @return The startTimeUnixNano.
*/
long getStartTimeUnixNano();
/**
*
* end_time_unix_nano is the end time of the profile.
* Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
*
* This field is semantically required and it is expected that end_time >= start_time.
*
*
* fixed64 end_time_unix_nano = 3;
* @return The endTimeUnixNano.
*/
long getEndTimeUnixNano();
/**
*
* attributes is a collection of key/value pairs. Note, global attributes
* like server name can be set using the resource API. Examples of attributes:
*
* "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
* "/http/server_latency": 300
* "abc.com/myattribute": true
* "abc.com/score": 10.239
*
* The OpenTelemetry API specification further restricts the allowed value types:
* https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4;
*/
java.util.List
getAttributesList();
/**
*
* attributes is a collection of key/value pairs. Note, global attributes
* like server name can be set using the resource API. Examples of attributes:
*
* "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
* "/http/server_latency": 300
* "abc.com/myattribute": true
* "abc.com/score": 10.239
*
* The OpenTelemetry API specification further restricts the allowed value types:
* https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4;
*/
io.opentelemetry.proto.common.v1.KeyValue getAttributes(int index);
/**
*
* attributes is a collection of key/value pairs. Note, global attributes
* like server name can be set using the resource API. Examples of attributes:
*
* "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
* "/http/server_latency": 300
* "abc.com/myattribute": true
* "abc.com/score": 10.239
*
* The OpenTelemetry API specification further restricts the allowed value types:
* https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4;
*/
int getAttributesCount();
/**
*
* attributes is a collection of key/value pairs. Note, global attributes
* like server name can be set using the resource API. Examples of attributes:
*
* "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
* "/http/server_latency": 300
* "abc.com/myattribute": true
* "abc.com/score": 10.239
*
* The OpenTelemetry API specification further restricts the allowed value types:
* https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4;
*/
java.util.List extends io.opentelemetry.proto.common.v1.KeyValueOrBuilder>
getAttributesOrBuilderList();
/**
*
* attributes is a collection of key/value pairs. Note, global attributes
* like server name can be set using the resource API. Examples of attributes:
*
* "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
* "/http/server_latency": 300
* "abc.com/myattribute": true
* "abc.com/score": 10.239
*
* The OpenTelemetry API specification further restricts the allowed value types:
* https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4;
*/
io.opentelemetry.proto.common.v1.KeyValueOrBuilder getAttributesOrBuilder(
int index);
/**
*
* dropped_attributes_count is the number of attributes that were discarded. Attributes
* can be discarded because their keys are too long or because there are too many
* attributes. If this value is 0, then no attributes were dropped.
*
*
* uint32 dropped_attributes_count = 5;
* @return The droppedAttributesCount.
*/
int getDroppedAttributesCount();
/**
*
* Specifies format of the original payload. Common values are defined in semantic conventions. [required if original_payload is present]
*
*
* string original_payload_format = 6;
* @return The originalPayloadFormat.
*/
java.lang.String getOriginalPayloadFormat();
/**
*
* Specifies format of the original payload. Common values are defined in semantic conventions. [required if original_payload is present]
*
*
* string original_payload_format = 6;
* @return The bytes for originalPayloadFormat.
*/
com.google.protobuf.ByteString
getOriginalPayloadFormatBytes();
/**
*
* Original payload can be stored in this field. This can be useful for users who want to get the original payload.
* Formats such as JFR are highly extensible and can contain more information than what is defined in this spec.
* Inclusion of original payload should be configurable by the user. Default behavior should be to not include the original payload.
* If the original payload is in pprof format, it SHOULD not be included in this field.
* The field is optional, however if it is present `profile` MUST be present and contain the same profiling information.
*
*
* bytes original_payload = 7;
* @return The originalPayload.
*/
com.google.protobuf.ByteString getOriginalPayload();
/**
*
* This is a reference to a pprof profile. Required, even when original_payload is present.
*
*
* .opentelemetry.proto.profiles.v1experimental.Profile profile = 8;
* @return Whether the profile field is set.
*/
boolean hasProfile();
/**
*
* This is a reference to a pprof profile. Required, even when original_payload is present.
*
*
* .opentelemetry.proto.profiles.v1experimental.Profile profile = 8;
* @return The profile.
*/
opentelemetry.proto.profiles.v1experimental.Pprofextended.Profile getProfile();
/**
*
* This is a reference to a pprof profile. Required, even when original_payload is present.
*
*
* .opentelemetry.proto.profiles.v1experimental.Profile profile = 8;
*/
opentelemetry.proto.profiles.v1experimental.Pprofextended.ProfileOrBuilder getProfileOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy