Interface NetworkInterfaceOrBuilder (0.10.0)

public interface NetworkInterfaceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessConfigs(int index)

public abstract AccessConfig getAccessConfigs(int index)

Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access.

repeated .google.cloud.backupdr.v1.AccessConfig access_configs = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AccessConfig

getAccessConfigsCount()

public abstract int getAccessConfigsCount()

Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access.

repeated .google.cloud.backupdr.v1.AccessConfig access_configs = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAccessConfigsList()

public abstract List<AccessConfig> getAccessConfigsList()

Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access.

repeated .google.cloud.backupdr.v1.AccessConfig access_configs = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AccessConfig>

getAccessConfigsOrBuilder(int index)

public abstract AccessConfigOrBuilder getAccessConfigsOrBuilder(int index)

Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access.

repeated .google.cloud.backupdr.v1.AccessConfig access_configs = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AccessConfigOrBuilder

getAccessConfigsOrBuilderList()

public abstract List<? extends AccessConfigOrBuilder> getAccessConfigsOrBuilderList()

Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access.

repeated .google.cloud.backupdr.v1.AccessConfig access_configs = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.AccessConfigOrBuilder>

getAliasIpRanges(int index)

public abstract AliasIpRange getAliasIpRanges(int index)

Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.

repeated .google.cloud.backupdr.v1.AliasIpRange alias_ip_ranges = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AliasIpRange

getAliasIpRangesCount()

public abstract int getAliasIpRangesCount()

Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.

repeated .google.cloud.backupdr.v1.AliasIpRange alias_ip_ranges = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAliasIpRangesList()

public abstract List<AliasIpRange> getAliasIpRangesList()

Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.

repeated .google.cloud.backupdr.v1.AliasIpRange alias_ip_ranges = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AliasIpRange>

getAliasIpRangesOrBuilder(int index)

public abstract AliasIpRangeOrBuilder getAliasIpRangesOrBuilder(int index)

Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.

repeated .google.cloud.backupdr.v1.AliasIpRange alias_ip_ranges = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AliasIpRangeOrBuilder

getAliasIpRangesOrBuilderList()

public abstract List<? extends AliasIpRangeOrBuilder> getAliasIpRangesOrBuilderList()

Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.

repeated .google.cloud.backupdr.v1.AliasIpRange alias_ip_ranges = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.AliasIpRangeOrBuilder>

getInternalIpv6PrefixLength()

public abstract int getInternalIpv6PrefixLength()

Optional. The prefix length of the primary internal IPv6 range.

optional int32 internal_ipv6_prefix_length = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The internalIpv6PrefixLength.

getIpAddress()

public abstract String getIpAddress()

Optional. An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.

optional string ip_address = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The ipAddress.

getIpAddressBytes()

public abstract ByteString getIpAddressBytes()

Optional. An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.

optional string ip_address = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for ipAddress.

getIpv6AccessConfigs(int index)

public abstract AccessConfig getIpv6AccessConfigs(int index)

Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.

repeated .google.cloud.backupdr.v1.AccessConfig ipv6_access_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AccessConfig

getIpv6AccessConfigsCount()

public abstract int getIpv6AccessConfigsCount()

Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.

repeated .google.cloud.backupdr.v1.AccessConfig ipv6_access_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getIpv6AccessConfigsList()

public abstract List<AccessConfig> getIpv6AccessConfigsList()

Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.

repeated .google.cloud.backupdr.v1.AccessConfig ipv6_access_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AccessConfig>

getIpv6AccessConfigsOrBuilder(int index)

public abstract AccessConfigOrBuilder getIpv6AccessConfigsOrBuilder(int index)

Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.

repeated .google.cloud.backupdr.v1.AccessConfig ipv6_access_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AccessConfigOrBuilder

getIpv6AccessConfigsOrBuilderList()

public abstract List<? extends AccessConfigOrBuilder> getIpv6AccessConfigsOrBuilderList()

Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.

repeated .google.cloud.backupdr.v1.AccessConfig ipv6_access_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.AccessConfigOrBuilder>

getIpv6AccessType()

public abstract NetworkInterface.Ipv6AccessType getIpv6AccessType()

Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.

optional .google.cloud.backupdr.v1.NetworkInterface.Ipv6AccessType ipv6_access_type = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkInterface.Ipv6AccessType

The ipv6AccessType.

getIpv6AccessTypeValue()

public abstract int getIpv6AccessTypeValue()

Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.

