AutoParallelOptions.Builder

public static final class AutoParallelOptions.Builder

Protobuf type tensorflow.AutoParallelOptions

Public Methods

AutoParallelOptions.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AutoParallelOptions
build()
AutoParallelOptions
AutoParallelOptions.Builder
clear()
AutoParallelOptions.Builder
clearEnable()
bool enable = 1;
AutoParallelOptions.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AutoParallelOptions.Builder
clearNumReplicas()
int32 num_replicas = 2;
AutoParallelOptions.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AutoParallelOptions.Builder
clone()
AutoParallelOptions
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
getEnable()
bool enable = 1;
int
getNumReplicas()
int32 num_replicas = 2;
final boolean
AutoParallelOptions.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AutoParallelOptions.Builder
mergeFrom(com.google.protobuf.Message other)
final AutoParallelOptions.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AutoParallelOptions.Builder
setEnable(boolean value)
bool enable = 1;
AutoParallelOptions.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AutoParallelOptions.Builder
setNumReplicas(int value)
int32 num_replicas = 2;
AutoParallelOptions.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final AutoParallelOptions.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

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

public AutoParallelOptions build ()

public AutoParallelOptions buildPartial ()

public AutoParallelOptions.Builder clear ()

public AutoParallelOptions.Builder clearEnable ()

bool enable = 1;

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

public AutoParallelOptions.Builder clearNumReplicas ()

int32 num_replicas = 2;

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

public AutoParallelOptions.Builder clone ()

public AutoParallelOptions getDefaultInstanceForType ()

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

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

public boolean getEnable ()

bool enable = 1;

public int getNumReplicas ()

int32 num_replicas = 2;

public final boolean isInitialized ()

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

Throws
IOException

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

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

public AutoParallelOptions.Builder setEnable (boolean value)

bool enable = 1;

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

public AutoParallelOptions.Builder setNumReplicas (int value)

int32 num_replicas = 2;

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

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