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 TypeMethodDescriptioncom.google.protobuf.TimestampTime when the request was received.com.google.protobuf.TimestampOrBuilderTime when the request was received.intTotal number of resources that need scanning.intNumber of resources still to scan.intNumber of resources already scanned.com.google.protobuf.TimestampTime when the request started processing, i.e., when the state was set to RUNNING.com.google.protobuf.TimestampOrBuilderTime when the request started processing, i.e., when the state was set to RUNNING.getState()Output only.intOutput only.booleanTime when the request was received.booleanTime when the request started processing, i.e., when the state was set to RUNNING.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-