Send feedback
Class CreateOrgPolicyViolationsPreviewOperationMetadata (0.49.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class CreateOrgPolicyViolationsPreviewOperationMetadata extends GeneratedMessageV3 implements CreateOrgPolicyViolationsPreviewOperationMetadataOrBuilder
CreateOrgPolicyViolationsPreviewOperationMetadata is metadata about an
OrgPolicyViolationsPreview generations operation.
Protobuf type
google.cloud.policysimulator.v1.CreateOrgPolicyViolationsPreviewOperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int REQUEST_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int RESOURCES_FOUND_FIELD_NUMBER
Field Value
Type
Description
int
public static final int RESOURCES_PENDING_FIELD_NUMBER
Field Value
Type
Description
int
public static final int RESOURCES_SCANNED_FIELD_NUMBER
Field Value
Type
Description
int
public static final int START_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int STATE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static CreateOrgPolicyViolationsPreviewOperationMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static CreateOrgPolicyViolationsPreviewOperationMetadata . Builder newBuilder ()
public static CreateOrgPolicyViolationsPreviewOperationMetadata . Builder newBuilder ( CreateOrgPolicyViolationsPreviewOperationMetadata prototype )
public static CreateOrgPolicyViolationsPreviewOperationMetadata parseDelimitedFrom ( InputStream input )
public static CreateOrgPolicyViolationsPreviewOperationMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CreateOrgPolicyViolationsPreviewOperationMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static CreateOrgPolicyViolationsPreviewOperationMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static CreateOrgPolicyViolationsPreviewOperationMetadata parseFrom ( ByteString data )
public static CreateOrgPolicyViolationsPreviewOperationMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CreateOrgPolicyViolationsPreviewOperationMetadata parseFrom ( CodedInputStream input )
public static CreateOrgPolicyViolationsPreviewOperationMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CreateOrgPolicyViolationsPreviewOperationMetadata parseFrom ( InputStream input )
public static CreateOrgPolicyViolationsPreviewOperationMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CreateOrgPolicyViolationsPreviewOperationMetadata parseFrom ( ByteBuffer data )
public static CreateOrgPolicyViolationsPreviewOperationMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<CreateOrgPolicyViolationsPreviewOperationMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public CreateOrgPolicyViolationsPreviewOperationMetadata getDefaultInstanceForType ()
public Parser<CreateOrgPolicyViolationsPreviewOperationMetadata> getParserForType ()
Overrides
public Timestamp getRequestTime ()
Time when the request was received.
.google.protobuf.Timestamp request_time = 1;
Returns
Type
Description
Timestamp
The requestTime.
public TimestampOrBuilder getRequestTimeOrBuilder ()
Time when the request was received.
.google.protobuf.Timestamp request_time = 1;
public int getResourcesFound ()
Total number of resources that need scanning.
Should equal resource_scanned + resources_pending
int32 resources_found = 4;
Returns
Type
Description
int
The resourcesFound.
public int getResourcesPending ()
Number of resources still to scan.
int32 resources_pending = 6;
Returns
Type
Description
int
The resourcesPending.
public int getResourcesScanned ()
Number of resources already scanned.
int32 resources_scanned = 5;
Returns
Type
Description
int
The resourcesScanned.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Timestamp getStartTime ()
Time when the request started processing, i.e., when the state was set to
RUNNING.
.google.protobuf.Timestamp start_time = 2;
Returns
Type
Description
Timestamp
The startTime.
public TimestampOrBuilder getStartTimeOrBuilder ()
Time when the request started processing, i.e., when the state was set to
RUNNING.
.google.protobuf.Timestamp start_time = 2;
public PreviewState getState ()
Output only. The current state of the operation.
.google.cloud.policysimulator.v1.PreviewState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getStateValue ()
Output only. The current state of the operation.
.google.cloud.policysimulator.v1.PreviewState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The enum numeric value on the wire for state.
public boolean hasRequestTime ()
Time when the request was received.
.google.protobuf.Timestamp request_time = 1;
Returns
Type
Description
boolean
Whether the requestTime field is set.
public boolean hasStartTime ()
Time when the request started processing, i.e., when the state was set to
RUNNING.
.google.protobuf.Timestamp start_time = 2;
Returns
Type
Description
boolean
Whether the startTime field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public CreateOrgPolicyViolationsPreviewOperationMetadata . Builder newBuilderForType ()
protected CreateOrgPolicyViolationsPreviewOperationMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public CreateOrgPolicyViolationsPreviewOperationMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-02 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-02 UTC."],[],[]]