Class InterconnectCircuitInfo.Builder

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

public static final class InterconnectCircuitInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<InterconnectCircuitInfo.Builder> implements InterconnectCircuitInfoOrBuilder
 Describes a single physical circuit between the Customer and Google.
 CircuitInfo objects are created by Google, so all fields are output only.
 
Protobuf type google.cloud.compute.v1.InterconnectCircuitInfo
  • 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<InterconnectCircuitInfo.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<InterconnectCircuitInfo.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<InterconnectCircuitInfo.Builder>
    • getDefaultInstanceForType

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

      public InterconnectCircuitInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public InterconnectCircuitInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InterconnectCircuitInfo.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<InterconnectCircuitInfo.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<InterconnectCircuitInfo.Builder>
    • mergeFrom

      public InterconnectCircuitInfo.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<InterconnectCircuitInfo.Builder>
      Throws:
      IOException
    • hasCustomerDemarcId

      public boolean hasCustomerDemarcId()
       Customer-side demarc ID for this circuit.
       
      optional string customer_demarc_id = 28771859;
      Specified by:
      hasCustomerDemarcId in interface InterconnectCircuitInfoOrBuilder
      Returns:
      Whether the customerDemarcId field is set.
    • getCustomerDemarcId

      public String getCustomerDemarcId()
       Customer-side demarc ID for this circuit.
       
      optional string customer_demarc_id = 28771859;
      Specified by:
      getCustomerDemarcId in interface InterconnectCircuitInfoOrBuilder
      Returns:
      The customerDemarcId.
    • getCustomerDemarcIdBytes

      public com.google.protobuf.ByteString getCustomerDemarcIdBytes()
       Customer-side demarc ID for this circuit.
       
      optional string customer_demarc_id = 28771859;
      Specified by:
      getCustomerDemarcIdBytes in interface InterconnectCircuitInfoOrBuilder
      Returns:
      The bytes for customerDemarcId.
    • setCustomerDemarcId

      public InterconnectCircuitInfo.Builder setCustomerDemarcId(String value)
       Customer-side demarc ID for this circuit.
       
      optional string customer_demarc_id = 28771859;
      Parameters:
      value - The customerDemarcId to set.
      Returns:
      This builder for chaining.
    • clearCustomerDemarcId

      public InterconnectCircuitInfo.Builder clearCustomerDemarcId()
       Customer-side demarc ID for this circuit.
       
      optional string customer_demarc_id = 28771859;
      Returns:
      This builder for chaining.
    • setCustomerDemarcIdBytes

      public InterconnectCircuitInfo.Builder setCustomerDemarcIdBytes(com.google.protobuf.ByteString value)
       Customer-side demarc ID for this circuit.
       
      optional string customer_demarc_id = 28771859;
      Parameters:
      value - The bytes for customerDemarcId to set.
      Returns:
      This builder for chaining.
    • hasGoogleCircuitId

      public boolean hasGoogleCircuitId()
       Google-assigned unique ID for this circuit. Assigned at circuit turn-up.
       
      optional string google_circuit_id = 262014711;
      Specified by:
      hasGoogleCircuitId in interface InterconnectCircuitInfoOrBuilder
      Returns:
      Whether the googleCircuitId field is set.
    • getGoogleCircuitId

      public String getGoogleCircuitId()
       Google-assigned unique ID for this circuit. Assigned at circuit turn-up.
       
      optional string google_circuit_id = 262014711;
      Specified by:
      getGoogleCircuitId in interface InterconnectCircuitInfoOrBuilder
      Returns:
      The googleCircuitId.
    • getGoogleCircuitIdBytes

      public com.google.protobuf.ByteString getGoogleCircuitIdBytes()
       Google-assigned unique ID for this circuit. Assigned at circuit turn-up.
       
      optional string google_circuit_id = 262014711;
      Specified by:
      getGoogleCircuitIdBytes in interface InterconnectCircuitInfoOrBuilder
      Returns:
      The bytes for googleCircuitId.
    • setGoogleCircuitId

      public InterconnectCircuitInfo.Builder setGoogleCircuitId(String value)
       Google-assigned unique ID for this circuit. Assigned at circuit turn-up.
       
      optional string google_circuit_id = 262014711;
      Parameters:
      value - The googleCircuitId to set.
      Returns:
      This builder for chaining.
    • clearGoogleCircuitId

      public InterconnectCircuitInfo.Builder clearGoogleCircuitId()
       Google-assigned unique ID for this circuit. Assigned at circuit turn-up.
       
      optional string google_circuit_id = 262014711;
      Returns:
      This builder for chaining.
    • setGoogleCircuitIdBytes

      public InterconnectCircuitInfo.Builder setGoogleCircuitIdBytes(com.google.protobuf.ByteString value)
       Google-assigned unique ID for this circuit. Assigned at circuit turn-up.
       
      optional string google_circuit_id = 262014711;
      Parameters:
      value - The bytes for googleCircuitId to set.
      Returns:
      This builder for chaining.
    • hasGoogleDemarcId

      public boolean hasGoogleDemarcId()
       Google-side demarc ID for this circuit. Assigned at circuit turn-up and
       provided by Google to the customer in the LOA.
       
      optional string google_demarc_id = 448196270;
      Specified by:
      hasGoogleDemarcId in interface InterconnectCircuitInfoOrBuilder
      Returns:
      Whether the googleDemarcId field is set.
    • getGoogleDemarcId

      public String getGoogleDemarcId()
       Google-side demarc ID for this circuit. Assigned at circuit turn-up and
       provided by Google to the customer in the LOA.
       
      optional string google_demarc_id = 448196270;
      Specified by:
      getGoogleDemarcId in interface InterconnectCircuitInfoOrBuilder
      Returns:
      The googleDemarcId.
    • getGoogleDemarcIdBytes

      public com.google.protobuf.ByteString getGoogleDemarcIdBytes()
       Google-side demarc ID for this circuit. Assigned at circuit turn-up and
       provided by Google to the customer in the LOA.
       
      optional string google_demarc_id = 448196270;
      Specified by:
      getGoogleDemarcIdBytes in interface InterconnectCircuitInfoOrBuilder
      Returns:
      The bytes for googleDemarcId.
    • setGoogleDemarcId

      public InterconnectCircuitInfo.Builder setGoogleDemarcId(String value)
       Google-side demarc ID for this circuit. Assigned at circuit turn-up and
       provided by Google to the customer in the LOA.
       
      optional string google_demarc_id = 448196270;
      Parameters:
      value - The googleDemarcId to set.
      Returns:
      This builder for chaining.
    • clearGoogleDemarcId

      public InterconnectCircuitInfo.Builder clearGoogleDemarcId()
       Google-side demarc ID for this circuit. Assigned at circuit turn-up and
       provided by Google to the customer in the LOA.
       
      optional string google_demarc_id = 448196270;
      Returns:
      This builder for chaining.
    • setGoogleDemarcIdBytes

      public InterconnectCircuitInfo.Builder setGoogleDemarcIdBytes(com.google.protobuf.ByteString value)
       Google-side demarc ID for this circuit. Assigned at circuit turn-up and
       provided by Google to the customer in the LOA.
       
      optional string google_demarc_id = 448196270;
      Parameters:
      value - The bytes for googleDemarcId to set.
      Returns:
      This builder for chaining.