public static final class BindingEvaluationSummary.Builder extends GeneratedMessage.Builder<BindingEvaluationSummary.Builder> implements BindingEvaluationSummaryOrBuilderBindingEvaluationSummary contains the summary of the last run of job that applies policy to matching resources for a given binding.
Protobuf type google.cloud.backupdr.v1beta.BindingEvaluationSummary
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BindingEvaluationSummary.BuilderImplements
BindingEvaluationSummaryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BindingEvaluationSummary build()| Returns | |
|---|---|
| Type | Description |
BindingEvaluationSummary |
|
buildPartial()
public BindingEvaluationSummary buildPartial()| Returns | |
|---|---|
| Type | Description |
BindingEvaluationSummary |
|
clear()
public BindingEvaluationSummary.Builder clear()| Returns | |
|---|---|
| Type | Description |
BindingEvaluationSummary.Builder |
|
clearFailedResourceCount()
public BindingEvaluationSummary.Builder clearFailedResourceCount()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 |
BindingEvaluationSummary.Builder |
This builder for chaining. |
clearMatchingResourceCount()
public BindingEvaluationSummary.Builder clearMatchingResourceCount()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 |
BindingEvaluationSummary.Builder |
This builder for chaining. |
clearProtectedResourceCount()
public BindingEvaluationSummary.Builder clearProtectedResourceCount()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 |
BindingEvaluationSummary.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public BindingEvaluationSummary getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BindingEvaluationSummary |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BindingEvaluationSummary other)
public BindingEvaluationSummary.Builder mergeFrom(BindingEvaluationSummary other)| Parameter | |
|---|---|
| Name | Description |
other |
BindingEvaluationSummary |
| Returns | |
|---|---|
| Type | Description |
BindingEvaluationSummary.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BindingEvaluationSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BindingEvaluationSummary.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BindingEvaluationSummary.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BindingEvaluationSummary.Builder |
|
setFailedResourceCount(long value)
public BindingEvaluationSummary.Builder setFailedResourceCount(long value)Output only. The number of matching resources whose protection failed during job run.
int64 failed_resource_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe failedResourceCount to set. |
| Returns | |
|---|---|
| Type | Description |
BindingEvaluationSummary.Builder |
This builder for chaining. |
setMatchingResourceCount(long value)
public BindingEvaluationSummary.Builder setMatchingResourceCount(long value)Output only. The number of resources that currently match the policy's criteria.
int64 matching_resource_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe matchingResourceCount to set. |
| Returns | |
|---|---|
| Type | Description |
BindingEvaluationSummary.Builder |
This builder for chaining. |
setProtectedResourceCount(long value)
public BindingEvaluationSummary.Builder setProtectedResourceCount(long value)Output only. The number of matching resources that are successfully protected.
int64 protected_resource_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe protectedResourceCount to set. |
| Returns | |
|---|---|
| Type | Description |
BindingEvaluationSummary.Builder |
This builder for chaining. |