public final class PolicyEvaluationSummary extends GeneratedMessage implements PolicyEvaluationSummaryOrBuilderPolicyEvaluationSummary contains the summary of the last run of job that applies policy to matching resources.
Protobuf type google.cloud.backupdr.v1beta.PolicyEvaluationSummary
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > PolicyEvaluationSummaryImplements
PolicyEvaluationSummaryOrBuilderStatic Fields
FAILED_RESOURCE_COUNT_FIELD_NUMBER
public static final int FAILED_RESOURCE_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MATCHING_RESOURCE_COUNT_FIELD_NUMBER
public static final int MATCHING_RESOURCE_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PROTECTED_RESOURCE_COUNT_FIELD_NUMBER
public static final int PROTECTED_RESOURCE_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static PolicyEvaluationSummary getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static PolicyEvaluationSummary.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary.Builder |
|
newBuilder(PolicyEvaluationSummary prototype)
public static PolicyEvaluationSummary.Builder newBuilder(PolicyEvaluationSummary prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
PolicyEvaluationSummary |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary.Builder |
|
parseDelimitedFrom(InputStream input)
public static PolicyEvaluationSummary parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PolicyEvaluationSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static PolicyEvaluationSummary parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PolicyEvaluationSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static PolicyEvaluationSummary parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PolicyEvaluationSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static PolicyEvaluationSummary parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PolicyEvaluationSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static PolicyEvaluationSummary parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PolicyEvaluationSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static PolicyEvaluationSummary parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PolicyEvaluationSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<PolicyEvaluationSummary> parser()| Returns | |
|---|---|
| Type | Description |
Parser<PolicyEvaluationSummary> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public PolicyEvaluationSummary getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
|
getFailedResourceCount()
public long getFailedResourceCount()Output only. The number of matching resources whose protection failed during job run.
int64 failed_resource_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The failedResourceCount. |
getMatchingResourceCount()
public long getMatchingResourceCount()Output only. The number of resources that currently match the policy's criteria.
int64 matching_resource_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The matchingResourceCount. |
getParserForType()
public Parser<PolicyEvaluationSummary> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<PolicyEvaluationSummary> |
|
getProtectedResourceCount()
public long getProtectedResourceCount()Output only. The number of matching resources that are successfully protected.
int64 protected_resource_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The protectedResourceCount. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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 PolicyEvaluationSummary.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected PolicyEvaluationSummary.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary.Builder |
|
toBuilder()
public PolicyEvaluationSummary.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|