Interface NetworkConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkConfig
,NetworkConfig.Builder
public interface NetworkConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkConfig.ConnectMode
getConnectMode()
The network connect mode of the Filestore instance.int
getConnectModeValue()
The network connect mode of the Filestore instance.String
getIpAddresses(int index)
Output only.com.google.protobuf.ByteString
getIpAddressesBytes(int index)
Output only.int
getIpAddressesCount()
Output only.List<String>
getIpAddressesList()
Output only.NetworkConfig.AddressMode
getModes(int index)
Internet protocol versions for which the instance has IP addresses assigned.int
getModesCount()
Internet protocol versions for which the instance has IP addresses assigned.List<NetworkConfig.AddressMode>
getModesList()
Internet protocol versions for which the instance has IP addresses assigned.int
getModesValue(int index)
Internet protocol versions for which the instance has IP addresses assigned.List<Integer>
getModesValueList()
Internet protocol versions for which the instance has IP addresses assigned.String
getNetwork()
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.com.google.protobuf.ByteString
getNetworkBytes()
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.String
getReservedIpRange()
Optional, reserved_ip_range can have one of the following two types of values.com.google.protobuf.ByteString
getReservedIpRangeBytes()
Optional, reserved_ip_range can have one of the following two types of values.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNetwork
String getNetwork()
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.
string network = 1;
- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.
string network = 1;
- Returns:
- The bytes for network.
-
getModesList
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.v1beta1.NetworkConfig.AddressMode modes = 3;
- Returns:
- A list containing the modes.
-
getModesCount
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.v1beta1.NetworkConfig.AddressMode modes = 3;
- Returns:
- The count of modes.
-
getModes
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.v1beta1.NetworkConfig.AddressMode modes = 3;
- Parameters:
index
- The index of the element to return.- Returns:
- The modes at the given index.
-
getModesValueList
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.v1beta1.NetworkConfig.AddressMode modes = 3;
- Returns:
- A list containing the enum numeric values on the wire for modes.
-
getModesValue
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.v1beta1.NetworkConfig.AddressMode modes = 3;
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of modes at the given index.
-
getReservedIpRange
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](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) 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](https://www.arin.net/reference/research/statistics/address_filters/) 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:
- The reservedIpRange.
-
getReservedIpRangeBytes
com.google.protobuf.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](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) 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](https://www.arin.net/reference/research/statistics/address_filters/) 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:
- The bytes for reservedIpRange.
-
getIpAddressesList
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:
- A list containing the ipAddresses.
-
getIpAddressesCount
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:
- The count of ipAddresses.
-
getIpAddresses
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];
- Parameters:
index
- The index of the element to return.- Returns:
- The ipAddresses at the given index.
-
getIpAddressesBytes
com.google.protobuf.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];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the ipAddresses at the given index.
-
getConnectModeValue
int getConnectModeValue()
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
.google.cloud.filestore.v1beta1.NetworkConfig.ConnectMode connect_mode = 6;
- Returns:
- The enum numeric value on the wire for connectMode.
-
getConnectMode
NetworkConfig.ConnectMode getConnectMode()
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
.google.cloud.filestore.v1beta1.NetworkConfig.ConnectMode connect_mode = 6;
- Returns:
- The connectMode.
-
-