Class AuditReport.Builder (0.1.0)

public static final class AuditReport.Builder extends GeneratedMessage.Builder<AuditReport.Builder> implements AuditReportOrBuilder

An audit report.

Protobuf type google.cloud.auditmanager.v1.AuditReport

Static Methods

getDescriptor()

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

Methods

addAllControlDetails(Iterable<? extends ControlDetails> values)

public AuditReport.Builder addAllControlDetails(Iterable<? extends ControlDetails> values)

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.auditmanager.v1.ControlDetails>
Returns
Type Description
AuditReport.Builder

addControlDetails(ControlDetails value)

public AuditReport.Builder addControlDetails(ControlDetails value)

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ControlDetails
Returns
Type Description
AuditReport.Builder

addControlDetails(ControlDetails.Builder builderForValue)

public AuditReport.Builder addControlDetails(ControlDetails.Builder builderForValue)

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ControlDetails.Builder
Returns
Type Description
AuditReport.Builder

addControlDetails(int index, ControlDetails value)

public AuditReport.Builder addControlDetails(int index, ControlDetails value)

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ControlDetails
Returns
Type Description
AuditReport.Builder

addControlDetails(int index, ControlDetails.Builder builderForValue)

public AuditReport.Builder addControlDetails(int index, ControlDetails.Builder builderForValue)

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ControlDetails.Builder
Returns
Type Description
AuditReport.Builder

addControlDetailsBuilder()

public ControlDetails.Builder addControlDetailsBuilder()

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ControlDetails.Builder

addControlDetailsBuilder(int index)

public ControlDetails.Builder addControlDetailsBuilder(int index)

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ControlDetails.Builder

build()

public AuditReport build()
Returns
Type Description
AuditReport

buildPartial()

public AuditReport buildPartial()
Returns
Type Description
AuditReport

clear()

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

clearComplianceFramework()

public AuditReport.Builder clearComplianceFramework()

Output only. Compliance Framework of Audit Report

string compliance_framework = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuditReport.Builder

This builder for chaining.

clearComplianceStandard()

public AuditReport.Builder clearComplianceStandard()

Output only. Compliance Standard.

string compliance_standard = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuditReport.Builder

This builder for chaining.

clearControlDetails()

public AuditReport.Builder clearControlDetails()

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuditReport.Builder

clearCreateTime()

public AuditReport.Builder clearCreateTime()

Output only. Creation time of the audit report.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuditReport.Builder

clearDestinationDetails()

public AuditReport.Builder clearDestinationDetails()

Output only. The location where the generated report will be uploaded.

.google.cloud.auditmanager.v1.DestinationDetails destination_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuditReport.Builder

clearName()

public AuditReport.Builder clearName()

Identifier. The name of this Audit Report, in the format of scope given in request.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
AuditReport.Builder

This builder for chaining.

clearOperationId()

public AuditReport.Builder clearOperationId()

Output only. ClientOperationId

string operation_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuditReport.Builder

This builder for chaining.

clearReportGenerationState()

public AuditReport.Builder clearReportGenerationState()

Output only. The state of Audit Report Generation.

.google.cloud.auditmanager.v1.AuditReport.ReportGenerationState report_generation_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuditReport.Builder

This builder for chaining.

clearReportSummary()

public AuditReport.Builder clearReportSummary()

Output only. Report summary with compliance, violation counts etc.

.google.cloud.auditmanager.v1.ReportSummary report_summary = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuditReport.Builder

clearScope()

public AuditReport.Builder clearScope()

Output only. The parent scope on which the report was generated.

string scope = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuditReport.Builder

This builder for chaining.

clearScopeId()

public AuditReport.Builder clearScopeId()

Output only. The ID/ Number for the scope on which the audit report was generated.

string scope_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuditReport.Builder

This builder for chaining.

getComplianceFramework()

public String getComplianceFramework()

Output only. Compliance Framework of Audit Report

string compliance_framework = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The complianceFramework.

getComplianceFrameworkBytes()

public ByteString getComplianceFrameworkBytes()

Output only. Compliance Framework of Audit Report

string compliance_framework = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for complianceFramework.

getComplianceStandard()

public String getComplianceStandard()

Output only. Compliance Standard.

string compliance_standard = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The complianceStandard.

getComplianceStandardBytes()

public ByteString getComplianceStandardBytes()

Output only. Compliance Standard.

string compliance_standard = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for complianceStandard.

getControlDetails(int index)

public ControlDetails getControlDetails(int index)

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ControlDetails

getControlDetailsBuilder(int index)

public ControlDetails.Builder getControlDetailsBuilder(int index)

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ControlDetails.Builder

getControlDetailsBuilderList()

public List<ControlDetails.Builder> getControlDetailsBuilderList()

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getControlDetailsCount()

public int getControlDetailsCount()

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getControlDetailsList()

