classe finale statique publique ApiDef.Endpoint
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
de type Protobuf Classes imbriquées
classe | ApiDef.Endpoint.Builder | If you specify any endpoint, this will replace all of the inherited endpoints. |
Constantes
int | DEPRECATED_FIELD_NUMBER | |
int | DEPRECATION_VERSION_FIELD_NUMBER | |
int | NAME_FIELD_NUMBER |
Méthodes publiques
booléen | est égal à (Obj objet) |
ApiDef.Endpoint statique | |
ApiDef.Endpoint | |
booléen | getDéprécié () Set if this endpoint is deprecated. |
int | getDeprecationVersion () Major version when an endpoint will be deleted. |
final statique com.google.protobuf.Descriptors.Descriptor | |
Chaîne | obtenirNom () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
com.google.protobuf.ByteString | getNameBytes () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
int | |
final com.google.protobuf.UnknownFieldSet | |
int | |
booléen final | |
statique ApiDef.Endpoint.Builder | newBuilder (prototype ApiDef.Endpoint ) |
statique ApiDef.Endpoint.Builder | |
ApiDef.Endpoint.Builder | |
ApiDef.Endpoint statique | parseDelimitedFrom (entrée InputStream) |
ApiDef.Endpoint statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint statique | parseFrom (données ByteBuffer) |
ApiDef.Endpoint statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
ApiDef.Endpoint statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint statique | parseFrom (données com.google.protobuf.ByteString) |
ApiDef.Endpoint statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
ApiDef.Endpoint.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final entier DEPRECATED_FIELD_NUMBER
Valeur constante : 3
public statique final int DEPRECATION_VERSION_FIELD_NUMBER
Valeur constante : 4
public statique final entier NAME_FIELD_NUMBER
Valeur constante : 1
Méthodes publiques
public booléen égal (Objet obj)
public booléen 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;
public 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 statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
chaîne publique 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;
public 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;
publique getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
code de hachage int public ()
public final booléen isInitialized ()
public statique ApiDef.Endpoint parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique ApiDef.Endpoint parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique ApiDef.Endpoint parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique ApiDef.Endpoint parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
IOException |
---|
public statique ApiDef.Endpoint parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique ApiDef.Endpoint parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public statique ApiDef.Endpoint parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique ApiDef.Endpoint parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|