Package io.grafeas.v1beta1.discovery
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 ClassesModifier and TypeClassDescriptionstatic enumAnalysis status for a resource.static final classProvides information about the analysis status of a discovered resource.static enumWhether 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.BuilderParentNested 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 intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe 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.intThe status of discovery for the resource.Whether the resource is continuously analyzed.intWhether the resource is continuously analyzed.static Discoveredstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe last time continuous analysis was done for this resource.com.google.protobuf.TimestampOrBuilderThe last time continuous analysis was done for this resource.com.google.protobuf.Parser<Discovered>intbooleanWhen an error is encountered this will contain a LocalizedMessage under details to show to the user.inthashCode()booleanThe last time continuous analysis was done for this resource.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Discovered.Builderstatic Discovered.BuildernewBuilder(Discovered prototype) protected Discovered.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DiscoveredparseDelimitedFrom(InputStream input) static DiscoveredparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveredparseFrom(byte[] data) static DiscoveredparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveredparseFrom(com.google.protobuf.ByteString data) static DiscoveredparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveredparseFrom(com.google.protobuf.CodedInputStream input) static DiscoveredparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveredparseFrom(InputStream input) static DiscoveredparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveredparseFrom(ByteBuffer data) static DiscoveredparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Discovered>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
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
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getContinuousAnalysisValue
public int getContinuousAnalysisValue()Whether the resource is continuously analyzed.
.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;- Specified by:
getContinuousAnalysisValuein interfaceDiscoveredOrBuilder- Returns:
- The enum numeric value on the wire for continuousAnalysis.
-
getContinuousAnalysis
Whether the resource is continuously analyzed.
.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;- Specified by:
getContinuousAnalysisin interfaceDiscoveredOrBuilder- 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:
hasLastAnalysisTimein interfaceDiscoveredOrBuilder- 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:
getLastAnalysisTimein interfaceDiscoveredOrBuilder- 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:
getLastAnalysisTimeOrBuilderin interfaceDiscoveredOrBuilder
-
getAnalysisStatusValue
public int getAnalysisStatusValue()The status of discovery for the resource.
.grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;- Specified by:
getAnalysisStatusValuein interfaceDiscoveredOrBuilder- Returns:
- The enum numeric value on the wire for analysisStatus.
-
getAnalysisStatus
The status of discovery for the resource.
.grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;- Specified by:
getAnalysisStatusin interfaceDiscoveredOrBuilder- 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:
hasAnalysisStatusErrorin interfaceDiscoveredOrBuilder- Returns:
- Whether the analysisStatusError field is set.
-
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:
getAnalysisStatusErrorin interfaceDiscoveredOrBuilder- Returns:
- The analysisStatusError.
-
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:
getAnalysisStatusErrorOrBuilderin interfaceDiscoveredOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
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 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
- Throws:
IOException
-
parseFrom
public static Discovered parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Discovered parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Discovered 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 Discovered.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-