Class PublicAdvertisedPrefixPublicDelegatedPrefix (1.26.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.26.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  PublicAdvertisedPrefixPublicDelegatedPrefix   extends   GeneratedMessageV3   implements   PublicAdvertisedPrefixPublicDelegatedPrefixOrBuilder  
   Represents a CIDR range which can be used to assign addresses.
 Protobuf type google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix
Static Fields
   
  IP_RANGE_FIELD_NUMBER 
  
    
public   static   final   int   IP_RANGE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  NAME_FIELD_NUMBER 
  
    
public   static   final   int   NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PROJECT_FIELD_NUMBER 
  
    
public   static   final   int   PROJECT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  REGION_FIELD_NUMBER 
  
    
public   static   final   int   REGION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  STATUS_FIELD_NUMBER 
  
    
public   static   final   int   STATUS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix . Builder   newBuilder ()  
  
  newBuilder(PublicAdvertisedPrefixPublicDelegatedPrefix prototype) 
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix . Builder   newBuilder ( PublicAdvertisedPrefixPublicDelegatedPrefix   prototype )  
  
  
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PublicAdvertisedPrefixPublicDelegatedPrefix   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<PublicAdvertisedPrefixPublicDelegatedPrefix>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   PublicAdvertisedPrefixPublicDelegatedPrefix   getDefaultInstanceForType ()  
  
  getIpRange() 
  
    
public   String   getIpRange ()  
   The IP address range of the public delegated prefix
 optional string ip_range = 145092645;
    
      
        Returns  
      
        Type Description  
      
        String The ipRange.
 
     
  
  getIpRangeBytes() 
  
    
public   ByteString   getIpRangeBytes ()  
   The IP address range of the public delegated prefix
 optional string ip_range = 145092645;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for ipRange.
 
     
  
  getName() 
  
   The name of the public delegated prefix
 optional string name = 3373707;
    
      
        Returns  
      
        Type Description  
      
        String The name.
 
     
  
  getNameBytes() 
  
    
public   ByteString   getNameBytes ()  
   The name of the public delegated prefix
 optional string name = 3373707;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for name.
 
     
  
  getParserForType() 
  
    
public   Parser<PublicAdvertisedPrefixPublicDelegatedPrefix>   getParserForType ()  
  
  Overrides 
  
  getProject() 
  
    
public   String   getProject ()  
   The project number of the public delegated prefix
 optional string project = 227560217;
    
      
        Returns  
      
        Type Description  
      
        String The project.
 
     
  
  getProjectBytes() 
  
    
public   ByteString   getProjectBytes ()  
   The project number of the public delegated prefix
 optional string project = 227560217;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for project.
 
     
  
  getRegion() 
  
    
public   String   getRegion ()  
   The region of the public delegated prefix if it is regional. If absent, the prefix is global.
 optional string region = 138946292;
    
      
        Returns  
      
        Type Description  
      
        String The region.
 
     
  
  getRegionBytes() 
  
    
public   ByteString   getRegionBytes ()  
   The region of the public delegated prefix if it is regional. If absent, the prefix is global.
 optional string region = 138946292;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for region.
 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getStatus() 
  
    
public   String   getStatus ()  
   The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.
 optional string status = 181260274;
    
      
        Returns  
      
        Type Description  
      
        String The status.
 
     
  
  getStatusBytes() 
  
    
public   ByteString   getStatusBytes ()  
   The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.
 optional string status = 181260274;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for status.
 
     
  
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  
  Overrides 
  
  hasIpRange() 
  
    
public   boolean   hasIpRange ()  
   The IP address range of the public delegated prefix
 optional string ip_range = 145092645;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the ipRange field is set.
 
     
  
  hasName() 
  
   The name of the public delegated prefix
 optional string name = 3373707;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the name field is set.
 
     
  
  hasProject() 
  
    
public   boolean   hasProject ()  
   The project number of the public delegated prefix
 optional string project = 227560217;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the project field is set.
 
     
  
  hasRegion() 
  
    
public   boolean   hasRegion ()  
   The region of the public delegated prefix if it is regional. If absent, the prefix is global.
 optional string region = 138946292;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the region field is set.
 
     
  
  hasStatus() 
  
    
public   boolean   hasStatus ()  
   The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.
 optional string status = 181260274;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the status field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   PublicAdvertisedPrefixPublicDelegatedPrefix . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   PublicAdvertisedPrefixPublicDelegatedPrefix . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   PublicAdvertisedPrefixPublicDelegatedPrefix . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-11 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]