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.UnusedPrivateParameter
AbstractMessageLite.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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public int getContinuousAnalysisValue()
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;
getContinuousAnalysisValue
in interface DiscoveryOccurrenceOrBuilder
public DiscoveryOccurrence.ContinuousAnalysis getContinuousAnalysis()
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;
getContinuousAnalysis
in interface DiscoveryOccurrenceOrBuilder
public int getAnalysisStatusValue()
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;
getAnalysisStatusValue
in interface DiscoveryOccurrenceOrBuilder
public DiscoveryOccurrence.AnalysisStatus getAnalysisStatus()
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;
getAnalysisStatus
in interface DiscoveryOccurrenceOrBuilder
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 = 3;
hasAnalysisStatusError
in interface DiscoveryOccurrenceOrBuilder
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 = 3;
getAnalysisStatusError
in interface DiscoveryOccurrenceOrBuilder
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 = 3;
getAnalysisStatusErrorOrBuilder
in interface DiscoveryOccurrenceOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static DiscoveryOccurrence parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DiscoveryOccurrence parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DiscoveryOccurrence parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DiscoveryOccurrence parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DiscoveryOccurrence parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DiscoveryOccurrence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DiscoveryOccurrence parseFrom(InputStream input) throws IOException
IOException
public static DiscoveryOccurrence parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DiscoveryOccurrence parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DiscoveryOccurrence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DiscoveryOccurrence parseFrom(CodedInputStream input) throws IOException
IOException
public static DiscoveryOccurrence parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public DiscoveryOccurrence.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static DiscoveryOccurrence.Builder newBuilder()
public static DiscoveryOccurrence.Builder newBuilder(DiscoveryOccurrence prototype)
public DiscoveryOccurrence.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected DiscoveryOccurrence.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static DiscoveryOccurrence getDefaultInstance()
public static Parser<DiscoveryOccurrence> parser()
public Parser<DiscoveryOccurrence> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public DiscoveryOccurrence getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2019 Google LLC. All rights reserved.