Class AuditReport (0.3.0)

public final class AuditReport extends GeneratedMessage implements AuditReportOrBuilder

An audit report.

Protobuf type google.cloud.auditmanager.v1.AuditReport

Static Fields

COMPLIANCE_FRAMEWORK_FIELD_NUMBER

public static final int COMPLIANCE_FRAMEWORK_FIELD_NUMBER
Field Value
Type Description
int

COMPLIANCE_STANDARD_FIELD_NUMBER

public static final int COMPLIANCE_STANDARD_FIELD_NUMBER
Field Value
Type Description
int

CONTROL_DETAILS_FIELD_NUMBER

public static final int CONTROL_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_DETAILS_FIELD_NUMBER

public static final int DESTINATION_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

OPERATION_ID_FIELD_NUMBER

public static final int OPERATION_ID_FIELD_NUMBER
Field Value
Type Description
int

REPORT_GENERATION_STATE_FIELD_NUMBER

public static final int REPORT_GENERATION_STATE_FIELD_NUMBER
Field Value
Type Description
int

REPORT_SUMMARY_FIELD_NUMBER

public static final int REPORT_SUMMARY_FIELD_NUMBER
Field Value
Type Description
int

SCOPE_FIELD_NUMBER

public static final int SCOPE_FIELD_NUMBER
Field Value
Type Description
int

SCOPE_ID_FIELD_NUMBER

public static final int SCOPE_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AuditReport getDefaultInstance()
Returns
Type Description
AuditReport

getDescriptor()

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

newBuilder()

public static AuditReport.Builder newBuilder()
Returns
Type Description
AuditReport.Builder

newBuilder(AuditReport prototype)

public static AuditReport.Builder newBuilder(AuditReport prototype)
Parameter
Name Description
prototype AuditReport
Returns
Type Description
AuditReport.Builder

parseDelimitedFrom(InputStream input)

public static AuditReport parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AuditReport
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditReport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditReport
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AuditReport parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AuditReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuditReport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuditReport parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AuditReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuditReport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuditReport parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AuditReport
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditReport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditReport
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AuditReport parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AuditReport
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditReport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditReport
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AuditReport parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AuditReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuditReport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditReport
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AuditReport> parser()
Returns
Type Description
Parser<AuditReport>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

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

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.

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.

getParserForType()

public Parser<AuditReport> getParserForType()
Returns
Type Description
Parser<AuditReport>
Overrides

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.

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AuditReport.Builder newBuilderForType()
Returns
Type Description
AuditReport.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AuditReport.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AuditReport.Builder
Overrides

toBuilder()

public AuditReport.Builder toBuilder()
Returns
Type Description
AuditReport.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException