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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetMaxProfiles()Limits the max number of profiles that can be generated by this action over its lifetime to avoid filling the disk.com.google.protobuf.DurationgetProfileDuration()How long the profile should last.com.google.protobuf.DurationOrBuildergetProfileDurationOrBuilder()How long the profile should last.StringgetProfilePath()File path to the directory to output profiles.com.google.protobuf.ByteStringgetProfilePathBytes()File path to the directory to output profiles.booleanhasProfileDuration()How long the profile should last.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-