classe 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 do objeto) |
ApiDef.Endpoint | construir () |
ApiDef.Endpoint | |
ApiDef.Endpoint.Builder | claro () |
ApiDef.Endpoint.Builder | limparDepreciado () 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 | limparNome () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor umof) |
ApiDef.Endpoint.Builder | clonar () |
ApiDef.Endpoint | |
booleano | getDeprecated () Set if this endpoint is deprecated. |
interno | getDeprecationVersion () Major version when an endpoint will be deleted. |
final estático com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Corda | getNome () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
com.google.protobuf.ByteString | getNomeBytes () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
booleano final | |
ApiDef.Endpoint.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint.Builder | mergeFrom (com.google.protobuf.Message outro) |
final ApiDef.Endpoint.Builder | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
ApiDef.Endpoint.Builder | setDeprecated (valor booleano) Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | setDeprecationVersion (valor interno) Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
ApiDef.Endpoint.Builder | setName (valor da string) 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 do objeto) |
final ApiDef.Endpoint.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
Métodos herdados
Métodos Públicos
public ApiDef.Endpoint.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do 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;
público booleano 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;
público 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;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
String pública getNome ()
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 ()
public ApiDef.Endpoint.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
público final ApiDef.Endpoint.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
public 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;
public ApiDef.Endpoint.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
público ApiDef.Endpoint.Builder setName (valor da 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;
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;