Class Profile.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Profile.Builder>
io.opentelemetry.proto.profiles.v1development.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.GeneratedMessage.Builder<Profile.Builder> implements ProfileOrBuilder
 Represents a complete profile, including sample types, samples,
 mappings to binaries, locations, functions, string table, and additional metadata.
 It modifies and annotates pprof Profile with OpenTelemetry specific fields.

 Note that whilst fields in this message retain the name and field id from pprof in most cases
 for ease of understanding data migration, it is not intended that pprof:Profile and
 OpenTelemetry:Profile encoding be wire compatible.
 
Protobuf type opentelemetry.proto.profiles.v1development.Profile
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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.GeneratedMessage.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.ValueType sample_type = 1;
    • getSampleList

      public List<Sample> getSampleList()
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1development.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.v1development.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.v1development.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.v1development.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.v1development.Sample sample = 2;
    • addSample

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

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

      public Profile.Builder addSample(Sample.Builder builderForValue)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1development.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.v1development.Sample sample = 2;
    • addAllSample

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

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

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

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

      public SampleOrBuilder getSampleOrBuilder(int index)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1development.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.v1development.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.v1development.Sample sample = 2;
    • addSampleBuilder

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

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

      public List<Mapping> getMappingTableList()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
      Specified by:
      getMappingTableList in interface ProfileOrBuilder
    • getMappingTableCount

      public int getMappingTableCount()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
      Specified by:
      getMappingTableCount in interface ProfileOrBuilder
    • getMappingTable

      public Mapping getMappingTable(int index)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
      Specified by:
      getMappingTable in interface ProfileOrBuilder
    • setMappingTable

      public Profile.Builder setMappingTable(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.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
    • setMappingTable

      public Profile.Builder setMappingTable(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.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
    • addMappingTable

      public Profile.Builder addMappingTable(Mapping value)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
    • addMappingTable

      public Profile.Builder addMappingTable(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.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
    • addMappingTable

      public Profile.Builder addMappingTable(Mapping.Builder builderForValue)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
    • addMappingTable

      public Profile.Builder addMappingTable(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.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
    • addAllMappingTable

      public Profile.Builder addAllMappingTable(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.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
    • clearMappingTable

      public Profile.Builder clearMappingTable()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
    • removeMappingTable

      public Profile.Builder removeMappingTable(int index)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
    • getMappingTableBuilder

      public Mapping.Builder getMappingTableBuilder(int index)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
    • getMappingTableOrBuilder

      public MappingOrBuilder getMappingTableOrBuilder(int index)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
      Specified by:
      getMappingTableOrBuilder in interface ProfileOrBuilder
    • getMappingTableOrBuilderList

      public List<? extends MappingOrBuilder> getMappingTableOrBuilderList()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
      Specified by:
      getMappingTableOrBuilderList in interface ProfileOrBuilder
    • addMappingTableBuilder

      public Mapping.Builder addMappingTableBuilder()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
    • addMappingTableBuilder

      public Mapping.Builder addMappingTableBuilder(int index)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
    • getMappingTableBuilderList

      public List<Mapping.Builder> getMappingTableBuilderList()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       If multiple binaries contribute to the Profile and no main
       binary can be identified, mapping[0] has no special meaning.
       
      repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;
    • getLocationTableList

      public List<Location> getLocationTableList()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
      Specified by:
      getLocationTableList in interface ProfileOrBuilder
    • getLocationTableCount

      public int getLocationTableCount()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
      Specified by:
      getLocationTableCount in interface ProfileOrBuilder
    • getLocationTable

      public Location getLocationTable(int index)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
      Specified by:
      getLocationTable in interface ProfileOrBuilder
    • setLocationTable

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

      public Profile.Builder setLocationTable(int index, Location.Builder builderForValue)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
    • addLocationTable

      public Profile.Builder addLocationTable(Location value)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
    • addLocationTable

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

      public Profile.Builder addLocationTable(Location.Builder builderForValue)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
    • addLocationTable

      public Profile.Builder addLocationTable(int index, Location.Builder builderForValue)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
    • addAllLocationTable

      public Profile.Builder addAllLocationTable(Iterable<? extends Location> values)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
    • clearLocationTable

      public Profile.Builder clearLocationTable()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
    • removeLocationTable

      public Profile.Builder removeLocationTable(int index)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
    • getLocationTableBuilder

      public Location.Builder getLocationTableBuilder(int index)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
    • getLocationTableOrBuilder

      public LocationOrBuilder getLocationTableOrBuilder(int index)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
      Specified by:
      getLocationTableOrBuilder in interface ProfileOrBuilder
    • getLocationTableOrBuilderList

      public List<? extends LocationOrBuilder> getLocationTableOrBuilderList()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
      Specified by:
      getLocationTableOrBuilderList in interface ProfileOrBuilder
    • addLocationTableBuilder

      public Location.Builder addLocationTableBuilder()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
    • addLocationTableBuilder

      public Location.Builder addLocationTableBuilder(int index)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;
    • getLocationTableBuilderList

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

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

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

      public int getLocationIndices(int index)
       Array of locations referenced by samples.
       
      repeated int32 location_indices = 5;
      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, int value)
       Array of locations referenced by samples.
       
      repeated int32 location_indices = 5;
      Parameters:
      index - The index to set the value at.
      value - The locationIndices to set.
      Returns:
      This builder for chaining.
    • addLocationIndices

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

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

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

      public List<Function> getFunctionTableList()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
      Specified by:
      getFunctionTableList in interface ProfileOrBuilder
    • getFunctionTableCount

      public int getFunctionTableCount()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
      Specified by:
      getFunctionTableCount in interface ProfileOrBuilder
    • getFunctionTable

      public Function getFunctionTable(int index)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
      Specified by:
      getFunctionTable in interface ProfileOrBuilder
    • setFunctionTable

      public Profile.Builder setFunctionTable(int index, Function value)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
    • setFunctionTable

      public Profile.Builder setFunctionTable(int index, Function.Builder builderForValue)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
    • addFunctionTable

      public Profile.Builder addFunctionTable(Function value)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
    • addFunctionTable

      public Profile.Builder addFunctionTable(int index, Function value)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
    • addFunctionTable

      public Profile.Builder addFunctionTable(Function.Builder builderForValue)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
    • addFunctionTable

      public Profile.Builder addFunctionTable(int index, Function.Builder builderForValue)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
    • addAllFunctionTable

      public Profile.Builder addAllFunctionTable(Iterable<? extends Function> values)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
    • clearFunctionTable

      public Profile.Builder clearFunctionTable()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
    • removeFunctionTable

      public Profile.Builder removeFunctionTable(int index)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
    • getFunctionTableBuilder

      public Function.Builder getFunctionTableBuilder(int index)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
    • getFunctionTableOrBuilder

      public FunctionOrBuilder getFunctionTableOrBuilder(int index)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
      Specified by:
      getFunctionTableOrBuilder in interface ProfileOrBuilder
    • getFunctionTableOrBuilderList

      public List<? extends FunctionOrBuilder> getFunctionTableOrBuilderList()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
      Specified by:
      getFunctionTableOrBuilderList in interface ProfileOrBuilder
    • addFunctionTableBuilder

      public Function.Builder addFunctionTableBuilder()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
    • addFunctionTableBuilder

      public Function.Builder addFunctionTableBuilder(int index)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
    • getFunctionTableBuilderList

      public List<Function.Builder> getFunctionTableBuilderList()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;
    • getAttributeTableList

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

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

      public KeyValue getAttributeTable(int index)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7;
      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 = 7;
    • setAttributeTable

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public AttributeUnit getAttributeUnits(int index)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8;
      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.v1development.AttributeUnit attribute_units = 8;
    • setAttributeUnits

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public List<Link.Builder> getLinkTableBuilderList()
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9;
    • 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 = 10;
      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 = 10;
      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 = 10;
      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 = 10;
      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 = 10;
      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 = 10;
      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 = 10;
      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 = 10;
      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 = 10;
      Parameters:
      value - The bytes of the stringTable to add.
      Returns:
      This builder for chaining.
    • getTimeNanos

      public long getTimeNanos()
       Time of collection (UTC) represented as nanoseconds past the epoch.
       
      int64 time_nanos = 11;
      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 = 11;
      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 = 11;
      Returns:
      This builder for chaining.
    • getDurationNanos

      public long getDurationNanos()
       Duration of the profile, if a duration makes sense.
       
      int64 duration_nanos = 12;
      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 = 12;
      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 = 12;
      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.v1development.ValueType period_type = 13;
      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.v1development.ValueType period_type = 13;
      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.v1development.ValueType period_type = 13;
    • 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.v1development.ValueType period_type = 13;
    • mergePeriodType

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

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

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

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

      public long getPeriod()
       The number of events between sampled occurrences.
       
      int64 period = 14;
      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 = 14;
      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 = 14;
      Returns:
      This builder for chaining.
    • getCommentStrindicesList

      public List<Integer> getCommentStrindicesList()
       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 int32 comment_strindices = 15;
      Specified by:
      getCommentStrindicesList in interface ProfileOrBuilder
      Returns:
      A list containing the commentStrindices.
    • getCommentStrindicesCount

      public int getCommentStrindicesCount()
       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 int32 comment_strindices = 15;
      Specified by:
      getCommentStrindicesCount in interface ProfileOrBuilder
      Returns:
      The count of commentStrindices.
    • getCommentStrindices

      public int getCommentStrindices(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 int32 comment_strindices = 15;
      Specified by:
      getCommentStrindices in interface ProfileOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The commentStrindices at the given index.
    • setCommentStrindices

      public Profile.Builder setCommentStrindices(int index, int 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 int32 comment_strindices = 15;
      Parameters:
      index - The index to set the value at.
      value - The commentStrindices to set.
      Returns:
      This builder for chaining.
    • addCommentStrindices

      public Profile.Builder addCommentStrindices(int 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 int32 comment_strindices = 15;
      Parameters:
      value - The commentStrindices to add.
      Returns:
      This builder for chaining.
    • addAllCommentStrindices

      public Profile.Builder addAllCommentStrindices(Iterable<? extends Integer> 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 int32 comment_strindices = 15;
      Parameters:
      values - The commentStrindices to add.
      Returns:
      This builder for chaining.
    • clearCommentStrindices

      public Profile.Builder clearCommentStrindices()
       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 int32 comment_strindices = 15;
      Returns:
      This builder for chaining.
    • getDefaultSampleTypeStrindex

      public int getDefaultSampleTypeStrindex()
       Index into the string table of the type of the preferred sample
       value. If unset, clients should default to the last sample value.
       
      int32 default_sample_type_strindex = 16;
      Specified by:
      getDefaultSampleTypeStrindex in interface ProfileOrBuilder
      Returns:
      The defaultSampleTypeStrindex.
    • setDefaultSampleTypeStrindex

      public Profile.Builder setDefaultSampleTypeStrindex(int value)
       Index into the string table of the type of the preferred sample
       value. If unset, clients should default to the last sample value.
       
      int32 default_sample_type_strindex = 16;
      Parameters:
      value - The defaultSampleTypeStrindex to set.
      Returns:
      This builder for chaining.
    • clearDefaultSampleTypeStrindex

      public Profile.Builder clearDefaultSampleTypeStrindex()
       Index into the string table of the type of the preferred sample
       value. If unset, clients should default to the last sample value.
       
      int32 default_sample_type_strindex = 16;
      Returns:
      This builder for chaining.
    • getProfileId

      public com.google.protobuf.ByteString getProfileId()
       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 = 17;
      Specified by:
      getProfileId in interface ProfileOrBuilder
      Returns:
      The profileId.
    • setProfileId

      public Profile.Builder setProfileId(com.google.protobuf.ByteString value)
       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 = 17;
      Parameters:
      value - The profileId to set.
      Returns:
      This builder for chaining.
    • clearProfileId

      public Profile.Builder clearProfileId()
       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 = 17;
      Returns:
      This builder for chaining.
    • getDroppedAttributesCount

      public int getDroppedAttributesCount()
       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 = 19;
      Specified by:
      getDroppedAttributesCount in interface ProfileOrBuilder
      Returns:
      The droppedAttributesCount.
    • setDroppedAttributesCount

      public Profile.Builder setDroppedAttributesCount(int value)
       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 = 19;
      Parameters:
      value - The droppedAttributesCount to set.
      Returns:
      This builder for chaining.
    • clearDroppedAttributesCount

      public Profile.Builder clearDroppedAttributesCount()
       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 = 19;
      Returns:
      This builder for chaining.
    • getOriginalPayloadFormat

      public 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 = 20;
      Specified by:
      getOriginalPayloadFormat in interface ProfileOrBuilder
      Returns:
      The originalPayloadFormat.
    • getOriginalPayloadFormatBytes

      public com.google.protobuf.ByteString getOriginalPayloadFormatBytes()
       Specifies format of the original payload. Common values are defined in semantic conventions. [required if original_payload is present]
       
      string original_payload_format = 20;
      Specified by:
      getOriginalPayloadFormatBytes in interface ProfileOrBuilder
      Returns:
      The bytes for originalPayloadFormat.
    • setOriginalPayloadFormat

      public Profile.Builder setOriginalPayloadFormat(String value)
       Specifies format of the original payload. Common values are defined in semantic conventions. [required if original_payload is present]
       
      string original_payload_format = 20;
      Parameters:
      value - The originalPayloadFormat to set.
      Returns:
      This builder for chaining.
    • clearOriginalPayloadFormat

      public Profile.Builder clearOriginalPayloadFormat()
       Specifies format of the original payload. Common values are defined in semantic conventions. [required if original_payload is present]
       
      string original_payload_format = 20;
      Returns:
      This builder for chaining.
    • setOriginalPayloadFormatBytes

      public Profile.Builder setOriginalPayloadFormatBytes(com.google.protobuf.ByteString value)
       Specifies format of the original payload. Common values are defined in semantic conventions. [required if original_payload is present]
       
      string original_payload_format = 20;
      Parameters:
      value - The bytes for originalPayloadFormat to set.
      Returns:
      This builder for chaining.
    • getOriginalPayload

      public com.google.protobuf.ByteString getOriginalPayload()
       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 then equivalent converted data should be populated in other fields
       of this message as far as is practicable.
       
      bytes original_payload = 21;
      Specified by:
      getOriginalPayload in interface ProfileOrBuilder
      Returns:
      The originalPayload.
    • setOriginalPayload

      public Profile.Builder setOriginalPayload(com.google.protobuf.ByteString value)
       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 then equivalent converted data should be populated in other fields
       of this message as far as is practicable.
       
      bytes original_payload = 21;
      Parameters:
      value - The originalPayload to set.
      Returns:
      This builder for chaining.
    • clearOriginalPayload

      public Profile.Builder clearOriginalPayload()
       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 then equivalent converted data should be populated in other fields
       of this message as far as is practicable.
       
      bytes original_payload = 21;
      Returns:
      This builder for chaining.
    • getAttributeIndicesList

      public List<Integer> getAttributeIndicesList()
       References to attributes in attribute_table. [optional]
       It 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 int32 attribute_indices = 22;
      Specified by:
      getAttributeIndicesList in interface ProfileOrBuilder
      Returns:
      A list containing the attributeIndices.
    • getAttributeIndicesCount

      public int getAttributeIndicesCount()
       References to attributes in attribute_table. [optional]
       It 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 int32 attribute_indices = 22;
      Specified by:
      getAttributeIndicesCount in interface ProfileOrBuilder
      Returns:
      The count of attributeIndices.
    • getAttributeIndices

      public int getAttributeIndices(int index)
       References to attributes in attribute_table. [optional]
       It 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 int32 attribute_indices = 22;
      Specified by:
      getAttributeIndices in interface ProfileOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The attributeIndices at the given index.
    • setAttributeIndices

      public Profile.Builder setAttributeIndices(int index, int value)
       References to attributes in attribute_table. [optional]
       It 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 int32 attribute_indices = 22;
      Parameters:
      index - The index to set the value at.
      value - The attributeIndices to set.
      Returns:
      This builder for chaining.
    • addAttributeIndices

      public Profile.Builder addAttributeIndices(int value)
       References to attributes in attribute_table. [optional]
       It 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 int32 attribute_indices = 22;
      Parameters:
      value - The attributeIndices to add.
      Returns:
      This builder for chaining.
    • addAllAttributeIndices

      public Profile.Builder addAllAttributeIndices(Iterable<? extends Integer> values)
       References to attributes in attribute_table. [optional]
       It 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 int32 attribute_indices = 22;
      Parameters:
      values - The attributeIndices to add.
      Returns:
      This builder for chaining.
    • clearAttributeIndices

      public Profile.Builder clearAttributeIndices()
       References to attributes in attribute_table. [optional]
       It 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 int32 attribute_indices = 22;
      Returns:
      This builder for chaining.