kelas akhir statis publik 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
Metode Publik
ApiDef.Endpoint.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
ApiDef.Titik Akhir | membangun () |
ApiDef.Titik Akhir | |
ApiDef.Endpoint.Builder | jernih () |
ApiDef.Endpoint.Builder | jelasTidak berlaku lagi () Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | clearDeprecationVersion () Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
ApiDef.Endpoint.Builder | nama jelas () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor salah satu) |
ApiDef.Endpoint.Builder | klon () |
ApiDef.Titik Akhir | |
boolean | dapatkan Tidak Digunakan Lagi () Set if this endpoint is deprecated. |
ke dalam | dapatkanDeprecationVersion () Major version when an endpoint will be deleted. |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
Rangkaian | dapatkan Nama () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
com.google.protobuf.ByteString | dapatkanNamaBytes () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
boolean terakhir | |
ApiDef.Endpoint.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
ApiDef.Endpoint.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
ApiDef.Endpoint.Builder | setTidak digunakan lagi (nilai boolean) Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | setDeprecationVersion (nilai int) Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
ApiDef.Endpoint.Builder | setName (Nilai string) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setNameBytes (nilai com.google.protobuf.ByteString) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
ApiDef.Endpoint.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Metode Warisan
Metode Publik
public ApiDef.Endpoint.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
publik ApiDef.Endpoint.Builder clearTidak berlaku lagi ()
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;
publik ApiDef.Endpoint.Builder 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 publik clearName ()
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;
get boolean publik Tidak berlaku lagi ()
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;
publik 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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
GetName String publik ()
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;
publik 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;
boolean akhir publik diinisialisasi ()
public ApiDef.Endpoint.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
public final ApiDef.Endpoint.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public ApiDef.Endpoint.Builder setTidak digunakan lagi (nilai 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;
publik ApiDef.Endpoint.Builder setDeprecationVersion (nilai 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;
public ApiDef.Endpoint.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
publik ApiDef.Endpoint.Builder setName (Nilai string)
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;
publik ApiDef.Endpoint.Builder setNameBytes (nilai 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;