Class InterconnectAttachmentPartnerMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentPartnerMetadata.Builder>
com.google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata.Builder
All Implemented Interfaces:
InterconnectAttachmentPartnerMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InterconnectAttachmentPartnerMetadata

public static final class InterconnectAttachmentPartnerMetadata.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentPartnerMetadata.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentPartnerMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentPartnerMetadata.Builder>
    • getDefaultInstanceForType

      public InterconnectAttachmentPartnerMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InterconnectAttachmentPartnerMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InterconnectAttachmentPartnerMetadata.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentPartnerMetadata.Builder>
    • mergeFrom

      public InterconnectAttachmentPartnerMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InterconnectAttachmentPartnerMetadata.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      hasInterconnectName in interface InterconnectAttachmentPartnerMetadataOrBuilder
      Returns:
      Whether the interconnectName field is set.
    • 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;
      Specified by:
      getInterconnectName in interface InterconnectAttachmentPartnerMetadataOrBuilder
      Returns:
      The interconnectName.
    • getInterconnectNameBytes

      public com.google.protobuf.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;
      Specified by:
      getInterconnectNameBytes in interface InterconnectAttachmentPartnerMetadataOrBuilder
      Returns:
      The bytes for interconnectName.
    • setInterconnectName

      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;
      Parameters:
      value - The interconnectName to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setInterconnectNameBytes

      public InterconnectAttachmentPartnerMetadata.Builder setInterconnectNameBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for interconnectName to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      hasPartnerName in interface InterconnectAttachmentPartnerMetadataOrBuilder
      Returns:
      Whether the partnerName field is set.
    • 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;
      Specified by:
      getPartnerName in interface InterconnectAttachmentPartnerMetadataOrBuilder
      Returns:
      The partnerName.
    • getPartnerNameBytes

      public com.google.protobuf.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;
      Specified by:
      getPartnerNameBytes in interface InterconnectAttachmentPartnerMetadataOrBuilder
      Returns:
      The bytes for partnerName.
    • setPartnerName

       Plain text name of the Partner providing this attachment.
       This value may be validated to match approved Partner values.
       
      optional string partner_name = 161747874;
      Parameters:
      value - The partnerName to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setPartnerNameBytes

      public InterconnectAttachmentPartnerMetadata.Builder setPartnerNameBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for partnerName to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      hasPortalUrl in interface InterconnectAttachmentPartnerMetadataOrBuilder
      Returns:
      Whether the portalUrl field is set.
    • 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;
      Specified by:
      getPortalUrl in interface InterconnectAttachmentPartnerMetadataOrBuilder
      Returns:
      The portalUrl.
    • getPortalUrlBytes

      public com.google.protobuf.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;
      Specified by:
      getPortalUrlBytes in interface InterconnectAttachmentPartnerMetadataOrBuilder
      Returns:
      The bytes for portalUrl.
    • setPortalUrl

       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;
      Parameters:
      value - The portalUrl to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setPortalUrlBytes

      public InterconnectAttachmentPartnerMetadata.Builder setPortalUrlBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for portalUrl to set.
      Returns:
      This builder for chaining.