public static final class AssessmentFinding.Builder extends GeneratedMessage.Builder<AssessmentFinding.Builder> implements AssessmentFindingOrBuilderDetails of an Assessment Finding.
Protobuf type google.cloud.designcenter.v1.AssessmentFinding
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AssessmentFinding.BuilderImplements
AssessmentFindingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AssessmentFinding build()| Returns | |
|---|---|
| Type | Description |
AssessmentFinding |
|
buildPartial()
public AssessmentFinding buildPartial()| Returns | |
|---|---|
| Type | Description |
AssessmentFinding |
|
clear()
public AssessmentFinding.Builder clear()| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
clearAdcMetadata()
public AssessmentFinding.Builder clearAdcMetadata()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.Builder |
|
clearAdditionalDetails()
public AssessmentFinding.Builder clearAdditionalDetails()| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
clearAdditionalNotes()
public AssessmentFinding.Builder clearAdditionalNotes()Optional. A description of the additional details about finding.
string additional_notes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
clearAssessedAsset()
public AssessmentFinding.Builder clearAssessedAsset()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 |
AssessmentFinding.Builder |
|
clearAssessedFramework()
public AssessmentFinding.Builder clearAssessedFramework()Optional. Details of the framework that was assessed.
.google.cloud.designcenter.v1.Framework assessed_framework = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
clearAssessedFrameworkId()
public AssessmentFinding.Builder clearAssessedFrameworkId()Optional. The framework that was assessed.
string assessed_framework_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
clearDescription()
public AssessmentFinding.Builder clearDescription()Optional. Description of the finding.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
clearFindingType()
public AssessmentFinding.Builder clearFindingType()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.Builder |
This builder for chaining. |
clearFindingsUri()
public AssessmentFinding.Builder clearFindingsUri()Optional. Link to the findings, if persisted by the domain.
string findings_uri = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
clearId()
public AssessmentFinding.Builder clearId()Output only. The Finding ID.
string id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
clearNextStep()
public AssessmentFinding.Builder clearNextStep()| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
clearRemediationStep()
public AssessmentFinding.Builder clearRemediationStep()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 |
AssessmentFinding.Builder |
|
clearSccMetadata()
public AssessmentFinding.Builder clearSccMetadata()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 |
AssessmentFinding.Builder |
|
clearSeverity()
public AssessmentFinding.Builder clearSeverity()Optional. The severity of the finding.
.google.cloud.designcenter.v1.AssessmentFinding.Severity severity = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
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. |
getAdcMetadataBuilder()
public AssessmentFinding.FindingADCMetadata.Builder getAdcMetadataBuilder()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.Builder |
|
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. |
getAssessedAssetBuilder()
public AssetDetails.Builder getAssessedAssetBuilder()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.Builder |
|
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. |
getAssessedFrameworkBuilder()
public Framework.Builder getAssessedFrameworkBuilder()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.Builder |
|
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
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. |
getRemediationStepBuilder()
public RemediationStep.Builder getRemediationStepBuilder()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.Builder |
|
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. |
getSccMetadataBuilder()
public SCCMetadata.Builder getSccMetadataBuilder()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.Builder |
|
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 |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAdcMetadata(AssessmentFinding.FindingADCMetadata value)
public AssessmentFinding.Builder mergeAdcMetadata(AssessmentFinding.FindingADCMetadata value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
AssessmentFinding.FindingADCMetadata |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
mergeAssessedAsset(AssetDetails value)
public AssessmentFinding.Builder mergeAssessedAsset(AssetDetails value)Required. Details of the Cloud Asset Inventory asset that was assessed.
.google.cloud.designcenter.v1.AssetDetails assessed_asset = 7 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AssetDetails |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
mergeAssessedFramework(Framework value)
public AssessmentFinding.Builder mergeAssessedFramework(Framework value)Optional. Details of the framework that was assessed.
.google.cloud.designcenter.v1.Framework assessed_framework = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Framework |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
mergeFrom(AssessmentFinding other)
public AssessmentFinding.Builder mergeFrom(AssessmentFinding other)| Parameter | |
|---|---|
| Name | Description |
other |
AssessmentFinding |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AssessmentFinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AssessmentFinding.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
mergeRemediationStep(RemediationStep value)
public AssessmentFinding.Builder mergeRemediationStep(RemediationStep value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
RemediationStep |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
mergeSccMetadata(SCCMetadata value)
public AssessmentFinding.Builder mergeSccMetadata(SCCMetadata value)Output only. SCC related metadata for the finding.
.google.cloud.designcenter.v1.SCCMetadata scc_metadata = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SCCMetadata |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
setAdcMetadata(AssessmentFinding.FindingADCMetadata value)
public AssessmentFinding.Builder setAdcMetadata(AssessmentFinding.FindingADCMetadata value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
AssessmentFinding.FindingADCMetadata |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
setAdcMetadata(AssessmentFinding.FindingADCMetadata.Builder builderForValue)
public AssessmentFinding.Builder setAdcMetadata(AssessmentFinding.FindingADCMetadata.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AssessmentFinding.FindingADCMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
setAdditionalNotes(String value)
public AssessmentFinding.Builder setAdditionalNotes(String value)Optional. A description of the additional details about finding.
string additional_notes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe additionalNotes to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
setAdditionalNotesBytes(ByteString value)
public AssessmentFinding.Builder setAdditionalNotesBytes(ByteString value)Optional. A description of the additional details about finding.
string additional_notes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for additionalNotes to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
setAssessedAsset(AssetDetails value)
public AssessmentFinding.Builder setAssessedAsset(AssetDetails value)Required. Details of the Cloud Asset Inventory asset that was assessed.
.google.cloud.designcenter.v1.AssetDetails assessed_asset = 7 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AssetDetails |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
setAssessedAsset(AssetDetails.Builder builderForValue)
public AssessmentFinding.Builder setAssessedAsset(AssetDetails.Builder builderForValue)Required. Details of the Cloud Asset Inventory asset that was assessed.
.google.cloud.designcenter.v1.AssetDetails assessed_asset = 7 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AssetDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
setAssessedFramework(Framework value)
public AssessmentFinding.Builder setAssessedFramework(Framework value)Optional. Details of the framework that was assessed.
.google.cloud.designcenter.v1.Framework assessed_framework = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Framework |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
setAssessedFramework(Framework.Builder builderForValue)
public AssessmentFinding.Builder setAssessedFramework(Framework.Builder builderForValue)Optional. Details of the framework that was assessed.
.google.cloud.designcenter.v1.Framework assessed_framework = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Framework.Builder |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
setAssessedFrameworkId(String value)
public AssessmentFinding.Builder setAssessedFrameworkId(String value)Optional. The framework that was assessed.
string assessed_framework_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe assessedFrameworkId to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
setAssessedFrameworkIdBytes(ByteString value)
public AssessmentFinding.Builder setAssessedFrameworkIdBytes(ByteString value)Optional. The framework that was assessed.
string assessed_framework_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for assessedFrameworkId to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
setDescription(String value)
public AssessmentFinding.Builder setDescription(String value)Optional. Description of the finding.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public AssessmentFinding.Builder setDescriptionBytes(ByteString value)Optional. Description of the finding.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
setFindingType(AssessmentFinding.Type value)
public AssessmentFinding.Builder setFindingType(AssessmentFinding.Type value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
AssessmentFinding.TypeThe findingType to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
setFindingTypeValue(int value)
public AssessmentFinding.Builder setFindingTypeValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for findingType to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
setFindingsUri(String value)
public AssessmentFinding.Builder setFindingsUri(String value)Optional. Link to the findings, if persisted by the domain.
string findings_uri = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe findingsUri to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
setFindingsUriBytes(ByteString value)
public AssessmentFinding.Builder setFindingsUriBytes(ByteString value)Optional. Link to the findings, if persisted by the domain.
string findings_uri = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for findingsUri to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
setId(String value)
public AssessmentFinding.Builder setId(String value)Output only. The Finding ID.
string id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public AssessmentFinding.Builder setIdBytes(ByteString value)Output only. The Finding ID.
string id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
setRemediationStep(RemediationStep value)
public AssessmentFinding.Builder setRemediationStep(RemediationStep value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
RemediationStep |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
setRemediationStep(RemediationStep.Builder builderForValue)
public AssessmentFinding.Builder setRemediationStep(RemediationStep.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RemediationStep.Builder |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
setSccMetadata(SCCMetadata value)
public AssessmentFinding.Builder setSccMetadata(SCCMetadata value)Output only. SCC related metadata for the finding.
.google.cloud.designcenter.v1.SCCMetadata scc_metadata = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SCCMetadata |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
setSccMetadata(SCCMetadata.Builder builderForValue)
public AssessmentFinding.Builder setSccMetadata(SCCMetadata.Builder builderForValue)Output only. SCC related metadata for the finding.
.google.cloud.designcenter.v1.SCCMetadata scc_metadata = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SCCMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
|
setSeverity(AssessmentFinding.Severity value)
public AssessmentFinding.Builder setSeverity(AssessmentFinding.Severity value)Optional. The severity of the finding.
.google.cloud.designcenter.v1.AssessmentFinding.Severity severity = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AssessmentFinding.SeverityThe severity to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |
setSeverityValue(int value)
public AssessmentFinding.Builder setSeverityValue(int value)Optional. The severity of the finding.
.google.cloud.designcenter.v1.AssessmentFinding.Severity severity = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for severity to set. |
| Returns | |
|---|---|
| Type | Description |
AssessmentFinding.Builder |
This builder for chaining. |