public static final class AuditReport.Builder extends GeneratedMessage.Builder<AuditReport.Builder> implements AuditReportOrBuilderAn audit report.
Protobuf type google.cloud.auditmanager.v1.AuditReport
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AuditReport.BuilderImplements
AuditReportOrBuilderStatic 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. Overall status of the 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. Overall status of the 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. Overall status of the 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. Overall status of the 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. Overall status of the 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. Overall status of the 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. 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 |
| 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 |
|
clearCloudControlParameterStates()
public AuditReport.Builder clearCloudControlParameterStates()| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
|
clearComplianceFramework()
public AuditReport.Builder clearComplianceFramework() 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 |
AuditReport.Builder |
This builder for chaining. |
clearComplianceStandard() (deprecated)
public AuditReport.Builder clearComplianceStandard()Deprecated. google.cloud.auditmanager.v1.AuditReport.compliance_standard is deprecated. See google/cloud/auditmanager/v1/auditmanager.proto;l=892
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 |
AuditReport.Builder |
This builder for chaining. |
clearControlDetails()
public AuditReport.Builder clearControlDetails()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 |
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. 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 |
AuditReport.Builder |
|
clearName()
public AuditReport.Builder clearName()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 |
AuditReport.Builder |
This builder for chaining. |
clearOperationId()
public AuditReport.Builder clearOperationId()Output only. Client operation ID for the audit report.
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. 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 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 |
AuditReport.Builder |
|
clearScope()
public AuditReport.Builder clearScope()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 |
AuditReport.Builder |
This builder for chaining. |
clearScopeId()
public AuditReport.Builder clearScopeId()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 |
AuditReport.Builder |
This builder for chaining. |
containsCloudControlParameterStates(String key)
public boolean containsCloudControlParameterStates(String key)Output only. Parameter values provided by the user and values for tunable parameters, stored in the DB, keyed by control name.
map<string, .google.cloud.auditmanager.v1.CloudControlParameterStates> cloud_control_parameter_states = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCloudControlParameterStates() (deprecated)
public Map<String,CloudControlParameterStates> getCloudControlParameterStates()Use #getCloudControlParameterStatesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,CloudControlParameterStates> |
|
getCloudControlParameterStatesCount()
public int getCloudControlParameterStatesCount()Output only. Parameter values provided by the user and values for tunable parameters, stored in the DB, keyed by control name.
map<string, .google.cloud.auditmanager.v1.CloudControlParameterStates> cloud_control_parameter_states = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getCloudControlParameterStatesMap()
public Map<String,CloudControlParameterStates> getCloudControlParameterStatesMap()Output only. Parameter values provided by the user and values for tunable parameters, stored in the DB, keyed by control name.
map<string, .google.cloud.auditmanager.v1.CloudControlParameterStates> cloud_control_parameter_states = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Map<String,CloudControlParameterStates> |
|
getCloudControlParameterStatesOrDefault(String key, CloudControlParameterStates defaultValue)
public CloudControlParameterStates getCloudControlParameterStatesOrDefault(String key, CloudControlParameterStates defaultValue)Output only. Parameter values provided by the user and values for tunable parameters, stored in the DB, keyed by control name.
map<string, .google.cloud.auditmanager.v1.CloudControlParameterStates> cloud_control_parameter_states = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
CloudControlParameterStates |
| Returns | |
|---|---|
| Type | Description |
CloudControlParameterStates |
|
getCloudControlParameterStatesOrThrow(String key)
public CloudControlParameterStates getCloudControlParameterStatesOrThrow(String key)Output only. Parameter values provided by the user and values for tunable parameters, stored in the DB, keyed by control name.
map<string, .google.cloud.auditmanager.v1.CloudControlParameterStates> cloud_control_parameter_states = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
CloudControlParameterStates |
|
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=892
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=892
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 |
| Returns | |
|---|---|
| Type | Description |
ControlDetails |
|
getControlDetailsBuilder(int index)
public ControlDetails.Builder getControlDetailsBuilder(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 |
| Returns | |
|---|---|
| Type | Description |
ControlDetails.Builder |
|
getControlDetailsBuilderList()
public List<ControlDetails.Builder> getControlDetailsBuilderList()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<Builder> |
|
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];
| Returns | |
|---|---|
| Type | Description |
List<ControlDetails> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ControlDetailsOrBuilder |
|
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. |
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 |
|
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];
| Returns | |
|---|---|
| Type | Description |
DestinationDetails |
The destinationDetails. |
getDestinationDetailsBuilder()
public DestinationDetails.Builder getDestinationDetailsBuilder()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 |
DestinationDetails.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
DestinationDetailsOrBuilder |
|
getMutableCloudControlParameterStates() (deprecated)
public Map<String,CloudControlParameterStates> getMutableCloudControlParameterStates()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,CloudControlParameterStates> |
|
getName()
public String 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. |
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];
| Returns | |
|---|---|
| Type | Description |
AuditReport.ReportGenerationState |
The reportGenerationState. |
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];
| Returns | |
|---|---|
| Type | Description |
ReportSummary |
The reportSummary. |
getReportSummaryBuilder()
public ReportSummary.Builder getReportSummaryBuilder()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 |
ReportSummary.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
ReportSummaryOrBuilder |
|
getScope()
public String 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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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. Cloud Storage bucket where the audit report is uploaded to.
.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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AuditReport.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
|
mergeReportSummary(ReportSummary value)
public AuditReport.Builder mergeReportSummary(ReportSummary value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ReportSummary |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
|
putAllCloudControlParameterStates(Map<String,CloudControlParameterStates> values)
public AuditReport.Builder putAllCloudControlParameterStates(Map<String,CloudControlParameterStates> values)Output only. Parameter values provided by the user and values for tunable parameters, stored in the DB, keyed by control name.
map<string, .google.cloud.auditmanager.v1.CloudControlParameterStates> cloud_control_parameter_states = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,CloudControlParameterStates> |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
|
putCloudControlParameterStates(String key, CloudControlParameterStates value)
public AuditReport.Builder putCloudControlParameterStates(String key, CloudControlParameterStates value)Output only. Parameter values provided by the user and values for tunable parameters, stored in the DB, keyed by control name.
map<string, .google.cloud.auditmanager.v1.CloudControlParameterStates> cloud_control_parameter_states = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
CloudControlParameterStates |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
|
putCloudControlParameterStatesBuilderIfAbsent(String key)
public CloudControlParameterStates.Builder putCloudControlParameterStatesBuilderIfAbsent(String key)Output only. Parameter values provided by the user and values for tunable parameters, stored in the DB, keyed by control name.
map<string, .google.cloud.auditmanager.v1.CloudControlParameterStates> cloud_control_parameter_states = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
CloudControlParameterStates.Builder |
|
removeCloudControlParameterStates(String key)
public AuditReport.Builder removeCloudControlParameterStates(String key)Output only. Parameter values provided by the user and values for tunable parameters, stored in the DB, keyed by control name.
map<string, .google.cloud.auditmanager.v1.CloudControlParameterStates> cloud_control_parameter_states = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
|
removeControlDetails(int index)
public AuditReport.Builder removeControlDetails(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 |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
|
setComplianceFramework(String value)
public AuditReport.Builder setComplianceFramework(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 to use for the audit report. For example,
CIS_GCP_FOUNDATIONS_V1_2_0.
string compliance_framework = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for complianceFramework to set. |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
This builder for chaining. |
setComplianceStandard(String value) (deprecated)
public AuditReport.Builder setComplianceStandard(String value)Deprecated. google.cloud.auditmanager.v1.AuditReport.compliance_standard is deprecated. See google/cloud/auditmanager/v1/auditmanager.proto;l=892
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe complianceStandard to set. |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
This builder for chaining. |
setComplianceStandardBytes(ByteString value) (deprecated)
public AuditReport.Builder setComplianceStandardBytes(ByteString value)Deprecated. google.cloud.auditmanager.v1.AuditReport.compliance_standard is deprecated. See google/cloud/auditmanager/v1/auditmanager.proto;l=892
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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe 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. Overall status of the 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. Overall status of the 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. Cloud Storage bucket where the audit report is uploaded to.
.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. Cloud Storage bucket where the audit report is uploaded to.
.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. 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AuditReport.Builder setNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe 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. Client operation ID for the audit report.
string operation_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe operationId to set. |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
This builder for chaining. |
setOperationIdBytes(ByteString value)
public AuditReport.Builder setOperationIdBytes(ByteString value)Output only. Client operation ID for the audit report.
string operation_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe 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. 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.ReportGenerationStateThe reportGenerationState to set. |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
This builder for chaining. |
setReportGenerationStateValue(int value)
public AuditReport.Builder setReportGenerationStateValue(int value)Output only. 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 |
intThe 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 that includes information about compliance and violation counts.
.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 that includes information about compliance and violation counts.
.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. 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe scope to set. |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
This builder for chaining. |
setScopeBytes(ByteString value)
public AuditReport.Builder setScopeBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe 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. Project number, folder ID, or organization ID that the audit report was generated for.
string scope_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe scopeId to set. |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
This builder for chaining. |
setScopeIdBytes(ByteString value)
public AuditReport.Builder setScopeIdBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for scopeId to set. |
| Returns | |
|---|---|
| Type | Description |
AuditReport.Builder |
This builder for chaining. |