Class SurveyDissatisfied.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SurveyDissatisfied.Builder>
com.google.ads.googleads.v20.services.SurveyDissatisfied.Builder
All Implemented Interfaces:
SurveyDissatisfiedOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SurveyDissatisfied

public static final class SurveyDissatisfied.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SurveyDissatisfied.Builder> implements SurveyDissatisfiedOrBuilder
 Details about various factors for not being satisfied with the lead.
 
Protobuf type google.ads.googleads.v20.services.SurveyDissatisfied
  • 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<SurveyDissatisfied.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<SurveyDissatisfied.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<SurveyDissatisfied.Builder>
    • getDefaultInstanceForType

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

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

      public SurveyDissatisfied buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<SurveyDissatisfied.Builder>
    • setField

      public SurveyDissatisfied.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<SurveyDissatisfied.Builder>
    • clearField

      public SurveyDissatisfied.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<SurveyDissatisfied.Builder>
    • clearOneof

      public SurveyDissatisfied.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<SurveyDissatisfied.Builder>
    • setRepeatedField

      public SurveyDissatisfied.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<SurveyDissatisfied.Builder>
    • addRepeatedField

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

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

    • isInitialized

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

      public SurveyDissatisfied.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<SurveyDissatisfied.Builder>
      Throws:
      IOException
    • getSurveyDissatisfiedReasonValue

      public int getSurveyDissatisfiedReasonValue()
       Required. Provider's reason for not being satisfied with the lead.
       
      .google.ads.googleads.v20.enums.LocalServicesLeadSurveyDissatisfiedReasonEnum.SurveyDissatisfiedReason survey_dissatisfied_reason = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSurveyDissatisfiedReasonValue in interface SurveyDissatisfiedOrBuilder
      Returns:
      The enum numeric value on the wire for surveyDissatisfiedReason.
    • setSurveyDissatisfiedReasonValue

      public SurveyDissatisfied.Builder setSurveyDissatisfiedReasonValue(int value)
       Required. Provider's reason for not being satisfied with the lead.
       
      .google.ads.googleads.v20.enums.LocalServicesLeadSurveyDissatisfiedReasonEnum.SurveyDissatisfiedReason survey_dissatisfied_reason = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for surveyDissatisfiedReason to set.
      Returns:
      This builder for chaining.
    • getSurveyDissatisfiedReason

       Required. Provider's reason for not being satisfied with the lead.
       
      .google.ads.googleads.v20.enums.LocalServicesLeadSurveyDissatisfiedReasonEnum.SurveyDissatisfiedReason survey_dissatisfied_reason = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSurveyDissatisfiedReason in interface SurveyDissatisfiedOrBuilder
      Returns:
      The surveyDissatisfiedReason.
    • setSurveyDissatisfiedReason

       Required. Provider's reason for not being satisfied with the lead.
       
      .google.ads.googleads.v20.enums.LocalServicesLeadSurveyDissatisfiedReasonEnum.SurveyDissatisfiedReason survey_dissatisfied_reason = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The surveyDissatisfiedReason to set.
      Returns:
      This builder for chaining.
    • clearSurveyDissatisfiedReason

      public SurveyDissatisfied.Builder clearSurveyDissatisfiedReason()
       Required. Provider's reason for not being satisfied with the lead.
       
      .google.ads.googleads.v20.enums.LocalServicesLeadSurveyDissatisfiedReasonEnum.SurveyDissatisfiedReason survey_dissatisfied_reason = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getOtherReasonComment

      public String getOtherReasonComment()
       Optional. Provider's free form comments. This field is required when
       OTHER_DISSATISFIED_REASON is selected as the reason.
       
      string other_reason_comment = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOtherReasonComment in interface SurveyDissatisfiedOrBuilder
      Returns:
      The otherReasonComment.
    • getOtherReasonCommentBytes

      public com.google.protobuf.ByteString getOtherReasonCommentBytes()
       Optional. Provider's free form comments. This field is required when
       OTHER_DISSATISFIED_REASON is selected as the reason.
       
      string other_reason_comment = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOtherReasonCommentBytes in interface SurveyDissatisfiedOrBuilder
      Returns:
      The bytes for otherReasonComment.
    • setOtherReasonComment

      public SurveyDissatisfied.Builder setOtherReasonComment(String value)
       Optional. Provider's free form comments. This field is required when
       OTHER_DISSATISFIED_REASON is selected as the reason.
       
      string other_reason_comment = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The otherReasonComment to set.
      Returns:
      This builder for chaining.
    • clearOtherReasonComment

      public SurveyDissatisfied.Builder clearOtherReasonComment()
       Optional. Provider's free form comments. This field is required when
       OTHER_DISSATISFIED_REASON is selected as the reason.
       
      string other_reason_comment = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setOtherReasonCommentBytes

      public SurveyDissatisfied.Builder setOtherReasonCommentBytes(com.google.protobuf.ByteString value)
       Optional. Provider's free form comments. This field is required when
       OTHER_DISSATISFIED_REASON is selected as the reason.
       
      string other_reason_comment = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for otherReasonComment to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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