Package tensorflow.serving
Interface Model.ModelSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Model.ModelSpec,Model.ModelSpec.Builder
- Enclosing class:
Model
public static interface Model.ModelSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Required servable name.com.google.protobuf.ByteStringRequired servable name.A named signature to evaluate.com.google.protobuf.ByteStringA named signature to evaluate.Use this specific version number.Use the version associated with the given label.com.google.protobuf.ByteStringUse the version associated with the given label.Use this specific version number.booleanUse this specific version number.booleanUse the version associated with the given label.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Required servable name.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required servable name.
string name = 1;- Returns:
- The bytes for name.
-
hasVersion
boolean hasVersion()Use this specific version number.
.google.protobuf.Int64Value version = 2;- Returns:
- Whether the version field is set.
-
getVersion
Int64Value getVersion()Use this specific version number.
.google.protobuf.Int64Value version = 2;- Returns:
- The version.
-
getVersionOrBuilder
Int64ValueOrBuilder getVersionOrBuilder()Use this specific version number.
.google.protobuf.Int64Value version = 2; -
hasVersionLabel
boolean hasVersionLabel()Use the version associated with the given label.
string version_label = 4;- Returns:
- Whether the versionLabel field is set.
-
getVersionLabel
String getVersionLabel()Use the version associated with the given label.
string version_label = 4;- Returns:
- The versionLabel.
-
getVersionLabelBytes
com.google.protobuf.ByteString getVersionLabelBytes()Use the version associated with the given label.
string version_label = 4;- Returns:
- The bytes for versionLabel.
-
getSignatureName
String getSignatureName()A named signature to evaluate. If unspecified, the default signature will be used.
string signature_name = 3;- Returns:
- The signatureName.
-
getSignatureNameBytes
com.google.protobuf.ByteString getSignatureNameBytes()A named signature to evaluate. If unspecified, the default signature will be used.
string signature_name = 3;- Returns:
- The bytes for signatureName.
-
getVersionChoiceCase
Model.ModelSpec.VersionChoiceCase getVersionChoiceCase()
-