Package org.tensorflow.distruntime
Class RunCallableResponse.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableResponse.Builder>
-
- org.tensorflow.distruntime.RunCallableResponse.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
,RunCallableResponseOrBuilder
- Enclosing class:
- RunCallableResponse
public static final class RunCallableResponse.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableResponse.Builder> implements RunCallableResponseOrBuilder
Protobuf typetensorflow.RunCallableResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RunCallableResponse.Builder
addAllFetch(Iterable<? extends TensorProto> values)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.RunCallableResponse.Builder
addFetch(int index, TensorProto value)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.RunCallableResponse.Builder
addFetch(int index, TensorProto.Builder builderForValue)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.RunCallableResponse.Builder
addFetch(TensorProto value)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.RunCallableResponse.Builder
addFetch(TensorProto.Builder builderForValue)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.TensorProto.Builder
addFetchBuilder()
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.TensorProto.Builder
addFetchBuilder(int index)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.RunCallableResponse.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
RunCallableResponse
build()
RunCallableResponse
buildPartial()
RunCallableResponse.Builder
clear()
RunCallableResponse.Builder
clearFetch()
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.RunCallableResponse.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
RunCallableResponse.Builder
clearMetadata()
Returned metadata if requested in the options.RunCallableResponse.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
RunCallableResponse.Builder
clone()
RunCallableResponse
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
TensorProto
getFetch(int index)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.TensorProto.Builder
getFetchBuilder(int index)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.List<TensorProto.Builder>
getFetchBuilderList()
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.int
getFetchCount()
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.List<TensorProto>
getFetchList()
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.TensorProtoOrBuilder
getFetchOrBuilder(int index)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.List<? extends TensorProtoOrBuilder>
getFetchOrBuilderList()
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.RunMetadata
getMetadata()
Returned metadata if requested in the options.RunMetadata.Builder
getMetadataBuilder()
Returned metadata if requested in the options.RunMetadataOrBuilder
getMetadataOrBuilder()
Returned metadata if requested in the options.boolean
hasMetadata()
Returned metadata if requested in the options.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RunCallableResponse.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
RunCallableResponse.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
RunCallableResponse.Builder
mergeFrom(RunCallableResponse other)
RunCallableResponse.Builder
mergeMetadata(RunMetadata value)
Returned metadata if requested in the options.RunCallableResponse.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
RunCallableResponse.Builder
removeFetch(int index)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.RunCallableResponse.Builder
setFetch(int index, TensorProto value)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.RunCallableResponse.Builder
setFetch(int index, TensorProto.Builder builderForValue)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.RunCallableResponse.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
RunCallableResponse.Builder
setMetadata(RunMetadata value)
Returned metadata if requested in the options.RunCallableResponse.Builder
setMetadata(RunMetadata.Builder builderForValue)
Returned metadata if requested in the options.RunCallableResponse.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RunCallableResponse.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
-
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<RunCallableResponse.Builder>
-
clear
public RunCallableResponse.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<RunCallableResponse.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<RunCallableResponse.Builder>
-
getDefaultInstanceForType
public RunCallableResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public RunCallableResponse build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public RunCallableResponse buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public RunCallableResponse.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<RunCallableResponse.Builder>
-
setField
public RunCallableResponse.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<RunCallableResponse.Builder>
-
clearField
public RunCallableResponse.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<RunCallableResponse.Builder>
-
clearOneof
public RunCallableResponse.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<RunCallableResponse.Builder>
-
setRepeatedField
public RunCallableResponse.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<RunCallableResponse.Builder>
-
addRepeatedField
public RunCallableResponse.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<RunCallableResponse.Builder>
-
mergeFrom
public RunCallableResponse.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<RunCallableResponse.Builder>
-
mergeFrom
public RunCallableResponse.Builder mergeFrom(RunCallableResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableResponse.Builder>
-
mergeFrom
public RunCallableResponse.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<RunCallableResponse.Builder>
- Throws:
IOException
-
getFetchList
public List<TensorProto> getFetchList()
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
- Specified by:
getFetchList
in interfaceRunCallableResponseOrBuilder
-
getFetchCount
public int getFetchCount()
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
- Specified by:
getFetchCount
in interfaceRunCallableResponseOrBuilder
-
getFetch
public TensorProto getFetch(int index)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
- Specified by:
getFetch
in interfaceRunCallableResponseOrBuilder
-
setFetch
public RunCallableResponse.Builder setFetch(int index, TensorProto value)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
-
setFetch
public RunCallableResponse.Builder setFetch(int index, TensorProto.Builder builderForValue)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
-
addFetch
public RunCallableResponse.Builder addFetch(TensorProto value)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
-
addFetch
public RunCallableResponse.Builder addFetch(int index, TensorProto value)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
-
addFetch
public RunCallableResponse.Builder addFetch(TensorProto.Builder builderForValue)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
-
addFetch
public RunCallableResponse.Builder addFetch(int index, TensorProto.Builder builderForValue)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
-
addAllFetch
public RunCallableResponse.Builder addAllFetch(Iterable<? extends TensorProto> values)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
-
clearFetch
public RunCallableResponse.Builder clearFetch()
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
-
removeFetch
public RunCallableResponse.Builder removeFetch(int index)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
-
getFetchBuilder
public TensorProto.Builder getFetchBuilder(int index)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
-
getFetchOrBuilder
public TensorProtoOrBuilder getFetchOrBuilder(int index)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
- Specified by:
getFetchOrBuilder
in interfaceRunCallableResponseOrBuilder
-
getFetchOrBuilderList
public List<? extends TensorProtoOrBuilder> getFetchOrBuilderList()
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
- Specified by:
getFetchOrBuilderList
in interfaceRunCallableResponseOrBuilder
-
addFetchBuilder
public TensorProto.Builder addFetchBuilder()
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
-
addFetchBuilder
public TensorProto.Builder addFetchBuilder(int index)
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
-
getFetchBuilderList
public List<TensorProto.Builder> getFetchBuilderList()
Values of the tensors returned by the callable, in the order defined in the CallableOptions.fetch field passed to MakeCallable.
repeated .tensorflow.TensorProto fetch = 1;
-
hasMetadata
public boolean hasMetadata()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
- Specified by:
hasMetadata
in interfaceRunCallableResponseOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public RunMetadata getMetadata()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
- Specified by:
getMetadata
in interfaceRunCallableResponseOrBuilder
- Returns:
- The metadata.
-
setMetadata
public RunCallableResponse.Builder setMetadata(RunMetadata value)
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
setMetadata
public RunCallableResponse.Builder setMetadata(RunMetadata.Builder builderForValue)
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
mergeMetadata
public RunCallableResponse.Builder mergeMetadata(RunMetadata value)
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
clearMetadata
public RunCallableResponse.Builder clearMetadata()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
getMetadataBuilder
public RunMetadata.Builder getMetadataBuilder()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
getMetadataOrBuilder
public RunMetadataOrBuilder getMetadataOrBuilder()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
- Specified by:
getMetadataOrBuilder
in interfaceRunCallableResponseOrBuilder
-
setUnknownFields
public final RunCallableResponse.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<RunCallableResponse.Builder>
-
mergeUnknownFields
public final RunCallableResponse.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<RunCallableResponse.Builder>
-
-