public List<ControlDetails> getControlDetailsList()

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ControlDetails>

getControlDetailsOrBuilder(int index)

public ControlDetailsOrBuilder getControlDetailsOrBuilder(int index)

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ControlDetailsOrBuilder

getControlDetailsOrBuilderList()

public List<? extends ControlDetailsOrBuilder> getControlDetailsOrBuilderList()

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.auditmanager.v1.ControlDetailsOrBuilder>

getCreateTime()

public Timestamp getCreateTime()

Output only. Creation time of the audit report.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Creation time of the audit report.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Creation time of the audit report.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public AuditReport getDefaultInstanceForType()
Returns
Type Description
AuditReport

getDescriptorForType()

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

getDestinationDetails()

public DestinationDetails getDestinationDetails()

Output only. The location where the generated report will be uploaded.

.google.cloud.auditmanager.v1.DestinationDetails destination_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationDetails

The destinationDetails.

getDestinationDetailsBuilder()

public DestinationDetails.Builder getDestinationDetailsBuilder()

Output only. The location where the generated report will be uploaded.

.google.cloud.auditmanager.v1.DestinationDetails destination_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationDetails.Builder

getDestinationDetailsOrBuilder()

public DestinationDetailsOrBuilder getDestinationDetailsOrBuilder()

Output only. The location where the generated report will be uploaded.

.google.cloud.auditmanager.v1.DestinationDetails destination_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationDetailsOrBuilder

getName()

public String getName()

Identifier. The name of this Audit Report, in the format of scope given in request.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of this Audit Report, in the format of scope given in request.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getOperationId()

public String getOperationId()

Output only. ClientOperationId

string operation_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The operationId.

getOperationIdBytes()

public ByteString getOperationIdBytes()

Output only. ClientOperationId

string operation_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for operationId.

getReportGenerationState()

public AuditReport.ReportGenerationState getReportGenerationState()

Output only. The state of Audit Report Generation.

.google.cloud.auditmanager.v1.AuditReport.ReportGenerationState report_generation_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuditReport.ReportGenerationState

The reportGenerationState.

getReportGenerationStateValue()

public int getReportGenerationStateValue()

Output only. The state of Audit Report Generation.

.google.cloud.auditmanager.v1.AuditReport.ReportGenerationState report_generation_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for reportGenerationState.

getReportSummary()

public ReportSummary getReportSummary()

Output only. Report summary with compliance, violation counts etc.

.google.cloud.auditmanager.v1.ReportSummary report_summary = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportSummary

The reportSummary.

getReportSummaryBuilder()

public ReportSummary.Builder getReportSummaryBuilder()

Output only. Report summary with compliance, violation counts etc.

.google.cloud.auditmanager.v1.ReportSummary report_summary = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportSummary.Builder

getReportSummaryOrBuilder()

public ReportSummaryOrBuilder getReportSummaryOrBuilder()

Output only. Report summary with compliance, violation counts etc.

.google.cloud.auditmanager.v1.ReportSummary report_summary = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportSummaryOrBuilder

getScope()

public String getScope()

Output only. The parent scope on which the report was generated.

string scope = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The scope.

getScopeBytes()

public ByteString getScopeBytes()

Output only. The parent scope on which the report was generated.

string scope = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for scope.

getScopeId()

public String getScopeId()

Output only. The ID/ Number for the scope on which the audit report was generated.

string scope_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The scopeId.

getScopeIdBytes()

public ByteString getScopeIdBytes()

Output only. The ID/ Number for the scope on which the audit report was generated.

string scope_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for scopeId.

hasCreateTime()

public boolean hasCreateTime()

Output only. Creation time of the audit report.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasDestinationDetails()

public boolean hasDestinationDetails()

Output only. The location where the generated report will be uploaded.

.google.cloud.auditmanager.v1.DestinationDetails destination_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the destinationDetails field is set.

hasReportSummary()

public boolean hasReportSummary()

Output only. Report summary with compliance, violation counts etc.

.google.cloud.auditmanager.v1.ReportSummary report_summary = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the reportSummary field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public AuditReport.Builder mergeCreateTime(Timestamp value)

Output only. Creation time of the audit report.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AuditReport.Builder

mergeDestinationDetails(DestinationDetails value)

public AuditReport.Builder mergeDestinationDetails(DestinationDetails value)

Output only. The location where the generated report will be uploaded.

.google.cloud.auditmanager.v1.DestinationDetails destination_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DestinationDetails
Returns
Type Description
AuditReport.Builder

