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
Static Fields
public static final int INTERCONNECT_NAME_FIELD_NUMBER
Field Value
public static final int PARTNER_NAME_FIELD_NUMBER
Field Value
public static final int PORTAL_URL_FIELD_NUMBER
Field Value
Static Methods
public static InterconnectAttachmentPartnerMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static InterconnectAttachmentPartnerMetadata.Builder newBuilder()
Returns
public static InterconnectAttachmentPartnerMetadata.Builder newBuilder(InterconnectAttachmentPartnerMetadata prototype)
Parameter
Returns
public static InterconnectAttachmentPartnerMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InterconnectAttachmentPartnerMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InterconnectAttachmentPartnerMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static InterconnectAttachmentPartnerMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InterconnectAttachmentPartnerMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static InterconnectAttachmentPartnerMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InterconnectAttachmentPartnerMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InterconnectAttachmentPartnerMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InterconnectAttachmentPartnerMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InterconnectAttachmentPartnerMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InterconnectAttachmentPartnerMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static InterconnectAttachmentPartnerMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<InterconnectAttachmentPartnerMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public InterconnectAttachmentPartnerMetadata getDefaultInstanceForType()
Returns
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.
|
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.
|
public Parser<InterconnectAttachmentPartnerMetadata> getParserForType()
Returns
Overrides
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.
|
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.
|
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.
|
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
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public InterconnectAttachmentPartnerMetadata.Builder newBuilderForType()
Returns
protected InterconnectAttachmentPartnerMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public InterconnectAttachmentPartnerMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions