Class AssessmentFinding (0.3.0)

public final class AssessmentFinding extends GeneratedMessage implements AssessmentFindingOrBuilder

Details of an Assessment Finding.

Protobuf type google.cloud.designcenter.v1.AssessmentFinding

Static Fields

ADC_METADATA_FIELD_NUMBER

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

REMEDIATION_STEP_FIELD_NUMBER

public static final int REMEDIATION_STEP_FIELD_NUMBER
Field Value
Type Description
int

SCC_METADATA_FIELD_NUMBER

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()
Returns
Type Description
AssessmentFinding

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AssessmentFinding.Builder newBuilder()
Returns
Type Description
AssessmentFinding.Builder

newBuilder(AssessmentFinding prototype)

public static AssessmentFinding.Builder newBuilder(AssessmentFinding prototype)
Parameter
Name Description
prototype AssessmentFinding
Returns
Type Description
AssessmentFinding.Builder

parseDelimitedFrom(InputStream input)

public static AssessmentFinding parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AssessmentFinding
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AssessmentFinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssessmentFinding
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AssessmentFinding parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AssessmentFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AssessmentFinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssessmentFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AssessmentFinding parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AssessmentFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AssessmentFinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssessmentFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AssessmentFinding parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AssessmentFinding
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AssessmentFinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssessmentFinding
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AssessmentFinding parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AssessmentFinding
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AssessmentFinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssessmentFinding
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AssessmentFinding parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AssessmentFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AssessmentFinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssessmentFinding
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AssessmentFinding> parser()
Returns
Type Description
Parser<AssessmentFinding>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdcMetadata()

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];

Returns
Type Description
AssessmentFinding.FindingADCMetadata

The adcMetadata.

getAdcMetadataOrBuilder()

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];

Returns
Type Description
AssessmentFinding.FindingADCMetadataOrBuilder

getAdditionalDetailsCase()

public AssessmentFinding.AdditionalDetailsCase getAdditionalDetailsCase()
Returns
Type Description
AssessmentFinding.AdditionalDetailsCase

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];

Returns
Type Description
AssetDetails

The assessedAsset.

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];

Returns
Type Description
AssetDetailsOrBuilder

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];

Returns
Type Description
FrameworkOrBuilder

getDefaultInstanceForType()

public AssessmentFinding getDefaultInstanceForType()
Returns
Type Description
AssessmentFinding

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];

Returns
Type Description
AssessmentFinding.Type

The findingType.

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()

public String 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()
Returns
Type Description
AssessmentFinding.NextStepCase

getParserForType()

public Parser<AssessmentFinding> getParserForType()
Returns
Type Description
Parser<AssessmentFinding>
Overrides

getRemediationStep()

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];

Returns
Type Description
RemediationStep

The remediationStep.

getRemediationStepOrBuilder()

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];

Returns
Type Description
RemediationStepOrBuilder

getSccMetadata()

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];

Returns
Type Description
SCCMetadata

The sccMetadata.

getSccMetadataOrBuilder()

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];

Returns
Type Description
SCCMetadataOrBuilder

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];

Returns
Type Description
AssessmentFinding.Severity

The severity.

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.

hasAdcMetadata()

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.

hasRemediationStep()

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.

hasSccMetadata()

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AssessmentFinding.Builder newBuilderForType()
Returns
Type Description
AssessmentFinding.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AssessmentFinding.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AssessmentFinding.Builder
Overrides

toBuilder()

public AssessmentFinding.Builder toBuilder()
Returns
Type Description
AssessmentFinding.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException