Class Router.Interface (0.16.0)

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

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()
Returns
Type Description
Router.Interface

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Router.Interface.Builder newBuilder()
Returns
Type Description
Router.Interface.Builder

newBuilder(Router.Interface prototype)

public static Router.Interface.Builder newBuilder(Router.Interface prototype)
Parameter
Name Description
prototype Router.Interface
Returns
Type Description
Router.Interface.Builder

parseDelimitedFrom(InputStream input)

public static Router.Interface parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Router.Interface
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Router.Interface parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Router.Interface
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Router.Interface parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Router.Interface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Router.Interface parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Router.Interface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Router.Interface parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Router.Interface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Router.Interface parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Router.Interface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Router.Interface parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Router.Interface
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Router.Interface parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Router.Interface
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Router.Interface parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Router.Interface
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Router.Interface parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Router.Interface
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Router.Interface parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Router.Interface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Router.Interface parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Router.Interface
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Router.Interface> parser()
Returns
Type Description
Parser<Interface>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Router.Interface getDefaultInstanceForType()
Returns
Type Description
Router.Interface

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;

Returns
Type Description
ProtocolStringList

A list containing the loopbackIpAddresses.

getName()

public String 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()
Returns
Type Description
Parser<Interface>
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Router.Interface.Builder newBuilderForType()
Returns
Type Description
Router.Interface.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Router.Interface.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Router.Interface.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Router.Interface.Builder toBuilder()
Returns
Type Description
Router.Interface.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException