Interface NetworkConfigOrBuilder (1.24.0)

public interface NetworkConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConnectMode()

public abstract NetworkConfig.ConnectMode getConnectMode()

The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.

.google.cloud.filestore.v1.NetworkConfig.ConnectMode connect_mode = 6;

Returns
TypeDescription
NetworkConfig.ConnectMode

The connectMode.

getConnectModeValue()

public abstract int getConnectModeValue()

The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.

.google.cloud.filestore.v1.NetworkConfig.ConnectMode connect_mode = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for connectMode.

getIpAddresses(int index)

public abstract String getIpAddresses(int index)

Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or IPv6 addresses in the format {block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}.

repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The ipAddresses at the given index.

getIpAddressesBytes(int index)

public abstract ByteString getIpAddressesBytes(int index)

Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or IPv6 addresses in the format {block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}.

repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the ipAddresses at the given index.

getIpAddressesCount()

public abstract int getIpAddressesCount()

Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or IPv6 addresses in the format {block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}.

repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of ipAddresses.

getIpAddressesList()

public abstract List<String> getIpAddressesList()

Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or IPv6 addresses in the format {block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}.

repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<String>

A list containing the ipAddresses.

getModes(int index)

public abstract NetworkConfig.AddressMode getModes(int index)

Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.

repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
NetworkConfig.AddressMode

The modes at the given index.

getModesCount()

public abstract int getModesCount()

Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.

repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;

Returns
TypeDescription
int

The count of modes.

getModesList()

public abstract List<NetworkConfig.AddressMode> getModesList()

Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.

repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;

Returns
TypeDescription
List<AddressMode>

A list containing the modes.

getModesValue(int index)

public abstract int getModesValue(int index)

Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.

repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of modes at the given index.

getModesValueList()

public abstract List<Integer> getModesValueList()

Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.

repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for modes.

getNetwork()

public abstract String getNetwork()

The name of the Google Compute Engine VPC network to which the instance is connected.

string network = 1;

Returns
TypeDescription
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

The name of the Google Compute Engine VPC network to which the instance is connected.

string network = 1;

Returns
TypeDescription
ByteString

The bytes for network.

getReservedIpRange()

public abstract String getReservedIpRange()

Optional, reserved_ip_range can have one of the following two types of values.

  • CIDR range value when using DIRECT_PEERING connect mode.
  • Allocated IP address range when using PRIVATE_SERVICE_ACCESS connect mode.

    When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the internal IP address ranges that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.

string reserved_ip_range = 4;

Returns
TypeDescription
String

The reservedIpRange.

getReservedIpRangeBytes()

public abstract ByteString getReservedIpRangeBytes()

Optional, reserved_ip_range can have one of the following two types of values.

  • CIDR range value when using DIRECT_PEERING connect mode.
  • Allocated IP address range when using PRIVATE_SERVICE_ACCESS connect mode.

    When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the internal IP address ranges that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.

string reserved_ip_range = 4;

Returns
TypeDescription
ByteString

The bytes for reservedIpRange.