@Generated(value="by GAPIC") @BetaApi public final class NetworkInterface extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
NetworkInterface.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<AccessConfig> |
getAccessConfigsList()
An array of configurations for this interface.
|
List<AliasIpRange> |
getAliasIpRangesList()
An array of alias IP ranges for this network interface.
|
ApiMessage |
getApiMessageRequestBody() |
static NetworkInterface |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getFingerprint()
Fingerprint hash of contents stored in this network interface.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
[Output Only] The name of the network interface, generated by the server.
|
String |
getNetwork()
URL of the network resource for this instance.
|
String |
getNetworkIP()
An IPv4 internal network address to assign to the instance for this network interface.
|
String |
getSubnetwork()
The URL of the Subnetwork resource for this instance.
|
int |
hashCode() |
static NetworkInterface.Builder |
newBuilder() |
static NetworkInterface.Builder |
newBuilder(NetworkInterface prototype) |
NetworkInterface.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public List<AccessConfig> getAccessConfigsList()
public List<AliasIpRange> getAliasIpRangesList()
public String getFingerprint()
public String getKind()
public String getName()
public String getNetwork()
This field is optional when creating a firewall rule. If not specified when creating a firewall rule, the default network global/networks/default is used.
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
public String getNetworkIP()
public String getSubnetwork()
public static NetworkInterface.Builder newBuilder()
public static NetworkInterface.Builder newBuilder(NetworkInterface prototype)
public NetworkInterface.Builder toBuilder()
public static NetworkInterface getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.