ApiDef.EndpointOrBuilder

공개 정적 인터페이스 ApiDef.EndpointOrBuilder
알려진 간접 하위 클래스

공개 방법

추상 부울
getDeprecated ()
 Set if this endpoint is deprecated.
추상 정수
getDeprecationVersion ()
 Major version when an endpoint will be deleted.
추상 문자열
getName ()
 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName".
추상 com.google.protobuf.ByteString
getNameBytes ()
 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;