Class InterconnectAttachmentPartnerMetadata.Builder (1.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InterconnectAttachmentPartnerMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder
Overrides

build()

public InterconnectAttachmentPartnerMetadata build()
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata

buildPartial()

public InterconnectAttachmentPartnerMetadata buildPartial()
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata

clear()

public InterconnectAttachmentPartnerMetadata.Builder clear()
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InterconnectAttachmentPartnerMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectAttachmentPartnerMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder

This builder for chaining.

clone()

public InterconnectAttachmentPartnerMetadata.Builder clone()
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder
Overrides

getDefaultInstanceForType()

public InterconnectAttachmentPartnerMetadata getDefaultInstanceForType()
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the portalUrl field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectAttachmentPartnerMetadata other)

public InterconnectAttachmentPartnerMetadata.Builder mergeFrom(InterconnectAttachmentPartnerMetadata other)
Parameter
NameDescription
otherInterconnectAttachmentPartnerMetadata
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectAttachmentPartnerMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InterconnectAttachmentPartnerMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectAttachmentPartnerMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectAttachmentPartnerMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The interconnectName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for interconnectName to set.

Returns
TypeDescription
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
NameDescription
valueString

The partnerName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for partnerName to set.

Returns
TypeDescription
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
NameDescription
valueString

The portalUrl to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for portalUrl to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectAttachmentPartnerMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder
Overrides