ApiDef.EndpointOrBuilder

giao diện tĩnh công cộng ApiDef.EndpointOrBuilder
Các lớp con gián tiếp đã biết

Phương pháp công cộng

trừu tượng boolean
getKhông dùng nữa ()
 Set if this endpoint is deprecated.
int trừu tượng
getDeprecationVersion ()
 Major version when an endpoint will be deleted.
chuỗi trừu tượng
lấy Tên ()
 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName".
trừu tượng com.google.protobuf.ByteString
getNameBytes ()
 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName".

Phương pháp công cộng

boolean trừu tượng công khai 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;

tóm tắt công khai 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;

Chuỗi tóm tắt công khai getName ()

string name = 1;

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

tóm tắt công khai com.google.protobuf.ByteString getNameBytes ()

string name = 1;

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