Class AssessedFramework.Builder (0.3.0)

public static final class AssessedFramework.Builder extends GeneratedMessage.Builder<AssessedFramework.Builder> implements AssessedFrameworkOrBuilder

Framework assessed and their findings.

Protobuf type google.cloud.designcenter.v1.AssessedFramework

Static Methods

getDescriptor()

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

Methods

addAllFindings(Iterable<? extends AssessmentFinding> values)

public AssessedFramework.Builder addAllFindings(Iterable<? extends AssessmentFinding> values)

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.designcenter.v1.AssessmentFinding>
Returns
Type Description
AssessedFramework.Builder

addFindings(AssessmentFinding value)

public AssessedFramework.Builder addFindings(AssessmentFinding value)

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AssessmentFinding
Returns
Type Description
AssessedFramework.Builder

addFindings(AssessmentFinding.Builder builderForValue)

public AssessedFramework.Builder addFindings(AssessmentFinding.Builder builderForValue)

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AssessmentFinding.Builder
Returns
Type Description
AssessedFramework.Builder

addFindings(int index, AssessmentFinding value)

public AssessedFramework.Builder addFindings(int index, AssessmentFinding value)

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value AssessmentFinding
Returns
Type Description
AssessedFramework.Builder

addFindings(int index, AssessmentFinding.Builder builderForValue)

public AssessedFramework.Builder addFindings(int index, AssessmentFinding.Builder builderForValue)

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue AssessmentFinding.Builder
Returns
Type Description
AssessedFramework.Builder

addFindingsBuilder()

public AssessmentFinding.Builder addFindingsBuilder()

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AssessmentFinding.Builder

addFindingsBuilder(int index)

public AssessmentFinding.Builder addFindingsBuilder(int index)

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AssessmentFinding.Builder

build()

public AssessedFramework build()
Returns
Type Description
AssessedFramework

buildPartial()

public AssessedFramework buildPartial()
Returns
Type Description
AssessedFramework

clear()

public AssessedFramework.Builder clear()
Returns
Type Description
AssessedFramework.Builder
Overrides

clearFindings()

public AssessedFramework.Builder clearFindings()

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AssessedFramework.Builder

clearFramework()

public AssessedFramework.Builder clearFramework()

Required. The framework that was assessed.

.google.cloud.designcenter.v1.Framework framework = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AssessedFramework.Builder

clearScoreCard()

public AssessedFramework.Builder clearScoreCard()

Optional. Score card associated with the report.

.google.cloud.designcenter.v1.ScoreCard score_card = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AssessedFramework.Builder

clearSkipped()

public AssessedFramework.Builder clearSkipped()

Optional. Whether the framework was skipped during assessment.

bool skipped = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AssessedFramework.Builder

This builder for chaining.

clearSkippedReason()

public AssessedFramework.Builder clearSkippedReason()

Optional. Reason for skipping the framework during assessment.

string skipped_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AssessedFramework.Builder

This builder for chaining.

getDefaultInstanceForType()

public AssessedFramework getDefaultInstanceForType()
Returns
Type Description
AssessedFramework

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFindings(int index)

public AssessmentFinding getFindings(int index)

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AssessmentFinding

getFindingsBuilder(int index)

public AssessmentFinding.Builder getFindingsBuilder(int index)

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AssessmentFinding.Builder

getFindingsBuilderList()

public List<AssessmentFinding.Builder> getFindingsBuilderList()

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getFindingsCount()

public int getFindingsCount()

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getFindingsList()

public List<AssessmentFinding> getFindingsList()

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<AssessmentFinding>

getFindingsOrBuilder(int index)

public AssessmentFindingOrBuilder getFindingsOrBuilder(int index)

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AssessmentFindingOrBuilder

getFindingsOrBuilderList()

public List<? extends AssessmentFindingOrBuilder> getFindingsOrBuilderList()

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.AssessmentFindingOrBuilder>

getFramework()

public Framework getFramework()

Required. The framework that was assessed.

.google.cloud.designcenter.v1.Framework framework = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Framework

The framework.

getFrameworkBuilder()

public Framework.Builder getFrameworkBuilder()

Required. The framework that was assessed.

.google.cloud.designcenter.v1.Framework framework = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Framework.Builder

getFrameworkOrBuilder()

public FrameworkOrBuilder getFrameworkOrBuilder()

Required. The framework that was assessed.

.google.cloud.designcenter.v1.Framework framework = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FrameworkOrBuilder

getScoreCard()

public ScoreCard getScoreCard()

Optional. Score card associated with the report.

.google.cloud.designcenter.v1.ScoreCard score_card = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ScoreCard

The scoreCard.

getScoreCardBuilder()

