Class ErrorLocation.FieldPathElement.Builder

    • Method Detail

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

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

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

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

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

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

        public ErrorLocation.FieldPathElement.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.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.FieldPathElement.Builder>
        Throws:
        java.io.IOException
      • setFieldName

        public ErrorLocation.FieldPathElement.Builder setFieldName​(java.lang.String value)
         The name of a field or a oneof
         
        string field_name = 1;
        Parameters:
        value - The fieldName to set.
        Returns:
        This builder for chaining.
      • setFieldNameBytes

        public ErrorLocation.FieldPathElement.Builder setFieldNameBytes​(com.google.protobuf.ByteString value)
         The name of a field or a oneof
         
        string field_name = 1;
        Parameters:
        value - The bytes for fieldName to set.
        Returns:
        This builder for chaining.
      • hasIndex

        public boolean hasIndex()
         If field_name is a repeated field, this is the element that failed
         
        optional int32 index = 3;
        Specified by:
        hasIndex in interface ErrorLocation.FieldPathElementOrBuilder
        Returns:
        Whether the index field is set.
      • setIndex

        public ErrorLocation.FieldPathElement.Builder setIndex​(int value)
         If field_name is a repeated field, this is the element that failed
         
        optional int32 index = 3;
        Parameters:
        value - The index to set.
        Returns:
        This builder for chaining.
      • clearIndex

        public ErrorLocation.FieldPathElement.Builder clearIndex()
         If field_name is a repeated field, this is the element that failed
         
        optional int32 index = 3;
        Returns:
        This builder for chaining.