Class Help.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Help.Builder>
com.google.rpc.Help.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HelpOrBuilder, Cloneable
Enclosing class:
Help

public static final class Help.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<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
  • 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.
    addLinksBuilder(int index)
    URL(s) pointing to additional information on handling the current error.
     
     
     
    URL(s) pointing to additional information on handling the current error.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    getLinks(int index)
    URL(s) pointing to additional information on handling the current error.
    getLinksBuilder(int index)
    URL(s) pointing to additional information on handling the current error.
    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.
    getLinksOrBuilder(int index)
    URL(s) pointing to additional information on handling the current error.
    URL(s) pointing to additional information on handling the current error.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeFrom(Help other)
     
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    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.
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     

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

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3

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

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

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

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Help.Builder>
    • clear

      public Help.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.GeneratedMessageV3.Builder<Help.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.GeneratedMessageV3.Builder<Help.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Help.Builder mergeFrom(Help other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Help.Builder>
    • mergeFrom

      public Help.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<Help.Builder>
      Throws:
      IOException
    • getLinksList

      public List<Help.Link> getLinksList()
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1;
      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;
      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;
      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;
    • 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;
    • 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;
    • 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;
    • 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;
    • 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;
    • 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;
    • clearLinks

      public Help.Builder clearLinks()
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1;
    • 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;
    • getLinksBuilder

      public Help.Link.Builder getLinksBuilder(int index)
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1;
    • getLinksOrBuilder

      public Help.LinkOrBuilder getLinksOrBuilder(int index)
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1;
      Specified by:
      getLinksOrBuilder in interface HelpOrBuilder
    • getLinksOrBuilderList

      public List<? extends Help.LinkOrBuilder> getLinksOrBuilderList()
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1;
      Specified by:
      getLinksOrBuilderList in interface HelpOrBuilder
    • addLinksBuilder

      public Help.Link.Builder addLinksBuilder()
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1;
    • addLinksBuilder

      public Help.Link.Builder addLinksBuilder(int index)
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1;
    • getLinksBuilderList

      public List<Help.Link.Builder> getLinksBuilderList()
       URL(s) pointing to additional information on handling the current error.
       
      repeated .google.rpc.Help.Link links = 1;
    • setUnknownFields

      public final Help.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Help.Builder>
    • mergeUnknownFields

      public final Help.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Help.Builder>