public interface RouterOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels associated with this resource.
|
Router.Bgp |
getBgp()
BGP information specific to this router.
|
Router.BgpOrBuilder |
getBgpOrBuilder()
BGP information specific to this router.
|
Router.BgpPeer |
getBgpPeer(int index)
BGP peers.
|
int |
getBgpPeerCount()
BGP peers.
|
List<Router.BgpPeer> |
getBgpPeerList()
BGP peers.
|
Router.BgpPeerOrBuilder |
getBgpPeerOrBuilder(int index)
BGP peers.
|
List<? extends Router.BgpPeerOrBuilder> |
getBgpPeerOrBuilderList()
BGP peers.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
Router.Interface |
getInterface(int index)
Router interfaces.
|
int |
getInterfaceCount()
Router interfaces.
|
List<Router.Interface> |
getInterfaceList()
Router interfaces.
|
Router.InterfaceOrBuilder |
getInterfaceOrBuilder(int index)
Router interfaces.
|
List<? extends Router.InterfaceOrBuilder> |
getInterfaceOrBuilderList()
Router interfaces.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this resource.
|
Map<String,String> |
getLabelsMap()
Labels associated with this resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this resource.
|
String |
getLabelsOrThrow(String key)
Labels associated with this resource.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
String |
getNetwork()
Required.
|
com.google.protobuf.ByteString |
getNetworkBytes()
Required.
|
String |
getRouteAdvertisements(int index)
Optional.
|
com.google.protobuf.ByteString |
getRouteAdvertisementsBytes(int index)
Optional.
|
int |
getRouteAdvertisementsCount()
Optional.
|
List<String> |
getRouteAdvertisementsList()
Optional.
|
ResourceState |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasBgp()
BGP information specific to this router.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. The canonical resource name of the router.
string name = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getNameBytes()
Required. The canonical resource name of the router.
string name = 1 [(.google.api.field_behavior) = REQUIRED];boolean hasCreateTime()
Output only. The time when the router was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the router was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the router was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasUpdateTime()
Output only. The time when the router was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getUpdateTime()
Output only. The time when the router was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the router was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getLabelsCount()
Labels associated with this resource.
map<string, string> labels = 4;boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;String getDescription()
Optional. A free-text description of the resource. Max length 1024 characters.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getDescriptionBytes()
Optional. A free-text description of the resource. Max length 1024 characters.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];String getNetwork()
Required. The canonical name of the network to which this router belongs.
The name is in the form of
`projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getNetworkBytes()
Required. The canonical name of the network to which this router belongs.
The name is in the form of
`projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
List<Router.Interface> getInterfaceList()
Router interfaces.
repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7;Router.Interface getInterface(int index)
Router interfaces.
repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7;int getInterfaceCount()
Router interfaces.
repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7;List<? extends Router.InterfaceOrBuilder> getInterfaceOrBuilderList()
Router interfaces.
repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7;Router.InterfaceOrBuilder getInterfaceOrBuilder(int index)
Router interfaces.
repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7;List<Router.BgpPeer> getBgpPeerList()
BGP peers.
repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8;Router.BgpPeer getBgpPeer(int index)
BGP peers.
repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8;int getBgpPeerCount()
BGP peers.
repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8;List<? extends Router.BgpPeerOrBuilder> getBgpPeerOrBuilderList()
BGP peers.
repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8;Router.BgpPeerOrBuilder getBgpPeerOrBuilder(int index)
BGP peers.
repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8;boolean hasBgp()
BGP information specific to this router.
.google.cloud.edgenetwork.v1.Router.Bgp bgp = 9;Router.Bgp getBgp()
BGP information specific to this router.
.google.cloud.edgenetwork.v1.Router.Bgp bgp = 9;Router.BgpOrBuilder getBgpOrBuilder()
BGP information specific to this router.
.google.cloud.edgenetwork.v1.Router.Bgp bgp = 9;int getStateValue()
Output only. Current stage of the resource to the device by config push.
.google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
ResourceState getState()
Output only. Current stage of the resource to the device by config push.
.google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
List<String> getRouteAdvertisementsList()
Optional. A list of CIDRs in IP/Length format to advertise northbound as static routes from this router.
repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL];
int getRouteAdvertisementsCount()
Optional. A list of CIDRs in IP/Length format to advertise northbound as static routes from this router.
repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL];
String getRouteAdvertisements(int index)
Optional. A list of CIDRs in IP/Length format to advertise northbound as static routes from this router.
repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL];
index - The index of the element to return.com.google.protobuf.ByteString getRouteAdvertisementsBytes(int index)
Optional. A list of CIDRs in IP/Length format to advertise northbound as static routes from this router.
repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL];
index - The index of the value to return.Copyright © 2025 Google LLC. All rights reserved.