@Generated(value="by GAPIC") @BetaApi public final class NetworkInterface extends Object implements com.google.api.gax.httpjson.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.
|
com.google.api.gax.httpjson.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, which is generated by the server.
|
String |
getNetwork()
URL of the network resource for this instance.
|
String |
getNetworkIP()
An IPv4 internal IP 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 com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public List<AccessConfig> getAccessConfigsList()
public List<AliasIpRange> getAliasIpRangesList()
public String getFingerprint()
public String getKind()
public String getName()
public String getNetwork()
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.