public final class WireGroupEndpointInterconnect extends GeneratedMessage implements WireGroupEndpointInterconnectOrBuilder
The redundant Interconnect connections for this endpoint.
Protobuf type google.cloud.compute.v1.WireGroupEndpointInterconnect
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
INTERCONNECT_FIELD_NUMBER
public static final int INTERCONNECT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int VLAN_TAGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static WireGroupEndpointInterconnect getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WireGroupEndpointInterconnect.Builder newBuilder()
newBuilder(WireGroupEndpointInterconnect prototype)
public static WireGroupEndpointInterconnect.Builder newBuilder(WireGroupEndpointInterconnect prototype)
public static WireGroupEndpointInterconnect parseDelimitedFrom(InputStream input)
public static WireGroupEndpointInterconnect parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WireGroupEndpointInterconnect parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WireGroupEndpointInterconnect parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WireGroupEndpointInterconnect parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WireGroupEndpointInterconnect parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WireGroupEndpointInterconnect parseFrom(CodedInputStream input)
public static WireGroupEndpointInterconnect parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WireGroupEndpointInterconnect parseFrom(InputStream input)
public static WireGroupEndpointInterconnect parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WireGroupEndpointInterconnect parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WireGroupEndpointInterconnect parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WireGroupEndpointInterconnect> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public WireGroupEndpointInterconnect getDefaultInstanceForType()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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
-1 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.
|
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
-1 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.
|
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
-1 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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WireGroupEndpointInterconnect.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected WireGroupEndpointInterconnect.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public WireGroupEndpointInterconnect.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides