@Generated(value="by GAPIC") @BetaApi public final class NamedPort extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
NamedPort.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
static NamedPort |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getName()
The name for this named port.
|
Integer |
getPort()
The port number, which can be a value between 1 and 65535.
|
int |
hashCode() |
static NamedPort.Builder |
newBuilder() |
static NamedPort.Builder |
newBuilder(NamedPort prototype) |
NamedPort.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 String getName()
public Integer getPort()
public static NamedPort.Builder newBuilder()
public static NamedPort.Builder newBuilder(NamedPort prototype)
public NamedPort.Builder toBuilder()
public static NamedPort getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.