NamedDevice.Builder

public static final class NamedDevice.Builder

Protobuf type tensorflow.NamedDevice

Public Methods

NamedDevice.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NamedDevice
build()
NamedDevice
NamedDevice.Builder
clear()
NamedDevice.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NamedDevice.Builder
clearName()
string name = 1;
NamedDevice.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NamedDevice.Builder
clearProperties()
.tensorflow.DeviceProperties properties = 2;
NamedDevice.Builder
clone()
NamedDevice
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getName()
string name = 1;
com.google.protobuf.ByteString
getNameBytes()
string name = 1;
DeviceProperties
getProperties()
.tensorflow.DeviceProperties properties = 2;
DeviceProperties.Builder
getPropertiesBuilder()
.tensorflow.DeviceProperties properties = 2;
DevicePropertiesOrBuilder
getPropertiesOrBuilder()
.tensorflow.DeviceProperties properties = 2;
boolean
hasProperties()
.tensorflow.DeviceProperties properties = 2;
final boolean
NamedDevice.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NamedDevice.Builder
mergeFrom(com.google.protobuf.Message other)
NamedDevice.Builder
mergeProperties(DeviceProperties value)
.tensorflow.DeviceProperties properties = 2;
final NamedDevice.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NamedDevice.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NamedDevice.Builder
setName(String value)
string name = 1;
NamedDevice.Builder
setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
NamedDevice.Builder
setProperties(DeviceProperties.Builder builderForValue)
.tensorflow.DeviceProperties properties = 2;
NamedDevice.Builder
setProperties(DeviceProperties value)
.tensorflow.DeviceProperties properties = 2;
NamedDevice.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final NamedDevice.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

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

public NamedDevice build ()

public NamedDevice buildPartial ()

public NamedDevice.Builder clear ()

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

public NamedDevice.Builder clearName ()

string name = 1;

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

public NamedDevice.Builder clearProperties ()

.tensorflow.DeviceProperties properties = 2;

public NamedDevice.Builder clone ()

public NamedDevice getDefaultInstanceForType ()

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

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

public String getName ()

string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

string name = 1;

public DeviceProperties getProperties ()

.tensorflow.DeviceProperties properties = 2;

public DeviceProperties.Builder getPropertiesBuilder ()

.tensorflow.DeviceProperties properties = 2;

public DevicePropertiesOrBuilder getPropertiesOrBuilder ()

.tensorflow.DeviceProperties properties = 2;

public boolean hasProperties ()

.tensorflow.DeviceProperties properties = 2;

public final boolean isInitialized ()

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

Throws
IOException

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

public NamedDevice.Builder mergeProperties (DeviceProperties value)

.tensorflow.DeviceProperties properties = 2;

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

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

public NamedDevice.Builder setName (String value)

string name = 1;

public NamedDevice.Builder setNameBytes (com.google.protobuf.ByteString value)

string name = 1;

public NamedDevice.Builder setProperties (DeviceProperties.Builder builderForValue)

.tensorflow.DeviceProperties properties = 2;

public NamedDevice.Builder setProperties (DeviceProperties value)

.tensorflow.DeviceProperties properties = 2;

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

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