Class RunCallableResponse.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, RunCallableResponseOrBuilder
    Enclosing class:
    RunCallableResponse

    public static final class RunCallableResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<RunCallableResponse.Builder>
    implements RunCallableResponseOrBuilder
    Protobuf type org.platanios.tensorflow.proto.RunCallableResponse
    • 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<RunCallableResponse.Builder>
      • clear

        public RunCallableResponse.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<RunCallableResponse.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<RunCallableResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public RunCallableResponse.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<RunCallableResponse.Builder>
      • setField

        public RunCallableResponse.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<RunCallableResponse.Builder>
      • clearField

        public RunCallableResponse.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<RunCallableResponse.Builder>
      • clearOneof

        public RunCallableResponse.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<RunCallableResponse.Builder>
      • setRepeatedField

        public RunCallableResponse.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<RunCallableResponse.Builder>
      • addRepeatedField

        public RunCallableResponse.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<RunCallableResponse.Builder>
      • mergeFrom

        public RunCallableResponse.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<RunCallableResponse.Builder>
      • isInitialized

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

        public RunCallableResponse.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<RunCallableResponse.Builder>
        Throws:
        java.io.IOException
      • getFetchList

        public java.util.List<TensorProto> getFetchList()
         Values of the tensors returned by the callable, in the order defined in the
         CallableOptions.fetch field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto fetch = 1;
        Specified by:
        getFetchList in interface RunCallableResponseOrBuilder
      • 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 .org.platanios.tensorflow.proto.TensorProto fetch = 1;
        Specified by:
        getFetchCount in interface RunCallableResponseOrBuilder
      • 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 .org.platanios.tensorflow.proto.TensorProto fetch = 1;
        Specified by:
        getFetch in interface RunCallableResponseOrBuilder
      • 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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.TensorProto fetch = 1;
      • addAllFetch

        public RunCallableResponse.Builder addAllFetch​(java.lang.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.TensorProto fetch = 1;
        Specified by:
        getFetchOrBuilder in interface RunCallableResponseOrBuilder
      • getFetchOrBuilderList

        public java.util.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 .org.platanios.tensorflow.proto.TensorProto fetch = 1;
        Specified by:
        getFetchOrBuilderList in interface RunCallableResponseOrBuilder
      • 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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.TensorProto fetch = 1;
      • getFetchBuilderList

        public java.util.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 .org.platanios.tensorflow.proto.TensorProto fetch = 1;
      • hasMetadata

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

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

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

        public RunCallableResponse.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;
      • setUnknownFields

        public final RunCallableResponse.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<RunCallableResponse.Builder>
      • mergeUnknownFields

        public final RunCallableResponse.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<RunCallableResponse.Builder>