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

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

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

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

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

        public ShoppingComparisonListingAdInfo.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<ShoppingComparisonListingAdInfo.Builder>
        Throws:
        java.io.IOException
      • hasHeadline

        public boolean hasHeadline()
         Headline of the ad. This field is required. Allowed length is between 25
         and 45 characters.
         
        optional string headline = 2;
        Specified by:
        hasHeadline in interface ShoppingComparisonListingAdInfoOrBuilder
        Returns:
        Whether the headline field is set.
      • getHeadline

        public java.lang.String getHeadline()
         Headline of the ad. This field is required. Allowed length is between 25
         and 45 characters.
         
        optional string headline = 2;
        Specified by:
        getHeadline in interface ShoppingComparisonListingAdInfoOrBuilder
        Returns:
        The headline.
      • getHeadlineBytes

        public com.google.protobuf.ByteString getHeadlineBytes()
         Headline of the ad. This field is required. Allowed length is between 25
         and 45 characters.
         
        optional string headline = 2;
        Specified by:
        getHeadlineBytes in interface ShoppingComparisonListingAdInfoOrBuilder
        Returns:
        The bytes for headline.
      • setHeadline

        public ShoppingComparisonListingAdInfo.Builder setHeadline​(java.lang.String value)
         Headline of the ad. This field is required. Allowed length is between 25
         and 45 characters.
         
        optional string headline = 2;
        Parameters:
        value - The headline to set.
        Returns:
        This builder for chaining.
      • clearHeadline

        public ShoppingComparisonListingAdInfo.Builder clearHeadline()
         Headline of the ad. This field is required. Allowed length is between 25
         and 45 characters.
         
        optional string headline = 2;
        Returns:
        This builder for chaining.
      • setHeadlineBytes

        public ShoppingComparisonListingAdInfo.Builder setHeadlineBytes​(com.google.protobuf.ByteString value)
         Headline of the ad. This field is required. Allowed length is between 25
         and 45 characters.
         
        optional string headline = 2;
        Parameters:
        value - The bytes for headline to set.
        Returns:
        This builder for chaining.