Class AdvertisingConstraint.Builder

    • Method Detail

      • setWidth

        public AdvertisingConstraint.Builder setWidth​(int value)
        int32 width = 1 [json_name = "width"];
        Parameters:
        value - The width to set.
        Returns:
        This builder for chaining.
      • setHeight

        public AdvertisingConstraint.Builder setHeight​(int value)
        int32 height = 2 [json_name = "height"];
        Parameters:
        value - The height to set.
        Returns:
        This builder for chaining.
      • setMaxFileSize

        public AdvertisingConstraint.Builder setMaxFileSize​(double value)
        double max_file_size = 3 [json_name = "maxFileSize"];
        Parameters:
        value - The maxFileSize to set.
        Returns:
        This builder for chaining.
      • clearMaxFileSize

        public AdvertisingConstraint.Builder clearMaxFileSize()
        double max_file_size = 3 [json_name = "maxFileSize"];
        Returns:
        This builder for chaining.
      • setMime

        public AdvertisingConstraint.Builder setMime​(java.lang.String value)
        string mime = 4 [json_name = "mime"];
        Parameters:
        value - The mime to set.
        Returns:
        This builder for chaining.
      • setMimeBytes

        public AdvertisingConstraint.Builder setMimeBytes​(com.google.protobuf.ByteString value)
        string mime = 4 [json_name = "mime"];
        Parameters:
        value - The bytes for mime to set.
        Returns:
        This builder for chaining.