RPCOptions

public final class RPCOptions

Protobuf type tensorflow.RPCOptions

Nested Classes

class RPCOptions.Builder Protobuf type tensorflow.RPCOptions  

Constants

int CACHE_RPC_RESPONSE_FIELD_NUMBER
int COMPRESSION_ALGORITHM_FIELD_NUMBER
int COMPRESSION_LEVEL_FIELD_NUMBER
int DISABLE_SESSION_CONNECTION_SHARING_FIELD_NUMBER
int USE_RPC_FOR_INPROCESS_MASTER_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
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 .
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.
static RPCOptions
RPCOptions
final static com.google.protobuf.Descriptors.Descriptor
boolean
getDisableSessionConnectionSharing()
 Disables TCP connection sharing when opening a new RPC channel.
int
final com.google.protobuf.UnknownFieldSet
boolean
getUseRpcForInprocessMaster()
 If true, always use RPC to contact the session target.
int
final boolean
static RPCOptions.Builder
static RPCOptions.Builder
newBuilder(RPCOptions prototype)
RPCOptions.Builder
static RPCOptions
parseDelimitedFrom(InputStream input)
static RPCOptions
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RPCOptions
parseFrom(ByteBuffer data)
static RPCOptions
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RPCOptions
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RPCOptions
parseFrom(com.google.protobuf.CodedInputStream input)
static RPCOptions
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RPCOptions
parseFrom(com.google.protobuf.ByteString data)
static RPCOptions
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RPCOptions
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
RPCOptions.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int CACHE_RPC_RESPONSE_FIELD_NUMBER

Constant Value: 4

public static final int COMPRESSION_ALGORITHM_FIELD_NUMBER

Constant Value: 2

public static final int COMPRESSION_LEVEL_FIELD_NUMBER

Constant Value: 3

public static final int DISABLE_SESSION_CONNECTION_SHARING_FIELD_NUMBER

Constant Value: 5

public static final int USE_RPC_FOR_INPROCESS_MASTER_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public 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;

public String getCompressionAlgorithm ()

 The compression algorithm to be used. One of "deflate", "gzip".
 
string compression_algorithm = 2;

public com.google.protobuf.ByteString getCompressionAlgorithmBytes ()

 The compression algorithm to be used. One of "deflate", "gzip".
 
string compression_algorithm = 2;

public int getCompressionLevel ()

 If compression_algorithm is set, the compression level to be used.
 From 0 (no compression), up to 3.
 
int32 compression_level = 3;

public static RPCOptions getDefaultInstance ()

public RPCOptions getDefaultInstanceForType ()

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

public boolean getDisableSessionConnectionSharing ()

 Disables TCP connection sharing when opening a new RPC channel.
 
bool disable_session_connection_sharing = 5;

public getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public 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;

public int hashCode ()

public final boolean isInitialized ()

public static RPCOptions.Builder newBuilder ()

public static RPCOptions.Builder newBuilder (RPCOptions prototype)

public RPCOptions.Builder newBuilderForType ()

public static RPCOptions parseDelimitedFrom (InputStream input)

Throws
IOException

public static RPCOptions parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static RPCOptions parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static RPCOptions parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static RPCOptions parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static RPCOptions parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static RPCOptions parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static RPCOptions parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static RPCOptions parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static RPCOptions parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public RPCOptions.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException