Class AttributeSubstitutionRule.Builder (0.10.0)

public static final class AttributeSubstitutionRule.Builder extends GeneratedMessage.Builder<AttributeSubstitutionRule.Builder> implements AttributeSubstitutionRuleOrBuilder

The attribute at the given path that's substituted entirely.

Protobuf type google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRule

Static Methods

getDescriptor()

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

Methods

build()

public AttributeSubstitutionRule build()
Returns
Type Description
AttributeSubstitutionRule

buildPartial()

public AttributeSubstitutionRule buildPartial()
Returns
Type Description
AttributeSubstitutionRule

clear()

public AttributeSubstitutionRule.Builder clear()
Returns
Type Description
AttributeSubstitutionRule.Builder
Overrides

clearAttribute()

public AttributeSubstitutionRule.Builder clearAttribute()

The fully qualified proto attribute path, in dot notation. For example: rules[0].cel_expression.resource_types_values

string attribute = 1;

Returns
Type Description
AttributeSubstitutionRule.Builder

This builder for chaining.

getAttribute()

public String getAttribute()

The fully qualified proto attribute path, in dot notation. For example: rules[0].cel_expression.resource_types_values

string attribute = 1;

Returns
Type Description
String

The attribute.

getAttributeBytes()

public ByteString getAttributeBytes()

The fully qualified proto attribute path, in dot notation. For example: rules[0].cel_expression.resource_types_values

string attribute = 1;

Returns
Type Description
ByteString

The bytes for attribute.

getDefaultInstanceForType()

public AttributeSubstitutionRule getDefaultInstanceForType()
Returns
Type Description
AttributeSubstitutionRule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AttributeSubstitutionRule other)

public AttributeSubstitutionRule.Builder mergeFrom(AttributeSubstitutionRule other)
Parameter
Name Description
other AttributeSubstitutionRule
Returns
Type Description
AttributeSubstitutionRule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AttributeSubstitutionRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttributeSubstitutionRule.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AttributeSubstitutionRule.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AttributeSubstitutionRule.Builder
Overrides

setAttribute(String value)

public AttributeSubstitutionRule.Builder setAttribute(String value)

The fully qualified proto attribute path, in dot notation. For example: rules[0].cel_expression.resource_types_values

string attribute = 1;

Parameter
Name Description
value String

The attribute to set.

Returns
Type Description
AttributeSubstitutionRule.Builder

This builder for chaining.

setAttributeBytes(ByteString value)

public AttributeSubstitutionRule.Builder setAttributeBytes(ByteString value)

The fully qualified proto attribute path, in dot notation. For example: rules[0].cel_expression.resource_types_values

string attribute = 1;

Parameter
Name Description
value ByteString

The bytes for attribute to set.

Returns
Type Description
AttributeSubstitutionRule.Builder

This builder for chaining.