public static final class DiscoveryOccurrence.Builder extends GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder> implements DiscoveryOccurrenceOrBuilder
Provides information about the analysis status of a discovered resource.Protobuf type
grafeas.v1.DiscoveryOccurrence| Modifier and Type | Method and Description |
|---|---|
DiscoveryOccurrence.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
DiscoveryOccurrence |
build() |
DiscoveryOccurrence |
buildPartial() |
DiscoveryOccurrence.Builder |
clear() |
DiscoveryOccurrence.Builder |
clearAnalysisStatus()
The status of discovery for the resource.
|
DiscoveryOccurrence.Builder |
clearAnalysisStatusError()
When an error is encountered this will contain a LocalizedMessage under
details to show to the user.
|
DiscoveryOccurrence.Builder |
clearContinuousAnalysis()
Whether the resource is continuously analyzed.
|
DiscoveryOccurrence.Builder |
clearField(Descriptors.FieldDescriptor field) |
DiscoveryOccurrence.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
DiscoveryOccurrence.Builder |
clone() |
DiscoveryOccurrence.AnalysisStatus |
getAnalysisStatus()
The status of discovery for the resource.
|
com.google.rpc.Status |
getAnalysisStatusError()
When an error is encountered this will contain a LocalizedMessage under
details to show to the user.
|
com.google.rpc.Status.Builder |
getAnalysisStatusErrorBuilder()
When an error is encountered this will contain a LocalizedMessage under
details to show to the user.
|
com.google.rpc.StatusOrBuilder |
getAnalysisStatusErrorOrBuilder()
When an error is encountered this will contain a LocalizedMessage under
details to show to the user.
|
int |
getAnalysisStatusValue()
The status of discovery for the resource.
|
DiscoveryOccurrence.ContinuousAnalysis |
getContinuousAnalysis()
Whether the resource is continuously analyzed.
|
int |
getContinuousAnalysisValue()
Whether the resource is continuously analyzed.
|
DiscoveryOccurrence |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasAnalysisStatusError()
When an error is encountered this will contain a LocalizedMessage under
details to show to the user.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DiscoveryOccurrence.Builder |
mergeAnalysisStatusError(com.google.rpc.Status value)
When an error is encountered this will contain a LocalizedMessage under
details to show to the user.
|
DiscoveryOccurrence.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
DiscoveryOccurrence.Builder |
mergeFrom(DiscoveryOccurrence other) |
DiscoveryOccurrence.Builder |
mergeFrom(Message other) |
DiscoveryOccurrence.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
DiscoveryOccurrence.Builder |
setAnalysisStatus(DiscoveryOccurrence.AnalysisStatus value)
The status of discovery for the resource.
|
DiscoveryOccurrence.Builder |
setAnalysisStatusError(com.google.rpc.Status.Builder builderForValue)
When an error is encountered this will contain a LocalizedMessage under
details to show to the user.
|
DiscoveryOccurrence.Builder |
setAnalysisStatusError(com.google.rpc.Status value)
When an error is encountered this will contain a LocalizedMessage under
details to show to the user.
|
DiscoveryOccurrence.Builder |
setAnalysisStatusValue(int value)
The status of discovery for the resource.
|
DiscoveryOccurrence.Builder |
setContinuousAnalysis(DiscoveryOccurrence.ContinuousAnalysis value)
Whether the resource is continuously analyzed.
|
DiscoveryOccurrence.Builder |
setContinuousAnalysisValue(int value)
Whether the resource is continuously analyzed.
|
DiscoveryOccurrence.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
DiscoveryOccurrence.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
DiscoveryOccurrence.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>public DiscoveryOccurrence.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>public DiscoveryOccurrence getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic DiscoveryOccurrence build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic DiscoveryOccurrence buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic DiscoveryOccurrence.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>public DiscoveryOccurrence.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>public DiscoveryOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>public DiscoveryOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>public DiscoveryOccurrence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>public DiscoveryOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>public DiscoveryOccurrence.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<DiscoveryOccurrence.Builder>public DiscoveryOccurrence.Builder mergeFrom(DiscoveryOccurrence other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>public DiscoveryOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<DiscoveryOccurrence.Builder>IOExceptionpublic int getContinuousAnalysisValue()
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;getContinuousAnalysisValue in interface DiscoveryOccurrenceOrBuilderpublic DiscoveryOccurrence.Builder setContinuousAnalysisValue(int value)
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;public DiscoveryOccurrence.ContinuousAnalysis getContinuousAnalysis()
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;getContinuousAnalysis in interface DiscoveryOccurrenceOrBuilderpublic DiscoveryOccurrence.Builder setContinuousAnalysis(DiscoveryOccurrence.ContinuousAnalysis value)
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;public DiscoveryOccurrence.Builder clearContinuousAnalysis()
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;public int getAnalysisStatusValue()
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;getAnalysisStatusValue in interface DiscoveryOccurrenceOrBuilderpublic DiscoveryOccurrence.Builder setAnalysisStatusValue(int value)
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;public DiscoveryOccurrence.AnalysisStatus getAnalysisStatus()
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;getAnalysisStatus in interface DiscoveryOccurrenceOrBuilderpublic DiscoveryOccurrence.Builder setAnalysisStatus(DiscoveryOccurrence.AnalysisStatus value)
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;public DiscoveryOccurrence.Builder clearAnalysisStatus()
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;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 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 DiscoveryOccurrence.Builder setAnalysisStatusError(com.google.rpc.Status value)
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;public DiscoveryOccurrence.Builder setAnalysisStatusError(com.google.rpc.Status.Builder builderForValue)
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;public DiscoveryOccurrence.Builder mergeAnalysisStatusError(com.google.rpc.Status value)
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;public DiscoveryOccurrence.Builder 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 = 3;public com.google.rpc.Status.Builder 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 = 3;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 DiscoveryOccurrenceOrBuilderpublic final DiscoveryOccurrence.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>public final DiscoveryOccurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>Copyright © 2019 Google LLC. All rights reserved.