Class ErrorLocation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
com.google.ads.googleads.v18.errors.ErrorLocation.Builder
All Implemented Interfaces:
ErrorLocationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ErrorLocation

public static final class ErrorLocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder> implements ErrorLocationOrBuilder
 Describes the part of the request proto that caused the error.
 
Protobuf type google.ads.googleads.v18.errors.ErrorLocation
  • 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<ErrorLocation.Builder>
    • clear

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

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

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

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

      public ErrorLocation.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
    • setField

      public ErrorLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
    • clearField

      public ErrorLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
    • clearOneof

      public ErrorLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
    • setRepeatedField

      public ErrorLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
    • addRepeatedField

      public ErrorLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
    • mergeFrom

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

      public ErrorLocation.Builder mergeFrom(ErrorLocation other)
    • isInitialized

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

      public ErrorLocation.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<ErrorLocation.Builder>
      Throws:
      IOException
    • getFieldPathElementsList

      public List<ErrorLocation.FieldPathElement> getFieldPathElementsList()
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
      Specified by:
      getFieldPathElementsList in interface ErrorLocationOrBuilder
    • getFieldPathElementsCount

      public int getFieldPathElementsCount()
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
      Specified by:
      getFieldPathElementsCount in interface ErrorLocationOrBuilder
    • getFieldPathElements

      public ErrorLocation.FieldPathElement getFieldPathElements(int index)
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
      Specified by:
      getFieldPathElements in interface ErrorLocationOrBuilder
    • setFieldPathElements

      public ErrorLocation.Builder setFieldPathElements(int index, ErrorLocation.FieldPathElement value)
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
    • setFieldPathElements

      public ErrorLocation.Builder setFieldPathElements(int index, ErrorLocation.FieldPathElement.Builder builderForValue)
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
    • addFieldPathElements

      public ErrorLocation.Builder addFieldPathElements(ErrorLocation.FieldPathElement value)
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
    • addFieldPathElements

      public ErrorLocation.Builder addFieldPathElements(int index, ErrorLocation.FieldPathElement value)
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
    • addFieldPathElements

      public ErrorLocation.Builder addFieldPathElements(ErrorLocation.FieldPathElement.Builder builderForValue)
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
    • addFieldPathElements

      public ErrorLocation.Builder addFieldPathElements(int index, ErrorLocation.FieldPathElement.Builder builderForValue)
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
    • addAllFieldPathElements

      public ErrorLocation.Builder addAllFieldPathElements(Iterable<? extends ErrorLocation.FieldPathElement> values)
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
    • clearFieldPathElements

      public ErrorLocation.Builder clearFieldPathElements()
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
    • removeFieldPathElements

      public ErrorLocation.Builder removeFieldPathElements(int index)
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
    • getFieldPathElementsBuilder

      public ErrorLocation.FieldPathElement.Builder getFieldPathElementsBuilder(int index)
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
    • getFieldPathElementsOrBuilder

      public ErrorLocation.FieldPathElementOrBuilder getFieldPathElementsOrBuilder(int index)
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
      Specified by:
      getFieldPathElementsOrBuilder in interface ErrorLocationOrBuilder
    • getFieldPathElementsOrBuilderList

      public List<? extends ErrorLocation.FieldPathElementOrBuilder> getFieldPathElementsOrBuilderList()
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
      Specified by:
      getFieldPathElementsOrBuilderList in interface ErrorLocationOrBuilder
    • addFieldPathElementsBuilder

      public ErrorLocation.FieldPathElement.Builder addFieldPathElementsBuilder()
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
    • addFieldPathElementsBuilder

      public ErrorLocation.FieldPathElement.Builder addFieldPathElementsBuilder(int index)
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
    • getFieldPathElementsBuilderList

      public List<ErrorLocation.FieldPathElement.Builder> getFieldPathElementsBuilderList()
       A field path that indicates which field was invalid in the request.
       
      repeated .google.ads.googleads.v18.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
    • setUnknownFields

      public final ErrorLocation.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<ErrorLocation.Builder>
    • mergeUnknownFields

      public final ErrorLocation.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<ErrorLocation.Builder>