Class WireGroupEndpointInterconnect (1.91.0)

public final class WireGroupEndpointInterconnect extends GeneratedMessageV3 implements WireGroupEndpointInterconnectOrBuilder

The redundant Interconnect connections for this endpoint.

Protobuf type google.cloud.compute.v1.WireGroupEndpointInterconnect

Static Fields

INTERCONNECT_FIELD_NUMBER

public static final int INTERCONNECT_FIELD_NUMBER
Field Value
Type Description
int

VLAN_TAGS_FIELD_NUMBER

public static final int VLAN_TAGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WireGroupEndpointInterconnect getDefaultInstance()
Returns
Type Description
WireGroupEndpointInterconnect

getDescriptor()

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

newBuilder()

public static WireGroupEndpointInterconnect.Builder newBuilder()
Returns
Type Description
WireGroupEndpointInterconnect.Builder

newBuilder(WireGroupEndpointInterconnect prototype)

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

parseDelimitedFrom(InputStream input)

public static WireGroupEndpointInterconnect parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WireGroupEndpointInterconnect
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static WireGroupEndpointInterconnect parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WireGroupEndpointInterconnect
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static WireGroupEndpointInterconnect parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WireGroupEndpointInterconnect
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static WireGroupEndpointInterconnect parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WireGroupEndpointInterconnect
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static WireGroupEndpointInterconnect parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WireGroupEndpointInterconnect
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<WireGroupEndpointInterconnect> parser()
Returns
Type Description
Parser<WireGroupEndpointInterconnect>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public WireGroupEndpointInterconnect getDefaultInstanceForType()
Returns
Type Description
WireGroupEndpointInterconnect

getInterconnect()

public String getInterconnect()

Required. An Interconnect connection. You can specify the connection as a partial or full URL. If the connection is in a different project from the cross-site network, use a format that specifies the project. See the following examples of partial and full URLs:

   global/interconnects/NAME


    projects/PROJECT_ID/global/interconnects/NAME

 -
   https://compute.googleapis.com/compute/projects/PROJECT_ID/global/interconnects/NAME

optional string interconnect = 224601230;

Returns
Type Description
String

The interconnect.

getInterconnectBytes()

public ByteString getInterconnectBytes()

Required. An Interconnect connection. You can specify the connection as a partial or full URL. If the connection is in a different project from the cross-site network, use a format that specifies the project. See the following examples of partial and full URLs:

   global/interconnects/NAME


    projects/PROJECT_ID/global/interconnects/NAME

 -
   https://compute.googleapis.com/compute/projects/PROJECT_ID/global/interconnects/NAME

optional string interconnect = 224601230;

Returns
Type Description
ByteString

The bytes for interconnect.

getParserForType()

public Parser<WireGroupEndpointInterconnect> getParserForType()
Returns
Type Description
Parser<WireGroupEndpointInterconnect>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVlanTags(int index)

public int getVlanTags(int index)

Required. To configure the wire group for VLAN mode, enter a VLAN tag, which is a number from 2 to 4093. You can autoallocate a tag by entering 0. To configure the wire group for port mode, enter -1. Review the following guidelines:

- A VLAN tag must be unique for an Interconnect connection across all
attachments and wire groups.
- Both endpoints of a wire must use the same VLAN tag value.
- Single wire and redundant type wire groups must have only one
VLAN tag.
- Port mode pseudowires must have a single VLAN tag with a value of
<code>-1</code> for both endpoints.
- Box and cross type wire groups must have two VLAN tags. The first
is for the same-zone pseudowire, and the second is for the cross-zone
pseudowire.

repeated int32 vlan_tags = 384601461;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
int

The vlanTags at the given index.

getVlanTagsCount()

public int getVlanTagsCount()

Required. To configure the wire group for VLAN mode, enter a VLAN tag, which is a number from 2 to 4093. You can autoallocate a tag by entering 0. To configure the wire group for port mode, enter -1. Review the following guidelines:

- A VLAN tag must be unique for an Interconnect connection across all
attachments and wire groups.
- Both endpoints of a wire must use the same VLAN tag value.
- Single wire and redundant type wire groups must have only one
VLAN tag.
- Port mode pseudowires must have a single VLAN tag with a value of
<code>-1</code> for both endpoints.
- Box and cross type wire groups must have two VLAN tags. The first
is for the same-zone pseudowire, and the second is for the cross-zone
pseudowire.

repeated int32 vlan_tags = 384601461;

Returns
Type Description
int

The count of vlanTags.

getVlanTagsList()

public List<Integer> getVlanTagsList()

Required. To configure the wire group for VLAN mode, enter a VLAN tag, which is a number from 2 to 4093. You can autoallocate a tag by entering 0. To configure the wire group for port mode, enter -1. Review the following guidelines:

- A VLAN tag must be unique for an Interconnect connection across all
attachments and wire groups.
- Both endpoints of a wire must use the same VLAN tag value.
- Single wire and redundant type wire groups must have only one
VLAN tag.
- Port mode pseudowires must have a single VLAN tag with a value of
<code>-1</code> for both endpoints.
- Box and cross type wire groups must have two VLAN tags. The first
is for the same-zone pseudowire, and the second is for the cross-zone
pseudowire.

repeated int32 vlan_tags = 384601461;

Returns
Type Description
List<Integer>

A list containing the vlanTags.

hasInterconnect()

public boolean hasInterconnect()

Required. An Interconnect connection. You can specify the connection as a partial or full URL. If the connection is in a different project from the cross-site network, use a format that specifies the project. See the following examples of partial and full URLs:

   global/interconnects/NAME


    projects/PROJECT_ID/global/interconnects/NAME

 -
   https://compute.googleapis.com/compute/projects/PROJECT_ID/global/interconnects/NAME

optional string interconnect = 224601230;

Returns
Type Description
boolean

Whether the interconnect field is set.

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 WireGroupEndpointInterconnect.Builder newBuilderForType()
Returns
Type Description
WireGroupEndpointInterconnect.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public WireGroupEndpointInterconnect.Builder toBuilder()
Returns
Type Description
WireGroupEndpointInterconnect.Builder

writeTo(CodedOutputStream output)

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