Class WireGroupTopologyEndpoint.Builder

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

public static final class WireGroupTopologyEndpoint.Builder extends com.google.protobuf.GeneratedMessage.Builder<WireGroupTopologyEndpoint.Builder> implements WireGroupTopologyEndpointOrBuilder
 Topology details for a single wire group endpoint.
 
Protobuf type google.cloud.compute.v1.WireGroupTopologyEndpoint
  • 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<WireGroupTopologyEndpoint.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<WireGroupTopologyEndpoint.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<WireGroupTopologyEndpoint.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public WireGroupTopologyEndpoint.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<WireGroupTopologyEndpoint.Builder>
      Throws:
      IOException
    • hasCity

      public boolean hasCity()
       Output only. The InterconnectLocation.city (metropolitan area designator) that all
       interconnects are located in.
       
      optional string city = 3053931;
      Specified by:
      hasCity in interface WireGroupTopologyEndpointOrBuilder
      Returns:
      Whether the city field is set.
    • getCity

      public String getCity()
       Output only. The InterconnectLocation.city (metropolitan area designator) that all
       interconnects are located in.
       
      optional string city = 3053931;
      Specified by:
      getCity in interface WireGroupTopologyEndpointOrBuilder
      Returns:
      The city.
    • getCityBytes

      public com.google.protobuf.ByteString getCityBytes()
       Output only. The InterconnectLocation.city (metropolitan area designator) that all
       interconnects are located in.
       
      optional string city = 3053931;
      Specified by:
      getCityBytes in interface WireGroupTopologyEndpointOrBuilder
      Returns:
      The bytes for city.
    • setCity

      public WireGroupTopologyEndpoint.Builder setCity(String value)
       Output only. The InterconnectLocation.city (metropolitan area designator) that all
       interconnects are located in.
       
      optional string city = 3053931;
      Parameters:
      value - The city to set.
      Returns:
      This builder for chaining.
    • clearCity

       Output only. The InterconnectLocation.city (metropolitan area designator) that all
       interconnects are located in.
       
      optional string city = 3053931;
      Returns:
      This builder for chaining.
    • setCityBytes

      public WireGroupTopologyEndpoint.Builder setCityBytes(com.google.protobuf.ByteString value)
       Output only. The InterconnectLocation.city (metropolitan area designator) that all
       interconnects are located in.
       
      optional string city = 3053931;
      Parameters:
      value - The bytes for city to set.
      Returns:
      This builder for chaining.
    • hasLabel

      public boolean hasLabel()
       Output only. Endpoint label from the wire group.
       
      optional string label = 102727412;
      Specified by:
      hasLabel in interface WireGroupTopologyEndpointOrBuilder
      Returns:
      Whether the label field is set.
    • getLabel

      public String getLabel()
       Output only. Endpoint label from the wire group.
       
      optional string label = 102727412;
      Specified by:
      getLabel in interface WireGroupTopologyEndpointOrBuilder
      Returns:
      The label.
    • getLabelBytes

      public com.google.protobuf.ByteString getLabelBytes()
       Output only. Endpoint label from the wire group.
       
      optional string label = 102727412;
      Specified by:
      getLabelBytes in interface WireGroupTopologyEndpointOrBuilder
      Returns:
      The bytes for label.
    • setLabel

      public WireGroupTopologyEndpoint.Builder setLabel(String value)
       Output only. Endpoint label from the wire group.
       
      optional string label = 102727412;
      Parameters:
      value - The label to set.
      Returns:
      This builder for chaining.
    • clearLabel

      public WireGroupTopologyEndpoint.Builder clearLabel()
       Output only. Endpoint label from the wire group.
       
      optional string label = 102727412;
      Returns:
      This builder for chaining.
    • setLabelBytes

      public WireGroupTopologyEndpoint.Builder setLabelBytes(com.google.protobuf.ByteString value)
       Output only. Endpoint label from the wire group.
       
      optional string label = 102727412;
      Parameters:
      value - The bytes for label to set.
      Returns:
      This builder for chaining.