clase final estática pública 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).Protobuf tipo
tensorflow.ApiDef.Endpoint
Clases anidadas
clase | ApiDef.Endpoint.Builder | If you specify any endpoint, this will replace all of the inherited endpoints. |
Constantes
En t | DEPRECATED_FIELD_NUMBER | |
En t | DEPRECATION_VERSION_FIELD_NUMBER | |
En t | NAME_FIELD_NUMBER |
Métodos públicos
booleano | es igual a (Objeto obj) |
ApiDef.Endpoint estático | |
ApiDef.Endpoint | |
booleano | getDeprecated () Set if this endpoint is deprecated. |
En t | getDeprecationVersion () Major version when an endpoint will be deleted. |
com.google.protobuf.Descriptors.Descriptor estático final | |
Cuerda | getName () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
com.google.protobuf.ByteString | getNameBytes () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
En t | |
final com.google.protobuf.UnknownFieldSet | |
En t | hashCode () |
booleano final | |
ApiDef.Endpoint.Builder estático | newBuilder (prototipo ApiDef.Endpoint ) |
ApiDef.Endpoint.Builder estático | newBuilder () |
ApiDef.Endpoint.Builder | |
ApiDef.Endpoint estático | parseDelimitedFrom (entrada InputStream) |
ApiDef.Endpoint estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint estático | parseFrom (datos ByteBuffer) |
ApiDef.Endpoint estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint estático | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
ApiDef.Endpoint estático | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint estático | parseFrom (datos com.google.protobuf.ByteString) |
ApiDef.Endpoint estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint estático | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analizador () |
ApiDef.Endpoint.Builder | toBuilder () |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int DEPRECATED_FIELD_NUMBER
Valor constante: 3
public static final int DEPRECATION_VERSION_FIELD_NUMBER
Valor constante: 4
public static final int NAME_FIELD_NUMBER
Valor constante: 1
Métodos públicos
public boolean es igual a (Object obj)
public boolean 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;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String 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;
público getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static ApiDef.Endpoint parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static ApiDef.Endpoint parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static ApiDef.Endpoint parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
ApiDef.Endpoint parseFrom estático público (entrada com.google.protobuf.CodedInputStream)
Lanza
IOException |
---|
public static ApiDef.Endpoint parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
ApiDef.Endpoint parseFrom estático público (datos de com.google.protobuf.ByteString)
Lanza
InvalidProtocolBufferException |
---|
public static ApiDef.Endpoint parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static ApiDef.Endpoint parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOException |
---|