WorkerHeartbeatRequest.Builder

public static final class WorkerHeartbeatRequest.Builder

Protobuf type tensorflow.WorkerHeartbeatRequest

Public Methods

WorkerHeartbeatRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
WorkerHeartbeatRequest
build()
WorkerHeartbeatRequest
WorkerHeartbeatRequest.Builder
clear()
WorkerHeartbeatRequest.Builder
clearExitCode()
.tensorflow.RequestedExitCode exit_code = 3;
WorkerHeartbeatRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
WorkerHeartbeatRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
WorkerHeartbeatRequest.Builder
clearShutdownMode()
.tensorflow.WorkerShutdownMode shutdown_mode = 1;
WorkerHeartbeatRequest.Builder
clearWatchdogConfig()
.tensorflow.WatchdogConfig watchdog_config = 2;
WorkerHeartbeatRequest.Builder
clone()
WorkerHeartbeatRequest
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
RequestedExitCode
getExitCode()
.tensorflow.RequestedExitCode exit_code = 3;
RequestedExitCode.Builder
getExitCodeBuilder()
.tensorflow.RequestedExitCode exit_code = 3;
RequestedExitCodeOrBuilder
getExitCodeOrBuilder()
.tensorflow.RequestedExitCode exit_code = 3;
WorkerShutdownMode
getShutdownMode()
.tensorflow.WorkerShutdownMode shutdown_mode = 1;
int
getShutdownModeValue()
.tensorflow.WorkerShutdownMode shutdown_mode = 1;
WatchdogConfig
getWatchdogConfig()
.tensorflow.WatchdogConfig watchdog_config = 2;
WatchdogConfig.Builder
getWatchdogConfigBuilder()
.tensorflow.WatchdogConfig watchdog_config = 2;
WatchdogConfigOrBuilder
getWatchdogConfigOrBuilder()
.tensorflow.WatchdogConfig watchdog_config = 2;
boolean
hasExitCode()
.tensorflow.RequestedExitCode exit_code = 3;
boolean
hasWatchdogConfig()
.tensorflow.WatchdogConfig watchdog_config = 2;
final boolean
WorkerHeartbeatRequest.Builder
mergeExitCode(RequestedExitCode value)
.tensorflow.RequestedExitCode exit_code = 3;
WorkerHeartbeatRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
WorkerHeartbeatRequest.Builder
mergeFrom(com.google.protobuf.Message other)
final WorkerHeartbeatRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WorkerHeartbeatRequest.Builder
mergeWatchdogConfig(WatchdogConfig value)
.tensorflow.WatchdogConfig watchdog_config = 2;
WorkerHeartbeatRequest.Builder
setExitCode(RequestedExitCode value)
.tensorflow.RequestedExitCode exit_code = 3;
WorkerHeartbeatRequest.Builder
setExitCode(RequestedExitCode.Builder builderForValue)
.tensorflow.RequestedExitCode exit_code = 3;
WorkerHeartbeatRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
WorkerHeartbeatRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
WorkerHeartbeatRequest.Builder
setShutdownMode(WorkerShutdownMode value)
.tensorflow.WorkerShutdownMode shutdown_mode = 1;
WorkerHeartbeatRequest.Builder
setShutdownModeValue(int value)
.tensorflow.WorkerShutdownMode shutdown_mode = 1;
final WorkerHeartbeatRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WorkerHeartbeatRequest.Builder
setWatchdogConfig(WatchdogConfig value)
.tensorflow.WatchdogConfig watchdog_config = 2;
WorkerHeartbeatRequest.Builder
setWatchdogConfig(WatchdogConfig.Builder builderForValue)
.tensorflow.WatchdogConfig watchdog_config = 2;

Inherited Methods

Public Methods

public WorkerHeartbeatRequest.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public WorkerHeartbeatRequest build ()

public WorkerHeartbeatRequest buildPartial ()

public WorkerHeartbeatRequest.Builder clearExitCode ()

.tensorflow.RequestedExitCode exit_code = 3;

public WorkerHeartbeatRequest.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public WorkerHeartbeatRequest.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public WorkerHeartbeatRequest.Builder clearShutdownMode ()

.tensorflow.WorkerShutdownMode shutdown_mode = 1;

public WorkerHeartbeatRequest.Builder clearWatchdogConfig ()

.tensorflow.WatchdogConfig watchdog_config = 2;

public WorkerHeartbeatRequest getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public RequestedExitCode getExitCode ()

.tensorflow.RequestedExitCode exit_code = 3;

public RequestedExitCode.Builder getExitCodeBuilder ()

.tensorflow.RequestedExitCode exit_code = 3;

public RequestedExitCodeOrBuilder getExitCodeOrBuilder ()

.tensorflow.RequestedExitCode exit_code = 3;

public WorkerShutdownMode getShutdownMode ()

.tensorflow.WorkerShutdownMode shutdown_mode = 1;

public int getShutdownModeValue ()

.tensorflow.WorkerShutdownMode shutdown_mode = 1;

public WatchdogConfig getWatchdogConfig ()

.tensorflow.WatchdogConfig watchdog_config = 2;

public WatchdogConfig.Builder getWatchdogConfigBuilder ()

.tensorflow.WatchdogConfig watchdog_config = 2;

public WatchdogConfigOrBuilder getWatchdogConfigOrBuilder ()

.tensorflow.WatchdogConfig watchdog_config = 2;

public boolean hasExitCode ()

.tensorflow.RequestedExitCode exit_code = 3;

public boolean hasWatchdogConfig ()

.tensorflow.WatchdogConfig watchdog_config = 2;

public final boolean isInitialized ()

public WorkerHeartbeatRequest.Builder mergeExitCode (RequestedExitCode value)

.tensorflow.RequestedExitCode exit_code = 3;

public WorkerHeartbeatRequest.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public WorkerHeartbeatRequest.Builder mergeFrom (com.google.protobuf.Message other)

public final WorkerHeartbeatRequest.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public WorkerHeartbeatRequest.Builder mergeWatchdogConfig (WatchdogConfig value)

.tensorflow.WatchdogConfig watchdog_config = 2;

public WorkerHeartbeatRequest.Builder setExitCode (RequestedExitCode value)

.tensorflow.RequestedExitCode exit_code = 3;

public WorkerHeartbeatRequest.Builder setExitCode (RequestedExitCode.Builder builderForValue)

.tensorflow.RequestedExitCode exit_code = 3;

public WorkerHeartbeatRequest.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public WorkerHeartbeatRequest.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public WorkerHeartbeatRequest.Builder setShutdownMode (WorkerShutdownMode value)

.tensorflow.WorkerShutdownMode shutdown_mode = 1;

public WorkerHeartbeatRequest.Builder setShutdownModeValue (int value)

.tensorflow.WorkerShutdownMode shutdown_mode = 1;

public final WorkerHeartbeatRequest.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public WorkerHeartbeatRequest.Builder setWatchdogConfig (WatchdogConfig value)

.tensorflow.WatchdogConfig watchdog_config = 2;

public WorkerHeartbeatRequest.Builder setWatchdogConfig (WatchdogConfig.Builder builderForValue)

.tensorflow.WatchdogConfig watchdog_config = 2;