public static final class TraceOpts.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<TraceOpts.Builder> implements TraceOptsOrBuilder
tensorflow.TraceOpts| Modifier and Type | Method and Description |
|---|---|
TraceOpts.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
TraceOpts |
build() |
TraceOpts |
buildPartial() |
TraceOpts.Builder |
clear() |
TraceOpts.Builder |
clearDuration()
Length of the trace to be taken, in seconds.
|
TraceOpts.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
TraceOpts.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
TraceOpts.Builder |
clearUseExtendedProfiler()
If true, capture extended profiling events from TensorFlow process.
|
TraceOpts.Builder |
clearUseGpuProfiler()
If true, capture GPU profiling events locally on each
machine.
|
TraceOpts.Builder |
clearUseKernelProfiler()
If true, capture kernel events from each worker.
|
TraceOpts.Builder |
clearUseSampleProfiler()
If true, collect sampled profile events.
|
TraceOpts.Builder |
clearUseStepProfiler()
If true, capture step profile locally in each worker.
|
TraceOpts.Builder |
clone() |
TraceOpts |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
double |
getDuration()
Length of the trace to be taken, in seconds.
|
boolean |
getUseExtendedProfiler()
If true, capture extended profiling events from TensorFlow process.
|
boolean |
getUseGpuProfiler()
If true, capture GPU profiling events locally on each
machine.
|
boolean |
getUseKernelProfiler()
If true, capture kernel events from each worker.
|
boolean |
getUseSampleProfiler()
If true, collect sampled profile events.
|
boolean |
getUseStepProfiler()
If true, capture step profile locally in each worker.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TraceOpts.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
TraceOpts.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
TraceOpts.Builder |
mergeFrom(TraceOpts other) |
TraceOpts.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
TraceOpts.Builder |
setDuration(double value)
Length of the trace to be taken, in seconds.
|
TraceOpts.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
TraceOpts.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
TraceOpts.Builder |
setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
TraceOpts.Builder |
setUseExtendedProfiler(boolean value)
If true, capture extended profiling events from TensorFlow process.
|
TraceOpts.Builder |
setUseGpuProfiler(boolean value)
If true, capture GPU profiling events locally on each
machine.
|
TraceOpts.Builder |
setUseKernelProfiler(boolean value)
If true, capture kernel events from each worker.
|
TraceOpts.Builder |
setUseSampleProfiler(boolean value)
If true, collect sampled profile events.
|
TraceOpts.Builder |
setUseStepProfiler(boolean value)
If true, capture step profile locally in each worker.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TraceOpts.Builder>public TraceOpts.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TraceOpts.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TraceOpts.Builder>public TraceOpts getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic TraceOpts build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic TraceOpts buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic TraceOpts.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TraceOpts.Builder>public TraceOpts.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TraceOpts.Builder>public TraceOpts.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TraceOpts.Builder>public TraceOpts.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TraceOpts.Builder>public TraceOpts.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TraceOpts.Builder>public TraceOpts.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TraceOpts.Builder>public TraceOpts.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<TraceOpts.Builder>public TraceOpts.Builder mergeFrom(TraceOpts other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TraceOpts.Builder>public TraceOpts.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<TraceOpts.Builder>IOExceptionpublic double getDuration()
Length of the trace to be taken, in seconds.
double duration = 1;getDuration in interface TraceOptsOrBuilderpublic TraceOpts.Builder setDuration(double value)
Length of the trace to be taken, in seconds.
double duration = 1;public TraceOpts.Builder clearDuration()
Length of the trace to be taken, in seconds.
double duration = 1;public boolean getUseStepProfiler()
If true, capture step profile locally in each worker. Currently unimplemented.
bool use_step_profiler = 2;getUseStepProfiler in interface TraceOptsOrBuilderpublic TraceOpts.Builder setUseStepProfiler(boolean value)
If true, capture step profile locally in each worker. Currently unimplemented.
bool use_step_profiler = 2;public TraceOpts.Builder clearUseStepProfiler()
If true, capture step profile locally in each worker. Currently unimplemented.
bool use_step_profiler = 2;public boolean getUseKernelProfiler()
If true, capture kernel events from each worker.
bool use_kernel_profiler = 3;getUseKernelProfiler in interface TraceOptsOrBuilderpublic TraceOpts.Builder setUseKernelProfiler(boolean value)
If true, capture kernel events from each worker.
bool use_kernel_profiler = 3;public TraceOpts.Builder clearUseKernelProfiler()
If true, capture kernel events from each worker.
bool use_kernel_profiler = 3;public boolean getUseExtendedProfiler()
If true, capture extended profiling events from TensorFlow process.
bool use_extended_profiler = 4;getUseExtendedProfiler in interface TraceOptsOrBuilderpublic TraceOpts.Builder setUseExtendedProfiler(boolean value)
If true, capture extended profiling events from TensorFlow process.
bool use_extended_profiler = 4;public TraceOpts.Builder clearUseExtendedProfiler()
If true, capture extended profiling events from TensorFlow process.
bool use_extended_profiler = 4;public boolean getUseGpuProfiler()
If true, capture GPU profiling events locally on each machine. Currently unimplemented.
bool use_gpu_profiler = 5;getUseGpuProfiler in interface TraceOptsOrBuilderpublic TraceOpts.Builder setUseGpuProfiler(boolean value)
If true, capture GPU profiling events locally on each machine. Currently unimplemented.
bool use_gpu_profiler = 5;public TraceOpts.Builder clearUseGpuProfiler()
If true, capture GPU profiling events locally on each machine. Currently unimplemented.
bool use_gpu_profiler = 5;public boolean getUseSampleProfiler()
If true, collect sampled profile events. Currently unimplemented.
bool use_sample_profiler = 6;getUseSampleProfiler in interface TraceOptsOrBuilderpublic TraceOpts.Builder setUseSampleProfiler(boolean value)
If true, collect sampled profile events. Currently unimplemented.
bool use_sample_profiler = 6;public TraceOpts.Builder clearUseSampleProfiler()
If true, collect sampled profile events. Currently unimplemented.
bool use_sample_profiler = 6;public final TraceOpts.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TraceOpts.Builder>public final TraceOpts.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TraceOpts.Builder>Copyright © 2018. All rights reserved.