clase final estática pública 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
Métodos públicos
ApiDef.Endpoint.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
ApiDef.Endpoint | construir () |
ApiDef.Endpoint | |
ApiDef.Endpoint.Builder | claro () |
ApiDef.Endpoint.Builder | borrarDesaprobado () Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | clearDeprecationVersion () Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
ApiDef.Endpoint.Builder | borrar nombre () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
ApiDef.Endpoint.Builder | clonar () |
ApiDef.Endpoint | |
booleano | getDeprecated () Set if this endpoint is deprecated. |
entero | getDeprecationVersion () Major version when an endpoint will be deleted. |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
Cadena | obtenerNombre () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
com.google.protobuf.ByteString | getNombreBytes () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
booleano final | |
ApiDef.Endpoint.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
ApiDef.Endpoint.Builder | mergeFrom (com.google.protobuf.Message otro) |
final ApiDef.Endpoint.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
ApiDef.Endpoint.Builder | setDeprecated (valor booleano) Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | setDeprecationVersion (valor int) Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
ApiDef.Endpoint.Builder | setName (valor de cadena) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setNameBytes (valor com.google.protobuf.ByteString) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
final ApiDef.Endpoint.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Métodos heredados
Métodos públicos
público ApiDef.Endpoint.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público 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;
público 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;
público 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;
getDeprecated público booleano ()
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;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
cadena pública 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;
público 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;
público final booleano isInitialized ()
público ApiDef.Endpoint.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
Lanza
IOExcepción |
---|
público final ApiDef.Endpoint.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público ApiDef.Endpoint.Builder setDeprecated (valor booleano)
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;
público ApiDef.Endpoint.Builder setDeprecationVersion (valor 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;
público ApiDef.Endpoint.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público ApiDef.Endpoint.Builder setName (valor de cadena)
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;
público ApiDef.Endpoint.Builder setNameBytes (valor 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;