public static final class Criteria.Builder extends GeneratedMessage.Builder<Criteria.Builder> implements CriteriaOrBuilder
Criteria specifies a set of criteria for matching resources.
Protobuf type google.cloud.backupdr.v1beta.Criteria
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllMatchingConditions(Iterable<? extends MatchingCondition> values)
public Criteria.Builder addAllMatchingConditions(Iterable<? extends MatchingCondition> values)
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.backupdr.v1beta.MatchingCondition>
|
addMatchingConditions(MatchingCondition value)
public Criteria.Builder addMatchingConditions(MatchingCondition value)
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
addMatchingConditions(MatchingCondition.Builder builderForValue)
public Criteria.Builder addMatchingConditions(MatchingCondition.Builder builderForValue)
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
addMatchingConditions(int index, MatchingCondition value)
public Criteria.Builder addMatchingConditions(int index, MatchingCondition value)
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
addMatchingConditions(int index, MatchingCondition.Builder builderForValue)
public Criteria.Builder addMatchingConditions(int index, MatchingCondition.Builder builderForValue)
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
addMatchingConditionsBuilder()
public MatchingCondition.Builder addMatchingConditionsBuilder()
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
addMatchingConditionsBuilder(int index)
public MatchingCondition.Builder addMatchingConditionsBuilder(int index)
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
build()
buildPartial()
public Criteria buildPartial()
clear()
public Criteria.Builder clear()
Overrides
clearMatchingConditions()
public Criteria.Builder clearMatchingConditions()
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public Criteria getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMatchingConditions(int index)
public MatchingCondition getMatchingConditions(int index)
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getMatchingConditionsBuilder(int index)
public MatchingCondition.Builder getMatchingConditionsBuilder(int index)
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getMatchingConditionsBuilderList()
public List<MatchingCondition.Builder> getMatchingConditionsBuilderList()
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
getMatchingConditionsCount()
public int getMatchingConditionsCount()
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
getMatchingConditionsList()
public List<MatchingCondition> getMatchingConditionsList()
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
getMatchingConditionsOrBuilder(int index)
public MatchingConditionOrBuilder getMatchingConditionsOrBuilder(int index)
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getMatchingConditionsOrBuilderList()
public List<? extends MatchingConditionOrBuilder> getMatchingConditionsOrBuilderList()
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.backupdr.v1beta.MatchingConditionOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Criteria other)
public Criteria.Builder mergeFrom(Criteria other)
| Parameter |
| Name |
Description |
other |
Criteria
|
public Criteria.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Criteria.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeMatchingConditions(int index)
public Criteria.Builder removeMatchingConditions(int index)
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
setMatchingConditions(int index, MatchingCondition value)
public Criteria.Builder setMatchingConditions(int index, MatchingCondition value)
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];
setMatchingConditions(int index, MatchingCondition.Builder builderForValue)
public Criteria.Builder setMatchingConditions(int index, MatchingCondition.Builder builderForValue)
Required. A list of matching conditions that a resource must meet to be
protected by the policy.
repeated .google.cloud.backupdr.v1beta.MatchingCondition matching_conditions = 1 [(.google.api.field_behavior) = REQUIRED];