public final class AssessmentFinding extends GeneratedMessage implements AssessmentFindingOrBuilder
Details of an Assessment Finding.
Protobuf type google.cloud.designcenter.v1.AssessmentFinding
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int ADC_METADATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ADDITIONAL_NOTES_FIELD_NUMBER
public static final int ADDITIONAL_NOTES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ASSESSED_ASSET_FIELD_NUMBER
public static final int ASSESSED_ASSET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ASSESSED_FRAMEWORK_FIELD_NUMBER
public static final int ASSESSED_FRAMEWORK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ASSESSED_FRAMEWORK_ID_FIELD_NUMBER
public static final int ASSESSED_FRAMEWORK_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FINDINGS_URI_FIELD_NUMBER
public static final int FINDINGS_URI_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FINDING_TYPE_FIELD_NUMBER
public static final int FINDING_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int REMEDIATION_STEP_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int SCC_METADATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AssessmentFinding getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AssessmentFinding.Builder newBuilder()
newBuilder(AssessmentFinding prototype)
public static AssessmentFinding.Builder newBuilder(AssessmentFinding prototype)
public static AssessmentFinding parseDelimitedFrom(InputStream input)
public static AssessmentFinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AssessmentFinding parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AssessmentFinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AssessmentFinding parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssessmentFinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssessmentFinding parseFrom(CodedInputStream input)
public static AssessmentFinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AssessmentFinding parseFrom(InputStream input)
public static AssessmentFinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AssessmentFinding parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AssessmentFinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AssessmentFinding> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public AssessmentFinding.FindingADCMetadata getAdcMetadata()
Output only. Metadata related to the Application Design Center with the
finding.
.google.cloud.designcenter.v1.AssessmentFinding.FindingADCMetadata adc_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AssessmentFinding.FindingADCMetadataOrBuilder getAdcMetadataOrBuilder()
Output only. Metadata related to the Application Design Center with the
finding.
.google.cloud.designcenter.v1.AssessmentFinding.FindingADCMetadata adc_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAdditionalDetailsCase()
public AssessmentFinding.AdditionalDetailsCase getAdditionalDetailsCase()
getAdditionalNotes()
public String getAdditionalNotes()
Optional. A description of the additional details about finding.
string additional_notes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The additionalNotes.
|
getAdditionalNotesBytes()
public ByteString getAdditionalNotesBytes()
Optional. A description of the additional details about finding.
string additional_notes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for additionalNotes.
|
getAssessedAsset()
public AssetDetails getAssessedAsset()
Required. Details of the Cloud Asset Inventory asset that was assessed.
.google.cloud.designcenter.v1.AssetDetails assessed_asset = 7 [(.google.api.field_behavior) = REQUIRED];
getAssessedAssetOrBuilder()
public AssetDetailsOrBuilder getAssessedAssetOrBuilder()
Required. Details of the Cloud Asset Inventory asset that was assessed.
.google.cloud.designcenter.v1.AssetDetails assessed_asset = 7 [(.google.api.field_behavior) = REQUIRED];
getAssessedFramework()
public Framework getAssessedFramework()
Optional. Details of the framework that was assessed.
.google.cloud.designcenter.v1.Framework assessed_framework = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Framework |
The assessedFramework.
|
getAssessedFrameworkId()
public String getAssessedFrameworkId()
Optional. The framework that was assessed.
string assessed_framework_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The assessedFrameworkId.
|
getAssessedFrameworkIdBytes()
public ByteString getAssessedFrameworkIdBytes()
Optional. The framework that was assessed.
string assessed_framework_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for assessedFrameworkId.
|
getAssessedFrameworkOrBuilder()
public FrameworkOrBuilder getAssessedFrameworkOrBuilder()
Optional. Details of the framework that was assessed.
.google.cloud.designcenter.v1.Framework assessed_framework = 8 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public AssessmentFinding getDefaultInstanceForType()
getDescription()
public String getDescription()
Optional. Description of the finding.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the finding.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
getFindingType()
public AssessmentFinding.Type getFindingType()
Required. The type of the finding. Findings can be informational,
warning, or error.
.google.cloud.designcenter.v1.AssessmentFinding.Type finding_type = 4 [(.google.api.field_behavior) = REQUIRED];
getFindingTypeValue()
public int getFindingTypeValue()
Required. The type of the finding. Findings can be informational,
warning, or error.
.google.cloud.designcenter.v1.AssessmentFinding.Type finding_type = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for findingType.
|
getFindingsUri()
public String getFindingsUri()
Optional. Link to the findings, if persisted by the domain.
string findings_uri = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The findingsUri.
|
getFindingsUriBytes()
public ByteString getFindingsUriBytes()
Optional. Link to the findings, if persisted by the domain.
string findings_uri = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for findingsUri.
|
getId()
Output only. The Finding ID.
string id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
Output only. The Finding ID.
string id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for id.
|
getNextStepCase()
public AssessmentFinding.NextStepCase getNextStepCase()
getParserForType()
public Parser<AssessmentFinding> getParserForType()
Overrides
public RemediationStep getRemediationStep()
Optional. A description of the steps that users can take to fix the
finding.
.google.cloud.designcenter.v1.RemediationStep remediation_step = 6 [(.google.api.field_behavior) = OPTIONAL];
public RemediationStepOrBuilder getRemediationStepOrBuilder()
Optional. A description of the steps that users can take to fix the
finding.
.google.cloud.designcenter.v1.RemediationStep remediation_step = 6 [(.google.api.field_behavior) = OPTIONAL];
public SCCMetadata getSccMetadata()
Output only. SCC related metadata for the finding.
.google.cloud.designcenter.v1.SCCMetadata scc_metadata = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public SCCMetadataOrBuilder getSccMetadataOrBuilder()
Output only. SCC related metadata for the finding.
.google.cloud.designcenter.v1.SCCMetadata scc_metadata = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSeverity()
public AssessmentFinding.Severity getSeverity()
Optional. The severity of the finding.
.google.cloud.designcenter.v1.AssessmentFinding.Severity severity = 5 [(.google.api.field_behavior) = OPTIONAL];
getSeverityValue()
public int getSeverityValue()
Optional. The severity of the finding.
.google.cloud.designcenter.v1.AssessmentFinding.Severity severity = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for severity.
|
public boolean hasAdcMetadata()
Output only. Metadata related to the Application Design Center with the
finding.
.google.cloud.designcenter.v1.AssessmentFinding.FindingADCMetadata adc_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the adcMetadata field is set.
|
hasAdditionalNotes()
public boolean hasAdditionalNotes()
Optional. A description of the additional details about finding.
string additional_notes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the additionalNotes field is set.
|
hasAssessedAsset()
public boolean hasAssessedAsset()
Required. Details of the Cloud Asset Inventory asset that was assessed.
.google.cloud.designcenter.v1.AssetDetails assessed_asset = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the assessedAsset field is set.
|
hasAssessedFramework()
public boolean hasAssessedFramework()
Optional. Details of the framework that was assessed.
.google.cloud.designcenter.v1.Framework assessed_framework = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the assessedFramework field is set.
|
public boolean hasRemediationStep()
Optional. A description of the steps that users can take to fix the
finding.
.google.cloud.designcenter.v1.RemediationStep remediation_step = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the remediationStep field is set.
|
public boolean hasSccMetadata()
Output only. SCC related metadata for the finding.
.google.cloud.designcenter.v1.SCCMetadata scc_metadata = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the sccMetadata field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AssessmentFinding.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AssessmentFinding.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public AssessmentFinding.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides