public static class NetworkEndpoint.Builder extends Object
Modifier and Type | Method and Description |
---|---|
NetworkEndpoint |
build() |
NetworkEndpoint.Builder |
clone() |
String |
getInstance()
The name for a specific VM instance that the IP address belongs to.
|
String |
getIpAddress()
Optional IPv4 address of network endpoint.
|
Integer |
getPort()
Optional port number of network endpoint.
|
NetworkEndpoint.Builder |
mergeFrom(NetworkEndpoint other) |
NetworkEndpoint.Builder |
setInstance(String instance)
The name for a specific VM instance that the IP address belongs to.
|
NetworkEndpoint.Builder |
setIpAddress(String ipAddress)
Optional IPv4 address of network endpoint.
|
NetworkEndpoint.Builder |
setPort(Integer port)
Optional port number of network endpoint.
|
public NetworkEndpoint.Builder mergeFrom(NetworkEndpoint other)
public String getInstance()
The name must be 1-63 characters long, and comply with RFC1035.
public NetworkEndpoint.Builder setInstance(String instance)
The name must be 1-63 characters long, and comply with RFC1035.
public String getIpAddress()
public NetworkEndpoint.Builder setIpAddress(String ipAddress)
public Integer getPort()
public NetworkEndpoint.Builder setPort(Integer port)
public NetworkEndpoint build()
public NetworkEndpoint.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.