Class InterconnectLocationRegionInfo.Builder

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

public static final class InterconnectLocationRegionInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<InterconnectLocationRegionInfo.Builder> implements InterconnectLocationRegionInfoOrBuilder
 Information about any potential InterconnectAttachments between an
 Interconnect at a specific InterconnectLocation, and a specific Cloud
 Region.
 
Protobuf type google.cloud.compute.v1.InterconnectLocationRegionInfo
  • 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<InterconnectLocationRegionInfo.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<InterconnectLocationRegionInfo.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<InterconnectLocationRegionInfo.Builder>
    • getDefaultInstanceForType

      public InterconnectLocationRegionInfo 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

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

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

      public InterconnectLocationRegionInfo.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<InterconnectLocationRegionInfo.Builder>
      Throws:
      IOException
    • hasExpectedRttMs

      public boolean hasExpectedRttMs()
       Output only. Expected round-trip time in milliseconds, from this InterconnectLocation
       to a VM in this region.
       
      optional int64 expected_rtt_ms = 422543866;
      Specified by:
      hasExpectedRttMs in interface InterconnectLocationRegionInfoOrBuilder
      Returns:
      Whether the expectedRttMs field is set.
    • getExpectedRttMs

      public long getExpectedRttMs()
       Output only. Expected round-trip time in milliseconds, from this InterconnectLocation
       to a VM in this region.
       
      optional int64 expected_rtt_ms = 422543866;
      Specified by:
      getExpectedRttMs in interface InterconnectLocationRegionInfoOrBuilder
      Returns:
      The expectedRttMs.
    • setExpectedRttMs

      public InterconnectLocationRegionInfo.Builder setExpectedRttMs(long value)
       Output only. Expected round-trip time in milliseconds, from this InterconnectLocation
       to a VM in this region.
       
      optional int64 expected_rtt_ms = 422543866;
      Parameters:
      value - The expectedRttMs to set.
      Returns:
      This builder for chaining.
    • clearExpectedRttMs

      public InterconnectLocationRegionInfo.Builder clearExpectedRttMs()
       Output only. Expected round-trip time in milliseconds, from this InterconnectLocation
       to a VM in this region.
       
      optional int64 expected_rtt_ms = 422543866;
      Returns:
      This builder for chaining.
    • hasL2ForwardingEnabled

      public boolean hasL2ForwardingEnabled()
       Output only. Identifies whether L2 Interconnect Attachments can be created in this
       region for interconnects that are in this location.
       
      optional bool l2_forwarding_enabled = 241364888;
      Specified by:
      hasL2ForwardingEnabled in interface InterconnectLocationRegionInfoOrBuilder
      Returns:
      Whether the l2ForwardingEnabled field is set.
    • getL2ForwardingEnabled

      public boolean getL2ForwardingEnabled()
       Output only. Identifies whether L2 Interconnect Attachments can be created in this
       region for interconnects that are in this location.
       
      optional bool l2_forwarding_enabled = 241364888;
      Specified by:
      getL2ForwardingEnabled in interface InterconnectLocationRegionInfoOrBuilder
      Returns:
      The l2ForwardingEnabled.
    • setL2ForwardingEnabled

      public InterconnectLocationRegionInfo.Builder setL2ForwardingEnabled(boolean value)
       Output only. Identifies whether L2 Interconnect Attachments can be created in this
       region for interconnects that are in this location.
       
      optional bool l2_forwarding_enabled = 241364888;
      Parameters:
      value - The l2ForwardingEnabled to set.
      Returns:
      This builder for chaining.
    • clearL2ForwardingEnabled

      public InterconnectLocationRegionInfo.Builder clearL2ForwardingEnabled()
       Output only. Identifies whether L2 Interconnect Attachments can be created in this
       region for interconnects that are in this location.
       
      optional bool l2_forwarding_enabled = 241364888;
      Returns:
      This builder for chaining.
    • hasLocationPresence

      public boolean hasLocationPresence()
       Output only. Identifies the network presence of this location.
       Check the LocationPresence enum for the list of possible values.
       
      optional string location_presence = 101517893;
      Specified by:
      hasLocationPresence in interface InterconnectLocationRegionInfoOrBuilder
      Returns:
      Whether the locationPresence field is set.
    • getLocationPresence

      public String getLocationPresence()
       Output only. Identifies the network presence of this location.
       Check the LocationPresence enum for the list of possible values.
       
      optional string location_presence = 101517893;
      Specified by:
      getLocationPresence in interface InterconnectLocationRegionInfoOrBuilder
      Returns:
      The locationPresence.
    • getLocationPresenceBytes

      public com.google.protobuf.ByteString getLocationPresenceBytes()
       Output only. Identifies the network presence of this location.
       Check the LocationPresence enum for the list of possible values.
       
      optional string location_presence = 101517893;
      Specified by:
      getLocationPresenceBytes in interface InterconnectLocationRegionInfoOrBuilder
      Returns:
      The bytes for locationPresence.
    • setLocationPresence

      public InterconnectLocationRegionInfo.Builder setLocationPresence(String value)
       Output only. Identifies the network presence of this location.
       Check the LocationPresence enum for the list of possible values.
       
      optional string location_presence = 101517893;
      Parameters:
      value - The locationPresence to set.
      Returns:
      This builder for chaining.
    • clearLocationPresence

      public InterconnectLocationRegionInfo.Builder clearLocationPresence()
       Output only. Identifies the network presence of this location.
       Check the LocationPresence enum for the list of possible values.
       
      optional string location_presence = 101517893;
      Returns:
      This builder for chaining.
    • setLocationPresenceBytes

      public InterconnectLocationRegionInfo.Builder setLocationPresenceBytes(com.google.protobuf.ByteString value)
       Output only. Identifies the network presence of this location.
       Check the LocationPresence enum for the list of possible values.
       
      optional string location_presence = 101517893;
      Parameters:
      value - The bytes for locationPresence to set.
      Returns:
      This builder for chaining.
    • hasRegion

      public boolean hasRegion()
       Output only. URL for the region of this location.
       
      optional string region = 138946292;
      Specified by:
      hasRegion in interface InterconnectLocationRegionInfoOrBuilder
      Returns:
      Whether the region field is set.
    • getRegion

      public String getRegion()
       Output only. URL for the region of this location.
       
      optional string region = 138946292;
      Specified by:
      getRegion in interface InterconnectLocationRegionInfoOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       Output only. URL for the region of this location.
       
      optional string region = 138946292;
      Specified by:
      getRegionBytes in interface InterconnectLocationRegionInfoOrBuilder
      Returns:
      The bytes for region.
    • setRegion

       Output only. URL for the region of this location.
       
      optional string region = 138946292;
      Parameters:
      value - The region to set.
      Returns:
      This builder for chaining.
    • clearRegion

       Output only. URL for the region of this location.
       
      optional string region = 138946292;
      Returns:
      This builder for chaining.
    • setRegionBytes

      public InterconnectLocationRegionInfo.Builder setRegionBytes(com.google.protobuf.ByteString value)
       Output only. URL for the region of this location.
       
      optional string region = 138946292;
      Parameters:
      value - The bytes for region to set.
      Returns:
      This builder for chaining.