Package tensorflow.eager
Class EagerServiceOuterClass.CreateContextResponse.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
- tensorflow.eager.EagerServiceOuterClass.CreateContextResponse.Builder
-
- All Implemented Interfaces:
Cloneable,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,EagerServiceOuterClass.CreateContextResponseOrBuilder
- Enclosing class:
- EagerServiceOuterClass.CreateContextResponse
public static final class EagerServiceOuterClass.CreateContextResponse.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder> implements EagerServiceOuterClass.CreateContextResponseOrBuilder
Protobuf typetensorflow.eager.CreateContextResponse
-
-
Method Summary
-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
clear
public EagerServiceOuterClass.CreateContextResponse.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
getDefaultInstanceForType
public EagerServiceOuterClass.CreateContextResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public EagerServiceOuterClass.CreateContextResponse build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public EagerServiceOuterClass.CreateContextResponse buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public EagerServiceOuterClass.CreateContextResponse.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
setField
public EagerServiceOuterClass.CreateContextResponse.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
clearField
public EagerServiceOuterClass.CreateContextResponse.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
clearOneof
public EagerServiceOuterClass.CreateContextResponse.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
setRepeatedField
public EagerServiceOuterClass.CreateContextResponse.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
addRepeatedField
public EagerServiceOuterClass.CreateContextResponse.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
mergeFrom
public EagerServiceOuterClass.CreateContextResponse.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
mergeFrom
public EagerServiceOuterClass.CreateContextResponse.Builder mergeFrom(EagerServiceOuterClass.CreateContextResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
mergeFrom
public EagerServiceOuterClass.CreateContextResponse.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>- Throws:
IOException
-
getContextId
public long getContextId()
The ID of the created context. This is usually a randomly generated number, that will be used to identify the context in future requests to the service. Contexts are not persisted through server restarts.
fixed64 context_id = 1;- Specified by:
getContextIdin interfaceEagerServiceOuterClass.CreateContextResponseOrBuilder- Returns:
- The contextId.
-
setContextId
public EagerServiceOuterClass.CreateContextResponse.Builder setContextId(long value)
The ID of the created context. This is usually a randomly generated number, that will be used to identify the context in future requests to the service. Contexts are not persisted through server restarts.
fixed64 context_id = 1;- Parameters:
value- The contextId to set.- Returns:
- This builder for chaining.
-
clearContextId
public EagerServiceOuterClass.CreateContextResponse.Builder clearContextId()
The ID of the created context. This is usually a randomly generated number, that will be used to identify the context in future requests to the service. Contexts are not persisted through server restarts.
fixed64 context_id = 1;- Returns:
- This builder for chaining.
-
getDeviceAttributesList
public List<DeviceAttributes> getDeviceAttributesList()
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;- Specified by:
getDeviceAttributesListin interfaceEagerServiceOuterClass.CreateContextResponseOrBuilder
-
getDeviceAttributesCount
public int getDeviceAttributesCount()
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;- Specified by:
getDeviceAttributesCountin interfaceEagerServiceOuterClass.CreateContextResponseOrBuilder
-
getDeviceAttributes
public DeviceAttributes getDeviceAttributes(int index)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;- Specified by:
getDeviceAttributesin interfaceEagerServiceOuterClass.CreateContextResponseOrBuilder
-
setDeviceAttributes
public EagerServiceOuterClass.CreateContextResponse.Builder setDeviceAttributes(int index, DeviceAttributes value)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
setDeviceAttributes
public EagerServiceOuterClass.CreateContextResponse.Builder setDeviceAttributes(int index, DeviceAttributes.Builder builderForValue)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
addDeviceAttributes
public EagerServiceOuterClass.CreateContextResponse.Builder addDeviceAttributes(DeviceAttributes value)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
addDeviceAttributes
public EagerServiceOuterClass.CreateContextResponse.Builder addDeviceAttributes(int index, DeviceAttributes value)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
addDeviceAttributes
public EagerServiceOuterClass.CreateContextResponse.Builder addDeviceAttributes(DeviceAttributes.Builder builderForValue)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
addDeviceAttributes
public EagerServiceOuterClass.CreateContextResponse.Builder addDeviceAttributes(int index, DeviceAttributes.Builder builderForValue)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
addAllDeviceAttributes
public EagerServiceOuterClass.CreateContextResponse.Builder addAllDeviceAttributes(Iterable<? extends DeviceAttributes> values)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
clearDeviceAttributes
public EagerServiceOuterClass.CreateContextResponse.Builder clearDeviceAttributes()
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
removeDeviceAttributes
public EagerServiceOuterClass.CreateContextResponse.Builder removeDeviceAttributes(int index)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
getDeviceAttributesBuilder
public DeviceAttributes.Builder getDeviceAttributesBuilder(int index)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
getDeviceAttributesOrBuilder
public DeviceAttributesOrBuilder getDeviceAttributesOrBuilder(int index)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;- Specified by:
getDeviceAttributesOrBuilderin interfaceEagerServiceOuterClass.CreateContextResponseOrBuilder
-
getDeviceAttributesOrBuilderList
public List<? extends DeviceAttributesOrBuilder> getDeviceAttributesOrBuilderList()
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;- Specified by:
getDeviceAttributesOrBuilderListin interfaceEagerServiceOuterClass.CreateContextResponseOrBuilder
-
addDeviceAttributesBuilder
public DeviceAttributes.Builder addDeviceAttributesBuilder()
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
addDeviceAttributesBuilder
public DeviceAttributes.Builder addDeviceAttributesBuilder(int index)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
getDeviceAttributesBuilderList
public List<DeviceAttributes.Builder> getDeviceAttributesBuilderList()
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
setUnknownFields
public final EagerServiceOuterClass.CreateContextResponse.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
mergeUnknownFields
public final EagerServiceOuterClass.CreateContextResponse.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
-