Class InterconnectAttachmentPartnerMetadata.Builder (1.52.0)

public static final class InterconnectAttachmentPartnerMetadata.Builder extends GeneratedMessageV3.Builder<InterconnectAttachmentPartnerMetadata.Builder> implements InterconnectAttachmentPartnerMetadataOrBuilder

Informational metadata about Partner attachments from Partners to display to customers. These fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER attachments.

Protobuf type google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InterconnectAttachmentPartnerMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder
Overrides

build()

public InterconnectAttachmentPartnerMetadata build()
Returns
Type Description
InterconnectAttachmentPartnerMetadata

buildPartial()

public InterconnectAttachmentPartnerMetadata buildPartial()
Returns
Type Description
InterconnectAttachmentPartnerMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

public InterconnectAttachmentPartnerMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder
Overrides

clearInterconnectName()

public InterconnectAttachmentPartnerMetadata.Builder clearInterconnectName()

Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values.

optional string interconnect_name = 514963356;

Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectAttachmentPartnerMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder
Overrides

clearPartnerName()

public InterconnectAttachmentPartnerMetadata.Builder clearPartnerName()

Plain text name of the Partner providing this attachment. This value may be validated to match approved Partner values.

optional string partner_name = 161747874;

Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder

This builder for chaining.

clearPortalUrl()

public InterconnectAttachmentPartnerMetadata.Builder clearPortalUrl()

URL of the Partner's portal for this Attachment. Partners may customise this to be a deep link to the specific resource on the Partner portal. This value may be validated to match approved Partner values.

optional string portal_url = 269182748;

Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder

This builder for chaining.

clone()

public InterconnectAttachmentPartnerMetadata.Builder clone()
Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder
Overrides

getDefaultInstanceForType()

public InterconnectAttachmentPartnerMetadata getDefaultInstanceForType()
Returns
Type Description
InterconnectAttachmentPartnerMetadata

getDescriptorForType()

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

getInterconnectName()

public String getInterconnectName()

Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values.

optional string interconnect_name = 514963356;

Returns
Type Description
String

The interconnectName.

getInterconnectNameBytes()

public ByteString getInterconnectNameBytes()

Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values.

optional string interconnect_name = 514963356;

Returns
Type Description
ByteString

The bytes for interconnectName.

getPartnerName()

public String getPartnerName()

Plain text name of the Partner providing this attachment. This value may be validated to match approved Partner values.

optional string partner_name = 161747874;

Returns
Type Description
String

The partnerName.

getPartnerNameBytes()

public ByteString getPartnerNameBytes()

Plain text name of the Partner providing this attachment. This value may be validated to match approved Partner values.

optional string partner_name = 161747874;

Returns
Type Description
ByteString

The bytes for partnerName.

getPortalUrl()

public String getPortalUrl()

URL of the Partner's portal for this Attachment. Partners may customise this to be a deep link to the specific resource on the Partner portal. This value may be validated to match approved Partner values.

optional string portal_url = 269182748;

Returns
Type Description
String

The portalUrl.

getPortalUrlBytes()

public ByteString getPortalUrlBytes()

URL of the Partner's portal for this Attachment. Partners may customise this to be a deep link to the specific resource on the Partner portal. This value may be validated to match approved Partner values.

optional string portal_url = 269182748;

Returns
Type Description
ByteString

The bytes for portalUrl.

hasInterconnectName()

public boolean hasInterconnectName()

Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values.

optional string interconnect_name = 514963356;

Returns
Type Description
boolean

Whether the interconnectName field is set.

hasPartnerName()

public boolean hasPartnerName()

Plain text name of the Partner providing this attachment. This value may be validated to match approved Partner values.

optional string partner_name = 161747874;

Returns
Type Description
boolean

Whether the partnerName field is set.

hasPortalUrl()

public boolean hasPortalUrl()

URL of the Partner's portal for this Attachment. Partners may customise this to be a deep link to the specific resource on the Partner portal. This value may be validated to match approved Partner values.

optional string portal_url = 269182748;

Returns
Type Description
boolean

Whether the portalUrl field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectAttachmentPartnerMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectAttachmentPartnerMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectAttachmentPartnerMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder
Overrides

setInterconnectName(String value)

public InterconnectAttachmentPartnerMetadata.Builder setInterconnectName(String value)

Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values.

optional string interconnect_name = 514963356;

Parameter
Name Description
value String

The interconnectName to set.

Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder

This builder for chaining.

setInterconnectNameBytes(ByteString value)

public InterconnectAttachmentPartnerMetadata.Builder setInterconnectNameBytes(ByteString value)

Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values.

optional string interconnect_name = 514963356;

Parameter
Name Description
value ByteString

The bytes for interconnectName to set.

Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder

This builder for chaining.

setPartnerName(String value)

public InterconnectAttachmentPartnerMetadata.Builder setPartnerName(String value)

Plain text name of the Partner providing this attachment. This value may be validated to match approved Partner values.

optional string partner_name = 161747874;

Parameter
Name Description
value String

The partnerName to set.

Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder

This builder for chaining.

setPartnerNameBytes(ByteString value)

public InterconnectAttachmentPartnerMetadata.Builder setPartnerNameBytes(ByteString value)

Plain text name of the Partner providing this attachment. This value may be validated to match approved Partner values.

optional string partner_name = 161747874;

Parameter
Name Description
value ByteString

The bytes for partnerName to set.

Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder

This builder for chaining.

setPortalUrl(String value)

public InterconnectAttachmentPartnerMetadata.Builder setPortalUrl(String value)

URL of the Partner's portal for this Attachment. Partners may customise this to be a deep link to the specific resource on the Partner portal. This value may be validated to match approved Partner values.

optional string portal_url = 269182748;

Parameter
Name Description
value String

The portalUrl to set.

Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder

This builder for chaining.

setPortalUrlBytes(ByteString value)

public InterconnectAttachmentPartnerMetadata.Builder setPortalUrlBytes(ByteString value)

URL of the Partner's portal for this Attachment. Partners may customise this to be a deep link to the specific resource on the Partner portal. This value may be validated to match approved Partner values.

optional string portal_url = 269182748;

Parameter
Name Description
value ByteString

The bytes for portalUrl to set.

Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InterconnectAttachmentPartnerMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectAttachmentPartnerMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder
Overrides