Interface AccessRulesOptions.AccessRuleOrBuilder (0.39.0)

public static interface AccessRulesOptions.AccessRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIpAddressRanges(int index)

public abstract String getIpAddressRanges(int index)

Required. The IP address ranges to which to apply this access rule. Accepts non-overlapping CIDR ranges (e.g., 192.168.1.0/24) and IP addresses (e.g., 192.168.1.0).

repeated string ip_address_ranges = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The ipAddressRanges at the given index.

getIpAddressRangesBytes(int index)

public abstract ByteString getIpAddressRangesBytes(int index)

Required. The IP address ranges to which to apply this access rule. Accepts non-overlapping CIDR ranges (e.g., 192.168.1.0/24) and IP addresses (e.g., 192.168.1.0).

repeated string ip_address_ranges = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the ipAddressRanges at the given index.

getIpAddressRangesCount()

public abstract int getIpAddressRangesCount()

Required. The IP address ranges to which to apply this access rule. Accepts non-overlapping CIDR ranges (e.g., 192.168.1.0/24) and IP addresses (e.g., 192.168.1.0).

repeated string ip_address_ranges = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of ipAddressRanges.

getIpAddressRangesList()

public abstract List<String> getIpAddressRangesList()

Required. The IP address ranges to which to apply this access rule. Accepts non-overlapping CIDR ranges (e.g., 192.168.1.0/24) and IP addresses (e.g., 192.168.1.0).

repeated string ip_address_ranges = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the ipAddressRanges.

getName()

public abstract String getName()

Required. The name of the access rule policy group. Must be 16 characters or less and include only alphanumeric characters or '_'.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the access rule policy group. Must be 16 characters or less and include only alphanumeric characters or '_'.

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

Returns
Type Description
ByteString

The bytes for name.

getSquashMode()

public abstract AccessRulesOptions.SquashMode getSquashMode()

Required. Squash mode for the access rule.

.google.cloud.lustre.v1.AccessRulesOptions.SquashMode squash_mode = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccessRulesOptions.SquashMode

The squashMode.

getSquashModeValue()

public abstract int getSquashModeValue()

Required. Squash mode for the access rule.

.google.cloud.lustre.v1.AccessRulesOptions.SquashMode squash_mode = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for squashMode.