Package tensorflow.serving
Interface Logging.LogMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Logging.LogMetadata,Logging.LogMetadata.Builder
- Enclosing class:
Logging
public static interface Logging.LogMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDc()Datacenter where the request was logged.com.google.protobuf.ByteStringDatacenter where the request was logged..tensorflow.serving.ModelSpec model_spec = 1;.tensorflow.serving.ModelSpec model_spec = 1;Request QoS.com.google.protobuf.ByteStringRequest QoS.Request origin identifier.com.google.protobuf.ByteStringRequest origin identifier..tensorflow.serving.SamplingConfig sampling_config = 2;.tensorflow.serving.SamplingConfig sampling_config = 2;getSavedModelTags(int index) List of tags used to load the relevant MetaGraphDef from SavedModel.com.google.protobuf.ByteStringgetSavedModelTagsBytes(int index) List of tags used to load the relevant MetaGraphDef from SavedModel.intList of tags used to load the relevant MetaGraphDef from SavedModel.List of tags used to load the relevant MetaGraphDef from SavedModel.longSeconds since epoch.boolean.tensorflow.serving.ModelSpec model_spec = 1;boolean.tensorflow.serving.SamplingConfig sampling_config = 2;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
-
hasModelSpec
boolean hasModelSpec().tensorflow.serving.ModelSpec model_spec = 1;- Returns:
- Whether the modelSpec field is set.
-
getModelSpec
Model.ModelSpec getModelSpec().tensorflow.serving.ModelSpec model_spec = 1;- Returns:
- The modelSpec.
-
getModelSpecOrBuilder
Model.ModelSpecOrBuilder getModelSpecOrBuilder().tensorflow.serving.ModelSpec model_spec = 1; -
hasSamplingConfig
boolean hasSamplingConfig().tensorflow.serving.SamplingConfig sampling_config = 2;- Returns:
- Whether the samplingConfig field is set.
-
getSamplingConfig
LoggingConfigOuterClass.SamplingConfig getSamplingConfig().tensorflow.serving.SamplingConfig sampling_config = 2;- Returns:
- The samplingConfig.
-
getSamplingConfigOrBuilder
LoggingConfigOuterClass.SamplingConfigOrBuilder getSamplingConfigOrBuilder().tensorflow.serving.SamplingConfig sampling_config = 2; -
getSavedModelTagsList
List of tags used to load the relevant MetaGraphDef from SavedModel.
repeated string saved_model_tags = 3;- Returns:
- A list containing the savedModelTags.
-
getSavedModelTagsCount
int getSavedModelTagsCount()List of tags used to load the relevant MetaGraphDef from SavedModel.
repeated string saved_model_tags = 3;- Returns:
- The count of savedModelTags.
-
getSavedModelTags
List of tags used to load the relevant MetaGraphDef from SavedModel.
repeated string saved_model_tags = 3;- Parameters:
index- The index of the element to return.- Returns:
- The savedModelTags at the given index.
-
getSavedModelTagsBytes
com.google.protobuf.ByteString getSavedModelTagsBytes(int index) List of tags used to load the relevant MetaGraphDef from SavedModel.
repeated string saved_model_tags = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the savedModelTags at the given index.
-
getTimestampSecs
long getTimestampSecs()Seconds since epoch.
int64 timestamp_secs = 4;- Returns:
- The timestampSecs.
-
getDc
String getDc()Datacenter where the request was logged.
string dc = 5;- Returns:
- The dc.
-
getDcBytes
com.google.protobuf.ByteString getDcBytes()Datacenter where the request was logged.
string dc = 5;- Returns:
- The bytes for dc.
-
getRequestOrigin
String getRequestOrigin()Request origin identifier.
string request_origin = 6;- Returns:
- The requestOrigin.
-
getRequestOriginBytes
com.google.protobuf.ByteString getRequestOriginBytes()Request origin identifier.
string request_origin = 6;- Returns:
- The bytes for requestOrigin.
-
getRequestCriticality
String getRequestCriticality()Request QoS.
string request_criticality = 7;- Returns:
- The requestCriticality.
-
getRequestCriticalityBytes
com.google.protobuf.ByteString getRequestCriticalityBytes()Request QoS.
string request_criticality = 7;- Returns:
- The bytes for requestCriticality.
-