public final class DiscoveryOccurrence extends GeneratedMessageV3 implements DiscoveryOccurrenceOrBuilder
Provides information about the analysis status of a discovered resource.Protobuf type
grafeas.v1.DiscoveryOccurrence| Modifier and Type | Class and Description |
|---|---|
static class |
DiscoveryOccurrence.AnalysisStatus
Analysis status for a resource.
|
static class |
DiscoveryOccurrence.Builder
Provides information about the analysis status of a discovered resource.
|
static class |
DiscoveryOccurrence.ContinuousAnalysis
Whether the resource is continuously analyzed.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
ANALYSIS_STATUS_ERROR_FIELD_NUMBER |
static int |
ANALYSIS_STATUS_FIELD_NUMBER |
static int |
CONTINUOUS_ANALYSIS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CONTINUOUS_ANALYSIS_FIELD_NUMBER
public static final int ANALYSIS_STATUS_FIELD_NUMBER
public static final int ANALYSIS_STATUS_ERROR_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public int getContinuousAnalysisValue()
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;getContinuousAnalysisValue in interface DiscoveryOccurrenceOrBuilderpublic DiscoveryOccurrence.ContinuousAnalysis getContinuousAnalysis()
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;getContinuousAnalysis in interface DiscoveryOccurrenceOrBuilderpublic int getAnalysisStatusValue()
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;getAnalysisStatusValue in interface DiscoveryOccurrenceOrBuilderpublic DiscoveryOccurrence.AnalysisStatus getAnalysisStatus()
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;getAnalysisStatus in interface DiscoveryOccurrenceOrBuilderpublic 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 = 3;hasAnalysisStatusError in interface DiscoveryOccurrenceOrBuilderpublic 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 = 3;getAnalysisStatusError in interface DiscoveryOccurrenceOrBuilderpublic 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 = 3;getAnalysisStatusErrorOrBuilder in interface DiscoveryOccurrenceOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static DiscoveryOccurrence parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DiscoveryOccurrence parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DiscoveryOccurrence parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DiscoveryOccurrence parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DiscoveryOccurrence parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DiscoveryOccurrence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DiscoveryOccurrence parseFrom(InputStream input) throws IOException
IOExceptionpublic static DiscoveryOccurrence parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DiscoveryOccurrence parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DiscoveryOccurrence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DiscoveryOccurrence parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static DiscoveryOccurrence parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DiscoveryOccurrence.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static DiscoveryOccurrence.Builder newBuilder()
public static DiscoveryOccurrence.Builder newBuilder(DiscoveryOccurrence prototype)
public DiscoveryOccurrence.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected DiscoveryOccurrence.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static DiscoveryOccurrence getDefaultInstance()
public static Parser<DiscoveryOccurrence> parser()
public Parser<DiscoveryOccurrence> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public DiscoveryOccurrence getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.