Watch keynotes, product sessions, workshops, and more from Google I/O See playlist

TaskDeviceFilters.Builder

public static final class TaskDeviceFilters.Builder

 Defines the device filters for a remote task.
 
Protobuf type tensorflow.TaskDeviceFilters

Public Methods

TaskDeviceFilters.Builder
addAllDeviceFilters (Iterable<String> values)
repeated string device_filters = 1;
TaskDeviceFilters.Builder
addDeviceFilters (String value)
repeated string device_filters = 1;
TaskDeviceFilters.Builder
addDeviceFiltersBytes (com.google.protobuf.ByteString value)
repeated string device_filters = 1;
TaskDeviceFilters.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TaskDeviceFilters
TaskDeviceFilters
TaskDeviceFilters.Builder
TaskDeviceFilters.Builder
clearDeviceFilters ()
repeated string device_filters = 1;
TaskDeviceFilters.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
TaskDeviceFilters.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
TaskDeviceFilters.Builder
TaskDeviceFilters
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getDeviceFilters (int index)
repeated string device_filters = 1;
com.google.protobuf.ByteString
getDeviceFiltersBytes (int index)
repeated string device_filters = 1;
int
getDeviceFiltersCount ()
repeated string device_filters = 1;
com.google.protobuf.ProtocolStringList
getDeviceFiltersList ()
repeated string device_filters = 1;
final boolean
TaskDeviceFilters.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TaskDeviceFilters.Builder
mergeFrom (com.google.protobuf.Message other)
final TaskDeviceFilters.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
TaskDeviceFilters.Builder
setDeviceFilters (int index, String value)
repeated string device_filters = 1;
TaskDeviceFilters.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TaskDeviceFilters.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final TaskDeviceFilters.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public TaskDeviceFilters.Builder addAllDeviceFilters (Iterable<String> values)

repeated string device_filters = 1;

public TaskDeviceFilters.Builder addDeviceFilters (String value)

repeated string device_filters = 1;

public TaskDeviceFilters.Builder addDeviceFiltersBytes (com.google.protobuf.ByteString value)

repeated string device_filters = 1;

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

public TaskDeviceFilters build ()

public TaskDeviceFilters buildPartial ()

public TaskDeviceFilters.Builder clearDeviceFilters ()

repeated string device_filters = 1;

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

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

public TaskDeviceFilters getDefaultInstanceForType ()

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

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

public String getDeviceFilters (int index)

repeated string device_filters = 1;

public com.google.protobuf.ByteString getDeviceFiltersBytes (int index)

repeated string device_filters = 1;

public int getDeviceFiltersCount ()

repeated string device_filters = 1;

public com.google.protobuf.ProtocolStringList getDeviceFiltersList ()

repeated string device_filters = 1;

public final boolean isInitialized ()

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

Throws
IOException

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

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

public TaskDeviceFilters.Builder setDeviceFilters (int index, String value)

repeated string device_filters = 1;

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

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

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