Class ContinuousProfilingReport.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ContinuousProfilingReport.Builder>
org.apache.skywalking.apm.network.ebpf.profiling.v3.ContinuousProfilingReport.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,ContinuousProfilingReportOrBuilder
- Enclosing class:
- ContinuousProfilingReport
public static final class ContinuousProfilingReport.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ContinuousProfilingReport.Builder>
implements ContinuousProfilingReportOrBuilder
Protobuf type
skywalking.v3.ContinuousProfilingReport-
Method Summary
Modifier and TypeMethodDescriptionaddAllCauses(Iterable<? extends ContinuousProfilingCause> values) reached thresholds causesaddCauses(int index, ContinuousProfilingCause value) reached thresholds causesaddCauses(int index, ContinuousProfilingCause.Builder builderForValue) reached thresholds causesreached thresholds causesaddCauses(ContinuousProfilingCause.Builder builderForValue) reached thresholds causesreached thresholds causesaddCausesBuilder(int index) reached thresholds causesaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()reached thresholds causesThe execution duration for this triggered profiling.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) string instanceName = 3;over threshold process entity.skywalking.v3.ContinuousNetworkProfilingTask network = 9;.skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8;.skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) string processName = 4;string serviceName = 2;clone()getCauses(int index) reached thresholds causesgetCausesBuilder(int index) reached thresholds causesreached thresholds causesintreached thresholds causesreached thresholds causesgetCausesOrBuilder(int index) reached thresholds causesList<? extends ContinuousProfilingCauseOrBuilder>reached thresholds causesstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintThe execution duration for this triggered profiling.string instanceName = 3;com.google.protobuf.ByteStringstring instanceName = 3;getLayer()over threshold process entitycom.google.protobuf.ByteStringover threshold process entity.skywalking.v3.ContinuousNetworkProfilingTask network = 9;.skywalking.v3.ContinuousNetworkProfilingTask network = 9;.skywalking.v3.ContinuousNetworkProfilingTask network = 9;.skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8;.skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8;.skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8;getOnCPU().skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7;.skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7;.skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7;string processName = 4;com.google.protobuf.ByteStringstring processName = 4;string serviceName = 2;com.google.protobuf.ByteStringstring serviceName = 2;boolean.skywalking.v3.ContinuousNetworkProfilingTask network = 9;boolean.skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8;booleanhasOnCPU().skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) .skywalking.v3.ContinuousNetworkProfilingTask network = 9;.skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8;.skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeCauses(int index) reached thresholds causessetCauses(int index, ContinuousProfilingCause value) reached thresholds causessetCauses(int index, ContinuousProfilingCause.Builder builderForValue) reached thresholds causessetDuration(int value) The execution duration for this triggered profiling.setInstanceName(String value) string instanceName = 3;setInstanceNameBytes(com.google.protobuf.ByteString value) string instanceName = 3;over threshold process entitysetLayerBytes(com.google.protobuf.ByteString value) over threshold process entity.skywalking.v3.ContinuousNetworkProfilingTask network = 9;setNetwork(ContinuousNetworkProfilingTask.Builder builderForValue) .skywalking.v3.ContinuousNetworkProfilingTask network = 9;.skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8;setOffCPU(ContinuousOffCPUProfilingTask.Builder builderForValue) .skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8;.skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7;setOnCPU(ContinuousOnCPUProfilingTask.Builder builderForValue) .skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7;setProcessName(String value) string processName = 4;setProcessNameBytes(com.google.protobuf.ByteString value) string processName = 4;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setServiceName(String value) string serviceName = 2;setServiceNameBytes(com.google.protobuf.ByteString value) string serviceName = 2;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousProfilingReport.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousProfilingReport.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.GeneratedMessageV3.Builder<ContinuousProfilingReport.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousProfilingReport.Builder>
-
setField
public ContinuousProfilingReport.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousProfilingReport.Builder>
-
clearField
public ContinuousProfilingReport.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousProfilingReport.Builder>
-
clearOneof
public ContinuousProfilingReport.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousProfilingReport.Builder>
-
setRepeatedField
public ContinuousProfilingReport.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousProfilingReport.Builder>
-
addRepeatedField
public ContinuousProfilingReport.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousProfilingReport.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ContinuousProfilingReport.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousProfilingReport.Builder>
-
mergeFrom
public ContinuousProfilingReport.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<ContinuousProfilingReport.Builder>- Throws:
IOException
-
getTargetTaskCase
- Specified by:
getTargetTaskCasein interfaceContinuousProfilingReportOrBuilder
-
clearTargetTask
-
getLayer
over threshold process entity
string layer = 1;- Specified by:
getLayerin interfaceContinuousProfilingReportOrBuilder- Returns:
- The layer.
-
getLayerBytes
public com.google.protobuf.ByteString getLayerBytes()over threshold process entity
string layer = 1;- Specified by:
getLayerBytesin interfaceContinuousProfilingReportOrBuilder- Returns:
- The bytes for layer.
-
setLayer
over threshold process entity
string layer = 1;- Parameters:
value- The layer to set.- Returns:
- This builder for chaining.
-
clearLayer
over threshold process entity
string layer = 1;- Returns:
- This builder for chaining.
-
setLayerBytes
over threshold process entity
string layer = 1;- Parameters:
value- The bytes for layer to set.- Returns:
- This builder for chaining.
-
getServiceName
string serviceName = 2;- Specified by:
getServiceNamein interfaceContinuousProfilingReportOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()string serviceName = 2;- Specified by:
getServiceNameBytesin interfaceContinuousProfilingReportOrBuilder- Returns:
- The bytes for serviceName.
-
setServiceName
string serviceName = 2;- Parameters:
value- The serviceName to set.- Returns:
- This builder for chaining.
-
clearServiceName
string serviceName = 2;- Returns:
- This builder for chaining.
-
setServiceNameBytes
string serviceName = 2;- Parameters:
value- The bytes for serviceName to set.- Returns:
- This builder for chaining.
-
getInstanceName
string instanceName = 3;- Specified by:
getInstanceNamein interfaceContinuousProfilingReportOrBuilder- Returns:
- The instanceName.
-
getInstanceNameBytes
public com.google.protobuf.ByteString getInstanceNameBytes()string instanceName = 3;- Specified by:
getInstanceNameBytesin interfaceContinuousProfilingReportOrBuilder- Returns:
- The bytes for instanceName.
-
setInstanceName
string instanceName = 3;- Parameters:
value- The instanceName to set.- Returns:
- This builder for chaining.
-
clearInstanceName
string instanceName = 3;- Returns:
- This builder for chaining.
-
setInstanceNameBytes
string instanceName = 3;- Parameters:
value- The bytes for instanceName to set.- Returns:
- This builder for chaining.
-
getProcessName
string processName = 4;- Specified by:
getProcessNamein interfaceContinuousProfilingReportOrBuilder- Returns:
- The processName.
-
getProcessNameBytes
public com.google.protobuf.ByteString getProcessNameBytes()string processName = 4;- Specified by:
getProcessNameBytesin interfaceContinuousProfilingReportOrBuilder- Returns:
- The bytes for processName.
-
setProcessName
string processName = 4;- Parameters:
value- The processName to set.- Returns:
- This builder for chaining.
-
clearProcessName
string processName = 4;- Returns:
- This builder for chaining.
-
setProcessNameBytes
string processName = 4;- Parameters:
value- The bytes for processName to set.- Returns:
- This builder for chaining.
-
getCausesList
reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5;- Specified by:
getCausesListin interfaceContinuousProfilingReportOrBuilder
-
getCausesCount
public int getCausesCount()reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5;- Specified by:
getCausesCountin interfaceContinuousProfilingReportOrBuilder
-
getCauses
reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5;- Specified by:
getCausesin interfaceContinuousProfilingReportOrBuilder
-
setCauses
reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5; -
setCauses
public ContinuousProfilingReport.Builder setCauses(int index, ContinuousProfilingCause.Builder builderForValue) reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5; -
addCauses
reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5; -
addCauses
reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5; -
addCauses
public ContinuousProfilingReport.Builder addCauses(ContinuousProfilingCause.Builder builderForValue) reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5; -
addCauses
public ContinuousProfilingReport.Builder addCauses(int index, ContinuousProfilingCause.Builder builderForValue) reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5; -
addAllCauses
public ContinuousProfilingReport.Builder addAllCauses(Iterable<? extends ContinuousProfilingCause> values) reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5; -
clearCauses
reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5; -
removeCauses
reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5; -
getCausesBuilder
reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5; -
getCausesOrBuilder
reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5;- Specified by:
getCausesOrBuilderin interfaceContinuousProfilingReportOrBuilder
-
getCausesOrBuilderList
reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5;- Specified by:
getCausesOrBuilderListin interfaceContinuousProfilingReportOrBuilder
-
addCausesBuilder
reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5; -
addCausesBuilder
reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5; -
getCausesBuilderList
reached thresholds causes
repeated .skywalking.v3.ContinuousProfilingCause causes = 5; -
getDuration
public int getDuration()The execution duration for this triggered profiling. This is set at the agent side.
int32 duration = 6;- Specified by:
getDurationin interfaceContinuousProfilingReportOrBuilder- Returns:
- The duration.
-
setDuration
The execution duration for this triggered profiling. This is set at the agent side.
int32 duration = 6;- Parameters:
value- The duration to set.- Returns:
- This builder for chaining.
-
clearDuration
The execution duration for this triggered profiling. This is set at the agent side.
int32 duration = 6;- Returns:
- This builder for chaining.
-
hasOnCPU
public boolean hasOnCPU().skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7;- Specified by:
hasOnCPUin interfaceContinuousProfilingReportOrBuilder- Returns:
- Whether the onCPU field is set.
-
getOnCPU
.skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7;- Specified by:
getOnCPUin interfaceContinuousProfilingReportOrBuilder- Returns:
- The onCPU.
-
setOnCPU
.skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7; -
setOnCPU
public ContinuousProfilingReport.Builder setOnCPU(ContinuousOnCPUProfilingTask.Builder builderForValue) .skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7; -
mergeOnCPU
.skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7; -
clearOnCPU
.skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7; -
getOnCPUBuilder
.skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7; -
getOnCPUOrBuilder
.skywalking.v3.ContinuousOnCPUProfilingTask onCPU = 7;- Specified by:
getOnCPUOrBuilderin interfaceContinuousProfilingReportOrBuilder
-
hasOffCPU
public boolean hasOffCPU().skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8;- Specified by:
hasOffCPUin interfaceContinuousProfilingReportOrBuilder- Returns:
- Whether the offCPU field is set.
-
getOffCPU
.skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8;- Specified by:
getOffCPUin interfaceContinuousProfilingReportOrBuilder- Returns:
- The offCPU.
-
setOffCPU
.skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8; -
setOffCPU
public ContinuousProfilingReport.Builder setOffCPU(ContinuousOffCPUProfilingTask.Builder builderForValue) .skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8; -
mergeOffCPU
.skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8; -
clearOffCPU
.skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8; -
getOffCPUBuilder
.skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8; -
getOffCPUOrBuilder
.skywalking.v3.ContinuousOffCPUProfilingTask offCPU = 8;- Specified by:
getOffCPUOrBuilderin interfaceContinuousProfilingReportOrBuilder
-
hasNetwork
public boolean hasNetwork().skywalking.v3.ContinuousNetworkProfilingTask network = 9;- Specified by:
hasNetworkin interfaceContinuousProfilingReportOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
.skywalking.v3.ContinuousNetworkProfilingTask network = 9;- Specified by:
getNetworkin interfaceContinuousProfilingReportOrBuilder- Returns:
- The network.
-
setNetwork
.skywalking.v3.ContinuousNetworkProfilingTask network = 9; -
setNetwork
public ContinuousProfilingReport.Builder setNetwork(ContinuousNetworkProfilingTask.Builder builderForValue) .skywalking.v3.ContinuousNetworkProfilingTask network = 9; -
mergeNetwork
.skywalking.v3.ContinuousNetworkProfilingTask network = 9; -
clearNetwork
.skywalking.v3.ContinuousNetworkProfilingTask network = 9; -
getNetworkBuilder
.skywalking.v3.ContinuousNetworkProfilingTask network = 9; -
getNetworkOrBuilder
.skywalking.v3.ContinuousNetworkProfilingTask network = 9;- Specified by:
getNetworkOrBuilderin interfaceContinuousProfilingReportOrBuilder
-
setUnknownFields
public final ContinuousProfilingReport.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousProfilingReport.Builder>
-
mergeUnknownFields
public final ContinuousProfilingReport.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousProfilingReport.Builder>
-