Class Router.Interface (0.3.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
TypeDescription
int

IPV6_CIDR_FIELD_NUMBER

public static final int IPV6_CIDR_FIELD_NUMBER
Field Value
TypeDescription
int

LINKED_INTERCONNECT_ATTACHMENT_FIELD_NUMBER

public static final int LINKED_INTERCONNECT_ATTACHMENT_FIELD_NUMBER
Field Value
TypeDescription
int

LOOPBACK_IP_ADDRESSES_FIELD_NUMBER

public static final int LOOPBACK_IP_ADDRESSES_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SUBNETWORK_FIELD_NUMBER

public static final int SUBNETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Router.Interface getDefaultInstance()
Returns
TypeDescription
Router.Interface

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Router.Interface.Builder newBuilder()
Returns
TypeDescription
Router.Interface.Builder

newBuilder(Router.Interface prototype)

public static Router.Interface.Builder newBuilder(Router.Interface prototype)
Parameter
NameDescription
prototypeRouter.Interface
Returns
TypeDescription
Router.Interface.Builder

parseDelimitedFrom(InputStream input)

public static Router.Interface parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Router.Interface
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Router.Interface parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Router.Interface
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Router.Interface parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Router.Interface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Router.Interface parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Router.Interface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Router.Interface parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Router.Interface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Router.Interface parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Router.Interface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Router.Interface parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Router.Interface
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Router.Interface parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Router.Interface
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Router.Interface parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Router.Interface
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Router.Interface parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Router.Interface
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Router.Interface parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Router.Interface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Router.Interface parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Router.Interface
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Router.Interface getDefaultInstanceForType()
Returns
TypeDescription
Router.Interface

getIpv4Cidr()

public String getIpv4Cidr()

IP address and range of the interface.

string ipv4_cidr = 3;

Returns
TypeDescription
String

The ipv4Cidr.

getIpv4CidrBytes()

public ByteString getIpv4CidrBytes()

IP address and range of the interface.

string ipv4_cidr = 3;

Returns
TypeDescription
ByteString

The bytes for ipv4Cidr.

getIpv6Cidr()

public String getIpv6Cidr()

IPv6 address and range of the interface.

string ipv6_cidr = 6;

Returns
TypeDescription
String

The ipv6Cidr.

getIpv6CidrBytes()

public ByteString getIpv6CidrBytes()

IPv6 address and range of the interface.

string ipv6_cidr = 6;

Returns
TypeDescription
ByteString

The bytes for ipv6Cidr.

getLinkedInterconnectAttachment()

public String getLinkedInterconnectAttachment()

The canonical name of the linked Interconnect attachment.

string linked_interconnect_attachment = 2;

Returns
TypeDescription
String

The linkedInterconnectAttachment.

getLinkedInterconnectAttachmentBytes()

public ByteString getLinkedInterconnectAttachmentBytes()

The canonical name of the linked Interconnect attachment.

string linked_interconnect_attachment = 2;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the loopbackIpAddresses.

getName()

public String getName()

Name of this interface entry. Unique within the Zones resource.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of this interface entry. Unique within the Zones resource.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Router.Interface> getParserForType()
Returns
TypeDescription
Parser<Interface>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubnetwork()

public String getSubnetwork()

The canonical name of the subnetwork resource that this interface belongs to.

string subnetwork = 4;

Returns
TypeDescription
String

The subnetwork.

getSubnetworkBytes()

public ByteString getSubnetworkBytes()

The canonical name of the subnetwork resource that this interface belongs to.

string subnetwork = 4;

Returns
TypeDescription
ByteString

The bytes for subnetwork.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Router.Interface.Builder newBuilderForType()
Returns
TypeDescription
Router.Interface.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Router.Interface.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Router.Interface.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Router.Interface.Builder toBuilder()
Returns
TypeDescription
Router.Interface.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException