Package org.tensorflow.distruntime
Class RunStepResponse.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
-
- org.tensorflow.distruntime.RunStepResponse.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,RunStepResponseOrBuilder
- Enclosing class:
- RunStepResponse
public static final class RunStepResponse.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder> implements RunStepResponseOrBuilder
Protobuf typetensorflow.RunStepResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RunStepResponse.BuilderaddAllTensor(Iterable<? extends NamedTensorProto> values)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)RunStepResponse.BuilderaddTensor(int index, NamedTensorProto value)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.BuilderaddTensor(int index, NamedTensorProto.Builder builderForValue)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.BuilderaddTensor(NamedTensorProto value)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.BuilderaddTensor(NamedTensorProto.Builder builderForValue)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.NamedTensorProto.BuilderaddTensorBuilder()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.NamedTensorProto.BuilderaddTensorBuilder(int index)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponsebuild()RunStepResponsebuildPartial()RunStepResponse.Builderclear()RunStepResponse.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)RunStepResponse.BuilderclearMetadata()Returned metadata if requested in the options.RunStepResponse.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)RunStepResponse.BuilderclearStatusCode()If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.RunStepResponse.BuilderclearStatusErrorMessage()string status_error_message = 4;RunStepResponse.BuilderclearTensor()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.Builderclone()RunStepResponsegetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()RunMetadatagetMetadata()Returned metadata if requested in the options.RunMetadata.BuildergetMetadataBuilder()Returned metadata if requested in the options.RunMetadataOrBuildergetMetadataOrBuilder()Returned metadata if requested in the options.CodegetStatusCode()If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.intgetStatusCodeValue()If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.StringgetStatusErrorMessage()string status_error_message = 4;org.nd4j.shade.protobuf.ByteStringgetStatusErrorMessageBytes()string status_error_message = 4;NamedTensorProtogetTensor(int index)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.NamedTensorProto.BuildergetTensorBuilder(int index)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.List<NamedTensorProto.Builder>getTensorBuilderList()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.intgetTensorCount()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.List<NamedTensorProto>getTensorList()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.NamedTensorProtoOrBuildergetTensorOrBuilder(int index)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.List<? extends NamedTensorProtoOrBuilder>getTensorOrBuilderList()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.booleanhasMetadata()Returned metadata if requested in the options.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RunStepResponse.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)RunStepResponse.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)RunStepResponse.BuildermergeFrom(RunStepResponse other)RunStepResponse.BuildermergeMetadata(RunMetadata value)Returned metadata if requested in the options.RunStepResponse.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)RunStepResponse.BuilderremoveTensor(int index)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)RunStepResponse.BuildersetMetadata(RunMetadata value)Returned metadata if requested in the options.RunStepResponse.BuildersetMetadata(RunMetadata.Builder builderForValue)Returned metadata if requested in the options.RunStepResponse.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RunStepResponse.BuildersetStatusCode(Code value)If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.RunStepResponse.BuildersetStatusCodeValue(int value)If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.RunStepResponse.BuildersetStatusErrorMessage(String value)string status_error_message = 4;RunStepResponse.BuildersetStatusErrorMessageBytes(org.nd4j.shade.protobuf.ByteString value)string status_error_message = 4;RunStepResponse.BuildersetTensor(int index, NamedTensorProto value)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.BuildersetTensor(int index, NamedTensorProto.Builder builderForValue)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
-
clear
public RunStepResponse.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<RunStepResponse.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<RunStepResponse.Builder>
-
getDefaultInstanceForType
public RunStepResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public RunStepResponse build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public RunStepResponse buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public RunStepResponse.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<RunStepResponse.Builder>
-
setField
public RunStepResponse.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<RunStepResponse.Builder>
-
clearField
public RunStepResponse.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<RunStepResponse.Builder>
-
clearOneof
public RunStepResponse.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<RunStepResponse.Builder>
-
setRepeatedField
public RunStepResponse.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<RunStepResponse.Builder>
-
addRepeatedField
public RunStepResponse.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<RunStepResponse.Builder>
-
mergeFrom
public RunStepResponse.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<RunStepResponse.Builder>
-
mergeFrom
public RunStepResponse.Builder mergeFrom(RunStepResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
-
mergeFrom
public RunStepResponse.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<RunStepResponse.Builder>- Throws:
IOException
-
getTensorList
public List<NamedTensorProto> getTensorList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;- Specified by:
getTensorListin interfaceRunStepResponseOrBuilder
-
getTensorCount
public int getTensorCount()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;- Specified by:
getTensorCountin interfaceRunStepResponseOrBuilder
-
getTensor
public NamedTensorProto getTensor(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;- Specified by:
getTensorin interfaceRunStepResponseOrBuilder
-
setTensor
public RunStepResponse.Builder setTensor(int index, NamedTensorProto value)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
setTensor
public RunStepResponse.Builder setTensor(int index, NamedTensorProto.Builder builderForValue)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
addTensor
public RunStepResponse.Builder addTensor(NamedTensorProto value)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
addTensor
public RunStepResponse.Builder addTensor(int index, NamedTensorProto value)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
addTensor
public RunStepResponse.Builder addTensor(NamedTensorProto.Builder builderForValue)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
addTensor
public RunStepResponse.Builder addTensor(int index, NamedTensorProto.Builder builderForValue)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
addAllTensor
public RunStepResponse.Builder addAllTensor(Iterable<? extends NamedTensorProto> values)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
clearTensor
public RunStepResponse.Builder clearTensor()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
removeTensor
public RunStepResponse.Builder removeTensor(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
getTensorBuilder
public NamedTensorProto.Builder getTensorBuilder(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
getTensorOrBuilder
public NamedTensorProtoOrBuilder getTensorOrBuilder(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;- Specified by:
getTensorOrBuilderin interfaceRunStepResponseOrBuilder
-
getTensorOrBuilderList
public List<? extends NamedTensorProtoOrBuilder> getTensorOrBuilderList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;- Specified by:
getTensorOrBuilderListin interfaceRunStepResponseOrBuilder
-
addTensorBuilder
public NamedTensorProto.Builder addTensorBuilder()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
addTensorBuilder
public NamedTensorProto.Builder addTensorBuilder(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
getTensorBuilderList
public List<NamedTensorProto.Builder> getTensorBuilderList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
hasMetadata
public boolean hasMetadata()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;- Specified by:
hasMetadatain interfaceRunStepResponseOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public RunMetadata getMetadata()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;- Specified by:
getMetadatain interfaceRunStepResponseOrBuilder- Returns:
- The metadata.
-
setMetadata
public RunStepResponse.Builder setMetadata(RunMetadata value)
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
setMetadata
public RunStepResponse.Builder setMetadata(RunMetadata.Builder builderForValue)
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
mergeMetadata
public RunStepResponse.Builder mergeMetadata(RunMetadata value)
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
clearMetadata
public RunStepResponse.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:
getMetadataOrBuilderin interfaceRunStepResponseOrBuilder
-
getStatusCodeValue
public int getStatusCodeValue()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.tensorflow.error.Code status_code = 3;- Specified by:
getStatusCodeValuein interfaceRunStepResponseOrBuilder- Returns:
- The enum numeric value on the wire for statusCode.
-
setStatusCodeValue
public RunStepResponse.Builder setStatusCodeValue(int value)
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.tensorflow.error.Code status_code = 3;- Parameters:
value- The enum numeric value on the wire for statusCode to set.- Returns:
- This builder for chaining.
-
getStatusCode
public Code getStatusCode()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.tensorflow.error.Code status_code = 3;- Specified by:
getStatusCodein interfaceRunStepResponseOrBuilder- Returns:
- The statusCode.
-
setStatusCode
public RunStepResponse.Builder setStatusCode(Code value)
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.tensorflow.error.Code status_code = 3;- Parameters:
value- The statusCode to set.- Returns:
- This builder for chaining.
-
clearStatusCode
public RunStepResponse.Builder clearStatusCode()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.tensorflow.error.Code status_code = 3;- Returns:
- This builder for chaining.
-
getStatusErrorMessage
public String getStatusErrorMessage()
string status_error_message = 4;- Specified by:
getStatusErrorMessagein interfaceRunStepResponseOrBuilder- Returns:
- The statusErrorMessage.
-
getStatusErrorMessageBytes
public org.nd4j.shade.protobuf.ByteString getStatusErrorMessageBytes()
string status_error_message = 4;- Specified by:
getStatusErrorMessageBytesin interfaceRunStepResponseOrBuilder- Returns:
- The bytes for statusErrorMessage.
-
setStatusErrorMessage
public RunStepResponse.Builder setStatusErrorMessage(String value)
string status_error_message = 4;- Parameters:
value- The statusErrorMessage to set.- Returns:
- This builder for chaining.
-
clearStatusErrorMessage
public RunStepResponse.Builder clearStatusErrorMessage()
string status_error_message = 4;- Returns:
- This builder for chaining.
-
setStatusErrorMessageBytes
public RunStepResponse.Builder setStatusErrorMessageBytes(org.nd4j.shade.protobuf.ByteString value)
string status_error_message = 4;- Parameters:
value- The bytes for statusErrorMessage to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RunStepResponse.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<RunStepResponse.Builder>
-
mergeUnknownFields
public final RunStepResponse.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<RunStepResponse.Builder>
-
-