Class RunStepResponse.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable, RunStepResponseOrBuilder
    Enclosing class:
    RunStepResponse

    public static final class RunStepResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
    implements RunStepResponseOrBuilder
    Protobuf type org.platanios.tensorflow.proto.RunStepResponse
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • clear

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

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

        public RunStepResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RunStepResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RunStepResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

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

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

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

        public RunStepResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • setRepeatedField

        public RunStepResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        int index,
                                                        java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • addRepeatedField

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • mergeFrom

        public RunStepResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunStepResponse.Builder>
        Throws:
        java.io.IOException
      • getTensorList

        public java.util.List<NamedTensorProto> getTensorList()
         NOTE: The order of the returned tensors may or may not match
         the fetch order specified in RunStepRequest.
         
        repeated .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
      • addAllTensor

        public RunStepResponse.Builder addAllTensor​(java.lang.Iterable<? extends NamedTensorProto> values)
         NOTE: The order of the returned tensors may or may not match
         the fetch order specified in RunStepRequest.
         
        repeated .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
        Specified by:
        getTensorOrBuilder in interface RunStepResponseOrBuilder
      • getTensorOrBuilderList

        public java.util.List<? extends NamedTensorProtoOrBuilder> getTensorOrBuilderList()
         NOTE: The order of the returned tensors may or may not match
         the fetch order specified in RunStepRequest.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
        Specified by:
        getTensorOrBuilderList in interface RunStepResponseOrBuilder
      • addTensorBuilder

        public NamedTensorProto.Builder addTensorBuilder()
         NOTE: The order of the returned tensors may or may not match
         the fetch order specified in RunStepRequest.
         
        repeated .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
      • getTensorBuilderList

        public java.util.List<NamedTensorProto.Builder> getTensorBuilderList()
         NOTE: The order of the returned tensors may or may not match
         the fetch order specified in RunStepRequest.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
      • hasMetadata

        public boolean hasMetadata()
         Returned metadata if requested in the options.
         
        .org.platanios.tensorflow.proto.RunMetadata metadata = 2;
        Specified by:
        hasMetadata in interface RunStepResponseOrBuilder
        Returns:
        Whether the metadata field is set.
      • getMetadata

        public RunMetadata getMetadata()
         Returned metadata if requested in the options.
         
        .org.platanios.tensorflow.proto.RunMetadata metadata = 2;
        Specified by:
        getMetadata in interface RunStepResponseOrBuilder
        Returns:
        The metadata.
      • setMetadata

        public RunStepResponse.Builder setMetadata​(RunMetadata value)
         Returned metadata if requested in the options.
         
        .org.platanios.tensorflow.proto.RunMetadata metadata = 2;
      • mergeMetadata

        public RunStepResponse.Builder mergeMetadata​(RunMetadata value)
         Returned metadata if requested in the options.
         
        .org.platanios.tensorflow.proto.RunMetadata metadata = 2;
      • clearMetadata

        public RunStepResponse.Builder clearMetadata()
         Returned metadata if requested in the options.
         
        .org.platanios.tensorflow.proto.RunMetadata metadata = 2;
      • getMetadataBuilder

        public RunMetadata.Builder getMetadataBuilder()
         Returned metadata if requested in the options.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.error.Code status_code = 3;
        Returns:
        This builder for chaining.
      • getStatusErrorMessageBytes

        public com.google.protobuf.ByteString getStatusErrorMessageBytes()
        string status_error_message = 4;
        Specified by:
        getStatusErrorMessageBytes in interface RunStepResponseOrBuilder
        Returns:
        The bytes for statusErrorMessage.
      • setStatusErrorMessage

        public RunStepResponse.Builder setStatusErrorMessage​(java.lang.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​(com.google.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​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
      • mergeUnknownFields

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