Interface ProfileActionConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProfileActionConfig,ProfileActionConfig.Builder
public interface ProfileActionConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongLimits the max number of profiles that can be generated by this action over its lifetime to avoid filling the disk.com.google.protobuf.DurationHow long the profile should last.com.google.protobuf.DurationOrBuilderHow long the profile should last.File path to the directory to output profiles.com.google.protobuf.ByteStringFile path to the directory to output profiles.booleanHow long the profile should last.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasProfileDuration
boolean hasProfileDuration()How long the profile should last. If not set defaults to 5 seconds.
.google.protobuf.Duration profile_duration = 1;- Returns:
- Whether the profileDuration field is set.
-
getProfileDuration
com.google.protobuf.Duration getProfileDuration()How long the profile should last. If not set defaults to 5 seconds.
.google.protobuf.Duration profile_duration = 1;- Returns:
- The profileDuration.
-
getProfileDurationOrBuilder
com.google.protobuf.DurationOrBuilder getProfileDurationOrBuilder()How long the profile should last. If not set defaults to 5 seconds.
.google.protobuf.Duration profile_duration = 1; -
getProfilePath
String getProfilePath()File path to the directory to output profiles.
string profile_path = 2 [(.validate.rules) = { ... }- Returns:
- The profilePath.
-
getProfilePathBytes
com.google.protobuf.ByteString getProfilePathBytes()File path to the directory to output profiles.
string profile_path = 2 [(.validate.rules) = { ... }- Returns:
- The bytes for profilePath.
-
getMaxProfiles
long getMaxProfiles()Limits the max number of profiles that can be generated by this action over its lifetime to avoid filling the disk. If not set (i.e. it's 0), a default of 10 will be used.
uint64 max_profiles = 3;- Returns:
- The maxProfiles.
-