Class CreateOrgPolicyViolationsPreviewOperationMetadata (0.55.0)
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
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-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]