public final class AuditSchedule extends GeneratedMessage implements AuditScheduleOrBuilder
An audit schedule, in one of the following formats:
projects/{project}/locations/{location}/auditSchedules/{audit_schedule}
folders/{folder}/locations/{location}/auditSchedules/{audit_schedule}
Protobuf type google.cloud.auditmanager.v1.AuditSchedule
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 |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ERROR_MESSAGE_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GCS_URI_FIELD_NUMBER
public static final int GCS_URI_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LAST_TRIGGER_TIME_FIELD_NUMBER
public static final int LAST_TRIGGER_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NEXT_RUN_TIME_FIELD_NUMBER
public static final int NEXT_RUN_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int REPORT_FORMAT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SCHEDULE_CONFIG_FIELD_NUMBER
public static final int SCHEDULE_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AuditSchedule getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AuditSchedule.Builder newBuilder()
newBuilder(AuditSchedule prototype)
public static AuditSchedule.Builder newBuilder(AuditSchedule prototype)
public static AuditSchedule parseDelimitedFrom(InputStream input)
public static AuditSchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AuditSchedule parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AuditSchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AuditSchedule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuditSchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuditSchedule parseFrom(CodedInputStream input)
public static AuditSchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AuditSchedule parseFrom(InputStream input)
public static AuditSchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AuditSchedule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AuditSchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AuditSchedule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getComplianceFramework()
public String getComplianceFramework()
Required. Framework (set of controls) that the audit scope report is
generated against. For example, NIST_800_53.
string compliance_framework = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The complianceFramework.
|
getComplianceFrameworkBytes()
public ByteString getComplianceFrameworkBytes()
Required. Framework (set of controls) that the audit scope report is
generated against. For example, NIST_800_53.
string compliance_framework = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for complianceFramework.
|
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp when the schedule was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when the schedule was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public AuditSchedule getDefaultInstanceForType()
getDisplayName()
public String getDisplayName()
Optional. Display name for the audit schedule.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. Display name for the audit schedule.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for displayName.
|
getErrorMessage()
public String getErrorMessage()
Output only. Describes the error if the schedule is in an error state.
string error_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The errorMessage.
|
getErrorMessageBytes()
public ByteString getErrorMessageBytes()
Output only. Describes the error if the schedule is in an error state.
string error_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for errorMessage.
|
getGcsUri()
public String getGcsUri()
Required. Cloud Storage bucket where Audit Manager can upload the audit
report and evidence. The format is gs://{bucket_name}.
string gcs_uri = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The gcsUri.
|
getGcsUriBytes()
public ByteString getGcsUriBytes()
Required. Cloud Storage bucket where Audit Manager can upload the audit
report and evidence. The format is gs://{bucket_name}.
string gcs_uri = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for gcsUri.
|
getLastTriggerTime()
public Timestamp getLastTriggerTime()
Output only. Timestamp when the audit run was last triggered.
.google.protobuf.Timestamp last_trigger_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The lastTriggerTime.
|
getLastTriggerTimeOrBuilder()
public TimestampOrBuilder getLastTriggerTimeOrBuilder()
Output only. Timestamp when the audit run was last triggered.
.google.protobuf.Timestamp last_trigger_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getName()
Identifier. Unique identifier for the audit schedule.
Format:
projects/{project}/locations/{location}/auditSchedules/{audit_schedule}
folders/{folder}/locations/{location}/auditSchedules/{audit_schedule}
organizations/{organization}/locations/{location}/auditSchedules/{audit_schedule}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. Unique identifier for the audit schedule.
Format:
projects/{project}/locations/{location}/auditSchedules/{audit_schedule}
folders/{folder}/locations/{location}/auditSchedules/{audit_schedule}
organizations/{organization}/locations/{location}/auditSchedules/{audit_schedule}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getNextRunTime()
public Timestamp getNextRunTime()
Output only. Calculated timestamp for the next scheduled run.
.google.protobuf.Timestamp next_run_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The nextRunTime.
|
getNextRunTimeOrBuilder()
public TimestampOrBuilder getNextRunTimeOrBuilder()
Output only. Calculated timestamp for the next scheduled run.
.google.protobuf.Timestamp next_run_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
public Parser<AuditSchedule> getParserForType()
Overrides
public AuditSchedule.AuditReportFormat getReportFormat()
Required. Format for the audit report.
.google.cloud.auditmanager.v1.AuditSchedule.AuditReportFormat report_format = 5 [(.google.api.field_behavior) = REQUIRED];
public int getReportFormatValue()
Required. Format for the audit report.
.google.cloud.auditmanager.v1.AuditSchedule.AuditReportFormat report_format = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for reportFormat.
|
getScheduleConfig()
public ScheduleConfig getScheduleConfig()
Required. Configuration that defines when and how often audit runs are
automatically triggered for this schedule.
.google.cloud.auditmanager.v1.ScheduleConfig schedule_config = 6 [(.google.api.field_behavior) = REQUIRED];
getScheduleConfigOrBuilder()
public ScheduleConfigOrBuilder getScheduleConfigOrBuilder()
Required. Configuration that defines when and how often audit runs are
automatically triggered for this schedule.
.google.cloud.auditmanager.v1.ScheduleConfig schedule_config = 6 [(.google.api.field_behavior) = REQUIRED];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getState()
public ScheduleState getState()
Optional. State of the audit schedule. While most states are managed by the
system, you can use
UpdateAuditSchedule
to start, pause, or delete the schedule.
.google.cloud.auditmanager.v1.ScheduleState state = 7 [(.google.api.field_behavior) = OPTIONAL];
getStateValue()
public int getStateValue()
Optional. State of the audit schedule. While most states are managed by the
system, you can use
UpdateAuditSchedule
to start, pause, or delete the schedule.
.google.cloud.auditmanager.v1.ScheduleState state = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for state.
|
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Timestamp when the schedule was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when the schedule was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp when the schedule was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
hasLastTriggerTime()
public boolean hasLastTriggerTime()
Output only. Timestamp when the audit run was last triggered.
.google.protobuf.Timestamp last_trigger_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the lastTriggerTime field is set.
|
hasNextRunTime()
public boolean hasNextRunTime()
Output only. Calculated timestamp for the next scheduled run.
.google.protobuf.Timestamp next_run_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the nextRunTime field is set.
|
hasScheduleConfig()
public boolean hasScheduleConfig()
Required. Configuration that defines when and how often audit runs are
automatically triggered for this schedule.
.google.cloud.auditmanager.v1.ScheduleConfig schedule_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the scheduleConfig field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Timestamp when the schedule was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AuditSchedule.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AuditSchedule.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public AuditSchedule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides