@Generated(value="by GAPIC") @BetaApi public final class NetworkPeering extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
NetworkPeering.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
Boolean |
getAutoCreateRoutes()
This field will be deprecated soon.
|
static NetworkPeering |
getDefaultInstance() |
Boolean |
getExchangeSubnetRoutes()
Indicates whether full mesh connectivity is created and managed automatically between peered
networks.
|
Boolean |
getExportCustomRoutes()
Whether to export the custom routes to peer network.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
Boolean |
getImportCustomRoutes()
Whether to import the custom routes from peer network.
|
String |
getName()
Name of this peering.
|
String |
getNetwork()
The URL of the peer network.
|
String |
getState()
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`.
|
String |
getStateDetails()
[Output Only] Details about the current state of the peering.
|
int |
hashCode() |
static NetworkPeering.Builder |
newBuilder() |
static NetworkPeering.Builder |
newBuilder(NetworkPeering prototype) |
NetworkPeering.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 Boolean getAutoCreateRoutes()
public Boolean getExchangeSubnetRoutes()
public Boolean getExportCustomRoutes()
public Boolean getImportCustomRoutes()
public String getName()
public String getNetwork()
public String getState()
public String getStateDetails()
public static NetworkPeering.Builder newBuilder()
public static NetworkPeering.Builder newBuilder(NetworkPeering prototype)
public NetworkPeering.Builder toBuilder()
public static NetworkPeering getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.