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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()Required servable name.com.google.protobuf.ByteStringgetNameBytes()Required servable name.java.lang.StringgetSignatureName()A named signature to evaluate.com.google.protobuf.ByteStringgetSignatureNameBytes()A named signature to evaluate.com.google.protobuf.Int64ValuegetVersion()Use this specific version number.Model.ModelSpec.VersionChoiceCasegetVersionChoiceCase()java.lang.StringgetVersionLabel()Use the version associated with the given label.com.google.protobuf.ByteStringgetVersionLabelBytes()Use the version associated with the given label.com.google.protobuf.Int64ValueOrBuildergetVersionOrBuilder()Use this specific version number.booleanhasVersion()Use this specific version number.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
java.lang.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
com.google.protobuf.Int64Value getVersion()
Use this specific version number.
.google.protobuf.Int64Value version = 2;- Returns:
- The version.
-
getVersionOrBuilder
com.google.protobuf.Int64ValueOrBuilder getVersionOrBuilder()
Use this specific version number.
.google.protobuf.Int64Value version = 2;
-
getVersionLabel
java.lang.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
java.lang.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()
-
-