Class WireGroupEndpoint.Builder

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

public static final class WireGroupEndpoint.Builder extends com.google.protobuf.GeneratedMessage.Builder<WireGroupEndpoint.Builder> implements WireGroupEndpointOrBuilder
 A logical endpoint for the wire group. An endpoint represents a metro that
 contains redundant Interconnect connections. A wire group is created
 between two endpoints.
 
Protobuf type google.cloud.compute.v1.WireGroupEndpoint
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<WireGroupEndpoint.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<WireGroupEndpoint.Builder>
    • internalGetFieldAccessorTable

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

      public WireGroupEndpoint.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<WireGroupEndpoint.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<WireGroupEndpoint.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public WireGroupEndpoint.Builder mergeFrom(WireGroupEndpoint other)
    • isInitialized

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

      public WireGroupEndpoint.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<WireGroupEndpoint.Builder>
      Throws:
      IOException
    • getInterconnectsCount

      public int getInterconnectsCount()
      Description copied from interface: WireGroupEndpointOrBuilder
       A map that contains the redundant Interconnect connections. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Interconnect object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
      Specified by:
      getInterconnectsCount in interface WireGroupEndpointOrBuilder
    • containsInterconnects

      public boolean containsInterconnects(String key)
       A map that contains the redundant Interconnect connections. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Interconnect object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
      Specified by:
      containsInterconnects in interface WireGroupEndpointOrBuilder
    • getInterconnects

      Deprecated.
      Specified by:
      getInterconnects in interface WireGroupEndpointOrBuilder
    • getInterconnectsMap

      public Map<String,WireGroupEndpointInterconnect> getInterconnectsMap()
       A map that contains the redundant Interconnect connections. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Interconnect object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
      Specified by:
      getInterconnectsMap in interface WireGroupEndpointOrBuilder
    • getInterconnectsOrDefault

      public WireGroupEndpointInterconnect getInterconnectsOrDefault(String key, WireGroupEndpointInterconnect defaultValue)
       A map that contains the redundant Interconnect connections. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Interconnect object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
      Specified by:
      getInterconnectsOrDefault in interface WireGroupEndpointOrBuilder
    • getInterconnectsOrThrow

      public WireGroupEndpointInterconnect getInterconnectsOrThrow(String key)
       A map that contains the redundant Interconnect connections. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Interconnect object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
      Specified by:
      getInterconnectsOrThrow in interface WireGroupEndpointOrBuilder
    • clearInterconnects

      public WireGroupEndpoint.Builder clearInterconnects()
    • removeInterconnects

      public WireGroupEndpoint.Builder removeInterconnects(String key)
       A map that contains the redundant Interconnect connections. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Interconnect object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
    • getMutableInterconnects

      @Deprecated public Map<String,WireGroupEndpointInterconnect> getMutableInterconnects()
      Deprecated.
      Use alternate mutation accessors instead.
    • putInterconnects

      public WireGroupEndpoint.Builder putInterconnects(String key, WireGroupEndpointInterconnect value)
       A map that contains the redundant Interconnect connections. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Interconnect object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
    • putAllInterconnects

      public WireGroupEndpoint.Builder putAllInterconnects(Map<String,WireGroupEndpointInterconnect> values)
       A map that contains the redundant Interconnect connections. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Interconnect object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;
    • putInterconnectsBuilderIfAbsent

      public WireGroupEndpointInterconnect.Builder putInterconnectsBuilderIfAbsent(String key)
       A map that contains the redundant Interconnect connections. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Interconnect object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpointInterconnect> interconnects = 520187301;