Class ErrorLocation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
- com.google.ads.googleads.v10.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,java.lang.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 typegoogle.ads.googleads.v10.errors.ErrorLocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorLocation.BuilderaddAllFieldPathElements(java.lang.Iterable<? extends ErrorLocation.FieldPathElement> values)A field path that indicates which field was invalid in the request.ErrorLocation.BuilderaddFieldPathElements(int index, ErrorLocation.FieldPathElement value)A field path that indicates which field was invalid in the request.ErrorLocation.BuilderaddFieldPathElements(int index, ErrorLocation.FieldPathElement.Builder builderForValue)A field path that indicates which field was invalid in the request.ErrorLocation.BuilderaddFieldPathElements(ErrorLocation.FieldPathElement value)A field path that indicates which field was invalid in the request.ErrorLocation.BuilderaddFieldPathElements(ErrorLocation.FieldPathElement.Builder builderForValue)A field path that indicates which field was invalid in the request.ErrorLocation.FieldPathElement.BuilderaddFieldPathElementsBuilder()A field path that indicates which field was invalid in the request.ErrorLocation.FieldPathElement.BuilderaddFieldPathElementsBuilder(int index)A field path that indicates which field was invalid in the request.ErrorLocation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ErrorLocationbuild()ErrorLocationbuildPartial()ErrorLocation.Builderclear()ErrorLocation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ErrorLocation.BuilderclearFieldPathElements()A field path that indicates which field was invalid in the request.ErrorLocation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ErrorLocation.Builderclone()ErrorLocationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ErrorLocation.FieldPathElementgetFieldPathElements(int index)A field path that indicates which field was invalid in the request.ErrorLocation.FieldPathElement.BuildergetFieldPathElementsBuilder(int index)A field path that indicates which field was invalid in the request.java.util.List<ErrorLocation.FieldPathElement.Builder>getFieldPathElementsBuilderList()A field path that indicates which field was invalid in the request.intgetFieldPathElementsCount()A field path that indicates which field was invalid in the request.java.util.List<ErrorLocation.FieldPathElement>getFieldPathElementsList()A field path that indicates which field was invalid in the request.ErrorLocation.FieldPathElementOrBuildergetFieldPathElementsOrBuilder(int index)A field path that indicates which field was invalid in the request.java.util.List<? extends ErrorLocation.FieldPathElementOrBuilder>getFieldPathElementsOrBuilderList()A field path that indicates which field was invalid in the request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ErrorLocation.BuildermergeFrom(ErrorLocation other)ErrorLocation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ErrorLocation.BuildermergeFrom(com.google.protobuf.Message other)ErrorLocation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ErrorLocation.BuilderremoveFieldPathElements(int index)A field path that indicates which field was invalid in the request.ErrorLocation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ErrorLocation.BuildersetFieldPathElements(int index, ErrorLocation.FieldPathElement value)A field path that indicates which field was invalid in the request.ErrorLocation.BuildersetFieldPathElements(int index, ErrorLocation.FieldPathElement.Builder builderForValue)A field path that indicates which field was invalid in the request.ErrorLocation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ErrorLocation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
clear
public ErrorLocation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
getDefaultInstanceForType
public ErrorLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ErrorLocation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ErrorLocation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ErrorLocation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
setField
public ErrorLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
clearField
public ErrorLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
clearOneof
public ErrorLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
setRepeatedField
public ErrorLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
addRepeatedField
public ErrorLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
mergeFrom
public ErrorLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ErrorLocation.Builder>
-
mergeFrom
public ErrorLocation.Builder mergeFrom(ErrorLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
mergeFrom
public ErrorLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ErrorLocation.Builder>- Throws:
java.io.IOException
-
getFieldPathElementsList
public java.util.List<ErrorLocation.FieldPathElement> getFieldPathElementsList()
A field path that indicates which field was invalid in the request.
repeated .google.ads.googleads.v10.errors.ErrorLocation.FieldPathElement field_path_elements = 2;- Specified by:
getFieldPathElementsListin interfaceErrorLocationOrBuilder
-
getFieldPathElementsCount
public int getFieldPathElementsCount()
A field path that indicates which field was invalid in the request.
repeated .google.ads.googleads.v10.errors.ErrorLocation.FieldPathElement field_path_elements = 2;- Specified by:
getFieldPathElementsCountin interfaceErrorLocationOrBuilder
-
getFieldPathElements
public ErrorLocation.FieldPathElement getFieldPathElements(int index)
A field path that indicates which field was invalid in the request.
repeated .google.ads.googleads.v10.errors.ErrorLocation.FieldPathElement field_path_elements = 2;- Specified by:
getFieldPathElementsin interfaceErrorLocationOrBuilder
-
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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
-
addAllFieldPathElements
public ErrorLocation.Builder addAllFieldPathElements(java.lang.Iterable<? extends ErrorLocation.FieldPathElement> values)
A field path that indicates which field was invalid in the request.
repeated .google.ads.googleads.v10.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.v10.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.v10.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.v10.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.v10.errors.ErrorLocation.FieldPathElement field_path_elements = 2;- Specified by:
getFieldPathElementsOrBuilderin interfaceErrorLocationOrBuilder
-
getFieldPathElementsOrBuilderList
public java.util.List<? extends ErrorLocation.FieldPathElementOrBuilder> getFieldPathElementsOrBuilderList()
A field path that indicates which field was invalid in the request.
repeated .google.ads.googleads.v10.errors.ErrorLocation.FieldPathElement field_path_elements = 2;- Specified by:
getFieldPathElementsOrBuilderListin interfaceErrorLocationOrBuilder
-
addFieldPathElementsBuilder
public ErrorLocation.FieldPathElement.Builder addFieldPathElementsBuilder()
A field path that indicates which field was invalid in the request.
repeated .google.ads.googleads.v10.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.v10.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
-
getFieldPathElementsBuilderList
public java.util.List<ErrorLocation.FieldPathElement.Builder> getFieldPathElementsBuilderList()
A field path that indicates which field was invalid in the request.
repeated .google.ads.googleads.v10.errors.ErrorLocation.FieldPathElement field_path_elements = 2;
-
setUnknownFields
public final ErrorLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
mergeUnknownFields
public final ErrorLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
-