Class ReportSummary.Builder (0.7.0)

public static final class ReportSummary.Builder extends GeneratedMessageV3.Builder<ReportSummary.Builder> implements ReportSummaryOrBuilder

Additional information for an audit operation.

Protobuf type google.cloud.cloudsecuritycompliance.v1.ReportSummary

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportSummary.Builder
Overrides

build()

public ReportSummary build()
Returns
Type Description
ReportSummary

buildPartial()

public ReportSummary buildPartial()
Returns
Type Description
ReportSummary

clear()

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

clearCompliantCount()

public ReportSummary.Builder clearCompliantCount()

Output only. The number of compliant checks.

int32 compliant_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportSummary.Builder

This builder for chaining.

clearErrorCount()

public ReportSummary.Builder clearErrorCount()

Output only. The number of checks that can't be performed due to errors.

int32 error_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportSummary.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ReportSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReportSummary.Builder
Overrides

clearManualReviewNeededCount()

public ReportSummary.Builder clearManualReviewNeededCount()

Output only. The number of checks with "manual review needed" status.

int32 manual_review_needed_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportSummary.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReportSummary.Builder
Overrides

clearTotalCount()

public ReportSummary.Builder clearTotalCount()

Output only. The total number of checks.

int32 total_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportSummary.Builder

This builder for chaining.

clearViolationCount()

public ReportSummary.Builder clearViolationCount()

Output only. The number of checks with violations.

int32 violation_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportSummary.Builder

This builder for chaining.

clone()

public ReportSummary.Builder clone()
Returns
Type Description
ReportSummary.Builder
Overrides

getCompliantCount()

public int getCompliantCount()

Output only. The number of compliant checks.

int32 compliant_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The compliantCount.

getDefaultInstanceForType()

public ReportSummary getDefaultInstanceForType()
Returns
Type Description
ReportSummary

getDescriptorForType()

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

getErrorCount()

public int getErrorCount()

Output only. The number of checks that can't be performed due to errors.

int32 error_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The errorCount.

getManualReviewNeededCount()

public int getManualReviewNeededCount()

Output only. The number of checks with "manual review needed" status.

int32 manual_review_needed_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The manualReviewNeededCount.

getTotalCount()

public int getTotalCount()

Output only. The total number of checks.

int32 total_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The totalCount.

getViolationCount()

public int getViolationCount()

Output only. The number of checks with violations.

int32 violation_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The violationCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportSummary other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportSummary.Builder
Overrides

setCompliantCount(int value)

public ReportSummary.Builder setCompliantCount(int value)

Output only. The number of compliant checks.

int32 compliant_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The compliantCount to set.

Returns
Type Description
ReportSummary.Builder

This builder for chaining.

setErrorCount(int value)

public ReportSummary.Builder setErrorCount(int value)

Output only. The number of checks that can't be performed due to errors.

int32 error_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The errorCount to set.

Returns
Type Description
ReportSummary.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportSummary.Builder
Overrides

setManualReviewNeededCount(int value)

public ReportSummary.Builder setManualReviewNeededCount(int value)

Output only. The number of checks with "manual review needed" status.

int32 manual_review_needed_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The manualReviewNeededCount to set.

Returns
Type Description
ReportSummary.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReportSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReportSummary.Builder
Overrides

setTotalCount(int value)

public ReportSummary.Builder setTotalCount(int value)

Output only. The total number of checks.

int32 total_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The totalCount to set.

Returns
Type Description
ReportSummary.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportSummary.Builder
Overrides

setViolationCount(int value)

public ReportSummary.Builder setViolationCount(int value)

Output only. The number of checks with violations.

int32 violation_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The violationCount to set.

Returns
Type Description
ReportSummary.Builder

This builder for chaining.