Class ParameterSubstitutionRule (0.1.0)

public final class ParameterSubstitutionRule extends GeneratedMessageV3 implements ParameterSubstitutionRuleOrBuilder

Parameter substitution rules.

Protobuf type google.cloud.cloudsecuritycompliance.v1.ParameterSubstitutionRule

Static Fields

ATTRIBUTE_SUBSTITUTION_RULE_FIELD_NUMBER

public static final int ATTRIBUTE_SUBSTITUTION_RULE_FIELD_NUMBER
Field Value
Type Description
int

PLACEHOLDER_SUBSTITUTION_RULE_FIELD_NUMBER

public static final int PLACEHOLDER_SUBSTITUTION_RULE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ParameterSubstitutionRule getDefaultInstance()
Returns
Type Description
ParameterSubstitutionRule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ParameterSubstitutionRule.Builder newBuilder()
Returns
Type Description
ParameterSubstitutionRule.Builder

newBuilder(ParameterSubstitutionRule prototype)

public static ParameterSubstitutionRule.Builder newBuilder(ParameterSubstitutionRule prototype)
Parameter
Name Description
prototype ParameterSubstitutionRule
Returns
Type Description
ParameterSubstitutionRule.Builder

parseDelimitedFrom(InputStream input)

public static ParameterSubstitutionRule parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ParameterSubstitutionRule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterSubstitutionRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterSubstitutionRule
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ParameterSubstitutionRule parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ParameterSubstitutionRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ParameterSubstitutionRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterSubstitutionRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ParameterSubstitutionRule parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ParameterSubstitutionRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ParameterSubstitutionRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterSubstitutionRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ParameterSubstitutionRule parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ParameterSubstitutionRule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterSubstitutionRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterSubstitutionRule
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ParameterSubstitutionRule parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ParameterSubstitutionRule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterSubstitutionRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterSubstitutionRule
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ParameterSubstitutionRule parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ParameterSubstitutionRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ParameterSubstitutionRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterSubstitutionRule
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ParameterSubstitutionRule> parser()
Returns
Type Description
Parser<ParameterSubstitutionRule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAttributeSubstitutionRule()

public AttributeSubstitutionRule getAttributeSubstitutionRule()

Attribute substitution rule.

.google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRule attribute_substitution_rule = 2;

Returns
Type Description
AttributeSubstitutionRule

The attributeSubstitutionRule.

getAttributeSubstitutionRuleOrBuilder()

public AttributeSubstitutionRuleOrBuilder getAttributeSubstitutionRuleOrBuilder()

Attribute substitution rule.

.google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRule attribute_substitution_rule = 2;

Returns
Type Description
AttributeSubstitutionRuleOrBuilder

getDefaultInstanceForType()

public ParameterSubstitutionRule getDefaultInstanceForType()
Returns
Type Description
ParameterSubstitutionRule

getParserForType()

public Parser<ParameterSubstitutionRule> getParserForType()
Returns
Type Description
Parser<ParameterSubstitutionRule>
Overrides

getPlaceholderSubstitutionRule()

public PlaceholderSubstitutionRule getPlaceholderSubstitutionRule()

Placeholder substitution rule.

.google.cloud.cloudsecuritycompliance.v1.PlaceholderSubstitutionRule placeholder_substitution_rule = 1;

Returns
Type Description
PlaceholderSubstitutionRule

The placeholderSubstitutionRule.

getPlaceholderSubstitutionRuleOrBuilder()

public PlaceholderSubstitutionRuleOrBuilder getPlaceholderSubstitutionRuleOrBuilder()

Placeholder substitution rule.

.google.cloud.cloudsecuritycompliance.v1.PlaceholderSubstitutionRule placeholder_substitution_rule = 1;

Returns
Type Description
PlaceholderSubstitutionRuleOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubstitutionTypeCase()

public ParameterSubstitutionRule.SubstitutionTypeCase getSubstitutionTypeCase()
Returns
Type Description
ParameterSubstitutionRule.SubstitutionTypeCase

hasAttributeSubstitutionRule()

public boolean hasAttributeSubstitutionRule()

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()

Placeholder substitution rule.

.google.cloud.cloudsecuritycompliance.v1.PlaceholderSubstitutionRule placeholder_substitution_rule = 1;

Returns
Type Description
boolean

Whether the placeholderSubstitutionRule field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ParameterSubstitutionRule.Builder newBuilderForType()
Returns
Type Description
ParameterSubstitutionRule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ParameterSubstitutionRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ParameterSubstitutionRule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ParameterSubstitutionRule.Builder toBuilder()
Returns
Type Description
ParameterSubstitutionRule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException