@Generated(value="by GAPIC") @BetaApi public final class NamedPort extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
NamedPort.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.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 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 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.