ApiDef.EndpointOrBuilder

publiczny interfejs statyczny ApiDef.EndpointOrBuilder
Znane podklasy pośrednie

Metody publiczne

abstrakcyjna wartość logiczna
przestarzałe ()
 Set if this endpoint is deprecated.
streszczenie wew
getDeprecationVersion ()
 Major version when an endpoint will be deleted.
abstrakcyjny ciąg
pobierz nazwę ()
 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName".
streszczenie com.google.protobuf.ByteString
getNameBytes ()
 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName".

Metody publiczne

publiczna wartość logiczna abstrakcyjna 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;

publiczne streszczenie 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;

publiczna abstrakcja String 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;

publiczne streszczenie 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;