public static final class
ReaderBaseState.Builder
For serializing and restoring the state of ReaderBase, see reader_base.h for details.
tensorflow.ReaderBaseState
Public Methods
ReaderBaseState.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
ReaderBaseState |
build()
|
ReaderBaseState | |
ReaderBaseState.Builder |
clear()
|
ReaderBaseState.Builder |
clearCurrentWork()
bytes current_work = 4;
|
ReaderBaseState.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
ReaderBaseState.Builder |
clearNumRecordsProduced()
int64 num_records_produced = 3;
|
ReaderBaseState.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
ReaderBaseState.Builder |
clearWorkFinished()
int64 work_finished = 2;
|
ReaderBaseState.Builder |
clearWorkStarted()
int64 work_started = 1;
|
ReaderBaseState.Builder |
clone()
|
com.google.protobuf.ByteString |
getCurrentWork()
bytes current_work = 4;
|
ReaderBaseState | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
long |
getNumRecordsProduced()
int64 num_records_produced = 3;
|
long |
getWorkFinished()
int64 work_finished = 2;
|
long |
getWorkStarted()
int64 work_started = 1;
|
final boolean | |
ReaderBaseState.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
ReaderBaseState.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final ReaderBaseState.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
ReaderBaseState.Builder |
setCurrentWork(com.google.protobuf.ByteString value)
bytes current_work = 4;
|
ReaderBaseState.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
ReaderBaseState.Builder |
setNumRecordsProduced(long value)
int64 num_records_produced = 3;
|
ReaderBaseState.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final ReaderBaseState.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
ReaderBaseState.Builder |
setWorkFinished(long value)
int64 work_finished = 2;
|
ReaderBaseState.Builder |
setWorkStarted(long value)
int64 work_started = 1;
|
Inherited Methods
Public Methods
public ReaderBaseState.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public com.google.protobuf.ByteString getCurrentWork ()
bytes current_work = 4;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public long getNumRecordsProduced ()
int64 num_records_produced = 3;
public long getWorkFinished ()
int64 work_finished = 2;
public long getWorkStarted ()
int64 work_started = 1;
public final boolean isInitialized ()
public ReaderBaseState.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final ReaderBaseState.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public ReaderBaseState.Builder setCurrentWork (com.google.protobuf.ByteString value)
bytes current_work = 4;