public static final class ParameterSubstitutionRule.Builder extends GeneratedMessage.Builder<ParameterSubstitutionRule.Builder> implements ParameterSubstitutionRuleOrBuilder
The parameter substitution rules.
Protobuf type google.cloud.cloudsecuritycompliance.v1.ParameterSubstitutionRule
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
build()
public ParameterSubstitutionRule build()
buildPartial()
public ParameterSubstitutionRule buildPartial()
clear()
public ParameterSubstitutionRule.Builder clear()
Overrides
clearAttributeSubstitutionRule()
public ParameterSubstitutionRule.Builder clearAttributeSubstitutionRule()
The attribute substitution rule.
.google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRule attribute_substitution_rule = 2;
clearPlaceholderSubstitutionRule()
public ParameterSubstitutionRule.Builder clearPlaceholderSubstitutionRule()
The placeholder substitution rule.
.google.cloud.cloudsecuritycompliance.v1.PlaceholderSubstitutionRule placeholder_substitution_rule = 1;
clearSubstitutionType()
public ParameterSubstitutionRule.Builder clearSubstitutionType()
getAttributeSubstitutionRule()
public AttributeSubstitutionRule getAttributeSubstitutionRule()
The attribute substitution rule.
.google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRule attribute_substitution_rule = 2;
getAttributeSubstitutionRuleBuilder()
public AttributeSubstitutionRule.Builder getAttributeSubstitutionRuleBuilder()
The attribute substitution rule.
.google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRule attribute_substitution_rule = 2;
getAttributeSubstitutionRuleOrBuilder()
public AttributeSubstitutionRuleOrBuilder getAttributeSubstitutionRuleOrBuilder()
The attribute substitution rule.
.google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRule attribute_substitution_rule = 2;
getDefaultInstanceForType()
public ParameterSubstitutionRule getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPlaceholderSubstitutionRule()
public PlaceholderSubstitutionRule getPlaceholderSubstitutionRule()
The placeholder substitution rule.
.google.cloud.cloudsecuritycompliance.v1.PlaceholderSubstitutionRule placeholder_substitution_rule = 1;
getPlaceholderSubstitutionRuleBuilder()
public PlaceholderSubstitutionRule.Builder getPlaceholderSubstitutionRuleBuilder()
The placeholder substitution rule.
.google.cloud.cloudsecuritycompliance.v1.PlaceholderSubstitutionRule placeholder_substitution_rule = 1;
getPlaceholderSubstitutionRuleOrBuilder()
public PlaceholderSubstitutionRuleOrBuilder getPlaceholderSubstitutionRuleOrBuilder()
The placeholder substitution rule.
.google.cloud.cloudsecuritycompliance.v1.PlaceholderSubstitutionRule placeholder_substitution_rule = 1;
getSubstitutionTypeCase()
public ParameterSubstitutionRule.SubstitutionTypeCase getSubstitutionTypeCase()
hasAttributeSubstitutionRule()
public boolean hasAttributeSubstitutionRule()
The attribute substitution rule.
.google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRule attribute_substitution_rule = 2;
| Returns |
| Type |
Description |
boolean |
Whether the attributeSubstitutionRule field is set.
|
hasPlaceholderSubstitutionRule()
public boolean hasPlaceholderSubstitutionRule()
The placeholder substitution rule.
.google.cloud.cloudsecuritycompliance.v1.PlaceholderSubstitutionRule placeholder_substitution_rule = 1;
| Returns |
| Type |
Description |
boolean |
Whether the placeholderSubstitutionRule field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAttributeSubstitutionRule(AttributeSubstitutionRule value)
public ParameterSubstitutionRule.Builder mergeAttributeSubstitutionRule(AttributeSubstitutionRule value)
The attribute substitution rule.
.google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRule attribute_substitution_rule = 2;
mergeFrom(ParameterSubstitutionRule other)
public ParameterSubstitutionRule.Builder mergeFrom(ParameterSubstitutionRule other)
public ParameterSubstitutionRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ParameterSubstitutionRule.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergePlaceholderSubstitutionRule(PlaceholderSubstitutionRule value)
public ParameterSubstitutionRule.Builder mergePlaceholderSubstitutionRule(PlaceholderSubstitutionRule value)
The placeholder substitution rule.
.google.cloud.cloudsecuritycompliance.v1.PlaceholderSubstitutionRule placeholder_substitution_rule = 1;
setAttributeSubstitutionRule(AttributeSubstitutionRule value)
public ParameterSubstitutionRule.Builder setAttributeSubstitutionRule(AttributeSubstitutionRule value)
The attribute substitution rule.
.google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRule attribute_substitution_rule = 2;
setAttributeSubstitutionRule(AttributeSubstitutionRule.Builder builderForValue)
public ParameterSubstitutionRule.Builder setAttributeSubstitutionRule(AttributeSubstitutionRule.Builder builderForValue)
The attribute substitution rule.
.google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRule attribute_substitution_rule = 2;
setPlaceholderSubstitutionRule(PlaceholderSubstitutionRule value)
public ParameterSubstitutionRule.Builder setPlaceholderSubstitutionRule(PlaceholderSubstitutionRule value)
The placeholder substitution rule.
.google.cloud.cloudsecuritycompliance.v1.PlaceholderSubstitutionRule placeholder_substitution_rule = 1;
setPlaceholderSubstitutionRule(PlaceholderSubstitutionRule.Builder builderForValue)
public ParameterSubstitutionRule.Builder setPlaceholderSubstitutionRule(PlaceholderSubstitutionRule.Builder builderForValue)
The placeholder substitution rule.
.google.cloud.cloudsecuritycompliance.v1.PlaceholderSubstitutionRule placeholder_substitution_rule = 1;