Class CustomMirroringProfile.Builder (0.94.0)

public static final class CustomMirroringProfile.Builder extends GeneratedMessage.Builder<CustomMirroringProfile.Builder> implements CustomMirroringProfileOrBuilder

CustomMirroringProfile defines out-of-band integration behavior (mirroring). It is used by mirroring rules with a MIRROR action.

Protobuf type google.cloud.networksecurity.v1.CustomMirroringProfile

Static Methods

getDescriptor()

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

Methods

build()

public CustomMirroringProfile build()
Returns
Type Description
CustomMirroringProfile

buildPartial()

public CustomMirroringProfile buildPartial()
Returns
Type Description
CustomMirroringProfile

clear()

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

clearMirroringEndpointGroup()

public CustomMirroringProfile.Builder clearMirroringEndpointGroup()

Required. Immutable. The target MirroringEndpointGroup. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group.

string mirroring_endpoint_group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
CustomMirroringProfile.Builder

This builder for chaining.

getDefaultInstanceForType()

public CustomMirroringProfile getDefaultInstanceForType()
Returns
Type Description
CustomMirroringProfile

getDescriptorForType()

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

getMirroringEndpointGroup()

public String getMirroringEndpointGroup()

Required. Immutable. The target MirroringEndpointGroup. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group.

string mirroring_endpoint_group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The mirroringEndpointGroup.

getMirroringEndpointGroupBytes()

public ByteString getMirroringEndpointGroupBytes()

Required. Immutable. The target MirroringEndpointGroup. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group.

string mirroring_endpoint_group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for mirroringEndpointGroup.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomMirroringProfile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setMirroringEndpointGroup(String value)

public CustomMirroringProfile.Builder setMirroringEndpointGroup(String value)

Required. Immutable. The target MirroringEndpointGroup. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group.

string mirroring_endpoint_group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The mirroringEndpointGroup to set.

Returns
Type Description
CustomMirroringProfile.Builder

This builder for chaining.

setMirroringEndpointGroupBytes(ByteString value)

public CustomMirroringProfile.Builder setMirroringEndpointGroupBytes(ByteString value)

Required. Immutable. The target MirroringEndpointGroup. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group.

string mirroring_endpoint_group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for mirroringEndpointGroup to set.

Returns
Type Description
CustomMirroringProfile.Builder

This builder for chaining.