Interface CreateOrgPolicyViolationsPreviewOperationMetadataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateOrgPolicyViolationsPreviewOperationMetadata, CreateOrgPolicyViolationsPreviewOperationMetadata.Builder

@Generated public interface CreateOrgPolicyViolationsPreviewOperationMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    Time when the request was received.
    com.google.protobuf.TimestampOrBuilder
    Time when the request was received.
    int
    Total number of resources that need scanning.
    int
    Number of resources still to scan.
    int
    Number of resources already scanned.
    com.google.protobuf.Timestamp
    Time when the request started processing, i.e., when the state was set to RUNNING.
    com.google.protobuf.TimestampOrBuilder
    Time when the request started processing, i.e., when the state was set to RUNNING.
    Output only.
    int
    Output only.
    boolean
    Time when the request was received.
    boolean
    Time when the request started processing, i.e., when the state was set to RUNNING.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasRequestTime

      boolean hasRequestTime()
       Time when the request was received.
       
      .google.protobuf.Timestamp request_time = 1;
      Returns:
      Whether the requestTime field is set.
    • getRequestTime

      com.google.protobuf.Timestamp getRequestTime()
       Time when the request was received.
       
      .google.protobuf.Timestamp request_time = 1;
      Returns:
      The requestTime.
    • getRequestTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder()
       Time when the request was received.
       
      .google.protobuf.Timestamp request_time = 1;
    • hasStartTime

      boolean hasStartTime()
       Time when the request started processing, i.e., when the state was set to
       RUNNING.
       
      .google.protobuf.Timestamp start_time = 2;
      Returns:
      Whether the startTime field is set.
    • getStartTime

      com.google.protobuf.Timestamp getStartTime()
       Time when the request started processing, i.e., when the state was set to
       RUNNING.
       
      .google.protobuf.Timestamp start_time = 2;
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Time when the request started processing, i.e., when the state was set to
       RUNNING.
       
      .google.protobuf.Timestamp start_time = 2;
    • getStateValue

      int getStateValue()
       Output only. The current state of the operation.
       
      .google.cloud.policysimulator.v1.PreviewState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

      PreviewState getState()
       Output only. The current state of the operation.
       
      .google.cloud.policysimulator.v1.PreviewState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getResourcesFound

      int getResourcesFound()
       Total number of resources that need scanning.
       Should equal resource_scanned + resources_pending
       
      int32 resources_found = 4;
      Returns:
      The resourcesFound.
    • getResourcesScanned

      int getResourcesScanned()
       Number of resources already scanned.
       
      int32 resources_scanned = 5;
      Returns:
      The resourcesScanned.
    • getResourcesPending

      int getResourcesPending()
       Number of resources still to scan.
       
      int32 resources_pending = 6;
      Returns:
      The resourcesPending.