ApiDef.EndpointOrBuilder

interfaz estática pública ApiDef.EndpointOrBuilder
Subclases indirectas conocidas

Métodos públicos

booleano abstracto
getDeprecated ()
 Set if this endpoint is deprecated.
resumen entero
getDeprecationVersion ()
 Major version when an endpoint will be deleted.
cadena abstracta
obtenerNombre ()
 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName".
resumen com.google.protobuf.ByteString
getNombreBytes ()
 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName".

Métodos públicos

getDeprecated booleano abstracto público ()

 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;

resumen público 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;

Cadena abstracta pública 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;

resumen público 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;