optional .google.cloud.backupdr.v1.NetworkInterface.Ipv6AccessType ipv6_access_type = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for ipv6AccessType.

getIpv6Address()

public abstract String getIpv6Address()

Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.

optional string ipv6_address = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The ipv6Address.

getIpv6AddressBytes()

public abstract ByteString getIpv6AddressBytes()

Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.

optional string ipv6_address = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for ipv6Address.

getName()

public abstract String getName()

Output only. [Output Only] The name of the network interface, which is generated by the server.

optional string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. [Output Only] The name of the network interface, which is generated by the server.

optional string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getNetwork()

public abstract String getNetwork()

Optional. URL of the VPC network resource for this instance.

optional string network = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The network.

getNetworkAttachment()

public abstract String getNetworkAttachment()

Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.

optional string network_attachment = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The networkAttachment.

getNetworkAttachmentBytes()

public abstract ByteString getNetworkAttachmentBytes()

Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.

optional string network_attachment = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for networkAttachment.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

Optional. URL of the VPC network resource for this instance.

optional string network = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for network.

getNicType()

public abstract NetworkInterface.NicType getNicType()

Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.

optional .google.cloud.backupdr.v1.NetworkInterface.NicType nic_type = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkInterface.NicType

The nicType.

getNicTypeValue()

public abstract int getNicTypeValue()

Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.

optional .google.cloud.backupdr.v1.NetworkInterface.NicType nic_type = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for nicType.

getQueueCount()

public abstract int getQueueCount()

Optional. The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users.

optional int32 queue_count = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The queueCount.

getStackType()

public abstract NetworkInterface.StackType getStackType()

The stack type for this network interface.

optional .google.cloud.backupdr.v1.NetworkInterface.StackType stack_type = 10;

Returns
Type Description
NetworkInterface.StackType

The stackType.

getStackTypeValue()

public abstract int getStackTypeValue()

The stack type for this network interface.

optional .google.cloud.backupdr.v1.NetworkInterface.StackType stack_type = 10;

Returns
Type Description
int

The enum numeric value on the wire for stackType.

getSubnetwork()

public abstract String getSubnetwork()

Optional. The URL of the Subnetwork resource for this instance.

optional string subnetwork = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The subnetwork.

getSubnetworkBytes()

public abstract ByteString getSubnetworkBytes()

Optional. The URL of the Subnetwork resource for this instance.

optional string subnetwork = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for subnetwork.

hasInternalIpv6PrefixLength()

public abstract boolean hasInternalIpv6PrefixLength()

Optional. The prefix length of the primary internal IPv6 range.

optional int32 internal_ipv6_prefix_length = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the internalIpv6PrefixLength field is set.

hasIpAddress()

public abstract boolean hasIpAddress()

Optional. An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.

optional string ip_address = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
boolean

Whether the ipAddress field is set.

hasIpv6AccessType()

public abstract boolean hasIpv6AccessType()

Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.

optional .google.cloud.backupdr.v1.NetworkInterface.Ipv6AccessType ipv6_access_type = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ipv6AccessType field is set.

hasIpv6Address()

public abstract boolean hasIpv6Address()

Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.

optional string ipv6_address = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
boolean

Whether the ipv6Address field is set.

hasName()

public abstract boolean hasName()

Output only. [Output Only] The name of the network interface, which is generated by the server.

optional string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the name field is set.

hasNetwork()

public abstract boolean hasNetwork()

Optional. URL of the VPC network resource for this instance.

optional string network = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the network field is set.

hasNetworkAttachment()

public abstract boolean hasNetworkAttachment()

Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.

optional string network_attachment = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the networkAttachment field is set.

hasNicType()

public abstract boolean hasNicType()

Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.

optional .google.cloud.backupdr.v1.NetworkInterface.NicType nic_type = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the nicType field is set.

hasQueueCount()

public abstract boolean hasQueueCount()

Optional. The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users.

optional int32 queue_count = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the queueCount field is set.

hasStackType()

public abstract boolean hasStackType()

The stack type for this network interface.

optional .google.cloud.backupdr.v1.NetworkInterface.StackType stack_type = 10;

Returns
Type Description
boolean

Whether the stackType field is set.

hasSubnetwork()

public abstract boolean hasSubnetwork()

Optional. The URL of the Subnetwork resource for this instance.

optional string subnetwork = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the subnetwork field is set.