- 0.64.0 (latest)
- 0.62.0
- 0.61.0
- 0.59.0
- 0.57.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class OrgPolicyViolationsPreview.ResourceCounts extends GeneratedMessage implements OrgPolicyViolationsPreview.ResourceCountsOrBuilderA summary of the state of all resources scanned for compliance with the changed OrgPolicy.
Protobuf type google.cloud.policysimulator.v1.OrgPolicyViolationsPreview.ResourceCounts
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > OrgPolicyViolationsPreview.ResourceCountsStatic Fields
COMPLIANT_FIELD_NUMBER
public static final int COMPLIANT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NONCOMPLIANT_FIELD_NUMBER
public static final int NONCOMPLIANT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SCANNED_FIELD_NUMBER
public static final int SCANNED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
UNENFORCED_FIELD_NUMBER
public static final int UNENFORCED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static OrgPolicyViolationsPreview.ResourceCounts getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static OrgPolicyViolationsPreview.ResourceCounts.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts.Builder |
|
newBuilder(OrgPolicyViolationsPreview.ResourceCounts prototype)
public static OrgPolicyViolationsPreview.ResourceCounts.Builder newBuilder(OrgPolicyViolationsPreview.ResourceCounts prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
OrgPolicyViolationsPreview.ResourceCounts |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts.Builder |
|
parseDelimitedFrom(InputStream input)
public static OrgPolicyViolationsPreview.ResourceCounts parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyViolationsPreview.ResourceCounts parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static OrgPolicyViolationsPreview.ResourceCounts parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyViolationsPreview.ResourceCounts parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static OrgPolicyViolationsPreview.ResourceCounts parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyViolationsPreview.ResourceCounts parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static OrgPolicyViolationsPreview.ResourceCounts parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyViolationsPreview.ResourceCounts parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static OrgPolicyViolationsPreview.ResourceCounts parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyViolationsPreview.ResourceCounts parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static OrgPolicyViolationsPreview.ResourceCounts parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyViolationsPreview.ResourceCounts parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<OrgPolicyViolationsPreview.ResourceCounts> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ResourceCounts> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCompliant()
public int getCompliant()Output only. Number of scanned resources with zero violations.
int32 compliant = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The compliant. |
getDefaultInstanceForType()
public OrgPolicyViolationsPreview.ResourceCounts getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts |
|
getErrors()
public int getErrors()Output only. Number of resources that returned an error when scanned.
int32 errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The errors. |
getNoncompliant()
public int getNoncompliant()Output only. Number of scanned resources with at least one violation.
int32 noncompliant = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The noncompliant. |
getParserForType()
public Parser<OrgPolicyViolationsPreview.ResourceCounts> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ResourceCounts> |
|
getScanned()
public int getScanned()Output only. Number of resources checked for compliance.
Must equal: unenforced + noncompliant + compliant + error
int32 scanned = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The scanned. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getUnenforced()
public int getUnenforced() Output only. Number of resources where the constraint was not enforced,
i.e. the Policy set enforced: false for that resource.
int32 unenforced = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The unenforced. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public OrgPolicyViolationsPreview.ResourceCounts.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected OrgPolicyViolationsPreview.ResourceCounts.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts.Builder |
|
toBuilder()
public OrgPolicyViolationsPreview.ResourceCounts.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview.ResourceCounts.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|