Package org.tensorflow.framework
Interface ApiDef.EndpointOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ApiDef.Endpoint
,ApiDef.Endpoint.Builder
- Enclosing class:
- ApiDef
public static interface ApiDef.EndpointOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDeprecationMessage()
If this endpoint is deprecated, set deprecation_message to a message that should be logged when the endpoint is used.org.nd4j.shade.protobuf.ByteString
getDeprecationMessageBytes()
If this endpoint is deprecated, set deprecation_message to a message that should be logged when the endpoint is used.String
getName()
Name should be either like "CamelCaseName" or "Package.CamelCaseName".org.nd4j.shade.protobuf.ByteString
getNameBytes()
Name should be either like "CamelCaseName" or "Package.CamelCaseName".-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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;
- Returns:
- The name.
-
getNameBytes
org.nd4j.shade.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;
- Returns:
- The bytes for name.
-
getDeprecationMessage
String getDeprecationMessage()
If this endpoint is deprecated, set deprecation_message to a message that should be logged when the endpoint is used. The message should indicate alternative endpoint to use, if any.
string deprecation_message = 2;
- Returns:
- The deprecationMessage.
-
getDeprecationMessageBytes
org.nd4j.shade.protobuf.ByteString getDeprecationMessageBytes()
If this endpoint is deprecated, set deprecation_message to a message that should be logged when the endpoint is used. The message should indicate alternative endpoint to use, if any.
string deprecation_message = 2;
- Returns:
- The bytes for deprecationMessage.
-
-