classe finale statica pubblica 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
Metodi pubblici
ApiDef.Endpoint.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
ApiDef.Endpoint | costruire () |
ApiDef.Endpoint | buildPartial () |
ApiDef.Endpoint.Builder | chiaro () |
ApiDef.Endpoint.Builder | clearDeprecato () 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 | nomechiaro () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApiDef.Endpoint.Builder | clone () |
ApiDef.Endpoint | |
booleano | getDeprecato () Set if this endpoint is deprecated. |
int | getDeprecationVersion () Major version when an endpoint will be deleted. |
com.google.protobuf.Descriptors.Descriptor statico finale | |
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 finale | |
ApiDef.Endpoint.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
ApiDef.Endpoint.Builder | mergeFrom (com.google.protobuf.Message altro) |
finale ApiDef.Endpoint.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
ApiDef.Endpoint.Builder | setDeprecated (valore booleano) Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | setDeprecationVersion (valore int) Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
ApiDef.Endpoint.Builder | setName (valore stringa) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setNameBytes (valore com.google.protobuf.ByteString) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
finale ApiDef.Endpoint.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
Metodi ereditati
Metodi pubblici
public ApiDef.Endpoint.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
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;
booleano pubblico 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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
stringa pubblica 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;
pubblico 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 booleano isInitialized ()
public ApiDef.Endpoint.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
pubblico finale ApiDef.Endpoint.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
public ApiDef.Endpoint.Builder setDeprecated (valore 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 ApiDef.Endpoint.Builder setDeprecationVersion (valore 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, valore oggetto)
public ApiDef.Endpoint.Builder setName (valore stringa)
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;
pubblico ApiDef.Endpoint.Builder setNameBytes (valore 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;