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 class
Router.Builder
Represents 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 int
BGP_FIELD_NUMBER
static int
BGP_PEERS_FIELD_NUMBER
static int
CREATION_TIMESTAMP_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
ENCRYPTED_INTERCONNECT_ROUTER_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
INTERFACES_FIELD_NUMBER
static int
KIND_FIELD_NUMBER
static int
MD5_AUTHENTICATION_KEYS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NATS_FIELD_NUMBER
static int
NETWORK_FIELD_NUMBER
static int
REGION_FIELD_NUMBER
static int
SELF_LINK_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
RouterBgp
getBgp()
BGP information specific to this router.RouterBgpOrBuilder
getBgpOrBuilder()
BGP information specific to this router.RouterBgpPeer
getBgpPeers(int index)
BGP information that must be configured into the routing stack to establish BGP peering.int
getBgpPeersCount()
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.RouterBgpPeerOrBuilder
getBgpPeersOrBuilder(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.String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.static Router
getDefaultInstance()
Router
getDefaultInstanceForType()
String
getDescription()
An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this resource.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
boolean
getEncryptedInterconnectRouter()
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).long
getId()
[Output Only] The unique identifier for the resource.RouterInterface
getInterfaces(int index)
Router interfaces.int
getInterfacesCount()
Router interfaces.List<RouterInterface>
getInterfacesList()
Router interfaces.RouterInterfaceOrBuilder
getInterfacesOrBuilder(int index)
Router interfaces.List<? extends RouterInterfaceOrBuilder>
getInterfacesOrBuilderList()
Router interfaces.String
getKind()
[Output Only] Type of resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of resource.RouterMd5AuthenticationKey
getMd5AuthenticationKeys(int index)
Keys used for MD5 authentication.int
getMd5AuthenticationKeysCount()
Keys used for MD5 authentication.List<RouterMd5AuthenticationKey>
getMd5AuthenticationKeysList()
Keys used for MD5 authentication.RouterMd5AuthenticationKeyOrBuilder
getMd5AuthenticationKeysOrBuilder(int index)
Keys used for MD5 authentication.List<? extends RouterMd5AuthenticationKeyOrBuilder>
getMd5AuthenticationKeysOrBuilderList()
Keys used for MD5 authentication.String
getName()
Name of the resource.com.google.protobuf.ByteString
getNameBytes()
Name of the resource.RouterNat
getNats(int index)
A list of NAT services created in this router.int
getNatsCount()
A list of NAT services created in this router.List<RouterNat>
getNatsList()
A list of NAT services created in this router.RouterNatOrBuilder
getNatsOrBuilder(int index)
A list of NAT services created in this router.List<? extends RouterNatOrBuilder>
getNatsOrBuilderList()
A list of NAT services created in this router.String
getNetwork()
URI of the network to which this router belongs.com.google.protobuf.ByteString
getNetworkBytes()
URI of the network to which this router belongs.com.google.protobuf.Parser<Router>
getParserForType()
String
getRegion()
[Output Only] URI of the region where the router resides.com.google.protobuf.ByteString
getRegionBytes()
[Output Only] URI of the region where the router resides.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.int
getSerializedSize()
boolean
hasBgp()
BGP information specific to this router.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDescription()
An optional description of this resource.boolean
hasEncryptedInterconnectRouter()
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).int
hashCode()
boolean
hasId()
[Output Only] The unique identifier for the resource.boolean
hasKind()
[Output Only] Type of resource.boolean
hasName()
Name of the resource.boolean
hasNetwork()
URI of the network to which this router belongs.boolean
hasRegion()
[Output Only] URI of the region where the router resides.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
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(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 Router
parseFrom(ByteBuffer data)
static Router
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Router>
parser()
Router.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasBgp
public boolean hasBgp()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
- Specified by:
hasBgp
in 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:
getBgp
in interfaceRouterOrBuilder
- Returns:
- The bgp.
-
getBgpOrBuilder
public RouterBgpOrBuilder getBgpOrBuilder()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
- Specified by:
getBgpOrBuilder
in 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:
getBgpPeersList
in 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:
getBgpPeersOrBuilderList
in 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:
getBgpPeersCount
in 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:
getBgpPeers
in 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:
getBgpPeersOrBuilder
in interfaceRouterOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
hasCreationTimestamp
in 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:
getCreationTimestamp
in 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:
getCreationTimestampBytes
in 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:
hasDescription
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
hasEncryptedInterconnectRouter
in 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:
getEncryptedInterconnectRouter
in 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:
hasId
in 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:
getId
in 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:
getInterfacesList
in 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:
getInterfacesOrBuilderList
in 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:
getInterfacesCount
in 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:
getInterfaces
in 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:
getInterfacesOrBuilder
in interfaceRouterOrBuilder
-
hasKind
public boolean hasKind()
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;
- Specified by:
hasKind
in 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:
getKind
in 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:
getKindBytes
in 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:
getMd5AuthenticationKeysList
in interfaceRouterOrBuilder
-
getMd5AuthenticationKeysOrBuilderList
public List<? extends RouterMd5AuthenticationKeyOrBuilder> getMd5AuthenticationKeysOrBuilderList()
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
- Specified by:
getMd5AuthenticationKeysOrBuilderList
in interfaceRouterOrBuilder
-
getMd5AuthenticationKeysCount
public int getMd5AuthenticationKeysCount()
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
- Specified by:
getMd5AuthenticationKeysCount
in interfaceRouterOrBuilder
-
getMd5AuthenticationKeys
public RouterMd5AuthenticationKey getMd5AuthenticationKeys(int index)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
- Specified by:
getMd5AuthenticationKeys
in interfaceRouterOrBuilder
-
getMd5AuthenticationKeysOrBuilder
public RouterMd5AuthenticationKeyOrBuilder getMd5AuthenticationKeysOrBuilder(int index)
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
- Specified by:
getMd5AuthenticationKeysOrBuilder
in 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:
hasName
in 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:
getName
in 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:
getNameBytes
in 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:
getNatsList
in 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:
getNatsOrBuilderList
in interfaceRouterOrBuilder
-
getNatsCount
public int getNatsCount()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
- Specified by:
getNatsCount
in 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:
getNats
in 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:
getNatsOrBuilder
in interfaceRouterOrBuilder
-
hasNetwork
public boolean hasNetwork()
URI of the network to which this router belongs.
optional string network = 232872494;
- Specified by:
hasNetwork
in 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:
getNetwork
in 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:
getNetworkBytes
in 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:
hasRegion
in 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:
getRegion
in 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:
getRegionBytes
in 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:
hasSelfLink
in 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:
getSelfLink
in 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:
getSelfLinkBytes
in interfaceRouterOrBuilder
- Returns:
- The bytes for selfLink.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Router.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Router getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-