public final class Router extends com.google.protobuf.GeneratedMessageV3 implements RouterOrBuilder
Message describing Router objectProtobuf type
google.cloud.edgenetwork.v1.Router| Modifier and Type | Class and Description |
|---|---|
static class |
Router.Bgp
BGP information specific to this router.
|
static interface |
Router.BgpOrBuilder |
static class |
Router.BgpPeer
BGPPeer defines the peer side layer-3 information for building the BGP
session.
|
static interface |
Router.BgpPeerOrBuilder |
static class |
Router.Builder
Message describing Router object
Protobuf type
google.cloud.edgenetwork.v1.Router |
static class |
Router.Interface
Router Interface defines the GDCE zone side layer-3 information for
building the BGP session.
|
static interface |
Router.InterfaceOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BGP_FIELD_NUMBER |
static int |
BGP_PEER_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
INTERFACE_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NETWORK_FIELD_NUMBER |
static int |
ROUTE_ADVERTISEMENTS_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels associated with this resource.
|
boolean |
equals(Object obj) |
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.
|
static Router |
getDefaultInstance() |
Router |
getDefaultInstanceForType() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Router> |
getParserForType() |
String |
getRouteAdvertisements(int index)
Optional.
|
com.google.protobuf.ByteString |
getRouteAdvertisementsBytes(int index)
Optional.
|
int |
getRouteAdvertisementsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getRouteAdvertisementsList()
Optional.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static Router.Builder |
newBuilder() |
static Router.Builder |
newBuilder(Router prototype) |
Router.Builder |
newBuilderForType() |
protected Router.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Router |
parseDelimitedFrom(InputStream input) |
static Router |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Router |
parseFrom(byte[] data) |
static Router |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Router |
parseFrom(ByteBuffer data) |
static Router |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Router |
parseFrom(com.google.protobuf.ByteString data) |
static Router |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Router |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Router |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Router |
parseFrom(InputStream input) |
static Router |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Router> |
parser() |
Router.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
public static final int INTERFACE_FIELD_NUMBER
public static final int BGP_PEER_FIELD_NUMBER
public static final int BGP_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int ROUTE_ADVERTISEMENTS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Required. The canonical resource name of the router.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getName in interface RouterOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The canonical resource name of the router.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getNameBytes in interface RouterOrBuilderpublic boolean hasCreateTime()
Output only. The time when the router was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface RouterOrBuilderpublic 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];
getCreateTime in interface RouterOrBuilderpublic 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];
getCreateTimeOrBuilder in interface RouterOrBuilderpublic boolean hasUpdateTime()
Output only. The time when the router was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface RouterOrBuilderpublic 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];
getUpdateTime in interface RouterOrBuilderpublic 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];
getUpdateTimeOrBuilder in interface RouterOrBuilderpublic int getLabelsCount()
RouterOrBuilderLabels associated with this resource.
map<string, string> labels = 4;getLabelsCount in interface RouterOrBuilderpublic boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;containsLabels in interface RouterOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface RouterOrBuilderpublic Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;getLabelsMap in interface RouterOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;getLabelsOrDefault in interface RouterOrBuilderpublic String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;getLabelsOrThrow in interface RouterOrBuilderpublic String getDescription()
Optional. A free-text description of the resource. Max length 1024 characters.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface RouterOrBuilderpublic 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];getDescriptionBytes in interface RouterOrBuilderpublic 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) = { ... }
getNetwork in interface RouterOrBuilderpublic 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) = { ... }
getNetworkBytes in interface RouterOrBuilderpublic List<Router.Interface> getInterfaceList()
Router interfaces.
repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7;getInterfaceList in interface RouterOrBuilderpublic List<? extends Router.InterfaceOrBuilder> getInterfaceOrBuilderList()
Router interfaces.
repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7;getInterfaceOrBuilderList in interface RouterOrBuilderpublic int getInterfaceCount()
Router interfaces.
repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7;getInterfaceCount in interface RouterOrBuilderpublic Router.Interface getInterface(int index)
Router interfaces.
repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7;getInterface in interface RouterOrBuilderpublic Router.InterfaceOrBuilder getInterfaceOrBuilder(int index)
Router interfaces.
repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7;getInterfaceOrBuilder in interface RouterOrBuilderpublic List<Router.BgpPeer> getBgpPeerList()
BGP peers.
repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8;getBgpPeerList in interface RouterOrBuilderpublic List<? extends Router.BgpPeerOrBuilder> getBgpPeerOrBuilderList()
BGP peers.
repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8;getBgpPeerOrBuilderList in interface RouterOrBuilderpublic int getBgpPeerCount()
BGP peers.
repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8;getBgpPeerCount in interface RouterOrBuilderpublic Router.BgpPeer getBgpPeer(int index)
BGP peers.
repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8;getBgpPeer in interface RouterOrBuilderpublic Router.BgpPeerOrBuilder getBgpPeerOrBuilder(int index)
BGP peers.
repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8;getBgpPeerOrBuilder in interface RouterOrBuilderpublic boolean hasBgp()
BGP information specific to this router.
.google.cloud.edgenetwork.v1.Router.Bgp bgp = 9;hasBgp in interface RouterOrBuilderpublic Router.Bgp getBgp()
BGP information specific to this router.
.google.cloud.edgenetwork.v1.Router.Bgp bgp = 9;getBgp in interface RouterOrBuilderpublic Router.BgpOrBuilder getBgpOrBuilder()
BGP information specific to this router.
.google.cloud.edgenetwork.v1.Router.Bgp bgp = 9;getBgpOrBuilder in interface RouterOrBuilderpublic 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];
getStateValue in interface RouterOrBuilderpublic 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];
getState in interface RouterOrBuilderpublic com.google.protobuf.ProtocolStringList 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];
getRouteAdvertisementsList in interface RouterOrBuilderpublic 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];
getRouteAdvertisementsCount in interface RouterOrBuilderpublic 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];
getRouteAdvertisements in interface RouterOrBuilderindex - The index of the element to return.public 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];
getRouteAdvertisementsBytes in interface RouterOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Router parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Router parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Router parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Router parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Router parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Router parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Router parseFrom(InputStream input) throws IOException
IOExceptionpublic static Router parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Router parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Router parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Router parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Router parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Router.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Router.Builder newBuilder()
public static Router.Builder newBuilder(Router prototype)
public Router.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Router.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Router getDefaultInstance()
public static com.google.protobuf.Parser<Router> parser()
public com.google.protobuf.Parser<Router> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Router getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.