public static final class ReportSummary.Builder extends GeneratedMessage.Builder<ReportSummary.Builder> implements ReportSummaryOrBuilderThe additional information for an audit operation.
Protobuf type google.cloud.auditmanager.v1.ReportSummary
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReportSummary.BuilderImplements
ReportSummaryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearCompliantCount()
public ReportSummary.Builder clearCompliantCount()Number of compliant checks.
int32 compliant_count = 2;
| Returns | |
|---|---|
| Type | Description |
ReportSummary.Builder |
This builder for chaining. |
clearErrorCount()
public ReportSummary.Builder clearErrorCount()Number of checks that could not be performed due to errors.
int32 error_count = 5;
| Returns | |
|---|---|
| Type | Description |
ReportSummary.Builder |
This builder for chaining. |
clearManualReviewNeededCount()
public ReportSummary.Builder clearManualReviewNeededCount()Number of checks with "manual review needed" status.
int32 manual_review_needed_count = 4;
| Returns | |
|---|---|
| Type | Description |
ReportSummary.Builder |
This builder for chaining. |
clearTotalCount()
public ReportSummary.Builder clearTotalCount()Total number of checks.
int32 total_count = 1;
| Returns | |
|---|---|
| Type | Description |
ReportSummary.Builder |
This builder for chaining. |
clearViolationCount()
public ReportSummary.Builder clearViolationCount()Number of checks with violations.
int32 violation_count = 3;
| Returns | |
|---|---|
| Type | Description |
ReportSummary.Builder |
This builder for chaining. |
getCompliantCount()
public int getCompliantCount()Number of compliant checks.
int32 compliant_count = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The compliantCount. |
getDefaultInstanceForType()
public ReportSummary getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReportSummary |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrorCount()
public int getErrorCount()Number of checks that could not be performed due to errors.
int32 error_count = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The errorCount. |
getManualReviewNeededCount()
public int getManualReviewNeededCount()Number of checks with "manual review needed" status.
int32 manual_review_needed_count = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The manualReviewNeededCount. |
getTotalCount()
public int getTotalCount()Total number of checks.
int32 total_count = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The totalCount. |
getViolationCount()
public int getViolationCount()Number of checks with violations.
int32 violation_count = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The violationCount. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReportSummary.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReportSummary.Builder |
|
setCompliantCount(int value)
public ReportSummary.Builder setCompliantCount(int value)Number of compliant checks.
int32 compliant_count = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe compliantCount to set. |
| Returns | |
|---|---|
| Type | Description |
ReportSummary.Builder |
This builder for chaining. |
setErrorCount(int value)
public ReportSummary.Builder setErrorCount(int value)Number of checks that could not be performed due to errors.
int32 error_count = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe errorCount to set. |
| Returns | |
|---|---|
| Type | Description |
ReportSummary.Builder |
This builder for chaining. |
setManualReviewNeededCount(int value)
public ReportSummary.Builder setManualReviewNeededCount(int value)Number of checks with "manual review needed" status.
int32 manual_review_needed_count = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe manualReviewNeededCount to set. |
| Returns | |
|---|---|
| Type | Description |
ReportSummary.Builder |
This builder for chaining. |
setTotalCount(int value)
public ReportSummary.Builder setTotalCount(int value)Total number of checks.
int32 total_count = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe totalCount to set. |
| Returns | |
|---|---|
| Type | Description |
ReportSummary.Builder |
This builder for chaining. |
setViolationCount(int value)
public ReportSummary.Builder setViolationCount(int value)Number of checks with violations.
int32 violation_count = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe violationCount to set. |
| Returns | |
|---|---|
| Type | Description |
ReportSummary.Builder |
This builder for chaining. |