Interface Bucket.IpFilter.PublicNetworkSourceOrBuilder (2.60.0)

public static interface Bucket.IpFilter.PublicNetworkSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedIpCidrRanges(int index)

public abstract String getAllowedIpCidrRanges(int index)

Optional. The list of IPv4 and IPv6 cidr blocks that are allowed to operate or access the bucket and its underlying objects.

repeated string allowed_ip_cidr_ranges = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedIpCidrRanges at the given index.

getAllowedIpCidrRangesBytes(int index)

public abstract ByteString getAllowedIpCidrRangesBytes(int index)

Optional. The list of IPv4 and IPv6 cidr blocks that are allowed to operate or access the bucket and its underlying objects.

repeated string allowed_ip_cidr_ranges = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedIpCidrRanges at the given index.

getAllowedIpCidrRangesCount()

public abstract int getAllowedIpCidrRangesCount()

Optional. The list of IPv4 and IPv6 cidr blocks that are allowed to operate or access the bucket and its underlying objects.

repeated string allowed_ip_cidr_ranges = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of allowedIpCidrRanges.

getAllowedIpCidrRangesList()

public abstract List<String> getAllowedIpCidrRangesList()

Optional. The list of IPv4 and IPv6 cidr blocks that are allowed to operate or access the bucket and its underlying objects.

repeated string allowed_ip_cidr_ranges = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the allowedIpCidrRanges.