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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>
public DiscoveryOccurrence.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>
public DiscoveryOccurrence getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public DiscoveryOccurrence build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public DiscoveryOccurrence buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public DiscoveryOccurrence.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>
public DiscoveryOccurrence.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>
public DiscoveryOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>
public DiscoveryOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>
public DiscoveryOccurrence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>
public DiscoveryOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>
public DiscoveryOccurrence.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<DiscoveryOccurrence.Builder>
public DiscoveryOccurrence.Builder mergeFrom(DiscoveryOccurrence other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>
public DiscoveryOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<DiscoveryOccurrence.Builder>
IOException
public int getContinuousAnalysisValue()
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;
getContinuousAnalysisValue
in interface DiscoveryOccurrenceOrBuilder
public 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 DiscoveryOccurrenceOrBuilder
public 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 DiscoveryOccurrenceOrBuilder
public 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 DiscoveryOccurrenceOrBuilder
public 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 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 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 DiscoveryOccurrenceOrBuilder
public final DiscoveryOccurrence.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>
public final DiscoveryOccurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder>
Copyright © 2019 Google LLC. All rights reserved.