Class ProfilesData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ProfilesData.Builder>
io.opentelemetry.proto.profiles.v1development.ProfilesData.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ProfilesDataOrBuilder,Cloneable
- Enclosing class:
- ProfilesData
public static final class ProfilesData.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProfilesData.Builder>
implements ProfilesDataOrBuilder
ProfilesData represents the profiles data that can be stored in persistent storage, OR can be embedded by other protocols that transfer OTLP profiles data but do not implement the OTLP protocol. The main difference between this message and collector protocol is that in this message there will not be any "control" or "metadata" specific to OTLP protocol. When new fields are added into this message, the OTLP request MUST be updated as well.Protobuf type
opentelemetry.proto.profiles.v1development.ProfilesData-
Method Summary
Modifier and TypeMethodDescriptionaddAllResourceProfiles(Iterable<? extends ResourceProfiles> values) An array of ResourceProfiles.addResourceProfiles(int index, ResourceProfiles value) An array of ResourceProfiles.addResourceProfiles(int index, ResourceProfiles.Builder builderForValue) An array of ResourceProfiles.An array of ResourceProfiles.addResourceProfiles(ResourceProfiles.Builder builderForValue) An array of ResourceProfiles.An array of ResourceProfiles.addResourceProfilesBuilder(int index) An array of ResourceProfiles.build()clear()One instance of ProfilesDictionaryAn array of ResourceProfiles.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOne instance of ProfilesDictionaryOne instance of ProfilesDictionaryOne instance of ProfilesDictionarygetResourceProfiles(int index) An array of ResourceProfiles.getResourceProfilesBuilder(int index) An array of ResourceProfiles.An array of ResourceProfiles.intAn array of ResourceProfiles.An array of ResourceProfiles.getResourceProfilesOrBuilder(int index) An array of ResourceProfiles.List<? extends ResourceProfilesOrBuilder>An array of ResourceProfiles.booleanOne instance of ProfilesDictionaryprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOne instance of ProfilesDictionarymergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ProfilesData other) removeResourceProfiles(int index) An array of ResourceProfiles.setDictionary(ProfilesDictionary value) One instance of ProfilesDictionarysetDictionary(ProfilesDictionary.Builder builderForValue) One instance of ProfilesDictionarysetResourceProfiles(int index, ResourceProfiles value) An array of ResourceProfiles.setResourceProfiles(int index, ResourceProfiles.Builder builderForValue) An array of ResourceProfiles.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ProfilesData.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ProfilesData.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ProfilesData.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProfilesData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ProfilesData.Builder>
-
mergeFrom
public ProfilesData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProfilesData.Builder>- Throws:
IOException
-
getResourceProfilesList
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1;- Specified by:
getResourceProfilesListin interfaceProfilesDataOrBuilder
-
getResourceProfilesCount
public int getResourceProfilesCount()An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1;- Specified by:
getResourceProfilesCountin interfaceProfilesDataOrBuilder
-
getResourceProfiles
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1;- Specified by:
getResourceProfilesin interfaceProfilesDataOrBuilder
-
setResourceProfiles
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1; -
setResourceProfiles
public ProfilesData.Builder setResourceProfiles(int index, ResourceProfiles.Builder builderForValue) An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1; -
addResourceProfiles
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1; -
addResourceProfiles
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1; -
addResourceProfiles
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1; -
addResourceProfiles
public ProfilesData.Builder addResourceProfiles(int index, ResourceProfiles.Builder builderForValue) An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1; -
addAllResourceProfiles
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1; -
clearResourceProfiles
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1; -
removeResourceProfiles
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1; -
getResourceProfilesBuilder
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1; -
getResourceProfilesOrBuilder
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1;- Specified by:
getResourceProfilesOrBuilderin interfaceProfilesDataOrBuilder
-
getResourceProfilesOrBuilderList
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1;- Specified by:
getResourceProfilesOrBuilderListin interfaceProfilesDataOrBuilder
-
addResourceProfilesBuilder
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1; -
addResourceProfilesBuilder
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1; -
getResourceProfilesBuilderList
An array of ResourceProfiles. For data coming from an SDK profiler, this array will typically contain one element. Host-level profilers will usually create one ResourceProfile per container, as well as one additional ResourceProfile grouping all samples from non-containerized processes. Other resource groupings are possible as well and clarified via Resource.attributes and semantic conventions. Tools that visualize profiles should prefer displaying resources_profiles[0].scope_profiles[0].profiles[0] by default.
repeated .opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1; -
hasDictionary
public boolean hasDictionary()One instance of ProfilesDictionary
.opentelemetry.proto.profiles.v1development.ProfilesDictionary dictionary = 2;- Specified by:
hasDictionaryin interfaceProfilesDataOrBuilder- Returns:
- Whether the dictionary field is set.
-
getDictionary
One instance of ProfilesDictionary
.opentelemetry.proto.profiles.v1development.ProfilesDictionary dictionary = 2;- Specified by:
getDictionaryin interfaceProfilesDataOrBuilder- Returns:
- The dictionary.
-
setDictionary
One instance of ProfilesDictionary
.opentelemetry.proto.profiles.v1development.ProfilesDictionary dictionary = 2; -
setDictionary
One instance of ProfilesDictionary
.opentelemetry.proto.profiles.v1development.ProfilesDictionary dictionary = 2; -
mergeDictionary
One instance of ProfilesDictionary
.opentelemetry.proto.profiles.v1development.ProfilesDictionary dictionary = 2; -
clearDictionary
One instance of ProfilesDictionary
.opentelemetry.proto.profiles.v1development.ProfilesDictionary dictionary = 2; -
getDictionaryBuilder
One instance of ProfilesDictionary
.opentelemetry.proto.profiles.v1development.ProfilesDictionary dictionary = 2; -
getDictionaryOrBuilder
One instance of ProfilesDictionary
.opentelemetry.proto.profiles.v1development.ProfilesDictionary dictionary = 2;- Specified by:
getDictionaryOrBuilderin interfaceProfilesDataOrBuilder
-