public final class AuditReport extends GeneratedMessage implements AuditReportOrBuilder
An audit report.
Protobuf type google.cloud.auditmanager.v1.AuditReport
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AuditReport.Builder newBuilder()
newBuilder(AuditReport prototype)
public static AuditReport.Builder newBuilder(AuditReport prototype)
public static AuditReport parseDelimitedFrom(InputStream input)
public static AuditReport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AuditReport parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AuditReport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AuditReport parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuditReport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuditReport parseFrom(CodedInputStream input)
public static AuditReport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AuditReport parseFrom(InputStream input)
public static AuditReport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AuditReport parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AuditReport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AuditReport> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getComplianceFramework()
public String getComplianceFramework()
Output only. Compliance framework to use for the audit report. For example,
CIS_GCP_FOUNDATIONS_V1_2_0.
string compliance_framework = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The complianceFramework.
|
getComplianceFrameworkBytes()
public ByteString getComplianceFrameworkBytes()
Output only. Compliance framework to use for the audit report. For example,
CIS_GCP_FOUNDATIONS_V1_2_0.
string compliance_framework = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for complianceFramework.
|
getComplianceStandard() (deprecated)
public String getComplianceStandard()
Deprecated. google.cloud.auditmanager.v1.AuditReport.compliance_standard is deprecated. See
google/cloud/auditmanager/v1/auditmanager.proto;l=877
Output only. Deprecated. Compliance standard to be audited against.
Use the compliance_framework field instead.
string compliance_standard = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The complianceStandard.
|
getComplianceStandardBytes() (deprecated)
public ByteString getComplianceStandardBytes()
Deprecated. google.cloud.auditmanager.v1.AuditReport.compliance_standard is deprecated. See
google/cloud/auditmanager/v1/auditmanager.proto;l=877
Output only. Deprecated. Compliance standard to be audited against.
Use the compliance_framework field instead.
string compliance_standard = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for complianceStandard.
|
getControlDetails(int index)
public ControlDetails getControlDetails(int index)
Output only. Overall status of the controls.
repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getControlDetailsCount()
public int getControlDetailsCount()
Output only. Overall status of the 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. Overall status of the controls.
repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getControlDetailsOrBuilder(int index)
public ControlDetailsOrBuilder getControlDetailsOrBuilder(int index)
Output only. Overall status of the controls.
repeated .google.cloud.auditmanager.v1.ControlDetails control_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getControlDetailsOrBuilderList()
public List<? extends ControlDetailsOrBuilder> getControlDetailsOrBuilderList()
Output only. Overall status of the 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];
getDefaultInstanceForType()
public AuditReport getDefaultInstanceForType()
getDestinationDetails()
public DestinationDetails getDestinationDetails()
Output only. Cloud Storage bucket where the audit report is uploaded to.
.google.cloud.auditmanager.v1.DestinationDetails destination_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDestinationDetailsOrBuilder()
public DestinationDetailsOrBuilder getDestinationDetailsOrBuilder()
Output only. Cloud Storage bucket where the audit report is uploaded to.
.google.cloud.auditmanager.v1.DestinationDetails destination_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getName()
Identifier. Name of the audit report, in one of the following formats:
projects/{project}/locations/{location}/auditReports/{audit_report}
folders/{folder}/locations/{location}/auditReports/{audit_report}
organizations/{organization}/locations/{location}/auditReports/{audit_report}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. Name of the audit report, in one of the following formats:
projects/{project}/locations/{location}/auditReports/{audit_report}
folders/{folder}/locations/{location}/auditReports/{audit_report}
organizations/{organization}/locations/{location}/auditReports/{audit_report}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getOperationId()
public String getOperationId()
Output only. Client operation ID for the audit report.
string operation_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The operationId.
|
getOperationIdBytes()
public ByteString getOperationIdBytes()
Output only. Client operation ID for the audit report.
string operation_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for operationId.
|
getParserForType()
public Parser<AuditReport> getParserForType()
Overrides
getReportGenerationState()
public AuditReport.ReportGenerationState getReportGenerationState()
Output only. State of audit report generation.
.google.cloud.auditmanager.v1.AuditReport.ReportGenerationState report_generation_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getReportGenerationStateValue()
public int getReportGenerationStateValue()
Output only. 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 that includes information about compliance and
violation counts.
.google.cloud.auditmanager.v1.ReportSummary report_summary = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getReportSummaryOrBuilder()
public ReportSummaryOrBuilder getReportSummaryOrBuilder()
Output only. Report summary that includes information about compliance and
violation counts.
.google.cloud.auditmanager.v1.ReportSummary report_summary = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getScope()
Output only. Organization, folder, or project that the report is generated
for, in one of the following formats:
projects/{project}/locations/{location}
folders/{folder}/locations/{location}
organizations/{organization}/locations/{location}
string scope = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The scope.
|
getScopeBytes()
public ByteString getScopeBytes()
Output only. Organization, folder, or project that the report is generated
for, in one of the following formats:
projects/{project}/locations/{location}
folders/{folder}/locations/{location}
organizations/{organization}/locations/{location}
string scope = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for scope.
|
getScopeId()
public String getScopeId()
Output only. Project number, folder ID, or organization ID that the audit
report was generated for.
string scope_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The scopeId.
|
getScopeIdBytes()
public ByteString getScopeIdBytes()
Output only. Project number, folder ID, or organization ID that the audit
report was generated for.
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. Cloud Storage bucket where the audit report is uploaded to.
.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 that includes information about compliance and
violation counts.
.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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AuditReport.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AuditReport.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public AuditReport.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides