Class PacketMirroringForwardingRuleInfo.Builder (1.84.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.84.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  PacketMirroringForwardingRuleInfo . Builder   extends   GeneratedMessageV3 . Builder<PacketMirroringForwardingRuleInfo . Builder >  implements   PacketMirroringForwardingRuleInfoOrBuilder  
   Protobuf type google.cloud.compute.v1.PacketMirroringForwardingRuleInfo
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   PacketMirroringForwardingRuleInfo   build ()  
  
  buildPartial() 
  
    
public   PacketMirroringForwardingRuleInfo   buildPartial ()  
  
  clear() 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   clear ()  
  
  Overrides 
  
  clearCanonicalUrl() 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   clearCanonicalUrl ()  
   [Output Only] Unique identifier for the forwarding rule; defined by the server.
 optional string canonical_url = 512294820;
clearField(Descriptors.FieldDescriptor field) 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearUrl() 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   clearUrl ()  
   Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
 optional string url = 116079;
clone() 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   clone ()  
  
  Overrides 
  
  getCanonicalUrl() 
  
    
public   String   getCanonicalUrl ()  
   [Output Only] Unique identifier for the forwarding rule; defined by the server.
 optional string canonical_url = 512294820;
    
      
        Returns  
      
        Type Description  
      
        String The canonicalUrl.
 
     
  
  getCanonicalUrlBytes() 
  
    
public   ByteString   getCanonicalUrlBytes ()  
   [Output Only] Unique identifier for the forwarding rule; defined by the server.
 optional string canonical_url = 512294820;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for canonicalUrl.
 
     
  
  getDefaultInstanceForType() 
  
    
public   PacketMirroringForwardingRuleInfo   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getUrl() 
  
   Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
 optional string url = 116079;
    
      
        Returns  
      
        Type Description  
      
        String The url.
 
     
  
  getUrlBytes() 
  
    
public   ByteString   getUrlBytes ()  
   Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
 optional string url = 116079;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for url.
 
     
  
  hasCanonicalUrl() 
  
    
public   boolean   hasCanonicalUrl ()  
   [Output Only] Unique identifier for the forwarding rule; defined by the server.
 optional string canonical_url = 512294820;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the canonicalUrl field is set.
 
     
  
  hasUrl() 
  
   Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
 optional string url = 116079;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the url field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(PacketMirroringForwardingRuleInfo other) 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   mergeFrom ( PacketMirroringForwardingRuleInfo   other )  
  
  
  
    
public   PacketMirroringForwardingRuleInfo . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   PacketMirroringForwardingRuleInfo . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setCanonicalUrl(String value) 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   setCanonicalUrl ( String   value )  
   [Output Only] Unique identifier for the forwarding rule; defined by the server.
 optional string canonical_url = 512294820;
    
      
        Parameter  
      
        Name Description  
      
        valueString The canonicalUrl to set.
 
     
  
  
  setCanonicalUrlBytes(ByteString value) 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   setCanonicalUrlBytes ( ByteString   value )  
   [Output Only] Unique identifier for the forwarding rule; defined by the server.
 optional string canonical_url = 512294820;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for canonicalUrl to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   PacketMirroringForwardingRuleInfo . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setUrl(String value) 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   setUrl ( String   value )  
   Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
 optional string url = 116079;
    
      
        Parameter  
      
        Name Description  
      
        valueString The url to set.
 
     
  
  
  setUrlBytes(ByteString value) 
  
    
public   PacketMirroringForwardingRuleInfo . Builder   setUrlBytes ( ByteString   value )  
   Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
 optional string url = 116079;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for url to set.
 
     
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]