Class RunGraphResponse.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, RunGraphResponseOrBuilder
    Enclosing class:
    RunGraphResponse

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public java.util.List<NamedTensorProto> getRecvList()
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
        Specified by:
        getRecvList in interface RunGraphResponseOrBuilder
      • getRecvCount

        public int getRecvCount()
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
        Specified by:
        getRecvCount in interface RunGraphResponseOrBuilder
      • getRecv

        public NamedTensorProto getRecv​(int index)
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
        Specified by:
        getRecv in interface RunGraphResponseOrBuilder
      • setRecv

        public RunGraphResponse.Builder setRecv​(int index,
                                                NamedTensorProto value)
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
      • setRecv

        public RunGraphResponse.Builder setRecv​(int index,
                                                NamedTensorProto.Builder builderForValue)
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
      • addRecv

        public RunGraphResponse.Builder addRecv​(NamedTensorProto value)
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
      • addRecv

        public RunGraphResponse.Builder addRecv​(int index,
                                                NamedTensorProto value)
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
      • addRecv

        public RunGraphResponse.Builder addRecv​(NamedTensorProto.Builder builderForValue)
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
      • addRecv

        public RunGraphResponse.Builder addRecv​(int index,
                                                NamedTensorProto.Builder builderForValue)
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
      • addAllRecv

        public RunGraphResponse.Builder addAllRecv​(java.lang.Iterable<? extends NamedTensorProto> values)
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
      • clearRecv

        public RunGraphResponse.Builder clearRecv()
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
      • removeRecv

        public RunGraphResponse.Builder removeRecv​(int index)
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
      • getRecvBuilder

        public NamedTensorProto.Builder getRecvBuilder​(int index)
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
      • addRecvBuilder

        public NamedTensorProto.Builder addRecvBuilder()
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
      • addRecvBuilder

        public NamedTensorProto.Builder addRecvBuilder​(int index)
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
      • getRecvBuilderList

        public java.util.List<NamedTensorProto.Builder> getRecvBuilderList()
         A list of tensors corresponding to those requested by
         `RunGraphRequest.recv_key`.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto recv = 1;
      • hasStepStats

        public boolean hasStepStats()
         If the request asked for execution stats, the cost graph, or the partition
         graphs, these are returned here.
         TODO(suharshs): Package these in a RunMetadata instead.
         
        .org.platanios.tensorflow.proto.StepStats step_stats = 2;
        Specified by:
        hasStepStats in interface RunGraphResponseOrBuilder
        Returns:
        Whether the stepStats field is set.
      • getStepStats

        public StepStats getStepStats()
         If the request asked for execution stats, the cost graph, or the partition
         graphs, these are returned here.
         TODO(suharshs): Package these in a RunMetadata instead.
         
        .org.platanios.tensorflow.proto.StepStats step_stats = 2;
        Specified by:
        getStepStats in interface RunGraphResponseOrBuilder
        Returns:
        The stepStats.
      • setStepStats

        public RunGraphResponse.Builder setStepStats​(StepStats value)
         If the request asked for execution stats, the cost graph, or the partition
         graphs, these are returned here.
         TODO(suharshs): Package these in a RunMetadata instead.
         
        .org.platanios.tensorflow.proto.StepStats step_stats = 2;
      • setStepStats

        public RunGraphResponse.Builder setStepStats​(StepStats.Builder builderForValue)
         If the request asked for execution stats, the cost graph, or the partition
         graphs, these are returned here.
         TODO(suharshs): Package these in a RunMetadata instead.
         
        .org.platanios.tensorflow.proto.StepStats step_stats = 2;
      • mergeStepStats

        public RunGraphResponse.Builder mergeStepStats​(StepStats value)
         If the request asked for execution stats, the cost graph, or the partition
         graphs, these are returned here.
         TODO(suharshs): Package these in a RunMetadata instead.
         
        .org.platanios.tensorflow.proto.StepStats step_stats = 2;
      • clearStepStats

        public RunGraphResponse.Builder clearStepStats()
         If the request asked for execution stats, the cost graph, or the partition
         graphs, these are returned here.
         TODO(suharshs): Package these in a RunMetadata instead.
         
        .org.platanios.tensorflow.proto.StepStats step_stats = 2;
      • getStepStatsBuilder

        public StepStats.Builder getStepStatsBuilder()
         If the request asked for execution stats, the cost graph, or the partition
         graphs, these are returned here.
         TODO(suharshs): Package these in a RunMetadata instead.
         
        .org.platanios.tensorflow.proto.StepStats step_stats = 2;
      • getStepStatsOrBuilder

        public StepStatsOrBuilder getStepStatsOrBuilder()
         If the request asked for execution stats, the cost graph, or the partition
         graphs, these are returned here.
         TODO(suharshs): Package these in a RunMetadata instead.
         
        .org.platanios.tensorflow.proto.StepStats step_stats = 2;
        Specified by:
        getStepStatsOrBuilder in interface RunGraphResponseOrBuilder
      • hasCostGraph

        public boolean hasCostGraph()
        .org.platanios.tensorflow.proto.CostGraphDef cost_graph = 3;
        Specified by:
        hasCostGraph in interface RunGraphResponseOrBuilder
        Returns:
        Whether the costGraph field is set.
      • clearCostGraph

        public RunGraphResponse.Builder clearCostGraph()
        .org.platanios.tensorflow.proto.CostGraphDef cost_graph = 3;
      • getCostGraphBuilder

        public CostGraphDef.Builder getCostGraphBuilder()
        .org.platanios.tensorflow.proto.CostGraphDef cost_graph = 3;
      • setPartitionGraph

        public RunGraphResponse.Builder setPartitionGraph​(int index,
                                                          GraphDef value)
        repeated .org.platanios.tensorflow.proto.GraphDef partition_graph = 4;
      • addPartitionGraph

        public RunGraphResponse.Builder addPartitionGraph​(GraphDef value)
        repeated .org.platanios.tensorflow.proto.GraphDef partition_graph = 4;
      • addPartitionGraph

        public RunGraphResponse.Builder addPartitionGraph​(int index,
                                                          GraphDef value)
        repeated .org.platanios.tensorflow.proto.GraphDef partition_graph = 4;
      • addAllPartitionGraph

        public RunGraphResponse.Builder addAllPartitionGraph​(java.lang.Iterable<? extends GraphDef> values)
        repeated .org.platanios.tensorflow.proto.GraphDef partition_graph = 4;
      • clearPartitionGraph

        public RunGraphResponse.Builder clearPartitionGraph()
        repeated .org.platanios.tensorflow.proto.GraphDef partition_graph = 4;
      • removePartitionGraph

        public RunGraphResponse.Builder removePartitionGraph​(int index)
        repeated .org.platanios.tensorflow.proto.GraphDef partition_graph = 4;
      • getPartitionGraphBuilder

        public GraphDef.Builder getPartitionGraphBuilder​(int index)
        repeated .org.platanios.tensorflow.proto.GraphDef partition_graph = 4;
      • addPartitionGraphBuilder

        public GraphDef.Builder addPartitionGraphBuilder()
        repeated .org.platanios.tensorflow.proto.GraphDef partition_graph = 4;
      • addPartitionGraphBuilder

        public GraphDef.Builder addPartitionGraphBuilder​(int index)
        repeated .org.platanios.tensorflow.proto.GraphDef partition_graph = 4;
      • getPartitionGraphBuilderList

        public java.util.List<GraphDef.Builder> getPartitionGraphBuilderList()
        repeated .org.platanios.tensorflow.proto.GraphDef partition_graph = 4;
      • 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 = 5;
        Specified by:
        getStatusCodeValue in interface RunGraphResponseOrBuilder
        Returns:
        The enum numeric value on the wire for statusCode.
      • setStatusCodeValue

        public RunGraphResponse.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 = 5;
        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 = 5;
        Specified by:
        getStatusCode in interface RunGraphResponseOrBuilder
        Returns:
        The statusCode.
      • setStatusCode

        public RunGraphResponse.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 = 5;
        Parameters:
        value - The statusCode to set.
        Returns:
        This builder for chaining.
      • clearStatusCode

        public RunGraphResponse.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 = 5;
        Returns:
        This builder for chaining.
      • getStatusErrorMessageBytes

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

        public RunGraphResponse.Builder setStatusErrorMessage​(java.lang.String value)
        string status_error_message = 6;
        Parameters:
        value - The statusErrorMessage to set.
        Returns:
        This builder for chaining.
      • clearStatusErrorMessage

        public RunGraphResponse.Builder clearStatusErrorMessage()
        string status_error_message = 6;
        Returns:
        This builder for chaining.
      • setStatusErrorMessageBytes

        public RunGraphResponse.Builder setStatusErrorMessageBytes​(com.google.protobuf.ByteString value)
        string status_error_message = 6;
        Parameters:
        value - The bytes for statusErrorMessage to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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