classe finale statique publique 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
de type Protobuf Méthodes publiques
ApiDef.Endpoint.Builder | addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
ApiDef.Endpoint | construire () |
ApiDef.Endpoint | buildPartial () |
ApiDef.Endpoint.Builder | clair () |
ApiDef.Endpoint.Builder | clearObsolète () Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | clearDeprécationVersion () Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | clearField (champ com.google.protobuf.Descriptors.FieldDescriptor) |
ApiDef.Endpoint.Builder | nom clair () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApiDef.Endpoint.Builder | cloner () |
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 | |
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". |
booléen final | |
ApiDef.Endpoint.Builder | mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint.Builder | mergeFrom (com.google.protobuf.Message autre) |
finale ApiDef.Endpoint.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
ApiDef.Endpoint.Builder | setDeprecated (valeur booléenne) Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | setDeprecationVersion (valeur entière) Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
ApiDef.Endpoint.Builder | setName (valeur de chaîne) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setNameBytes (valeur com.google.protobuf.ByteString) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet) |
finale ApiDef.Endpoint.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
Méthodes héritées
Méthodes publiques
public ApiDef.Endpoint.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public ApiDef.Endpoint.Builder 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;
public 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;
public ApiDef.Endpoint.Builder 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;
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 ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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;
public final booléen isInitialized ()
public ApiDef.Endpoint.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public final ApiDef.Endpoint.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public ApiDef.Endpoint.Builder setDeprecated (valeur booléenne)
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 ApiDef.Endpoint.Builder setDeprecationVersion (valeur 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 (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public ApiDef.Endpoint.Builder setName (valeur de chaîne)
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 ApiDef.Endpoint.Builder setNameBytes (valeur 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;