Class AlertPolicy.Documentation.Link.Builder (3.76.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.76.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  AlertPolicy . Documentation . Link . Builder   extends   GeneratedMessageV3 . Builder<AlertPolicy . Documentation . Link . Builder >  implements   AlertPolicy . Documentation . LinkOrBuilder  
   Links to content such as playbooks, repositories, and other resources.
 Protobuf type google.monitoring.v3.AlertPolicy.Documentation.Link
    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   AlertPolicy . Documentation . Link . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   AlertPolicy . Documentation . Link   build ()  
  
  buildPartial() 
  
    
public   AlertPolicy . Documentation . Link   buildPartial ()  
  
  clear() 
  
    
public   AlertPolicy . Documentation . Link . Builder   clear ()  
  
  Overrides 
  
  clearDisplayName() 
  
    
public   AlertPolicy . Documentation . Link . Builder   clearDisplayName ()  
   A short display name for the link. The display name must not be empty
 or exceed 63 characters. Example: "playbook".
 string display_name = 1;
clearField(Descriptors.FieldDescriptor field) 
  
    
public   AlertPolicy . Documentation . Link . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   AlertPolicy . Documentation . Link . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearUrl() 
  
    
public   AlertPolicy . Documentation . Link . Builder   clearUrl ()  
   The url of a webpage.
 A url can be templatized by using variables
 in the path or the query parameters. The total length of a URL should
 not exceed 2083 characters before and after variable expansion.
 Example: "https://my_domain.com/playbook?name=${resource.name}"
 string url = 2;
clone() 
  
    
public   AlertPolicy . Documentation . Link . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   AlertPolicy . Documentation . Link   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getDisplayName() 
  
    
public   String   getDisplayName ()  
   A short display name for the link. The display name must not be empty
 or exceed 63 characters. Example: "playbook".
 string display_name = 1;
    
      
        Returns  
      
        Type Description  
      
        String The displayName.
 
     
  
  getDisplayNameBytes() 
  
    
public   ByteString   getDisplayNameBytes ()  
   A short display name for the link. The display name must not be empty
 or exceed 63 characters. Example: "playbook".
 string display_name = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for displayName.
 
     
  
  getUrl() 
  
   The url of a webpage.
 A url can be templatized by using variables
 in the path or the query parameters. The total length of a URL should
 not exceed 2083 characters before and after variable expansion.
 Example: "https://my_domain.com/playbook?name=${resource.name}"
 string url = 2;
    
      
        Returns  
      
        Type Description  
      
        String The url.
 
     
  
  getUrlBytes() 
  
    
public   ByteString   getUrlBytes ()  
   The url of a webpage.
 A url can be templatized by using variables
 in the path or the query parameters. The total length of a URL should
 not exceed 2083 characters before and after variable expansion.
 Example: "https://my_domain.com/playbook?name=${resource.name}"
 string url = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for url.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(AlertPolicy.Documentation.Link other) 
  
    
public   AlertPolicy . Documentation . Link . Builder   mergeFrom ( AlertPolicy . Documentation . Link   other )  
  
  
  
    
public   AlertPolicy . Documentation . Link . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   AlertPolicy . Documentation . Link . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   AlertPolicy . Documentation . Link . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setDisplayName(String value) 
  
    
public   AlertPolicy . Documentation . Link . Builder   setDisplayName ( String   value )  
   A short display name for the link. The display name must not be empty
 or exceed 63 characters. Example: "playbook".
 string display_name = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueString The displayName to set.
 
     
  
  
  setDisplayNameBytes(ByteString value) 
  
    
public   AlertPolicy . Documentation . Link . Builder   setDisplayNameBytes ( ByteString   value )  
   A short display name for the link. The display name must not be empty
 or exceed 63 characters. Example: "playbook".
 string display_name = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for displayName to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   AlertPolicy . Documentation . Link . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   AlertPolicy . Documentation . Link . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   AlertPolicy . Documentation . Link . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setUrl(String value) 
  
    
public   AlertPolicy . Documentation . Link . Builder   setUrl ( String   value )  
   The url of a webpage.
 A url can be templatized by using variables
 in the path or the query parameters. The total length of a URL should
 not exceed 2083 characters before and after variable expansion.
 Example: "https://my_domain.com/playbook?name=${resource.name}"
 string url = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString The url to set.
 
     
  
  
  setUrlBytes(ByteString value) 
  
    
public   AlertPolicy . Documentation . Link . Builder   setUrlBytes ( ByteString   value )  
   The url of a webpage.
 A url can be templatized by using variables
 in the path or the query parameters. The total length of a URL should
 not exceed 2083 characters before and after variable expansion.
 Example: "https://my_domain.com/playbook?name=${resource.name}"
 string url = 2;
    
      
        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-29 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-29 UTC."],[],[]]