@Generated(value="by GAPIC") @BetaApi public final class Allowed extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Allowed.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
static Allowed |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getIPProtocol()
The IP protocol to which this rule applies.
|
List<String> |
getPortsList()
An optional list of ports to which this rule applies.
|
int |
hashCode() |
static Allowed.Builder |
newBuilder() |
static Allowed.Builder |
newBuilder(Allowed prototype) |
Allowed.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 getIPProtocol()
public List<String> getPortsList()
Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
public static Allowed.Builder newBuilder()
public static Allowed.Builder newBuilder(Allowed prototype)
public Allowed.Builder toBuilder()
public static Allowed getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.