Class Discovered (2.55.0)

public final class Discovered extends GeneratedMessageV3 implements DiscoveredOrBuilder

Provides information about the analysis status of a discovered resource.

Protobuf type grafeas.v1beta1.discovery.Discovered

Implements

DiscoveredOrBuilder

Static Fields

ANALYSIS_STATUS_ERROR_FIELD_NUMBER

public static final int ANALYSIS_STATUS_ERROR_FIELD_NUMBER
Field Value
Type Description
int

ANALYSIS_STATUS_FIELD_NUMBER

public static final int ANALYSIS_STATUS_FIELD_NUMBER
Field Value
Type Description
int

CONTINUOUS_ANALYSIS_FIELD_NUMBER

public static final int CONTINUOUS_ANALYSIS_FIELD_NUMBER
Field Value
Type Description
int

LAST_ANALYSIS_TIME_FIELD_NUMBER

public static final int LAST_ANALYSIS_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Discovered getDefaultInstance()
Returns
Type Description
Discovered

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Discovered.Builder newBuilder()
Returns
Type Description
Discovered.Builder

newBuilder(Discovered prototype)

public static Discovered.Builder newBuilder(Discovered prototype)
Parameter
Name Description
prototype Discovered
Returns
Type Description
Discovered.Builder

parseDelimitedFrom(InputStream input)

public static Discovered parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Discovered
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Discovered parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Discovered
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Discovered parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Discovered
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Discovered parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Discovered
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Discovered parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Discovered
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Discovered parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Discovered
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Discovered parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Discovered
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Discovered parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Discovered
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Discovered parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Discovered
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Discovered parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Discovered
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Discovered parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Discovered
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Discovered parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Discovered
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Discovered> parser()
Returns
Type Description
Parser<Discovered>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnalysisStatus()

public Discovered.AnalysisStatus getAnalysisStatus()

The status of discovery for the resource.

.grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;

Returns
Type Description
Discovered.AnalysisStatus

The analysisStatus.

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;

Returns
Type Description
com.google.rpc.Status

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;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getAnalysisStatusValue()

public int getAnalysisStatusValue()

The status of discovery for the resource.

.grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;

Returns
Type Description
int

The enum numeric value on the wire for analysisStatus.

getContinuousAnalysis()

public Discovered.ContinuousAnalysis getContinuousAnalysis()

Whether the resource is continuously analyzed.

.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;

Returns
Type Description
Discovered.ContinuousAnalysis

The continuousAnalysis.

getContinuousAnalysisValue()

public int getContinuousAnalysisValue()

Whether the resource is continuously analyzed.

.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;

Returns
Type Description
int

The enum numeric value on the wire for continuousAnalysis.

getDefaultInstanceForType()

public Discovered getDefaultInstanceForType()
Returns
Type Description
Discovered

getLastAnalysisTime()

public Timestamp getLastAnalysisTime()

The last time continuous analysis was done for this resource.

.google.protobuf.Timestamp last_analysis_time = 2;

Returns
Type Description
Timestamp

The lastAnalysisTime.

getLastAnalysisTimeOrBuilder()

public TimestampOrBuilder getLastAnalysisTimeOrBuilder()

The last time continuous analysis was done for this resource.

.google.protobuf.Timestamp last_analysis_time = 2;

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<Discovered> getParserForType()
Returns
Type Description
Parser<Discovered>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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;

Returns
Type Description
boolean

Whether the analysisStatusError field is set.

hasLastAnalysisTime()

public boolean hasLastAnalysisTime()

The last time continuous analysis was done for this resource.

.google.protobuf.Timestamp last_analysis_time = 2;

Returns
Type Description
boolean

Whether the lastAnalysisTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Discovered.Builder newBuilderForType()
Returns
Type Description
Discovered.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Discovered.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Discovered.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Discovered.Builder toBuilder()
Returns
Type Description
Discovered.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException