Modifier and Type | Method and Description |
---|---|
NamedPort |
build() |
NamedPort.Builder |
clone() |
String |
getName()
The name for this named port.
|
Integer |
getPort()
The port number, which can be a value between 1 and 65535.
|
NamedPort.Builder |
mergeFrom(NamedPort other) |
NamedPort.Builder |
setName(String name)
The name for this named port.
|
NamedPort.Builder |
setPort(Integer port)
The port number, which can be a value between 1 and 65535.
|
public NamedPort.Builder mergeFrom(NamedPort other)
public String getName()
public NamedPort.Builder setName(String name)
public Integer getPort()
public NamedPort.Builder setPort(Integer port)
public NamedPort build()
public NamedPort.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.