Class InterconnectAttachmentPartnerMetadata (1.64.0)

public final class InterconnectAttachmentPartnerMetadata extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InterconnectAttachmentPartnerMetadata

Static Fields

INTERCONNECT_NAME_FIELD_NUMBER

public static final int INTERCONNECT_NAME_FIELD_NUMBER
Field Value
Type Description
int

PARTNER_NAME_FIELD_NUMBER

public static final int PARTNER_NAME_FIELD_NUMBER
Field Value
Type Description
int

PORTAL_URL_FIELD_NUMBER

public static final int PORTAL_URL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InterconnectAttachmentPartnerMetadata getDefaultInstance()
Returns
Type Description
InterconnectAttachmentPartnerMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(InterconnectAttachmentPartnerMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public InterconnectAttachmentPartnerMetadata getDefaultInstanceForType()
Returns
Type Description
InterconnectAttachmentPartnerMetadata

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.

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InterconnectAttachmentPartnerMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InterconnectAttachmentPartnerMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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