Package io.grafeas.v1beta1.discovery
Class Discovered.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Discovered.Builder>
io.grafeas.v1beta1.discovery.Discovered.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DiscoveredOrBuilder,Cloneable
- Enclosing class:
- Discovered
public static final class Discovered.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Discovered.Builder>
implements DiscoveredOrBuilder
Provides information about the analysis status of a discovered resource.Protobuf type
grafeas.v1beta1.discovery.Discovered-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The status of discovery for the resource.When an error is encountered this will contain a LocalizedMessage under details to show to the user.Whether the resource is continuously analyzed.The last time continuous analysis was done for this resource.The 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.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 final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe last time continuous analysis was done for this resource.com.google.protobuf.Timestamp.BuilderThe last time continuous analysis was done for this resource.com.google.protobuf.TimestampOrBuilderThe last time continuous analysis was done for this resource.booleanWhen an error is encountered this will contain a LocalizedMessage under details to show to the user.booleanThe last time continuous analysis was done for this resource.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAnalysisStatusError(Status value) When an error is encountered this will contain a LocalizedMessage under details to show to the user.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Discovered other) mergeLastAnalysisTime(com.google.protobuf.Timestamp value) The last time continuous analysis was done for this resource.The status of discovery for the resource.setAnalysisStatusError(Status value) When an error is encountered this will contain a LocalizedMessage under details to show to the user.setAnalysisStatusError(Status.Builder builderForValue) When an error is encountered this will contain a LocalizedMessage under details to show to the user.setAnalysisStatusValue(int value) The status of discovery for the resource.Whether the resource is continuously analyzed.setContinuousAnalysisValue(int value) Whether the resource is continuously analyzed.setLastAnalysisTime(com.google.protobuf.Timestamp value) The last time continuous analysis was done for this resource.setLastAnalysisTime(com.google.protobuf.Timestamp.Builder builderForValue) The last time continuous analysis was done for this resource.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<Discovered.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Discovered.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Discovered.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Discovered.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Discovered.Builder>
-
mergeFrom
public Discovered.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Discovered.Builder>- Throws:
IOException
-
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.
-
setContinuousAnalysisValue
Whether the resource is continuously analyzed.
.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;- Parameters:
value- The enum numeric value on the wire for continuousAnalysis to set.- Returns:
- This builder for chaining.
-
getContinuousAnalysis
Whether the resource is continuously analyzed.
.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;- Specified by:
getContinuousAnalysisin interfaceDiscoveredOrBuilder- Returns:
- The continuousAnalysis.
-
setContinuousAnalysis
Whether the resource is continuously analyzed.
.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;- Parameters:
value- The continuousAnalysis to set.- Returns:
- This builder for chaining.
-
clearContinuousAnalysis
Whether the resource is continuously analyzed.
.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;- Returns:
- This builder for chaining.
-
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.
-
setLastAnalysisTime
The last time continuous analysis was done for this resource.
.google.protobuf.Timestamp last_analysis_time = 2; -
setLastAnalysisTime
public Discovered.Builder setLastAnalysisTime(com.google.protobuf.Timestamp.Builder builderForValue) The last time continuous analysis was done for this resource.
.google.protobuf.Timestamp last_analysis_time = 2; -
mergeLastAnalysisTime
The last time continuous analysis was done for this resource.
.google.protobuf.Timestamp last_analysis_time = 2; -
clearLastAnalysisTime
The last time continuous analysis was done for this resource.
.google.protobuf.Timestamp last_analysis_time = 2; -
getLastAnalysisTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastAnalysisTimeBuilder()The last time continuous analysis was done for this resource.
.google.protobuf.Timestamp last_analysis_time = 2; -
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.
-
setAnalysisStatusValue
The status of discovery for the resource.
.grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;- Parameters:
value- The enum numeric value on the wire for analysisStatus to set.- Returns:
- This builder for chaining.
-
getAnalysisStatus
The status of discovery for the resource.
.grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;- Specified by:
getAnalysisStatusin interfaceDiscoveredOrBuilder- Returns:
- The analysisStatus.
-
setAnalysisStatus
The status of discovery for the resource.
.grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;- Parameters:
value- The analysisStatus to set.- Returns:
- This builder for chaining.
-
clearAnalysisStatus
The status of discovery for the resource.
.grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;- Returns:
- This builder for chaining.
-
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.
-
setAnalysisStatusError
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; -
setAnalysisStatusError
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; -
mergeAnalysisStatusError
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; -
clearAnalysisStatusError
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; -
getAnalysisStatusErrorBuilder
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; -
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
-