Class CustomInterceptProfile (0.94.0)

public final class CustomInterceptProfile extends GeneratedMessage 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 Fields

INTERCEPT_ENDPOINT_GROUP_FIELD_NUMBER

public static final int INTERCEPT_ENDPOINT_GROUP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CustomInterceptProfile getDefaultInstance()
Returns
Type Description
CustomInterceptProfile

getDescriptor()

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

newBuilder()

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

newBuilder(CustomInterceptProfile prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CustomInterceptProfile getDefaultInstanceForType()
Returns
Type Description
CustomInterceptProfile

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CustomInterceptProfile.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CustomInterceptProfile.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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