Class InterconnectAttachmentPartnerMetadata (1.45.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
TypeDescription
int

PARTNER_NAME_FIELD_NUMBER

public static final int PARTNER_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PORTAL_URL_FIELD_NUMBER

public static final int PORTAL_URL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InterconnectAttachmentPartnerMetadata getDefaultInstance()
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InterconnectAttachmentPartnerMetadata.Builder newBuilder()
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder

newBuilder(InterconnectAttachmentPartnerMetadata prototype)

public static InterconnectAttachmentPartnerMetadata.Builder newBuilder(InterconnectAttachmentPartnerMetadata prototype)
Parameter
NameDescription
prototypeInterconnectAttachmentPartnerMetadata
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder

parseDelimitedFrom(InputStream input)

public static InterconnectAttachmentPartnerMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentPartnerMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InterconnectAttachmentPartnerMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentPartnerMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InterconnectAttachmentPartnerMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentPartnerMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InterconnectAttachmentPartnerMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentPartnerMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InterconnectAttachmentPartnerMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentPartnerMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InterconnectAttachmentPartnerMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InterconnectAttachmentPartnerMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InterconnectAttachmentPartnerMetadata> parser()
Returns
TypeDescription
Parser<InterconnectAttachmentPartnerMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public InterconnectAttachmentPartnerMetadata getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

public Parser<InterconnectAttachmentPartnerMetadata> getParserForType()
Returns
TypeDescription
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
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InterconnectAttachmentPartnerMetadata.Builder newBuilderForType()
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InterconnectAttachmentPartnerMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InterconnectAttachmentPartnerMetadata.Builder toBuilder()
Returns
TypeDescription
InterconnectAttachmentPartnerMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException