Class RouterAdvertisedIpRange.Builder

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

public static final class RouterAdvertisedIpRange.Builder extends com.google.protobuf.GeneratedMessage.Builder<RouterAdvertisedIpRange.Builder> implements RouterAdvertisedIpRangeOrBuilder
 Description-tagged IP ranges for the router to advertise.
 
Protobuf type google.cloud.compute.v1.RouterAdvertisedIpRange
  • 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<RouterAdvertisedIpRange.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<RouterAdvertisedIpRange.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<RouterAdvertisedIpRange.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public RouterAdvertisedIpRange.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<RouterAdvertisedIpRange.Builder>
      Throws:
      IOException
    • hasDescription

      public boolean hasDescription()
       User-specified description for the IP range.
       
      optional string description = 422937596;
      Specified by:
      hasDescription in interface RouterAdvertisedIpRangeOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       User-specified description for the IP range.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface RouterAdvertisedIpRangeOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       User-specified description for the IP range.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface RouterAdvertisedIpRangeOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public RouterAdvertisedIpRange.Builder setDescription(String value)
       User-specified description for the IP range.
       
      optional string description = 422937596;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public RouterAdvertisedIpRange.Builder clearDescription()
       User-specified description for the IP range.
       
      optional string description = 422937596;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public RouterAdvertisedIpRange.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       User-specified description for the IP range.
       
      optional string description = 422937596;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasRange

      public boolean hasRange()
       The IP range to advertise. The value must be a CIDR-formatted string.
       
      optional string range = 108280125;
      Specified by:
      hasRange in interface RouterAdvertisedIpRangeOrBuilder
      Returns:
      Whether the range field is set.
    • getRange

      public String getRange()
       The IP range to advertise. The value must be a CIDR-formatted string.
       
      optional string range = 108280125;
      Specified by:
      getRange in interface RouterAdvertisedIpRangeOrBuilder
      Returns:
      The range.
    • getRangeBytes

      public com.google.protobuf.ByteString getRangeBytes()
       The IP range to advertise. The value must be a CIDR-formatted string.
       
      optional string range = 108280125;
      Specified by:
      getRangeBytes in interface RouterAdvertisedIpRangeOrBuilder
      Returns:
      The bytes for range.
    • setRange

      public RouterAdvertisedIpRange.Builder setRange(String value)
       The IP range to advertise. The value must be a CIDR-formatted string.
       
      optional string range = 108280125;
      Parameters:
      value - The range to set.
      Returns:
      This builder for chaining.
    • clearRange

      public RouterAdvertisedIpRange.Builder clearRange()
       The IP range to advertise. The value must be a CIDR-formatted string.
       
      optional string range = 108280125;
      Returns:
      This builder for chaining.
    • setRangeBytes

      public RouterAdvertisedIpRange.Builder setRangeBytes(com.google.protobuf.ByteString value)
       The IP range to advertise. The value must be a CIDR-formatted string.
       
      optional string range = 108280125;
      Parameters:
      value - The bytes for range to set.
      Returns:
      This builder for chaining.