classe final pública estática 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).
tensorflow.ApiDef.Endpoint
type tensorflow.ApiDef.Endpoint
Classes aninhadas
aula | ApiDef.Endpoint.Builder | If you specify any endpoint, this will replace all of the inherited endpoints. |
Constantes
int | DEPRECATED_FIELD_NUMBER | |
int | DEPRECATION_VERSION_FIELD_NUMBER | |
int | NAME_FIELD_NUMBER |
Métodos Públicos
boleano | igual a (objeto obj) |
estático ApiDef.Endpoint | |
ApiDef.Endpoint | |
boleano | getDeprecated () Set if this endpoint is deprecated. |
int | getDeprecationVersion () Major version when an endpoint will be deleted. |
final static com.google.protobuf.Descriptors.Descriptor | |
Fragmento | getName () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
com.google.protobuf.ByteString | getNameBytes () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
int | |
final com.google.protobuf.UnknownFieldSet | |
int | hashCode () |
final booleano | |
static ApiDef.Endpoint.Builder | newBuilder (protótipo ApiDef.Endpoint ) |
static ApiDef.Endpoint.Builder | newBuilder () |
ApiDef.Endpoint.Builder | |
estático ApiDef.Endpoint | parseDelimitedFrom (input InputStream) |
estático ApiDef.Endpoint | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático ApiDef.Endpoint | parseFrom (dados ByteBuffer) |
estático ApiDef.Endpoint | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático ApiDef.Endpoint | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático ApiDef.Endpoint | parseFrom (com.google.protobuf.CodedInputStream input) |
estático ApiDef.Endpoint | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático ApiDef.Endpoint | parseFrom (com.google.protobuf.ByteString data) |
estático ApiDef.Endpoint | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático ApiDef.Endpoint | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
ApiDef.Endpoint.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
público estático 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 equals (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;
public static 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)
Lança
IOException |
---|
public static ApiDef.Endpoint parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static ApiDef.Endpoint parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static ApiDef.Endpoint parseFrom (com.google.protobuf.CodedInputStream input)
Lança
IOException |
---|
public static ApiDef.Endpoint parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static ApiDef.Endpoint parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static ApiDef.Endpoint parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static ApiDef.Endpoint parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|