Class CustomInterceptProfile.Builder (0.94.0)

public static final class CustomInterceptProfile.Builder extends GeneratedMessage.Builder<CustomInterceptProfile.Builder> implements CustomInterceptProfileOrBuilder

CustomInterceptProfile defines in-band integration behavior (intercept). It is used by firewall rules with an APPLY_SECURITY_PROFILE_GROUP action.

Protobuf type google.cloud.networksecurity.v1.CustomInterceptProfile

Static Methods

getDescriptor()

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

Methods

build()

public CustomInterceptProfile build()
Returns
Type Description
CustomInterceptProfile

buildPartial()

public CustomInterceptProfile buildPartial()
Returns
Type Description
CustomInterceptProfile

clear()

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

clearInterceptEndpointGroup()

public CustomInterceptProfile.Builder clearInterceptEndpointGroup()

Required. The target InterceptEndpointGroup. When a firewall rule with this security profile attached matches a packet, the packet will be intercepted to the location-local target in this group.

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

Returns
Type Description
CustomInterceptProfile.Builder

This builder for chaining.

getDefaultInstanceForType()

public CustomInterceptProfile getDefaultInstanceForType()
Returns
Type Description
CustomInterceptProfile

getDescriptorForType()

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

getInterceptEndpointGroup()

public String getInterceptEndpointGroup()

Required. The target InterceptEndpointGroup. When a firewall rule with this security profile attached matches a packet, the packet will be intercepted to the location-local target in this group.

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

Returns
Type Description
String

The interceptEndpointGroup.

getInterceptEndpointGroupBytes()

public ByteString getInterceptEndpointGroupBytes()

Required. The target InterceptEndpointGroup. When a firewall rule with this security profile attached matches a packet, the packet will be intercepted to the location-local target in this group.

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

Returns
Type Description
ByteString

The bytes for interceptEndpointGroup.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomInterceptProfile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setInterceptEndpointGroup(String value)

public CustomInterceptProfile.Builder setInterceptEndpointGroup(String value)

Required. The target InterceptEndpointGroup. When a firewall rule with this security profile attached matches a packet, the packet will be intercepted to the location-local target in this group.

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

Parameter
Name Description
value String

The interceptEndpointGroup to set.

Returns
Type Description
CustomInterceptProfile.Builder

This builder for chaining.

setInterceptEndpointGroupBytes(ByteString value)

public CustomInterceptProfile.Builder setInterceptEndpointGroupBytes(ByteString value)

Required. The target InterceptEndpointGroup. When a firewall rule with this security profile attached matches a packet, the packet will be intercepted to the location-local target in this group.

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

Parameter
Name Description
value ByteString

The bytes for interceptEndpointGroup to set.

Returns
Type Description
CustomInterceptProfile.Builder

This builder for chaining.