Class InterconnectAttachmentInfo (1.84.0)

public final class InterconnectAttachmentInfo extends GeneratedMessage implements InterconnectAttachmentInfoOrBuilder

For display only. Metadata associated with an Interconnect attachment.

Protobuf type google.cloud.networkmanagement.v1.InterconnectAttachmentInfo

Static Fields

CLOUD_ROUTER_URI_FIELD_NUMBER

public static final int CLOUD_ROUTER_URI_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

INTERCONNECT_URI_FIELD_NUMBER

public static final int INTERCONNECT_URI_FIELD_NUMBER
Field Value
Type Description
int

L2_ATTACHMENT_MATCHED_IP_ADDRESS_FIELD_NUMBER

public static final int L2_ATTACHMENT_MATCHED_IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InterconnectAttachmentInfo getDefaultInstance()
Returns
Type Description
InterconnectAttachmentInfo

getDescriptor()

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

newBuilder()

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

newBuilder(InterconnectAttachmentInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCloudRouterUri()

public String getCloudRouterUri()

URI of the Cloud Router to be used for dynamic routing.

string cloud_router_uri = 5;

Returns
Type Description
String

The cloudRouterUri.

getCloudRouterUriBytes()

public ByteString getCloudRouterUriBytes()

URI of the Cloud Router to be used for dynamic routing.

string cloud_router_uri = 5;

Returns
Type Description
ByteString

The bytes for cloudRouterUri.

getDefaultInstanceForType()

public InterconnectAttachmentInfo getDefaultInstanceForType()
Returns
Type Description
InterconnectAttachmentInfo

getDisplayName()

public String getDisplayName()

Name of an Interconnect attachment.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of an Interconnect attachment.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getInterconnectUri()

public String getInterconnectUri()

URI of the Interconnect where the Interconnect attachment is configured.

string interconnect_uri = 3;

Returns
Type Description
String

The interconnectUri.

getInterconnectUriBytes()

public ByteString getInterconnectUriBytes()

URI of the Interconnect where the Interconnect attachment is configured.

string interconnect_uri = 3;

Returns
Type Description
ByteString

The bytes for interconnectUri.

getL2AttachmentMatchedIpAddress()

public String getL2AttachmentMatchedIpAddress()

Appliance IP address that was matched for L2_DEDICATED attachments.

string l2_attachment_matched_ip_address = 7 [(.google.api.field_info) = { ... }

Returns
Type Description
String

The l2AttachmentMatchedIpAddress.

getL2AttachmentMatchedIpAddressBytes()

public ByteString getL2AttachmentMatchedIpAddressBytes()

Appliance IP address that was matched for L2_DEDICATED attachments.

string l2_attachment_matched_ip_address = 7 [(.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for l2AttachmentMatchedIpAddress.

getParserForType()

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

getRegion()

public String getRegion()

Name of a Google Cloud region where the Interconnect attachment is configured.

string region = 4;

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of a Google Cloud region where the Interconnect attachment is configured.

string region = 4;

Returns
Type Description
ByteString

The bytes for region.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public InterconnectAttachmentInfo.Type getType()

The type of interconnect attachment this is.

.google.cloud.networkmanagement.v1.InterconnectAttachmentInfo.Type type = 6;

Returns
Type Description
InterconnectAttachmentInfo.Type

The type.

getTypeValue()

public int getTypeValue()

The type of interconnect attachment this is.

.google.cloud.networkmanagement.v1.InterconnectAttachmentInfo.Type type = 6;

Returns
Type Description
int

The enum numeric value on the wire for type.

getUri()

public String getUri()

URI of an Interconnect attachment.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of an Interconnect attachment.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InterconnectAttachmentInfo.Builder newBuilderForType()
Returns
Type Description
InterconnectAttachmentInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected InterconnectAttachmentInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InterconnectAttachmentInfo.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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