- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public final class NetworkInterface extends GeneratedMessageV3 implements NetworkInterfaceOrBuilder
A network interface resource attached to an instance.
Protobuf type google.cloud.compute.v1.NetworkInterface
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > NetworkInterfaceImplements
NetworkInterfaceOrBuilderStatic Fields
ACCESS_CONFIGS_FIELD_NUMBER
public static final int ACCESS_CONFIGS_FIELD_NUMBER
Type | Description |
int |
ALIAS_IP_RANGES_FIELD_NUMBER
public static final int ALIAS_IP_RANGES_FIELD_NUMBER
Type | Description |
int |
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
Type | Description |
int |
IPV6_ACCESS_CONFIGS_FIELD_NUMBER
public static final int IPV6_ACCESS_CONFIGS_FIELD_NUMBER
Type | Description |
int |
IPV6_ACCESS_TYPE_FIELD_NUMBER
public static final int IPV6_ACCESS_TYPE_FIELD_NUMBER
Type | Description |
int |
IPV6_ADDRESS_FIELD_NUMBER
public static final int IPV6_ADDRESS_FIELD_NUMBER
Type | Description |
int |
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Type | Description |
int |
NETWORK_I_P_FIELD_NUMBER
public static final int NETWORK_I_P_FIELD_NUMBER
Type | Description |
int |
NIC_TYPE_FIELD_NUMBER
public static final int NIC_TYPE_FIELD_NUMBER
Type | Description |
int |
QUEUE_COUNT_FIELD_NUMBER
public static final int QUEUE_COUNT_FIELD_NUMBER
Type | Description |
int |
STACK_TYPE_FIELD_NUMBER
public static final int STACK_TYPE_FIELD_NUMBER
Type | Description |
int |
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static NetworkInterface getDefaultInstance()
Type | Description |
NetworkInterface |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static NetworkInterface.Builder newBuilder()
Type | Description |
NetworkInterface.Builder |
newBuilder(NetworkInterface prototype)
public static NetworkInterface.Builder newBuilder(NetworkInterface prototype)
Name | Description |
prototype | NetworkInterface |
Type | Description |
NetworkInterface.Builder |
parseDelimitedFrom(InputStream input)
public static NetworkInterface parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
NetworkInterface |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NetworkInterface parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NetworkInterface |
Type | Description |
IOException |
parseFrom(byte[] data)
public static NetworkInterface parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
NetworkInterface |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NetworkInterface parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NetworkInterface |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static NetworkInterface parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
NetworkInterface |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkInterface parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NetworkInterface |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static NetworkInterface parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
NetworkInterface |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NetworkInterface parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NetworkInterface |
Type | Description |
IOException |
parseFrom(InputStream input)
public static NetworkInterface parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
NetworkInterface |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NetworkInterface parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NetworkInterface |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static NetworkInterface parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
NetworkInterface |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NetworkInterface parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NetworkInterface |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<NetworkInterface> parser()
Type | Description |
Parser<NetworkInterface> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getAccessConfigs(int index)
public AccessConfig getAccessConfigs(int index)
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.compute.v1.AccessConfig access_configs = 111058326;
Name | Description |
index | int |
Type | Description |
AccessConfig |
getAccessConfigsCount()
public int getAccessConfigsCount()
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.compute.v1.AccessConfig access_configs = 111058326;
Type | Description |
int |
getAccessConfigsList()
public List<AccessConfig> getAccessConfigsList()
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.compute.v1.AccessConfig access_configs = 111058326;
Type | Description |
List<AccessConfig> |
getAccessConfigsOrBuilder(int index)
public AccessConfigOrBuilder getAccessConfigsOrBuilder(int index)
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.compute.v1.AccessConfig access_configs = 111058326;
Name | Description |
index | int |
Type | Description |
AccessConfigOrBuilder |
getAccessConfigsOrBuilderList()
public List<? extends AccessConfigOrBuilder> getAccessConfigsOrBuilderList()
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.compute.v1.AccessConfig access_configs = 111058326;
Type | Description |
List<? extends com.google.cloud.compute.v1.AccessConfigOrBuilder> |
getAliasIpRanges(int index)
public AliasIpRange getAliasIpRanges(int index)
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.compute.v1.AliasIpRange alias_ip_ranges = 165085631;
Name | Description |
index | int |
Type | Description |
AliasIpRange |
getAliasIpRangesCount()
public int getAliasIpRangesCount()
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.compute.v1.AliasIpRange alias_ip_ranges = 165085631;
Type | Description |
int |
getAliasIpRangesList()
public List<AliasIpRange> getAliasIpRangesList()
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.compute.v1.AliasIpRange alias_ip_ranges = 165085631;
Type | Description |
List<AliasIpRange> |
getAliasIpRangesOrBuilder(int index)
public AliasIpRangeOrBuilder getAliasIpRangesOrBuilder(int index)
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.compute.v1.AliasIpRange alias_ip_ranges = 165085631;
Name | Description |
index | int |
Type | Description |
AliasIpRangeOrBuilder |
getAliasIpRangesOrBuilderList()
public List<? extends AliasIpRangeOrBuilder> getAliasIpRangesOrBuilderList()
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.compute.v1.AliasIpRange alias_ip_ranges = 165085631;
Type | Description |
List<? extends com.google.cloud.compute.v1.AliasIpRangeOrBuilder> |
getDefaultInstanceForType()
public NetworkInterface getDefaultInstanceForType()
Type | Description |
NetworkInterface |
getFingerprint()
public String getFingerprint()
Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date.
optional string fingerprint = 234678500;
Type | Description |
String | The fingerprint. |
getFingerprintBytes()
public ByteString getFingerprintBytes()
Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date.
optional string fingerprint = 234678500;
Type | Description |
ByteString | The bytes for fingerprint. |
getIpv6AccessConfigs(int index)
public AccessConfig getIpv6AccessConfigs(int index)
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.compute.v1.AccessConfig ipv6_access_configs = 483472110;
Name | Description |
index | int |
Type | Description |
AccessConfig |
getIpv6AccessConfigsCount()
public int getIpv6AccessConfigsCount()
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.compute.v1.AccessConfig ipv6_access_configs = 483472110;
Type | Description |
int |
getIpv6AccessConfigsList()
public List<AccessConfig> getIpv6AccessConfigsList()
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.compute.v1.AccessConfig ipv6_access_configs = 483472110;
Type | Description |
List<AccessConfig> |
getIpv6AccessConfigsOrBuilder(int index)
public AccessConfigOrBuilder getIpv6AccessConfigsOrBuilder(int index)
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.compute.v1.AccessConfig ipv6_access_configs = 483472110;
Name | Description |
index | int |
Type | Description |
AccessConfigOrBuilder |
getIpv6AccessConfigsOrBuilderList()
public List<? extends AccessConfigOrBuilder> getIpv6AccessConfigsOrBuilderList()
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.compute.v1.AccessConfig ipv6_access_configs = 483472110;
Type | Description |
List<? extends com.google.cloud.compute.v1.AccessConfigOrBuilder> |
getIpv6AccessType()
public String getIpv6AccessType()
[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. Valid only if stackType is IPV4_IPV6. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;
Type | Description |
String | The ipv6AccessType. |
getIpv6AccessTypeBytes()
public ByteString getIpv6AccessTypeBytes()
[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. Valid only if stackType is IPV4_IPV6. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;
Type | Description |
ByteString | The bytes for ipv6AccessType. |
getIpv6Address()
public String getIpv6Address()
An IPv6 internal network address for this network interface.
optional string ipv6_address = 341563804;
Type | Description |
String | The ipv6Address. |
getIpv6AddressBytes()
public ByteString getIpv6AddressBytes()
An IPv6 internal network address for this network interface.
optional string ipv6_address = 341563804;
Type | Description |
ByteString | The bytes for ipv6Address. |
getKind()
public String getKind()
[Output Only] Type of the resource. Always compute#networkInterface for network interfaces.
optional string kind = 3292052;
Type | Description |
String | The kind. |
getKindBytes()
public ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#networkInterface for network interfaces.
optional string kind = 3292052;
Type | Description |
ByteString | The bytes for kind. |
getName()
public String getName()
[Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
optional string name = 3373707;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
[Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
optional string name = 3373707;
Type | Description |
ByteString | The bytes for name. |
getNetwork()
public String getNetwork()
URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default
optional string network = 232872494;
Type | Description |
String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default
optional string network = 232872494;
Type | Description |
ByteString | The bytes for network. |
getNetworkIP()
public String getNetworkIP()
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 network_i_p = 207181961;
Type | Description |
String | The networkIP. |
getNetworkIPBytes()
public ByteString getNetworkIPBytes()
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 network_i_p = 207181961;
Type | Description |
ByteString | The bytes for networkIP. |
getNicType()
public String getNicType()
The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Check the NicType enum for the list of possible values.
optional string nic_type = 59810577;
Type | Description |
String | The nicType. |
getNicTypeBytes()
public ByteString getNicTypeBytes()
The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Check the NicType enum for the list of possible values.
optional string nic_type = 59810577;
Type | Description |
ByteString | The bytes for nicType. |
getParserForType()
public Parser<NetworkInterface> getParserForType()
Type | Description |
Parser<NetworkInterface> |
getQueueCount()
public int getQueueCount()
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 = 503708769;
Type | Description |
int | The queueCount. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getStackType()
public String getStackType()
The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;
Type | Description |
String | The stackType. |
getStackTypeBytes()
public ByteString getStackTypeBytes()
The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;
Type | Description |
ByteString | The bytes for stackType. |
getSubnetwork()
public String getSubnetwork()
The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork
optional string subnetwork = 307827694;
Type | Description |
String | The subnetwork. |
getSubnetworkBytes()
public ByteString getSubnetworkBytes()
The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork
optional string subnetwork = 307827694;
Type | Description |
ByteString | The bytes for subnetwork. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasFingerprint()
public boolean hasFingerprint()
Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date.
optional string fingerprint = 234678500;
Type | Description |
boolean | Whether the fingerprint field is set. |
hasIpv6AccessType()
public boolean hasIpv6AccessType()
[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. Valid only if stackType is IPV4_IPV6. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;
Type | Description |
boolean | Whether the ipv6AccessType field is set. |
hasIpv6Address()
public boolean hasIpv6Address()
An IPv6 internal network address for this network interface.
optional string ipv6_address = 341563804;
Type | Description |
boolean | Whether the ipv6Address field is set. |
hasKind()
public boolean hasKind()
[Output Only] Type of the resource. Always compute#networkInterface for network interfaces.
optional string kind = 3292052;
Type | Description |
boolean | Whether the kind field is set. |
hasName()
public boolean hasName()
[Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
optional string name = 3373707;
Type | Description |
boolean | Whether the name field is set. |
hasNetwork()
public boolean hasNetwork()
URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default
optional string network = 232872494;
Type | Description |
boolean | Whether the network field is set. |
hasNetworkIP()
public boolean hasNetworkIP()
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 network_i_p = 207181961;
Type | Description |
boolean | Whether the networkIP field is set. |
hasNicType()
public boolean hasNicType()
The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Check the NicType enum for the list of possible values.
optional string nic_type = 59810577;
Type | Description |
boolean | Whether the nicType field is set. |
hasQueueCount()
public boolean hasQueueCount()
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 = 503708769;
Type | Description |
boolean | Whether the queueCount field is set. |
hasStackType()
public boolean hasStackType()
The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;
Type | Description |
boolean | Whether the stackType field is set. |
hasSubnetwork()
public boolean hasSubnetwork()
The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork
optional string subnetwork = 307827694;
Type | Description |
boolean | Whether the subnetwork field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public NetworkInterface.Builder newBuilderForType()
Type | Description |
NetworkInterface.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NetworkInterface.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
NetworkInterface.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public NetworkInterface.Builder toBuilder()
Type | Description |
NetworkInterface.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |