lớp cuối cùng tĩnh công khai ApiDef.Endpoint.Builder
If you specify any endpoint, this will replace all of the inherited endpoints. The first endpoint should be the "canonical" endpoint, and should not be deprecated (unless all endpoints are deprecated).
tensorflow.ApiDef.Endpoint
Phương pháp công khai
ApiDef.Endpoint.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
ApiDef.Endpoint | xây dựng () |
ApiDef.Endpoint | |
ApiDef.Endpoint.Builder | thông thoáng () |
ApiDef.Endpoint.Builder | rõ ràngKhông được dùng nữa () Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | ClearDeprecationVersion () Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor) |
ApiDef.Endpoint.Builder | ClearName () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApiDef.Endpoint.Builder | dòng vô tính () |
ApiDef.Endpoint | |
boolean | getDeprecated () Set if this endpoint is deprecated. |
int | getDeprecationVersion () Major version when an endpoint will be deleted. |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
Sợi dây | lấy Tên () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
com.google.protobuf.ByteString | getNameBytes () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
boolean cuối cùng | |
ApiDef.Endpoint.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ApiDef.Endpoint.Builder | mergeFrom (com.google.protobuf.Message other) |
ApiDef.Endpoint.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
ApiDef.Endpoint.Builder | setDeprecated (giá trị boolean) Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | setDeprecationVersion (giá trị int) Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
ApiDef.Endpoint.Builder | setName (Giá trị chuỗi) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setNameBytes (giá trị com.google.protobuf.ByteString) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
ApiDef.Endpoint.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
Phương pháp kế thừa
Phương pháp công khai
ApiDef.Endpoint.Builder công khai addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
ApiDef.Endpoint.Builder công khai clearDeprecated ()
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;
ApiDef.Endpoint.Builder công khai clearDeprecationVersion ()
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;
ApiDef.Endpoint.Builder clearField công khai (trường com.google.protobuf.Descriptors.FieldDescriptor)
ApiDef.Endpoint.Builder clearName công khai ()
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;
ApiDef.Endpoint.Builder clearOneof công khai (com.google.protobuf.Descriptors.OneofDescriptor oneof)
boolean 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;
int công khai 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;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
Chuỗi công khai 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 công khai ()
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;
boolean cuối cùng công khai được khởi tạo ()
công khai ApiDef.Endpoint.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
trận chung kết công khai ApiDef.Endpoint.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
ApiDef.Endpoint.Builder setDeprecated công khai (giá trị boolean)
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;
ApiDef.Endpoint.Builder công khai setDeprecationVersion (giá trị int)
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;
ApiDef.Endpoint.Builder setField công khai (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
ApiDef.Endpoint.Builder setName công khai (Giá trị chuỗi)
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;
ApiDef.Endpoint.Builder setNameBytes công khai (giá trị com.google.protobuf.ByteString)
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;