Class Discovered

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.grafeas.v1beta1.discovery.Discovered
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DiscoveredOrBuilder, Serializable

@Generated public final class Discovered extends com.google.protobuf.GeneratedMessage implements DiscoveredOrBuilder
 Provides information about the analysis status of a discovered resource.
 
Protobuf type grafeas.v1beta1.discovery.Discovered
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Analysis status for a resource.
    static final class 
    Provides information about the analysis status of a discovered resource.
    static enum 
    Whether the resource is continuously analyzed.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The status of discovery for the resource.
    When an error is encountered this will contain a LocalizedMessage under details to show to the user.
    When an error is encountered this will contain a LocalizedMessage under details to show to the user.
    int
    The status of discovery for the resource.
    Whether the resource is continuously analyzed.
    int
    Whether the resource is continuously analyzed.
    static Discovered
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Timestamp
    The last time continuous analysis was done for this resource.
    com.google.protobuf.TimestampOrBuilder
    The last time continuous analysis was done for this resource.
    com.google.protobuf.Parser<Discovered>
     
    int
     
    boolean
    When an error is encountered this will contain a LocalizedMessage under details to show to the user.
    int
     
    boolean
    The last time continuous analysis was done for this resource.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Discovered
     
    static Discovered
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Discovered
    parseFrom(byte[] data)
     
    static Discovered
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Discovered
    parseFrom(com.google.protobuf.ByteString data)
     
    static Discovered
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Discovered
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Discovered
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Discovered
     
    static Discovered
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Discovered
     
    static Discovered
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Discovered>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • CONTINUOUS_ANALYSIS_FIELD_NUMBER

      public static final int CONTINUOUS_ANALYSIS_FIELD_NUMBER
      See Also:
    • LAST_ANALYSIS_TIME_FIELD_NUMBER

      public static final int LAST_ANALYSIS_TIME_FIELD_NUMBER
      See Also:
    • ANALYSIS_STATUS_FIELD_NUMBER

      public static final int ANALYSIS_STATUS_FIELD_NUMBER
      See Also:
    • ANALYSIS_STATUS_ERROR_FIELD_NUMBER

      public static final int ANALYSIS_STATUS_ERROR_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getContinuousAnalysisValue

      public int getContinuousAnalysisValue()
       Whether the resource is continuously analyzed.
       
      .grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;
      Specified by:
      getContinuousAnalysisValue in interface DiscoveredOrBuilder
      Returns:
      The enum numeric value on the wire for continuousAnalysis.
    • getContinuousAnalysis

      public Discovered.ContinuousAnalysis getContinuousAnalysis()
       Whether the resource is continuously analyzed.
       
      .grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;
      Specified by:
      getContinuousAnalysis in interface DiscoveredOrBuilder
      Returns:
      The continuousAnalysis.
    • hasLastAnalysisTime

      public boolean hasLastAnalysisTime()
       The last time continuous analysis was done for this resource.
       
      .google.protobuf.Timestamp last_analysis_time = 2;
      Specified by:
      hasLastAnalysisTime in interface DiscoveredOrBuilder
      Returns:
      Whether the lastAnalysisTime field is set.
    • getLastAnalysisTime

      public com.google.protobuf.Timestamp getLastAnalysisTime()
       The last time continuous analysis was done for this resource.
       
      .google.protobuf.Timestamp last_analysis_time = 2;
      Specified by:
      getLastAnalysisTime in interface DiscoveredOrBuilder
      Returns:
      The lastAnalysisTime.
    • getLastAnalysisTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastAnalysisTimeOrBuilder()
       The last time continuous analysis was done for this resource.
       
      .google.protobuf.Timestamp last_analysis_time = 2;
      Specified by:
      getLastAnalysisTimeOrBuilder in interface DiscoveredOrBuilder
    • getAnalysisStatusValue

      public int getAnalysisStatusValue()
       The status of discovery for the resource.
       
      .grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;
      Specified by:
      getAnalysisStatusValue in interface DiscoveredOrBuilder
      Returns:
      The enum numeric value on the wire for analysisStatus.
    • getAnalysisStatus

      public Discovered.AnalysisStatus getAnalysisStatus()
       The status of discovery for the resource.
       
      .grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;
      Specified by:
      getAnalysisStatus in interface DiscoveredOrBuilder
      Returns:
      The analysisStatus.
    • hasAnalysisStatusError

      public boolean hasAnalysisStatusError()
       When an error is encountered this will contain a LocalizedMessage under
       details to show to the user. The LocalizedMessage is output only and
       populated by the API.
       
      .google.rpc.Status analysis_status_error = 4;
      Specified by:
      hasAnalysisStatusError in interface DiscoveredOrBuilder
      Returns:
      Whether the analysisStatusError field is set.
    • getAnalysisStatusError

      public Status getAnalysisStatusError()
       When an error is encountered this will contain a LocalizedMessage under
       details to show to the user. The LocalizedMessage is output only and
       populated by the API.
       
      .google.rpc.Status analysis_status_error = 4;
      Specified by:
      getAnalysisStatusError in interface DiscoveredOrBuilder
      Returns:
      The analysisStatusError.
    • getAnalysisStatusErrorOrBuilder

      public StatusOrBuilder getAnalysisStatusErrorOrBuilder()
       When an error is encountered this will contain a LocalizedMessage under
       details to show to the user. The LocalizedMessage is output only and
       populated by the API.
       
      .google.rpc.Status analysis_status_error = 4;
      Specified by:
      getAnalysisStatusErrorOrBuilder in interface DiscoveredOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 Discovered parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Discovered parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Discovered parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Discovered parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Discovered parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Discovered parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Discovered parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Discovered parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static Discovered parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Discovered parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Discovered.Builder newBuilder()
    • newBuilder

      public static Discovered.Builder newBuilder(Discovered prototype)
    • toBuilder

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

      protected Discovered.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Discovered getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Discovered> 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.GeneratedMessage
    • getDefaultInstanceForType

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