ApiDef.EndpointOrBuilder

सार्वजनिक स्थैतिक इंटरफ़ेस ApiDef.EndpointOrBuilder
ज्ञात अप्रत्यक्ष उपवर्ग

सार्वजनिक तरीके

अमूर्त बूलियन
पदावनत हो जाओ ()
 Set if this endpoint is deprecated.
सार इंट
getDeprecationVersion ()
 Major version when an endpoint will be deleted.
सार स्ट्रिंग
नाम प्राप्त करें ()
 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName".
सार com.google.protobuf.ByteString
getNameबाइट्स ()
 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName".

सार्वजनिक तरीके

सार्वजनिक सार बूलियन getDeprecated ()

 Set if this endpoint is deprecated. If set to true, a message suggesting
 to use a non-deprecated endpoint instead will be printed. If all
 endpoints are deprecated, set deprecation_message in ApiDef instead.
 
bool deprecated = 3;

सार्वजनिक सार int getDeprecationVersion ()

 Major version when an endpoint will be deleted. For e.g. set this
 value to 2 if endpoint should be removed in TensorFlow 2.0 and
 deprecated in versions before that.
 
int32 deprecation_version = 4;

सार्वजनिक सार स्ट्रिंग getName ()

 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName". Client-language-specific ApiDefs may
 use a snake_case convention instead of CamelCase.
 
string name = 1;

सार्वजनिक सार com.google.protobuf.ByteString getNameBytes ()

 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName". Client-language-specific ApiDefs may
 use a snake_case convention instead of CamelCase.
 
string name = 1;