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:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
clear
public EagerServiceOuterClass.CreateContextResponse.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
getDefaultInstanceForType
public EagerServiceOuterClass.CreateContextResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public EagerServiceOuterClass.CreateContextResponse build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public EagerServiceOuterClass.CreateContextResponse buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public EagerServiceOuterClass.CreateContextResponse.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in 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:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
clearField
public EagerServiceOuterClass.CreateContextResponse.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
clearOneof
public EagerServiceOuterClass.CreateContextResponse.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in 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:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
mergeFrom
public EagerServiceOuterClass.CreateContextResponse.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in 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:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getContextId
in 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:
getDeviceAttributesList
in interfaceEagerServiceOuterClass.CreateContextResponseOrBuilder
-
getDeviceAttributesCount
public int getDeviceAttributesCount()
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
- Specified by:
getDeviceAttributesCount
in 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:
getDeviceAttributes
in 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:
getDeviceAttributesOrBuilder
in 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:
getDeviceAttributesOrBuilderList
in 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:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
mergeUnknownFields
public final EagerServiceOuterClass.CreateContextResponse.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextResponse.Builder>
-
-