Class 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 type tensorflow.RunStepResponse
    • 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 class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • clear

        public RunStepResponse.Builder clear()
        Specified by:
        clear in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clear in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • getDefaultInstanceForType

        public RunStepResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public RunStepResponse build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public RunStepResponse buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • clone

        public RunStepResponse.Builder clone()
        Specified by:
        clone in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clone in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • setField

        public RunStepResponse.Builder setField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        setField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • clearField

        public RunStepResponse.Builder clearField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • clearOneof

        public RunStepResponse.Builder clearOneof​(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearOneof in class org.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:
        setRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • addRepeatedField

        public RunStepResponse.Builder addRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                        Object value)
        Specified by:
        addRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • mergeFrom

        public RunStepResponse.Builder mergeFrom​(org.nd4j.shade.protobuf.Message other)
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<RunStepResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.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:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class org.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:
        getTensorList in interface RunStepResponseOrBuilder
      • 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:
        getTensorCount in interface RunStepResponseOrBuilder
      • 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:
        getTensor in interface RunStepResponseOrBuilder
      • 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;
      • 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:
        hasMetadata in interface RunStepResponseOrBuilder
        Returns:
        Whether the metadata field is set.
      • 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;
      • 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:
        getStatusCodeValue in interface RunStepResponseOrBuilder
        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:
        getStatusCode in interface RunStepResponseOrBuilder
        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.
      • getStatusErrorMessageBytes

        public org.nd4j.shade.protobuf.ByteString getStatusErrorMessageBytes()
        string status_error_message = 4;
        Specified by:
        getStatusErrorMessageBytes in interface RunStepResponseOrBuilder
        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:
        setUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • mergeUnknownFields

        public final RunStepResponse.Builder mergeUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>