Interface AuthzPolicy.AuthzRule.IpBlockOrBuilder (0.94.0)

public static interface AuthzPolicy.AuthzRule.IpBlockOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLength()

public abstract int getLength()

Required. The length of the address range.

int32 length = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The length.

getPrefix()

public abstract String getPrefix()

Required. The address prefix.

string prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The prefix.

getPrefixBytes()

public abstract ByteString getPrefixBytes()

Required. The address prefix.

string prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for prefix.