Interface AutoProtectionPolicyBindingOrBuilder (0.58.0)

public interface AutoProtectionPolicyBindingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBindingEvaluationSummary()

public abstract BindingEvaluationSummary getBindingEvaluationSummary()

Output only. Summaries of the last policy application when the job has run, with one entry per resource type specified in the AutoProtectionPolicy.

.google.cloud.backupdr.v1beta.BindingEvaluationSummary binding_evaluation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BindingEvaluationSummary

The bindingEvaluationSummary.

getBindingEvaluationSummaryOrBuilder()

public abstract BindingEvaluationSummaryOrBuilder getBindingEvaluationSummaryOrBuilder()

Output only. Summaries of the last policy application when the job has run, with one entry per resource type specified in the AutoProtectionPolicy.

.google.cloud.backupdr.v1beta.BindingEvaluationSummary binding_evaluation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BindingEvaluationSummaryOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The timestamp when the binding was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp when the binding was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Optional. A description of the binding.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. A description of the binding.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getEtag()

public abstract String getEtag()

Optional. Output only. The etag for the binding. If this is provided on update, it must match the server's etag.

string etag = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

Optional. Output only. The etag for the binding. If this is provided on update, it must match the server's etag.

string etag = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for etag.

getName()

public abstract String getName()

Identifier. The resource name of the AutoProtectionPolicyBinding. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the AutoProtectionPolicyBinding. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getScope()

public abstract String getScope()

Required. Immutable. Resource Id of target container on which policy will be applied. Format: projects/{project_id}

string scope = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The scope.

getScopeBytes()

public abstract ByteString getScopeBytes()

Required. Immutable. Resource Id of target container on which policy will be applied. Format: projects/{project_id}

string scope = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for scope.

getState()

public abstract AutoProtectionPolicyBinding.State getState()

Output only. The current state of the AutoProtectionPolicyBinding.

.google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutoProtectionPolicyBinding.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The current state of the AutoProtectionPolicyBinding.

.google.cloud.backupdr.v1beta.AutoProtectionPolicyBinding.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The timestamp when the binding was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The timestamp when the binding was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasBindingEvaluationSummary()

public abstract boolean hasBindingEvaluationSummary()

Output only. Summaries of the last policy application when the job has run, with one entry per resource type specified in the AutoProtectionPolicy.

.google.cloud.backupdr.v1beta.BindingEvaluationSummary binding_evaluation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the bindingEvaluationSummary field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The timestamp when the binding was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The timestamp when the binding was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.