Package tensorflow.serving
Class Logging.LogMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
tensorflow.serving.Logging.LogMetadata
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Logging.LogMetadataOrBuilder
- Enclosing class:
Logging
public static final class Logging.LogMetadata
extends com.google.protobuf.GeneratedMessageV3
implements Logging.LogMetadataOrBuilder
Metadata logged along with the request logs.Protobuf type
tensorflow.serving.LogMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMetadata logged along with the request logs.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetDc()Datacenter where the request was logged.com.google.protobuf.ByteStringDatacenter where the request was logged.static Logging.LogMetadatastatic final com.google.protobuf.Descriptors.Descriptor.tensorflow.serving.ModelSpec model_spec = 1;.tensorflow.serving.ModelSpec model_spec = 1;com.google.protobuf.Parser<Logging.LogMetadata> 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.com.google.protobuf.ProtocolStringListList of tags used to load the relevant MetaGraphDef from SavedModel.intlongSeconds since epoch.inthashCode()boolean.tensorflow.serving.ModelSpec model_spec = 1;boolean.tensorflow.serving.SamplingConfig sampling_config = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Logging.LogMetadata.Builderstatic Logging.LogMetadata.BuildernewBuilder(Logging.LogMetadata prototype) protected Logging.LogMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Logging.LogMetadataparseDelimitedFrom(InputStream input) static Logging.LogMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Logging.LogMetadataparseFrom(byte[] data) static Logging.LogMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Logging.LogMetadataparseFrom(com.google.protobuf.ByteString data) static Logging.LogMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Logging.LogMetadataparseFrom(com.google.protobuf.CodedInputStream input) static Logging.LogMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Logging.LogMetadataparseFrom(InputStream input) static Logging.LogMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Logging.LogMetadataparseFrom(ByteBuffer data) static Logging.LogMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Logging.LogMetadata> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MODEL_SPEC_FIELD_NUMBER
public static final int MODEL_SPEC_FIELD_NUMBER- See Also:
-
SAMPLING_CONFIG_FIELD_NUMBER
public static final int SAMPLING_CONFIG_FIELD_NUMBER- See Also:
-
SAVED_MODEL_TAGS_FIELD_NUMBER
public static final int SAVED_MODEL_TAGS_FIELD_NUMBER- See Also:
-
TIMESTAMP_SECS_FIELD_NUMBER
public static final int TIMESTAMP_SECS_FIELD_NUMBER- See Also:
-
DC_FIELD_NUMBER
public static final int DC_FIELD_NUMBER- See Also:
-
REQUEST_ORIGIN_FIELD_NUMBER
public static final int REQUEST_ORIGIN_FIELD_NUMBER- See Also:
-
REQUEST_CRITICALITY_FIELD_NUMBER
public static final int REQUEST_CRITICALITY_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasModelSpec
public boolean hasModelSpec().tensorflow.serving.ModelSpec model_spec = 1;- Specified by:
hasModelSpecin interfaceLogging.LogMetadataOrBuilder- Returns:
- Whether the modelSpec field is set.
-
getModelSpec
.tensorflow.serving.ModelSpec model_spec = 1;- Specified by:
getModelSpecin interfaceLogging.LogMetadataOrBuilder- Returns:
- The modelSpec.
-
getModelSpecOrBuilder
.tensorflow.serving.ModelSpec model_spec = 1;- Specified by:
getModelSpecOrBuilderin interfaceLogging.LogMetadataOrBuilder
-
hasSamplingConfig
public boolean hasSamplingConfig().tensorflow.serving.SamplingConfig sampling_config = 2;- Specified by:
hasSamplingConfigin interfaceLogging.LogMetadataOrBuilder- Returns:
- Whether the samplingConfig field is set.
-
getSamplingConfig
.tensorflow.serving.SamplingConfig sampling_config = 2;- Specified by:
getSamplingConfigin interfaceLogging.LogMetadataOrBuilder- Returns:
- The samplingConfig.
-
getSamplingConfigOrBuilder
.tensorflow.serving.SamplingConfig sampling_config = 2;- Specified by:
getSamplingConfigOrBuilderin interfaceLogging.LogMetadataOrBuilder
-
getSavedModelTagsList
public com.google.protobuf.ProtocolStringList getSavedModelTagsList()List of tags used to load the relevant MetaGraphDef from SavedModel.
repeated string saved_model_tags = 3;- Specified by:
getSavedModelTagsListin interfaceLogging.LogMetadataOrBuilder- Returns:
- A list containing the savedModelTags.
-
getSavedModelTagsCount
public int getSavedModelTagsCount()List of tags used to load the relevant MetaGraphDef from SavedModel.
repeated string saved_model_tags = 3;- Specified by:
getSavedModelTagsCountin interfaceLogging.LogMetadataOrBuilder- Returns:
- The count of savedModelTags.
-
getSavedModelTags
List of tags used to load the relevant MetaGraphDef from SavedModel.
repeated string saved_model_tags = 3;- Specified by:
getSavedModelTagsin interfaceLogging.LogMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The savedModelTags at the given index.
-
getSavedModelTagsBytes
public com.google.protobuf.ByteString getSavedModelTagsBytes(int index) List of tags used to load the relevant MetaGraphDef from SavedModel.
repeated string saved_model_tags = 3;- Specified by:
getSavedModelTagsBytesin interfaceLogging.LogMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the savedModelTags at the given index.
-
getTimestampSecs
public long getTimestampSecs()Seconds since epoch.
int64 timestamp_secs = 4;- Specified by:
getTimestampSecsin interfaceLogging.LogMetadataOrBuilder- Returns:
- The timestampSecs.
-
getDc
Datacenter where the request was logged.
string dc = 5;- Specified by:
getDcin interfaceLogging.LogMetadataOrBuilder- Returns:
- The dc.
-
getDcBytes
public com.google.protobuf.ByteString getDcBytes()Datacenter where the request was logged.
string dc = 5;- Specified by:
getDcBytesin interfaceLogging.LogMetadataOrBuilder- Returns:
- The bytes for dc.
-
getRequestOrigin
Request origin identifier.
string request_origin = 6;- Specified by:
getRequestOriginin interfaceLogging.LogMetadataOrBuilder- Returns:
- The requestOrigin.
-
getRequestOriginBytes
public com.google.protobuf.ByteString getRequestOriginBytes()Request origin identifier.
string request_origin = 6;- Specified by:
getRequestOriginBytesin interfaceLogging.LogMetadataOrBuilder- Returns:
- The bytes for requestOrigin.
-
getRequestCriticality
Request QoS.
string request_criticality = 7;- Specified by:
getRequestCriticalityin interfaceLogging.LogMetadataOrBuilder- Returns:
- The requestCriticality.
-
getRequestCriticalityBytes
public com.google.protobuf.ByteString getRequestCriticalityBytes()Request QoS.
string request_criticality = 7;- Specified by:
getRequestCriticalityBytesin interfaceLogging.LogMetadataOrBuilder- Returns:
- The bytes for requestCriticality.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Logging.LogMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Logging.LogMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Logging.LogMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Logging.LogMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Logging.LogMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Logging.LogMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Logging.LogMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Logging.LogMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Logging.LogMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Logging.LogMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Logging.LogMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-