public ScoreCard.Builder getScoreCardBuilder()

Optional. Score card associated with the report.

.google.cloud.designcenter.v1.ScoreCard score_card = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ScoreCard.Builder

getScoreCardOrBuilder()

public ScoreCardOrBuilder getScoreCardOrBuilder()

Optional. Score card associated with the report.

.google.cloud.designcenter.v1.ScoreCard score_card = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ScoreCardOrBuilder

getSkipped()

public boolean getSkipped()

Optional. Whether the framework was skipped during assessment.

bool skipped = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The skipped.

getSkippedReason()

public String getSkippedReason()

Optional. Reason for skipping the framework during assessment.

string skipped_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The skippedReason.

getSkippedReasonBytes()

public ByteString getSkippedReasonBytes()

Optional. Reason for skipping the framework during assessment.

string skipped_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for skippedReason.

hasFramework()

public boolean hasFramework()

Required. The framework that was assessed.

.google.cloud.designcenter.v1.Framework framework = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the framework field is set.

hasScoreCard()

public boolean hasScoreCard()

Optional. Score card associated with the report.

.google.cloud.designcenter.v1.ScoreCard score_card = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the scoreCard field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFramework(Framework value)

public AssessedFramework.Builder mergeFramework(Framework value)

Required. The framework that was assessed.

.google.cloud.designcenter.v1.Framework framework = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Framework
Returns
Type Description
AssessedFramework.Builder

mergeFrom(AssessedFramework other)

public AssessedFramework.Builder mergeFrom(AssessedFramework other)
Parameter
Name Description
other AssessedFramework
Returns
Type Description
AssessedFramework.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AssessedFramework.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssessedFramework.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AssessedFramework.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AssessedFramework.Builder
Overrides

mergeScoreCard(ScoreCard value)

public AssessedFramework.Builder mergeScoreCard(ScoreCard value)

Optional. Score card associated with the report.

.google.cloud.designcenter.v1.ScoreCard score_card = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ScoreCard
Returns
Type Description
AssessedFramework.Builder

removeFindings(int index)

public AssessedFramework.Builder removeFindings(int index)

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AssessedFramework.Builder

setFindings(int index, AssessmentFinding value)

public AssessedFramework.Builder setFindings(int index, AssessmentFinding value)

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value AssessmentFinding
Returns
Type Description
AssessedFramework.Builder

setFindings(int index, AssessmentFinding.Builder builderForValue)

public AssessedFramework.Builder setFindings(int index, AssessmentFinding.Builder builderForValue)

Required. A list of every Finding found during the assessment.

repeated .google.cloud.designcenter.v1.AssessmentFinding findings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue AssessmentFinding.Builder
Returns
Type Description
AssessedFramework.Builder

setFramework(Framework value)

public AssessedFramework.Builder setFramework(Framework value)

Required. The framework that was assessed.

.google.cloud.designcenter.v1.Framework framework = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Framework
Returns
Type Description
AssessedFramework.Builder

setFramework(Framework.Builder builderForValue)

public AssessedFramework.Builder setFramework(Framework.Builder builderForValue)

Required. The framework that was assessed.

.google.cloud.designcenter.v1.Framework framework = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Framework.Builder
Returns
Type Description
AssessedFramework.Builder

setScoreCard(ScoreCard value)

public AssessedFramework.Builder setScoreCard(ScoreCard value)

Optional. Score card associated with the report.

.google.cloud.designcenter.v1.ScoreCard score_card = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ScoreCard
Returns
Type Description
AssessedFramework.Builder

setScoreCard(ScoreCard.Builder builderForValue)

public AssessedFramework.Builder setScoreCard(ScoreCard.Builder builderForValue)

Optional. Score card associated with the report.

.google.cloud.designcenter.v1.ScoreCard score_card = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ScoreCard.Builder
Returns
Type Description
AssessedFramework.Builder

setSkipped(boolean value)

public AssessedFramework.Builder setSkipped(boolean value)

Optional. Whether the framework was skipped during assessment.

bool skipped = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The skipped to set.

Returns
Type Description
AssessedFramework.Builder

This builder for chaining.

setSkippedReason(String value)

public AssessedFramework.Builder setSkippedReason(String value)

Optional. Reason for skipping the framework during assessment.

string skipped_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The skippedReason to set.

Returns
Type Description
AssessedFramework.Builder

This builder for chaining.

setSkippedReasonBytes(ByteString value)

public AssessedFramework.Builder setSkippedReasonBytes(ByteString value)

Optional. Reason for skipping the framework during assessment.

string skipped_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for skippedReason to set.

Returns
Type Description
AssessedFramework.Builder

This builder for chaining.