public final class Discovered extends GeneratedMessageV3 implements DiscoveredOrBuilder
Provides information about the analysis status of a discovered resource.
Protobuf type grafeas.v1beta1.discovery.Discovered
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Discovered.Builder newBuilder()
newBuilder(Discovered prototype)
public static Discovered.Builder newBuilder(Discovered prototype)
public static Discovered parseDelimitedFrom(InputStream input)
public static Discovered parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Discovered parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Discovered parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Discovered parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Discovered parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Discovered parseFrom(CodedInputStream input)
public static Discovered parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Discovered parseFrom(InputStream input)
public static Discovered parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Discovered parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Discovered parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Discovered> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAnalysisStatus()
public Discovered.AnalysisStatus getAnalysisStatus()
The status of discovery for the resource.
.grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;
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;
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()
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;
getParserForType()
public Parser<Discovered> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Discovered.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Discovered.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Discovered.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides