Class Router.Interface (0.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class Router.Interface extends GeneratedMessageV3 implements Router.InterfaceOrBuilder
Router Interface defines the GDCE zone side layer-3 information for
building the BGP session.
Protobuf type google.cloud.edgenetwork.v1.Router.Interface
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
IPV4_CIDR_FIELD_NUMBER
public static final int IPV4_CIDR_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IPV6_CIDR_FIELD_NUMBER
public static final int IPV6_CIDR_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LINKED_INTERCONNECT_ATTACHMENT_FIELD_NUMBER
public static final int LINKED_INTERCONNECT_ATTACHMENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LOOPBACK_IP_ADDRESSES_FIELD_NUMBER
public static final int LOOPBACK_IP_ADDRESSES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Router.Interface getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Router.Interface.Builder newBuilder()
newBuilder(Router.Interface prototype)
public static Router.Interface.Builder newBuilder(Router.Interface prototype)
public static Router.Interface parseDelimitedFrom(InputStream input)
public static Router.Interface parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Router.Interface parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Router.Interface parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Router.Interface parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Router.Interface parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Router.Interface parseFrom(CodedInputStream input)
public static Router.Interface parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Router.Interface parseFrom(InputStream input)
public static Router.Interface parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Router.Interface parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Router.Interface parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Router.Interface> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Router.Interface getDefaultInstanceForType()
getIpv4Cidr()
public String getIpv4Cidr()
IP address and range of the interface.
string ipv4_cidr = 3;
Returns |
---|
Type | Description |
String | The ipv4Cidr.
|
getIpv4CidrBytes()
public ByteString getIpv4CidrBytes()
IP address and range of the interface.
string ipv4_cidr = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for ipv4Cidr.
|
getIpv6Cidr()
public String getIpv6Cidr()
IPv6 address and range of the interface.
string ipv6_cidr = 6;
Returns |
---|
Type | Description |
String | The ipv6Cidr.
|
getIpv6CidrBytes()
public ByteString getIpv6CidrBytes()
IPv6 address and range of the interface.
string ipv6_cidr = 6;
Returns |
---|
Type | Description |
ByteString | The bytes for ipv6Cidr.
|
getLinkedInterconnectAttachment()
public String getLinkedInterconnectAttachment()
The canonical name of the linked Interconnect attachment.
string linked_interconnect_attachment = 2;
Returns |
---|
Type | Description |
String | The linkedInterconnectAttachment.
|
getLinkedInterconnectAttachmentBytes()
public ByteString getLinkedInterconnectAttachmentBytes()
The canonical name of the linked Interconnect attachment.
string linked_interconnect_attachment = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for linkedInterconnectAttachment.
|
getLoopbackIpAddresses(int index)
public String getLoopbackIpAddresses(int index)
Create loopback interface in the router when specified.
The number of IP addresses must match the number of TOR devices.
repeated string loopback_ip_addresses = 5;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The loopbackIpAddresses at the given index.
|
getLoopbackIpAddressesBytes(int index)
public ByteString getLoopbackIpAddressesBytes(int index)
Create loopback interface in the router when specified.
The number of IP addresses must match the number of TOR devices.
repeated string loopback_ip_addresses = 5;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the loopbackIpAddresses at the given index.
|
getLoopbackIpAddressesCount()
public int getLoopbackIpAddressesCount()
Create loopback interface in the router when specified.
The number of IP addresses must match the number of TOR devices.
repeated string loopback_ip_addresses = 5;
Returns |
---|
Type | Description |
int | The count of loopbackIpAddresses.
|
getLoopbackIpAddressesList()
public ProtocolStringList getLoopbackIpAddressesList()
Create loopback interface in the router when specified.
The number of IP addresses must match the number of TOR devices.
repeated string loopback_ip_addresses = 5;
getName()
Name of this interface entry. Unique within the Zones resource.
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Name of this interface entry. Unique within the Zones resource.
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<Router.Interface> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSubnetwork()
public String getSubnetwork()
The canonical name of the subnetwork resource that this interface
belongs to.
string subnetwork = 4;
Returns |
---|
Type | Description |
String | The subnetwork.
|
getSubnetworkBytes()
public ByteString getSubnetworkBytes()
The canonical name of the subnetwork resource that this interface
belongs to.
string subnetwork = 4;
Returns |
---|
Type | Description |
ByteString | The bytes for subnetwork.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Router.Interface.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Router.Interface.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Router.Interface.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]