Class Help.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Help,Help.Builder>
com.google.rpc.Help.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, HelpOrBuilder, Cloneable
Enclosing class:
Help

public static final class Help.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Help,Help.Builder> implements HelpOrBuilder
 Provides links to documentation or for performing an out of band action.

 For example, if a quota check failed with an error indicating the calling
 project hasn't enabled the accessed service, this can contain a URL pointing
 directly to the right place in the developer console to flip the bit.
 
Protobuf type google.rpc.Help
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllLinks(Iterable<? extends Help.Link> values)
    URL(s) pointing to additional information on handling the current error.
    addLinks(int index, Help.Link value)
    URL(s) pointing to additional information on handling the current error.
    addLinks(int index, Help.Link.Builder builderForValue)
    URL(s) pointing to additional information on handling the current error.
    URL(s) pointing to additional information on handling the current error.
    addLinks(Help.Link.Builder builderForValue)
    URL(s) pointing to additional information on handling the current error.
    URL(s) pointing to additional information on handling the current error.
    getLinks(int index)
    URL(s) pointing to additional information on handling the current error.
    int
    URL(s) pointing to additional information on handling the current error.
    URL(s) pointing to additional information on handling the current error.
    removeLinks(int index)
    URL(s) pointing to additional information on handling the current error.
    setLinks(int index, Help.Link value)
    URL(s) pointing to additional information on handling the current error.
    setLinks(int index, Help.Link.Builder builderForValue)
    URL(s) pointing to additional information on handling the current error.

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getLinksList

      public List<Help.Link> getLinksList()
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1 [json_name = "links"];
      Specified by:
      getLinksList in interface HelpOrBuilder
    • getLinksCount

      public int getLinksCount()
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1 [json_name = "links"];
      Specified by:
      getLinksCount in interface HelpOrBuilder
    • getLinks

      public Help.Link getLinks(int index)
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1 [json_name = "links"];
      Specified by:
      getLinks in interface HelpOrBuilder
    • setLinks

      public Help.Builder setLinks(int index, Help.Link value)
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1 [json_name = "links"];
    • setLinks

      public Help.Builder setLinks(int index, Help.Link.Builder builderForValue)
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1 [json_name = "links"];
    • addLinks

      public Help.Builder addLinks(Help.Link value)
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1 [json_name = "links"];
    • addLinks

      public Help.Builder addLinks(int index, Help.Link value)
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1 [json_name = "links"];
    • addLinks

      public Help.Builder addLinks(Help.Link.Builder builderForValue)
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1 [json_name = "links"];
    • addLinks

      public Help.Builder addLinks(int index, Help.Link.Builder builderForValue)
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1 [json_name = "links"];
    • addAllLinks

      public Help.Builder addAllLinks(Iterable<? extends Help.Link> values)
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1 [json_name = "links"];
    • clearLinks

      public Help.Builder clearLinks()
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1 [json_name = "links"];
    • removeLinks

      public Help.Builder removeLinks(int index)
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1 [json_name = "links"];