Interface RPCOptionsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    RPCOptions, RPCOptions.Builder

    public interface RPCOptionsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getCacheRpcResponse()
      Setting cache_rpc_response to true will enable sender side caching of response for RecvTensorAsync and RecvBufAsync to allow receiver to retry requests .
      java.lang.String getCompressionAlgorithm()
      The compression algorithm to be used.
      com.google.protobuf.ByteString getCompressionAlgorithmBytes()
      The compression algorithm to be used.
      int getCompressionLevel()
      If compression_algorithm is set, the compression level to be used.
      boolean getDisableSessionConnectionSharing()
      Disables TCP connection sharing when opening a new RPC channel.
      boolean getUseRpcForInprocessMaster()
      If true, always use RPC to contact the session target.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getUseRpcForInprocessMaster

        boolean getUseRpcForInprocessMaster()
         If true, always use RPC to contact the session target.
         If false (the default option), TensorFlow may use an optimized
         transport for client-master communication that avoids the RPC
         stack. This option is primarily for used testing the RPC stack.
         
        bool use_rpc_for_inprocess_master = 1;
        Returns:
        The useRpcForInprocessMaster.
      • getCompressionAlgorithm

        java.lang.String getCompressionAlgorithm()
         The compression algorithm to be used. One of "deflate", "gzip".
         
        string compression_algorithm = 2;
        Returns:
        The compressionAlgorithm.
      • getCompressionAlgorithmBytes

        com.google.protobuf.ByteString getCompressionAlgorithmBytes()
         The compression algorithm to be used. One of "deflate", "gzip".
         
        string compression_algorithm = 2;
        Returns:
        The bytes for compressionAlgorithm.
      • getCompressionLevel

        int getCompressionLevel()
         If compression_algorithm is set, the compression level to be used.
         From 0 (no compression), up to 3.
         
        int32 compression_level = 3;
        Returns:
        The compressionLevel.
      • getCacheRpcResponse

        boolean getCacheRpcResponse()
         Setting cache_rpc_response to true will enable sender side caching of
         response for RecvTensorAsync and RecvBufAsync to allow receiver to retry
         requests . This is only necessary when the network fabric is experiencing a
         significant error rate.  Without it we'll fail a step on an network error,
         while with it we'll be able to complete long steps (like complex
         initializations) in the face of some network errors during RecvTensor.
         
        bool cache_rpc_response = 4;
        Returns:
        The cacheRpcResponse.
      • getDisableSessionConnectionSharing

        boolean getDisableSessionConnectionSharing()
         Disables TCP connection sharing when opening a new RPC channel.
         
        bool disable_session_connection_sharing = 5;
        Returns:
        The disableSessionConnectionSharing.