Class Profile.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder>
io.opentelemetry.proto.profiles.v1experimental.Profile.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ProfileOrBuilder, Cloneable
Enclosing class:
Profile

public static final class Profile.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder> implements ProfileOrBuilder
 Represents a complete profile, including sample types, samples,
 mappings to binaries, locations, functions, string table, and additional metadata.
 
Protobuf type opentelemetry.proto.profiles.v1experimental.Profile
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder>
    • clear

      public Profile.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder>
    • getDefaultInstanceForType

      public Profile getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Profile build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Profile buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Profile.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder>
    • setField

      public Profile.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder>
    • clearField

      public Profile.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder>
    • clearOneof

      public Profile.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder>
    • setRepeatedField

      public Profile.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder>
    • addRepeatedField

      public Profile.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder>
    • mergeFrom

      public Profile.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Profile.Builder>
    • mergeFrom

      public Profile.Builder mergeFrom(Profile other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder>
    • mergeFrom

      public Profile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Profile.Builder>
      Throws:
      IOException
    • getSampleTypeList

      public List<ValueType> getSampleTypeList()
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
      Specified by:
      getSampleTypeList in interface ProfileOrBuilder
    • getSampleTypeCount

      public int getSampleTypeCount()
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
      Specified by:
      getSampleTypeCount in interface ProfileOrBuilder
    • getSampleType

      public ValueType getSampleType(int index)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
      Specified by:
      getSampleType in interface ProfileOrBuilder
    • setSampleType

      public Profile.Builder setSampleType(int index, ValueType value)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • setSampleType

      public Profile.Builder setSampleType(int index, ValueType.Builder builderForValue)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • addSampleType

      public Profile.Builder addSampleType(ValueType value)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • addSampleType

      public Profile.Builder addSampleType(int index, ValueType value)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • addSampleType

      public Profile.Builder addSampleType(ValueType.Builder builderForValue)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • addSampleType

      public Profile.Builder addSampleType(int index, ValueType.Builder builderForValue)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • addAllSampleType

      public Profile.Builder addAllSampleType(Iterable<? extends ValueType> values)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • clearSampleType

      public Profile.Builder clearSampleType()
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • removeSampleType

      public Profile.Builder removeSampleType(int index)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • getSampleTypeBuilder

      public ValueType.Builder getSampleTypeBuilder(int index)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • getSampleTypeOrBuilder

      public ValueTypeOrBuilder getSampleTypeOrBuilder(int index)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
      Specified by:
      getSampleTypeOrBuilder in interface ProfileOrBuilder
    • getSampleTypeOrBuilderList

      public List<? extends ValueTypeOrBuilder> getSampleTypeOrBuilderList()
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
      Specified by:
      getSampleTypeOrBuilderList in interface ProfileOrBuilder
    • addSampleTypeBuilder

      public ValueType.Builder addSampleTypeBuilder()
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • addSampleTypeBuilder

      public ValueType.Builder addSampleTypeBuilder(int index)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • getSampleTypeBuilderList

      public List<ValueType.Builder> getSampleTypeBuilderList()
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • getSampleList

      public List<Sample> getSampleList()
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
      Specified by:
      getSampleList in interface ProfileOrBuilder
    • getSampleCount

      public int getSampleCount()
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
      Specified by:
      getSampleCount in interface ProfileOrBuilder
    • getSample

      public Sample getSample(int index)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
      Specified by:
      getSample in interface ProfileOrBuilder
    • setSample

      public Profile.Builder setSample(int index, Sample value)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • setSample

      public Profile.Builder setSample(int index, Sample.Builder builderForValue)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • addSample

      public Profile.Builder addSample(Sample value)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • addSample

      public Profile.Builder addSample(int index, Sample value)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • addSample

      public Profile.Builder addSample(Sample.Builder builderForValue)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • addSample

      public Profile.Builder addSample(int index, Sample.Builder builderForValue)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • addAllSample

      public Profile.Builder addAllSample(Iterable<? extends Sample> values)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • clearSample

      public Profile.Builder clearSample()
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • removeSample

      public Profile.Builder removeSample(int index)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • getSampleBuilder

      public Sample.Builder getSampleBuilder(int index)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • getSampleOrBuilder

      public SampleOrBuilder getSampleOrBuilder(int index)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
      Specified by:
      getSampleOrBuilder in interface ProfileOrBuilder
    • getSampleOrBuilderList

      public List<? extends SampleOrBuilder> getSampleOrBuilderList()
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
      Specified by:
      getSampleOrBuilderList in interface ProfileOrBuilder
    • addSampleBuilder

      public Sample.Builder addSampleBuilder()
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • addSampleBuilder

      public Sample.Builder addSampleBuilder(int index)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • getSampleBuilderList

      public List<Sample.Builder> getSampleBuilderList()
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • getMappingList

      public List<Mapping> getMappingList()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
      Specified by:
      getMappingList in interface ProfileOrBuilder
    • getMappingCount

      public int getMappingCount()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
      Specified by:
      getMappingCount in interface ProfileOrBuilder
    • getMapping

      public Mapping getMapping(int index)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
      Specified by:
      getMapping in interface ProfileOrBuilder
    • setMapping

      public Profile.Builder setMapping(int index, Mapping value)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • setMapping

      public Profile.Builder setMapping(int index, Mapping.Builder builderForValue)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • addMapping

      public Profile.Builder addMapping(Mapping value)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • addMapping

      public Profile.Builder addMapping(int index, Mapping value)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • addMapping

      public Profile.Builder addMapping(Mapping.Builder builderForValue)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • addMapping

      public Profile.Builder addMapping(int index, Mapping.Builder builderForValue)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • addAllMapping

      public Profile.Builder addAllMapping(Iterable<? extends Mapping> values)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • clearMapping

      public Profile.Builder clearMapping()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • removeMapping

      public Profile.Builder removeMapping(int index)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • getMappingBuilder

      public Mapping.Builder getMappingBuilder(int index)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • getMappingOrBuilder

      public MappingOrBuilder getMappingOrBuilder(int index)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
      Specified by:
      getMappingOrBuilder in interface ProfileOrBuilder
    • getMappingOrBuilderList

      public List<? extends MappingOrBuilder> getMappingOrBuilderList()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
      Specified by:
      getMappingOrBuilderList in interface ProfileOrBuilder
    • addMappingBuilder

      public Mapping.Builder addMappingBuilder()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • addMappingBuilder

      public Mapping.Builder addMappingBuilder(int index)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • getMappingBuilderList

      public List<Mapping.Builder> getMappingBuilderList()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • getLocationList

      public List<Location> getLocationList()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
      Specified by:
      getLocationList in interface ProfileOrBuilder
    • getLocationCount

      public int getLocationCount()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
      Specified by:
      getLocationCount in interface ProfileOrBuilder
    • getLocation

      public Location getLocation(int index)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
      Specified by:
      getLocation in interface ProfileOrBuilder
    • setLocation

      public Profile.Builder setLocation(int index, Location value)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • setLocation

      public Profile.Builder setLocation(int index, Location.Builder builderForValue)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • addLocation

      public Profile.Builder addLocation(Location value)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • addLocation

      public Profile.Builder addLocation(int index, Location value)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • addLocation

      public Profile.Builder addLocation(Location.Builder builderForValue)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • addLocation

      public Profile.Builder addLocation(int index, Location.Builder builderForValue)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • addAllLocation

      public Profile.Builder addAllLocation(Iterable<? extends Location> values)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • clearLocation

      public Profile.Builder clearLocation()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • removeLocation

      public Profile.Builder removeLocation(int index)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • getLocationBuilder

      public Location.Builder getLocationBuilder(int index)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • getLocationOrBuilder

      public LocationOrBuilder getLocationOrBuilder(int index)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
      Specified by:
      getLocationOrBuilder in interface ProfileOrBuilder
    • getLocationOrBuilderList

      public List<? extends LocationOrBuilder> getLocationOrBuilderList()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
      Specified by:
      getLocationOrBuilderList in interface ProfileOrBuilder
    • addLocationBuilder

      public Location.Builder addLocationBuilder()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • addLocationBuilder

      public Location.Builder addLocationBuilder(int index)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • getLocationBuilderList

      public List<Location.Builder> getLocationBuilderList()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • getLocationIndicesList

      public List<Long> getLocationIndicesList()
       Array of locations referenced by samples.
       
      repeated int64 location_indices = 15;
      Specified by:
      getLocationIndicesList in interface ProfileOrBuilder
      Returns:
      A list containing the locationIndices.
    • getLocationIndicesCount

      public int getLocationIndicesCount()
       Array of locations referenced by samples.
       
      repeated int64 location_indices = 15;
      Specified by:
      getLocationIndicesCount in interface ProfileOrBuilder
      Returns:
      The count of locationIndices.
    • getLocationIndices

      public long getLocationIndices(int index)
       Array of locations referenced by samples.
       
      repeated int64 location_indices = 15;
      Specified by:
      getLocationIndices in interface ProfileOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The locationIndices at the given index.
    • setLocationIndices

      public Profile.Builder setLocationIndices(int index, long value)
       Array of locations referenced by samples.
       
      repeated int64 location_indices = 15;
      Parameters:
      index - The index to set the value at.
      value - The locationIndices to set.
      Returns:
      This builder for chaining.
    • addLocationIndices

      public Profile.Builder addLocationIndices(long value)
       Array of locations referenced by samples.
       
      repeated int64 location_indices = 15;
      Parameters:
      value - The locationIndices to add.
      Returns:
      This builder for chaining.
    • addAllLocationIndices

      public Profile.Builder addAllLocationIndices(Iterable<? extends Long> values)
       Array of locations referenced by samples.
       
      repeated int64 location_indices = 15;
      Parameters:
      values - The locationIndices to add.
      Returns:
      This builder for chaining.
    • clearLocationIndices

      public Profile.Builder clearLocationIndices()
       Array of locations referenced by samples.
       
      repeated int64 location_indices = 15;
      Returns:
      This builder for chaining.
    • getFunctionList

      public List<Function> getFunctionList()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
      Specified by:
      getFunctionList in interface ProfileOrBuilder
    • getFunctionCount

      public int getFunctionCount()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
      Specified by:
      getFunctionCount in interface ProfileOrBuilder
    • getFunction

      public Function getFunction(int index)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
      Specified by:
      getFunction in interface ProfileOrBuilder
    • setFunction

      public Profile.Builder setFunction(int index, Function value)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • setFunction

      public Profile.Builder setFunction(int index, Function.Builder builderForValue)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • addFunction

      public Profile.Builder addFunction(Function value)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • addFunction

      public Profile.Builder addFunction(int index, Function value)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • addFunction

      public Profile.Builder addFunction(Function.Builder builderForValue)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • addFunction

      public Profile.Builder addFunction(int index, Function.Builder builderForValue)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • addAllFunction

      public Profile.Builder addAllFunction(Iterable<? extends Function> values)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • clearFunction

      public Profile.Builder clearFunction()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • removeFunction

      public Profile.Builder removeFunction(int index)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • getFunctionBuilder

      public Function.Builder getFunctionBuilder(int index)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • getFunctionOrBuilder

      public FunctionOrBuilder getFunctionOrBuilder(int index)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
      Specified by:
      getFunctionOrBuilder in interface ProfileOrBuilder
    • getFunctionOrBuilderList

      public List<? extends FunctionOrBuilder> getFunctionOrBuilderList()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
      Specified by:
      getFunctionOrBuilderList in interface ProfileOrBuilder
    • addFunctionBuilder

      public Function.Builder addFunctionBuilder()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • addFunctionBuilder

      public Function.Builder addFunctionBuilder(int index)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • getFunctionBuilderList

      public List<Function.Builder> getFunctionBuilderList()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • getAttributeTableList

      public List<KeyValue> getAttributeTableList()
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
      Specified by:
      getAttributeTableList in interface ProfileOrBuilder
    • getAttributeTableCount

      public int getAttributeTableCount()
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
      Specified by:
      getAttributeTableCount in interface ProfileOrBuilder
    • getAttributeTable

      public KeyValue getAttributeTable(int index)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
      Specified by:
      getAttributeTable in interface ProfileOrBuilder
    • setAttributeTable

      public Profile.Builder setAttributeTable(int index, KeyValue value)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • setAttributeTable

      public Profile.Builder setAttributeTable(int index, KeyValue.Builder builderForValue)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • addAttributeTable

      public Profile.Builder addAttributeTable(KeyValue value)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • addAttributeTable

      public Profile.Builder addAttributeTable(int index, KeyValue value)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • addAttributeTable

      public Profile.Builder addAttributeTable(KeyValue.Builder builderForValue)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • addAttributeTable

      public Profile.Builder addAttributeTable(int index, KeyValue.Builder builderForValue)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • addAllAttributeTable

      public Profile.Builder addAllAttributeTable(Iterable<? extends KeyValue> values)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • clearAttributeTable

      public Profile.Builder clearAttributeTable()
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • removeAttributeTable

      public Profile.Builder removeAttributeTable(int index)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • getAttributeTableBuilder

      public KeyValue.Builder getAttributeTableBuilder(int index)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • getAttributeTableOrBuilder

      public KeyValueOrBuilder getAttributeTableOrBuilder(int index)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
      Specified by:
      getAttributeTableOrBuilder in interface ProfileOrBuilder
    • getAttributeTableOrBuilderList

      public List<? extends KeyValueOrBuilder> getAttributeTableOrBuilderList()
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
      Specified by:
      getAttributeTableOrBuilderList in interface ProfileOrBuilder
    • addAttributeTableBuilder

      public KeyValue.Builder addAttributeTableBuilder()
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • addAttributeTableBuilder

      public KeyValue.Builder addAttributeTableBuilder(int index)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • getAttributeTableBuilderList

      public List<KeyValue.Builder> getAttributeTableBuilderList()
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • getAttributeUnitsList

      public List<AttributeUnit> getAttributeUnitsList()
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
      Specified by:
      getAttributeUnitsList in interface ProfileOrBuilder
    • getAttributeUnitsCount

      public int getAttributeUnitsCount()
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
      Specified by:
      getAttributeUnitsCount in interface ProfileOrBuilder
    • getAttributeUnits

      public AttributeUnit getAttributeUnits(int index)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
      Specified by:
      getAttributeUnits in interface ProfileOrBuilder
    • setAttributeUnits

      public Profile.Builder setAttributeUnits(int index, AttributeUnit value)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • setAttributeUnits

      public Profile.Builder setAttributeUnits(int index, AttributeUnit.Builder builderForValue)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • addAttributeUnits

      public Profile.Builder addAttributeUnits(AttributeUnit value)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • addAttributeUnits

      public Profile.Builder addAttributeUnits(int index, AttributeUnit value)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • addAttributeUnits

      public Profile.Builder addAttributeUnits(AttributeUnit.Builder builderForValue)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • addAttributeUnits

      public Profile.Builder addAttributeUnits(int index, AttributeUnit.Builder builderForValue)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • addAllAttributeUnits

      public Profile.Builder addAllAttributeUnits(Iterable<? extends AttributeUnit> values)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • clearAttributeUnits

      public Profile.Builder clearAttributeUnits()
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • removeAttributeUnits

      public Profile.Builder removeAttributeUnits(int index)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • getAttributeUnitsBuilder

      public AttributeUnit.Builder getAttributeUnitsBuilder(int index)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • getAttributeUnitsOrBuilder

      public AttributeUnitOrBuilder getAttributeUnitsOrBuilder(int index)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
      Specified by:
      getAttributeUnitsOrBuilder in interface ProfileOrBuilder
    • getAttributeUnitsOrBuilderList

      public List<? extends AttributeUnitOrBuilder> getAttributeUnitsOrBuilderList()
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
      Specified by:
      getAttributeUnitsOrBuilderList in interface ProfileOrBuilder
    • addAttributeUnitsBuilder

      public AttributeUnit.Builder addAttributeUnitsBuilder()
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • addAttributeUnitsBuilder

      public AttributeUnit.Builder addAttributeUnitsBuilder(int index)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • getAttributeUnitsBuilderList

      public List<AttributeUnit.Builder> getAttributeUnitsBuilderList()
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • getLinkTableList

      public List<Link> getLinkTableList()
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
      Specified by:
      getLinkTableList in interface ProfileOrBuilder
    • getLinkTableCount

      public int getLinkTableCount()
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
      Specified by:
      getLinkTableCount in interface ProfileOrBuilder
    • getLinkTable

      public Link getLinkTable(int index)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
      Specified by:
      getLinkTable in interface ProfileOrBuilder
    • setLinkTable

      public Profile.Builder setLinkTable(int index, Link value)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • setLinkTable

      public Profile.Builder setLinkTable(int index, Link.Builder builderForValue)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • addLinkTable

      public Profile.Builder addLinkTable(Link value)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • addLinkTable

      public Profile.Builder addLinkTable(int index, Link value)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • addLinkTable

      public Profile.Builder addLinkTable(Link.Builder builderForValue)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • addLinkTable

      public Profile.Builder addLinkTable(int index, Link.Builder builderForValue)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • addAllLinkTable

      public Profile.Builder addAllLinkTable(Iterable<? extends Link> values)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • clearLinkTable

      public Profile.Builder clearLinkTable()
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • removeLinkTable

      public Profile.Builder removeLinkTable(int index)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • getLinkTableBuilder

      public Link.Builder getLinkTableBuilder(int index)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • getLinkTableOrBuilder

      public LinkOrBuilder getLinkTableOrBuilder(int index)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
      Specified by:
      getLinkTableOrBuilder in interface ProfileOrBuilder
    • getLinkTableOrBuilderList

      public List<? extends LinkOrBuilder> getLinkTableOrBuilderList()
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
      Specified by:
      getLinkTableOrBuilderList in interface ProfileOrBuilder
    • addLinkTableBuilder

      public Link.Builder addLinkTableBuilder()
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • addLinkTableBuilder

      public Link.Builder addLinkTableBuilder(int index)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • getLinkTableBuilderList

      public List<Link.Builder> getLinkTableBuilderList()
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • getStringTableList

      public com.google.protobuf.ProtocolStringList getStringTableList()
       A common table for strings referenced by various messages.
       string_table[0] must always be "".
       
      repeated string string_table = 6;
      Specified by:
      getStringTableList in interface ProfileOrBuilder
      Returns:
      A list containing the stringTable.
    • getStringTableCount

      public int getStringTableCount()
       A common table for strings referenced by various messages.
       string_table[0] must always be "".
       
      repeated string string_table = 6;
      Specified by:
      getStringTableCount in interface ProfileOrBuilder
      Returns:
      The count of stringTable.
    • getStringTable

      public String getStringTable(int index)
       A common table for strings referenced by various messages.
       string_table[0] must always be "".
       
      repeated string string_table = 6;
      Specified by:
      getStringTable in interface ProfileOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The stringTable at the given index.
    • getStringTableBytes

      public com.google.protobuf.ByteString getStringTableBytes(int index)
       A common table for strings referenced by various messages.
       string_table[0] must always be "".
       
      repeated string string_table = 6;
      Specified by:
      getStringTableBytes in interface ProfileOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the stringTable at the given index.
    • setStringTable

      public Profile.Builder setStringTable(int index, String value)
       A common table for strings referenced by various messages.
       string_table[0] must always be "".
       
      repeated string string_table = 6;
      Parameters:
      index - The index to set the value at.
      value - The stringTable to set.
      Returns:
      This builder for chaining.
    • addStringTable

      public Profile.Builder addStringTable(String value)
       A common table for strings referenced by various messages.
       string_table[0] must always be "".
       
      repeated string string_table = 6;
      Parameters:
      value - The stringTable to add.
      Returns:
      This builder for chaining.
    • addAllStringTable

      public Profile.Builder addAllStringTable(Iterable<String> values)
       A common table for strings referenced by various messages.
       string_table[0] must always be "".
       
      repeated string string_table = 6;
      Parameters:
      values - The stringTable to add.
      Returns:
      This builder for chaining.
    • clearStringTable

      public Profile.Builder clearStringTable()
       A common table for strings referenced by various messages.
       string_table[0] must always be "".
       
      repeated string string_table = 6;
      Returns:
      This builder for chaining.
    • addStringTableBytes

      public Profile.Builder addStringTableBytes(com.google.protobuf.ByteString value)
       A common table for strings referenced by various messages.
       string_table[0] must always be "".
       
      repeated string string_table = 6;
      Parameters:
      value - The bytes of the stringTable to add.
      Returns:
      This builder for chaining.
    • getDropFrames

      public long getDropFrames()
       frames with Function.function_name fully matching the following
       regexp will be dropped from the samples, along with their successors.
       
      int64 drop_frames = 7;
      Specified by:
      getDropFrames in interface ProfileOrBuilder
      Returns:
      The dropFrames.
    • setDropFrames

      public Profile.Builder setDropFrames(long value)
       frames with Function.function_name fully matching the following
       regexp will be dropped from the samples, along with their successors.
       
      int64 drop_frames = 7;
      Parameters:
      value - The dropFrames to set.
      Returns:
      This builder for chaining.
    • clearDropFrames

      public Profile.Builder clearDropFrames()
       frames with Function.function_name fully matching the following
       regexp will be dropped from the samples, along with their successors.
       
      int64 drop_frames = 7;
      Returns:
      This builder for chaining.
    • getKeepFrames

      public long getKeepFrames()
       frames with Function.function_name fully matching the following
       regexp will be kept, even if it matches drop_frames.
       
      int64 keep_frames = 8;
      Specified by:
      getKeepFrames in interface ProfileOrBuilder
      Returns:
      The keepFrames.
    • setKeepFrames

      public Profile.Builder setKeepFrames(long value)
       frames with Function.function_name fully matching the following
       regexp will be kept, even if it matches drop_frames.
       
      int64 keep_frames = 8;
      Parameters:
      value - The keepFrames to set.
      Returns:
      This builder for chaining.
    • clearKeepFrames

      public Profile.Builder clearKeepFrames()
       frames with Function.function_name fully matching the following
       regexp will be kept, even if it matches drop_frames.
       
      int64 keep_frames = 8;
      Returns:
      This builder for chaining.
    • getTimeNanos

      public long getTimeNanos()
       Time of collection (UTC) represented as nanoseconds past the epoch.
       
      int64 time_nanos = 9;
      Specified by:
      getTimeNanos in interface ProfileOrBuilder
      Returns:
      The timeNanos.
    • setTimeNanos

      public Profile.Builder setTimeNanos(long value)
       Time of collection (UTC) represented as nanoseconds past the epoch.
       
      int64 time_nanos = 9;
      Parameters:
      value - The timeNanos to set.
      Returns:
      This builder for chaining.
    • clearTimeNanos

      public Profile.Builder clearTimeNanos()
       Time of collection (UTC) represented as nanoseconds past the epoch.
       
      int64 time_nanos = 9;
      Returns:
      This builder for chaining.
    • getDurationNanos

      public long getDurationNanos()
       Duration of the profile, if a duration makes sense.
       
      int64 duration_nanos = 10;
      Specified by:
      getDurationNanos in interface ProfileOrBuilder
      Returns:
      The durationNanos.
    • setDurationNanos

      public Profile.Builder setDurationNanos(long value)
       Duration of the profile, if a duration makes sense.
       
      int64 duration_nanos = 10;
      Parameters:
      value - The durationNanos to set.
      Returns:
      This builder for chaining.
    • clearDurationNanos

      public Profile.Builder clearDurationNanos()
       Duration of the profile, if a duration makes sense.
       
      int64 duration_nanos = 10;
      Returns:
      This builder for chaining.
    • hasPeriodType

      public boolean hasPeriodType()
       The kind of events between sampled occurrences.
       e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
       
      .opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;
      Specified by:
      hasPeriodType in interface ProfileOrBuilder
      Returns:
      Whether the periodType field is set.
    • getPeriodType

      public ValueType getPeriodType()
       The kind of events between sampled occurrences.
       e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
       
      .opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;
      Specified by:
      getPeriodType in interface ProfileOrBuilder
      Returns:
      The periodType.
    • setPeriodType

      public Profile.Builder setPeriodType(ValueType value)
       The kind of events between sampled occurrences.
       e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
       
      .opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;
    • setPeriodType

      public Profile.Builder setPeriodType(ValueType.Builder builderForValue)
       The kind of events between sampled occurrences.
       e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
       
      .opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;
    • mergePeriodType

      public Profile.Builder mergePeriodType(ValueType value)
       The kind of events between sampled occurrences.
       e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
       
      .opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;
    • clearPeriodType

      public Profile.Builder clearPeriodType()
       The kind of events between sampled occurrences.
       e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
       
      .opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;
    • getPeriodTypeBuilder

      public ValueType.Builder getPeriodTypeBuilder()
       The kind of events between sampled occurrences.
       e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
       
      .opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;
    • getPeriodTypeOrBuilder

      public ValueTypeOrBuilder getPeriodTypeOrBuilder()
       The kind of events between sampled occurrences.
       e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
       
      .opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;
      Specified by:
      getPeriodTypeOrBuilder in interface ProfileOrBuilder
    • getPeriod

      public long getPeriod()
       The number of events between sampled occurrences.
       
      int64 period = 12;
      Specified by:
      getPeriod in interface ProfileOrBuilder
      Returns:
      The period.
    • setPeriod

      public Profile.Builder setPeriod(long value)
       The number of events between sampled occurrences.
       
      int64 period = 12;
      Parameters:
      value - The period to set.
      Returns:
      This builder for chaining.
    • clearPeriod

      public Profile.Builder clearPeriod()
       The number of events between sampled occurrences.
       
      int64 period = 12;
      Returns:
      This builder for chaining.
    • getCommentList

      public List<Long> getCommentList()
       Free-form text associated with the profile. The text is displayed as is
       to the user by the tools that read profiles (e.g. by pprof). This field
       should not be used to store any machine-readable information, it is only
       for human-friendly content. The profile must stay functional if this field
       is cleaned.
       
      repeated int64 comment = 13;
      Specified by:
      getCommentList in interface ProfileOrBuilder
      Returns:
      A list containing the comment.
    • getCommentCount

      public int getCommentCount()
       Free-form text associated with the profile. The text is displayed as is
       to the user by the tools that read profiles (e.g. by pprof). This field
       should not be used to store any machine-readable information, it is only
       for human-friendly content. The profile must stay functional if this field
       is cleaned.
       
      repeated int64 comment = 13;
      Specified by:
      getCommentCount in interface ProfileOrBuilder
      Returns:
      The count of comment.
    • getComment

      public long getComment(int index)
       Free-form text associated with the profile. The text is displayed as is
       to the user by the tools that read profiles (e.g. by pprof). This field
       should not be used to store any machine-readable information, it is only
       for human-friendly content. The profile must stay functional if this field
       is cleaned.
       
      repeated int64 comment = 13;
      Specified by:
      getComment in interface ProfileOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The comment at the given index.
    • setComment

      public Profile.Builder setComment(int index, long value)
       Free-form text associated with the profile. The text is displayed as is
       to the user by the tools that read profiles (e.g. by pprof). This field
       should not be used to store any machine-readable information, it is only
       for human-friendly content. The profile must stay functional if this field
       is cleaned.
       
      repeated int64 comment = 13;
      Parameters:
      index - The index to set the value at.
      value - The comment to set.
      Returns:
      This builder for chaining.
    • addComment

      public Profile.Builder addComment(long value)
       Free-form text associated with the profile. The text is displayed as is
       to the user by the tools that read profiles (e.g. by pprof). This field
       should not be used to store any machine-readable information, it is only
       for human-friendly content. The profile must stay functional if this field
       is cleaned.
       
      repeated int64 comment = 13;
      Parameters:
      value - The comment to add.
      Returns:
      This builder for chaining.
    • addAllComment

      public Profile.Builder addAllComment(Iterable<? extends Long> values)
       Free-form text associated with the profile. The text is displayed as is
       to the user by the tools that read profiles (e.g. by pprof). This field
       should not be used to store any machine-readable information, it is only
       for human-friendly content. The profile must stay functional if this field
       is cleaned.
       
      repeated int64 comment = 13;
      Parameters:
      values - The comment to add.
      Returns:
      This builder for chaining.
    • clearComment

      public Profile.Builder clearComment()
       Free-form text associated with the profile. The text is displayed as is
       to the user by the tools that read profiles (e.g. by pprof). This field
       should not be used to store any machine-readable information, it is only
       for human-friendly content. The profile must stay functional if this field
       is cleaned.
       
      repeated int64 comment = 13;
      Returns:
      This builder for chaining.
    • getDefaultSampleType

      public long getDefaultSampleType()
       Index into the string table of the type of the preferred sample
       value. If unset, clients should default to the last sample value.
       
      int64 default_sample_type = 14;
      Specified by:
      getDefaultSampleType in interface ProfileOrBuilder
      Returns:
      The defaultSampleType.
    • setDefaultSampleType

      public Profile.Builder setDefaultSampleType(long value)
       Index into the string table of the type of the preferred sample
       value. If unset, clients should default to the last sample value.
       
      int64 default_sample_type = 14;
      Parameters:
      value - The defaultSampleType to set.
      Returns:
      This builder for chaining.
    • clearDefaultSampleType

      public Profile.Builder clearDefaultSampleType()
       Index into the string table of the type of the preferred sample
       value. If unset, clients should default to the last sample value.
       
      int64 default_sample_type = 14;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Profile.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder>
    • mergeUnknownFields

      public final Profile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Profile.Builder>