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:
  • 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasModelSpec

      public boolean hasModelSpec()
      .tensorflow.serving.ModelSpec model_spec = 1;
      Specified by:
      hasModelSpec in interface Logging.LogMetadataOrBuilder
      Returns:
      Whether the modelSpec field is set.
    • getModelSpec

      public Model.ModelSpec getModelSpec()
      .tensorflow.serving.ModelSpec model_spec = 1;
      Specified by:
      getModelSpec in interface Logging.LogMetadataOrBuilder
      Returns:
      The modelSpec.
    • getModelSpecOrBuilder

      public Model.ModelSpecOrBuilder getModelSpecOrBuilder()
      .tensorflow.serving.ModelSpec model_spec = 1;
      Specified by:
      getModelSpecOrBuilder in interface Logging.LogMetadataOrBuilder
    • hasSamplingConfig

      public boolean hasSamplingConfig()
      .tensorflow.serving.SamplingConfig sampling_config = 2;
      Specified by:
      hasSamplingConfig in interface Logging.LogMetadataOrBuilder
      Returns:
      Whether the samplingConfig field is set.
    • getSamplingConfig

      public LoggingConfigOuterClass.SamplingConfig getSamplingConfig()
      .tensorflow.serving.SamplingConfig sampling_config = 2;
      Specified by:
      getSamplingConfig in interface Logging.LogMetadataOrBuilder
      Returns:
      The samplingConfig.
    • getSamplingConfigOrBuilder

      public LoggingConfigOuterClass.SamplingConfigOrBuilder getSamplingConfigOrBuilder()
      .tensorflow.serving.SamplingConfig sampling_config = 2;
      Specified by:
      getSamplingConfigOrBuilder in interface Logging.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:
      getSavedModelTagsList in interface Logging.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:
      getSavedModelTagsCount in interface Logging.LogMetadataOrBuilder
      Returns:
      The count of savedModelTags.
    • getSavedModelTags

      public String getSavedModelTags(int index)
       List of tags used to load the relevant MetaGraphDef from SavedModel.
       
      repeated string saved_model_tags = 3;
      Specified by:
      getSavedModelTags in interface Logging.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:
      getSavedModelTagsBytes in interface Logging.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:
      getTimestampSecs in interface Logging.LogMetadataOrBuilder
      Returns:
      The timestampSecs.
    • getDc

      public String getDc()
       Datacenter where the request was logged.
       
      string dc = 5;
      Specified by:
      getDc in interface Logging.LogMetadataOrBuilder
      Returns:
      The dc.
    • getDcBytes

      public com.google.protobuf.ByteString getDcBytes()
       Datacenter where the request was logged.
       
      string dc = 5;
      Specified by:
      getDcBytes in interface Logging.LogMetadataOrBuilder
      Returns:
      The bytes for dc.
    • getRequestOrigin

      public String getRequestOrigin()
       Request origin identifier.
       
      string request_origin = 6;
      Specified by:
      getRequestOrigin in interface Logging.LogMetadataOrBuilder
      Returns:
      The requestOrigin.
    • getRequestOriginBytes

      public com.google.protobuf.ByteString getRequestOriginBytes()
       Request origin identifier.
       
      string request_origin = 6;
      Specified by:
      getRequestOriginBytes in interface Logging.LogMetadataOrBuilder
      Returns:
      The bytes for requestOrigin.
    • getRequestCriticality

      public String getRequestCriticality()
       Request QoS.
       
      string request_criticality = 7;
      Specified by:
      getRequestCriticality in interface Logging.LogMetadataOrBuilder
      Returns:
      The requestCriticality.
    • getRequestCriticalityBytes

      public com.google.protobuf.ByteString getRequestCriticalityBytes()
       Request QoS.
       
      string request_criticality = 7;
      Specified by:
      getRequestCriticalityBytes in interface Logging.LogMetadataOrBuilder
      Returns:
      The bytes for requestCriticality.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Logging.LogMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Logging.LogMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Logging.LogMetadata parseDelimitedFrom(InputStream input) throws IOException
      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

      public Logging.LogMetadata.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Logging.LogMetadata.Builder newBuilder()
    • newBuilder

      public static Logging.LogMetadata.Builder newBuilder(Logging.LogMetadata prototype)
    • toBuilder

      public Logging.LogMetadata.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Logging.LogMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Logging.LogMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Logging.LogMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<Logging.LogMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Logging.LogMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder