Class InterconnectAttachmentInfo.Builder (1.84.0)

public static final class InterconnectAttachmentInfo.Builder extends GeneratedMessage.Builder<InterconnectAttachmentInfo.Builder> implements InterconnectAttachmentInfoOrBuilder

For display only. Metadata associated with an Interconnect attachment.

Protobuf type google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo

Static Methods

getDescriptor()

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

Methods

build()

public InterconnectAttachmentInfo build()
Returns
Type Description
InterconnectAttachmentInfo

buildPartial()

public InterconnectAttachmentInfo buildPartial()
Returns
Type Description
InterconnectAttachmentInfo

clear()

public InterconnectAttachmentInfo.Builder clear()
Returns
Type Description
InterconnectAttachmentInfo.Builder
Overrides

clearCloudRouterUri()

public InterconnectAttachmentInfo.Builder clearCloudRouterUri()

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

string cloud_router_uri = 5;

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

clearDisplayName()

public InterconnectAttachmentInfo.Builder clearDisplayName()

Name of an Interconnect attachment.

string display_name = 1;

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

clearInterconnectUri()

public InterconnectAttachmentInfo.Builder clearInterconnectUri()

URI of the Interconnect where the Interconnect attachment is configured.

string interconnect_uri = 3;

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

clearL2AttachmentMatchedIpAddress()

public InterconnectAttachmentInfo.Builder clearL2AttachmentMatchedIpAddress()

Appliance IP address that was matched for L2_DEDICATED attachments.

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

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

clearRegion()

public InterconnectAttachmentInfo.Builder clearRegion()

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

string region = 4;

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

clearType()

public InterconnectAttachmentInfo.Builder clearType()

The type of interconnect attachment this is.

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

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

clearUri()

public InterconnectAttachmentInfo.Builder clearUri()

URI of an Interconnect attachment.

string uri = 2;

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

getType()

public InterconnectAttachmentInfo.Type getType()

The type of interconnect attachment this is.

.google.cloud.networkmanagement.v1beta1.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.v1beta1.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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectAttachmentInfo other)

public InterconnectAttachmentInfo.Builder mergeFrom(InterconnectAttachmentInfo other)
Parameter
Name Description
other InterconnectAttachmentInfo
Returns
Type Description
InterconnectAttachmentInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectAttachmentInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InterconnectAttachmentInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InterconnectAttachmentInfo.Builder
Overrides

setCloudRouterUri(String value)

public InterconnectAttachmentInfo.Builder setCloudRouterUri(String value)

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

string cloud_router_uri = 5;

Parameter
Name Description
value String

The cloudRouterUri to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

setCloudRouterUriBytes(ByteString value)

public InterconnectAttachmentInfo.Builder setCloudRouterUriBytes(ByteString value)

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

string cloud_router_uri = 5;

Parameter
Name Description
value ByteString

The bytes for cloudRouterUri to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

setDisplayName(String value)

public InterconnectAttachmentInfo.Builder setDisplayName(String value)

Name of an Interconnect attachment.

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public InterconnectAttachmentInfo.Builder setDisplayNameBytes(ByteString value)

Name of an Interconnect attachment.

string display_name = 1;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

setInterconnectUri(String value)

public InterconnectAttachmentInfo.Builder setInterconnectUri(String value)

URI of the Interconnect where the Interconnect attachment is configured.

string interconnect_uri = 3;

Parameter
Name Description
value String

The interconnectUri to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

setInterconnectUriBytes(ByteString value)

public InterconnectAttachmentInfo.Builder setInterconnectUriBytes(ByteString value)

URI of the Interconnect where the Interconnect attachment is configured.

string interconnect_uri = 3;

Parameter
Name Description
value ByteString

The bytes for interconnectUri to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

setL2AttachmentMatchedIpAddress(String value)

public InterconnectAttachmentInfo.Builder setL2AttachmentMatchedIpAddress(String value)

Appliance IP address that was matched for L2_DEDICATED attachments.

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

Parameter
Name Description
value String

The l2AttachmentMatchedIpAddress to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

setL2AttachmentMatchedIpAddressBytes(ByteString value)

public InterconnectAttachmentInfo.Builder setL2AttachmentMatchedIpAddressBytes(ByteString value)

Appliance IP address that was matched for L2_DEDICATED attachments.

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

Parameter
Name Description
value ByteString

The bytes for l2AttachmentMatchedIpAddress to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

setRegion(String value)

public InterconnectAttachmentInfo.Builder setRegion(String value)

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

string region = 4;

Parameter
Name Description
value String

The region to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public InterconnectAttachmentInfo.Builder setRegionBytes(ByteString value)

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

string region = 4;

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

setType(InterconnectAttachmentInfo.Type value)

public InterconnectAttachmentInfo.Builder setType(InterconnectAttachmentInfo.Type value)

The type of interconnect attachment this is.

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

Parameter
Name Description
value InterconnectAttachmentInfo.Type

The type to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

setTypeValue(int value)

public InterconnectAttachmentInfo.Builder setTypeValue(int value)

The type of interconnect attachment this is.

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

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

setUri(String value)

public InterconnectAttachmentInfo.Builder setUri(String value)

URI of an Interconnect attachment.

string uri = 2;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.

setUriBytes(ByteString value)

public InterconnectAttachmentInfo.Builder setUriBytes(ByteString value)

URI of an Interconnect attachment.

string uri = 2;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
InterconnectAttachmentInfo.Builder

This builder for chaining.