Package com.google.cloud.compute.v1
Class Router
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.Router
-
- All Implemented Interfaces:
RouterOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Router extends com.google.protobuf.GeneratedMessageV3 implements RouterOrBuilder
Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud Router overview.
Protobuf typegoogle.cloud.compute.v1.Router- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRouter.BuilderRepresents a Cloud Router resource.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intBGP_FIELD_NUMBERstatic intBGP_PEERS_FIELD_NUMBERstatic intCREATION_TIMESTAMP_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intENCRYPTED_INTERCONNECT_ROUTER_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intINTERFACES_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intMD5_AUTHENTICATION_KEYS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNATS_FIELD_NUMBERstatic intNETWORK_FIELD_NUMBERstatic intREGION_FIELD_NUMBERstatic intSELF_LINK_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)RouterBgpgetBgp()BGP information specific to this router.RouterBgpOrBuildergetBgpOrBuilder()BGP information specific to this router.RouterBgpPeergetBgpPeers(int index)BGP information that must be configured into the routing stack to establish BGP peering.intgetBgpPeersCount()BGP information that must be configured into the routing stack to establish BGP peering.List<RouterBgpPeer>getBgpPeersList()BGP information that must be configured into the routing stack to establish BGP peering.RouterBgpPeerOrBuildergetBgpPeersOrBuilder(int index)BGP information that must be configured into the routing stack to establish BGP peering.List<? extends RouterBgpPeerOrBuilder>getBgpPeersOrBuilderList()BGP information that must be configured into the routing stack to establish BGP peering.StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.static RoutergetDefaultInstance()RoutergetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetEncryptedInterconnectRouter()Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).longgetId()[Output Only] The unique identifier for the resource.RouterInterfacegetInterfaces(int index)Router interfaces.intgetInterfacesCount()Router interfaces.List<RouterInterface>getInterfacesList()Router interfaces.RouterInterfaceOrBuildergetInterfacesOrBuilder(int index)Router interfaces.List<? extends RouterInterfaceOrBuilder>getInterfacesOrBuilderList()Router interfaces.StringgetKind()[Output Only] Type of resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of resource.RouterMd5AuthenticationKeygetMd5AuthenticationKeys(int index)Keys used for MD5 authentication.intgetMd5AuthenticationKeysCount()Keys used for MD5 authentication.List<RouterMd5AuthenticationKey>getMd5AuthenticationKeysList()Keys used for MD5 authentication.RouterMd5AuthenticationKeyOrBuildergetMd5AuthenticationKeysOrBuilder(int index)Keys used for MD5 authentication.List<? extends RouterMd5AuthenticationKeyOrBuilder>getMd5AuthenticationKeysOrBuilderList()Keys used for MD5 authentication.StringgetName()Name of the resource.com.google.protobuf.ByteStringgetNameBytes()Name of the resource.RouterNatgetNats(int index)A list of NAT services created in this router.intgetNatsCount()A list of NAT services created in this router.List<RouterNat>getNatsList()A list of NAT services created in this router.RouterNatOrBuildergetNatsOrBuilder(int index)A list of NAT services created in this router.List<? extends RouterNatOrBuilder>getNatsOrBuilderList()A list of NAT services created in this router.StringgetNetwork()URI of the network to which this router belongs.com.google.protobuf.ByteStringgetNetworkBytes()URI of the network to which this router belongs.com.google.protobuf.Parser<Router>getParserForType()StringgetRegion()[Output Only] URI of the region where the router resides.com.google.protobuf.ByteStringgetRegionBytes()[Output Only] URI of the region where the router resides.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.intgetSerializedSize()booleanhasBgp()BGP information specific to this router.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDescription()An optional description of this resource.booleanhasEncryptedInterconnectRouter()Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).inthashCode()booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output Only] Type of resource.booleanhasName()Name of the resource.booleanhasNetwork()URI of the network to which this router belongs.booleanhasRegion()[Output Only] URI of the region where the router resides.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Router.BuildernewBuilder()static Router.BuildernewBuilder(Router prototype)Router.BuildernewBuilderForType()protected Router.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RouterparseDelimitedFrom(InputStream input)static RouterparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterparseFrom(byte[] data)static RouterparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterparseFrom(com.google.protobuf.ByteString data)static RouterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterparseFrom(com.google.protobuf.CodedInputStream input)static RouterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterparseFrom(InputStream input)static RouterparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterparseFrom(ByteBuffer data)static RouterparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Router>parser()Router.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
BGP_FIELD_NUMBER
public static final int BGP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BGP_PEERS_FIELD_NUMBER
public static final int BGP_PEERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTED_INTERCONNECT_ROUTER_FIELD_NUMBER
public static final int ENCRYPTED_INTERCONNECT_ROUTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERFACES_FIELD_NUMBER
public static final int INTERFACES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MD5_AUTHENTICATION_KEYS_FIELD_NUMBER
public static final int MD5_AUTHENTICATION_KEYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NATS_FIELD_NUMBER
public static final int NATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasBgp
public boolean hasBgp()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;- Specified by:
hasBgpin interfaceRouterOrBuilder- Returns:
- Whether the bgp field is set.
-
getBgp
public RouterBgp getBgp()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;- Specified by:
getBgpin interfaceRouterOrBuilder- Returns:
- The bgp.
-
getBgpOrBuilder
public RouterBgpOrBuilder getBgpOrBuilder()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;- Specified by:
getBgpOrBuilderin interfaceRouterOrBuilder
-
getBgpPeersList
public List<RouterBgpPeer> getBgpPeersList()
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersListin interfaceRouterOrBuilder
-
getBgpPeersOrBuilderList
public List<? extends RouterBgpPeerOrBuilder> getBgpPeersOrBuilderList()
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersOrBuilderListin interfaceRouterOrBuilder
-
getBgpPeersCount
public int getBgpPeersCount()
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersCountin interfaceRouterOrBuilder
-
getBgpPeers
public RouterBgpPeer getBgpPeers(int index)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersin interfaceRouterOrBuilder
-
getBgpPeersOrBuilder
public RouterBgpPeerOrBuilder getBgpPeersOrBuilder(int index)
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;- Specified by:
getBgpPeersOrBuilderin interfaceRouterOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceRouterOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceRouterOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceRouterOrBuilder- Returns:
- The bytes for creationTimestamp.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceRouterOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceRouterOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceRouterOrBuilder- Returns:
- The bytes for description.
-
hasEncryptedInterconnectRouter
public boolean hasEncryptedInterconnectRouter()
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
optional bool encrypted_interconnect_router = 297996575;- Specified by:
hasEncryptedInterconnectRouterin interfaceRouterOrBuilder- Returns:
- Whether the encryptedInterconnectRouter field is set.
-
getEncryptedInterconnectRouter
public boolean getEncryptedInterconnectRouter()
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
optional bool encrypted_interconnect_router = 297996575;- Specified by:
getEncryptedInterconnectRouterin interfaceRouterOrBuilder- Returns:
- The encryptedInterconnectRouter.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceRouterOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceRouterOrBuilder- Returns:
- The id.
-
getInterfacesList
public List<RouterInterface> getInterfacesList()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesListin interfaceRouterOrBuilder
-
getInterfacesOrBuilderList
public List<? extends RouterInterfaceOrBuilder> getInterfacesOrBuilderList()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesOrBuilderListin interfaceRouterOrBuilder
-
getInterfacesCount
public int getInterfacesCount()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesCountin interfaceRouterOrBuilder
-
getInterfaces
public RouterInterface getInterfaces(int index)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesin interfaceRouterOrBuilder
-
getInterfacesOrBuilder
public RouterInterfaceOrBuilder getInterfacesOrBuilder(int index)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;- Specified by:
getInterfacesOrBuilderin interfaceRouterOrBuilder
-
hasKind
public boolean hasKind()
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Specified by:
hasKindin interfaceRouterOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Specified by:
getKindin interfaceRouterOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceRouterOrBuilder- Returns:
- The bytes for kind.
-
getMd5AuthenticationKeysList
public List<RouterMd5AuthenticationKey> getMd5AuthenticationKeysList()
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;- Specified by:
getMd5AuthenticationKeysListin interfaceRouterOrBuilder
-
getMd5AuthenticationKeysOrBuilderList
public List<? extends RouterMd5AuthenticationKeyOrBuilder> getMd5AuthenticationKeysOrBuilderList()
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;- Specified by:
getMd5AuthenticationKeysOrBuilderListin interfaceRouterOrBuilder
-
getMd5AuthenticationKeysCount
public int getMd5AuthenticationKeysCount()
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;- Specified by:
getMd5AuthenticationKeysCountin interfaceRouterOrBuilder
-
getMd5AuthenticationKeys
public RouterMd5AuthenticationKey getMd5AuthenticationKeys(int index)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;- Specified by:
getMd5AuthenticationKeysin interfaceRouterOrBuilder
-
getMd5AuthenticationKeysOrBuilder
public RouterMd5AuthenticationKeyOrBuilder getMd5AuthenticationKeysOrBuilder(int index)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;- Specified by:
getMd5AuthenticationKeysOrBuilderin interfaceRouterOrBuilder
-
hasName
public boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
hasNamein interfaceRouterOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNamein interfaceRouterOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceRouterOrBuilder- Returns:
- The bytes for name.
-
getNatsList
public List<RouterNat> getNatsList()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;- Specified by:
getNatsListin interfaceRouterOrBuilder
-
getNatsOrBuilderList
public List<? extends RouterNatOrBuilder> getNatsOrBuilderList()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;- Specified by:
getNatsOrBuilderListin interfaceRouterOrBuilder
-
getNatsCount
public int getNatsCount()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;- Specified by:
getNatsCountin interfaceRouterOrBuilder
-
getNats
public RouterNat getNats(int index)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;- Specified by:
getNatsin interfaceRouterOrBuilder
-
getNatsOrBuilder
public RouterNatOrBuilder getNatsOrBuilder(int index)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;- Specified by:
getNatsOrBuilderin interfaceRouterOrBuilder
-
hasNetwork
public boolean hasNetwork()
URI of the network to which this router belongs.
optional string network = 232872494;- Specified by:
hasNetworkin interfaceRouterOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
public String getNetwork()
URI of the network to which this router belongs.
optional string network = 232872494;- Specified by:
getNetworkin interfaceRouterOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
URI of the network to which this router belongs.
optional string network = 232872494;- Specified by:
getNetworkBytesin interfaceRouterOrBuilder- Returns:
- The bytes for network.
-
hasRegion
public boolean hasRegion()
[Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
hasRegionin interfaceRouterOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
[Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
getRegionin interfaceRouterOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
[Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceRouterOrBuilder- Returns:
- The bytes for region.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceRouterOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceRouterOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceRouterOrBuilder- Returns:
- The bytes for selfLink.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Router parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Router parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Router parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Router parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Router parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Router parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Router parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Router parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Router parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Router parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Router parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Router parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Router.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Router.Builder newBuilder()
-
newBuilder
public static Router.Builder newBuilder(Router prototype)
-
toBuilder
public Router.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Router.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Router getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Router> parser()
-
getParserForType
public com.google.protobuf.Parser<Router> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Router getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-