mergeFrom(AuditReport other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReportSummary(ReportSummary value)

public AuditReport.Builder mergeReportSummary(ReportSummary value)

Output only. Report summary with compliance, violation counts etc.

.google.cloud.auditmanager.v1.ReportSummary report_summary = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ReportSummary
Returns
Type Description
AuditReport.Builder

removeControlDetails(int index)

public AuditReport.Builder removeControlDetails(int index)

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AuditReport.Builder

setComplianceFramework(String value)

public AuditReport.Builder setComplianceFramework(String value)

Output only. Compliance Framework of Audit Report

string compliance_framework = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The complianceFramework to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.

setComplianceFrameworkBytes(ByteString value)

public AuditReport.Builder setComplianceFrameworkBytes(ByteString value)

Output only. Compliance Framework of Audit Report

string compliance_framework = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for complianceFramework to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.

setComplianceStandard(String value)

public AuditReport.Builder setComplianceStandard(String value)

Output only. Compliance Standard.

string compliance_standard = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The complianceStandard to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.

setComplianceStandardBytes(ByteString value)

public AuditReport.Builder setComplianceStandardBytes(ByteString value)

Output only. Compliance Standard.

string compliance_standard = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for complianceStandard to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.

setControlDetails(int index, ControlDetails value)

public AuditReport.Builder setControlDetails(int index, ControlDetails value)

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ControlDetails
Returns
Type Description
AuditReport.Builder

setControlDetails(int index, ControlDetails.Builder builderForValue)

public AuditReport.Builder setControlDetails(int index, ControlDetails.Builder builderForValue)

Output only. The overall status of controls

repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ControlDetails.Builder
Returns
Type Description
AuditReport.Builder

setCreateTime(Timestamp value)

public AuditReport.Builder setCreateTime(Timestamp value)

Output only. Creation time of the audit report.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AuditReport.Builder

setCreateTime(Timestamp.Builder builderForValue)

public AuditReport.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Creation time of the audit report.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AuditReport.Builder

setDestinationDetails(DestinationDetails value)

public AuditReport.Builder setDestinationDetails(DestinationDetails value)

Output only. The location where the generated report will be uploaded.

.google.cloud.auditmanager.v1.DestinationDetails destination_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DestinationDetails
Returns
Type Description
AuditReport.Builder

setDestinationDetails(DestinationDetails.Builder builderForValue)

public AuditReport.Builder setDestinationDetails(DestinationDetails.Builder builderForValue)

Output only. The location where the generated report will be uploaded.

.google.cloud.auditmanager.v1.DestinationDetails destination_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DestinationDetails.Builder
Returns
Type Description
AuditReport.Builder

setName(String value)

public AuditReport.Builder setName(String value)

Identifier. The name of this Audit Report, in the format of scope given in request.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AuditReport.Builder setNameBytes(ByteString value)

Identifier. The name of this Audit Report, in the format of scope given in request.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.

setOperationId(String value)

public AuditReport.Builder setOperationId(String value)

Output only. ClientOperationId

string operation_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The operationId to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.

setOperationIdBytes(ByteString value)

public AuditReport.Builder setOperationIdBytes(ByteString value)

Output only. ClientOperationId

string operation_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for operationId to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.

setReportGenerationState(AuditReport.ReportGenerationState value)

public AuditReport.Builder setReportGenerationState(AuditReport.ReportGenerationState value)

Output only. The state of Audit Report Generation.

.google.cloud.auditmanager.v1.AuditReport.ReportGenerationState report_generation_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AuditReport.ReportGenerationState

The reportGenerationState to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.

setReportGenerationStateValue(int value)

public AuditReport.Builder setReportGenerationStateValue(int value)

Output only. The state of Audit Report Generation.

.google.cloud.auditmanager.v1.AuditReport.ReportGenerationState report_generation_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for reportGenerationState to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.

setReportSummary(ReportSummary value)

public AuditReport.Builder setReportSummary(ReportSummary value)

Output only. Report summary with compliance, violation counts etc.

.google.cloud.auditmanager.v1.ReportSummary report_summary = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ReportSummary
Returns
Type Description
AuditReport.Builder

setReportSummary(ReportSummary.Builder builderForValue)

public AuditReport.Builder setReportSummary(ReportSummary.Builder builderForValue)

Output only. Report summary with compliance, violation counts etc.

.google.cloud.auditmanager.v1.ReportSummary report_summary = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ReportSummary.Builder
Returns
Type Description
AuditReport.Builder

setScope(String value)

public AuditReport.Builder setScope(String value)

Output only. The parent scope on which the report was generated.

string scope = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The scope to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.

setScopeBytes(ByteString value)

public AuditReport.Builder setScopeBytes(ByteString value)

Output only. The parent scope on which the report was generated.

string scope = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for scope to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.

setScopeId(String value)

public AuditReport.Builder setScopeId(String value)

Output only. The ID/ Number for the scope on which the audit report was generated.

string scope_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The scopeId to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.

setScopeIdBytes(ByteString value)

public AuditReport.Builder setScopeIdBytes(ByteString value)

Output only. The ID/ Number for the scope on which the audit report was generated.

string scope_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for scopeId to set.

Returns
Type Description
AuditReport.Builder

This builder for chaining.