Class Discovered

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DiscoveredOrBuilder, Serializable

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

      Nested Classes 
      Modifier and Type Class Description
      static class  Discovered.AnalysisStatus
      Analysis status for a resource.
      static class  Discovered.Builder
      Provides information about the analysis status of a discovered resource.
      static class  Discovered.ContinuousAnalysis
      Whether the resource is continuously analyzed.
      • 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 Detail

      • CONTINUOUS_ANALYSIS_FIELD_NUMBER

        public static final int CONTINUOUS_ANALYSIS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAST_ANALYSIS_TIME_FIELD_NUMBER

        public static final int LAST_ANALYSIS_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANALYSIS_STATUS_FIELD_NUMBER

        public static final int ANALYSIS_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANALYSIS_STATUS_ERROR_FIELD_NUMBER

        public static final int ANALYSIS_STATUS_ERROR_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

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

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields 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
      • 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.
      • 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.
      • 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 com.google.rpc.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 com.google.rpc.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.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 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​(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
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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