Class Form.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Form.Builder>
com.google.cloud.websecurityscanner.v1.Form.Builder
All Implemented Interfaces:
FormOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Form

public static final class Form.Builder extends com.google.protobuf.GeneratedMessage.Builder<Form.Builder> implements FormOrBuilder
 ! Information about a vulnerability with an HTML.
 
Protobuf type google.cloud.websecurityscanner.v1.Form
  • Method Summary

    Modifier and Type
    Method
    Description
    !
    !
    addFieldsBytes(com.google.protobuf.ByteString value)
    !
     
     
     
    !
    !
    !
    com.google.protobuf.ByteString
    !
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    getFields(int index)
    !
    com.google.protobuf.ByteString
    getFieldsBytes(int index)
    !
    int
    !
    com.google.protobuf.ProtocolStringList
    !
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(Form other)
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    !
    setActionUriBytes(com.google.protobuf.ByteString value)
    !
    setFields(int index, String value)
    !

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

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Form.Builder>
    • clear

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

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

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

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

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

      public Form.Builder mergeFrom(Form other)
    • isInitialized

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

      public Form.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<Form.Builder>
      Throws:
      IOException
    • getActionUri

      public String getActionUri()
       ! The URI where to send the form when it's submitted.
       
      string action_uri = 1;
      Specified by:
      getActionUri in interface FormOrBuilder
      Returns:
      The actionUri.
    • getActionUriBytes

      public com.google.protobuf.ByteString getActionUriBytes()
       ! The URI where to send the form when it's submitted.
       
      string action_uri = 1;
      Specified by:
      getActionUriBytes in interface FormOrBuilder
      Returns:
      The bytes for actionUri.
    • setActionUri

      public Form.Builder setActionUri(String value)
       ! The URI where to send the form when it's submitted.
       
      string action_uri = 1;
      Parameters:
      value - The actionUri to set.
      Returns:
      This builder for chaining.
    • clearActionUri

      public Form.Builder clearActionUri()
       ! The URI where to send the form when it's submitted.
       
      string action_uri = 1;
      Returns:
      This builder for chaining.
    • setActionUriBytes

      public Form.Builder setActionUriBytes(com.google.protobuf.ByteString value)
       ! The URI where to send the form when it's submitted.
       
      string action_uri = 1;
      Parameters:
      value - The bytes for actionUri to set.
      Returns:
      This builder for chaining.
    • getFieldsList

      public com.google.protobuf.ProtocolStringList getFieldsList()
       ! The names of form fields related to the vulnerability.
       
      repeated string fields = 2;
      Specified by:
      getFieldsList in interface FormOrBuilder
      Returns:
      A list containing the fields.
    • getFieldsCount

      public int getFieldsCount()
       ! The names of form fields related to the vulnerability.
       
      repeated string fields = 2;
      Specified by:
      getFieldsCount in interface FormOrBuilder
      Returns:
      The count of fields.
    • getFields

      public String getFields(int index)
       ! The names of form fields related to the vulnerability.
       
      repeated string fields = 2;
      Specified by:
      getFields in interface FormOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The fields at the given index.
    • getFieldsBytes

      public com.google.protobuf.ByteString getFieldsBytes(int index)
       ! The names of form fields related to the vulnerability.
       
      repeated string fields = 2;
      Specified by:
      getFieldsBytes in interface FormOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the fields at the given index.
    • setFields

      public Form.Builder setFields(int index, String value)
       ! The names of form fields related to the vulnerability.
       
      repeated string fields = 2;
      Parameters:
      index - The index to set the value at.
      value - The fields to set.
      Returns:
      This builder for chaining.
    • addFields

      public Form.Builder addFields(String value)
       ! The names of form fields related to the vulnerability.
       
      repeated string fields = 2;
      Parameters:
      value - The fields to add.
      Returns:
      This builder for chaining.
    • addAllFields

      public Form.Builder addAllFields(Iterable<String> values)
       ! The names of form fields related to the vulnerability.
       
      repeated string fields = 2;
      Parameters:
      values - The fields to add.
      Returns:
      This builder for chaining.
    • clearFields

      public Form.Builder clearFields()
       ! The names of form fields related to the vulnerability.
       
      repeated string fields = 2;
      Returns:
      This builder for chaining.
    • addFieldsBytes

      public Form.Builder addFieldsBytes(com.google.protobuf.ByteString value)
       ! The names of form fields related to the vulnerability.
       
      repeated string fields = 2;
      Parameters:
      value - The bytes of the fields to add.
      Returns:
      This builder for chaining.